Activity
From 10/14/2013 to 11/12/2013
11/12/2013
- JJ 06:20 PM Software Development: RE: MityARM-335x Development Kit touch screen
- When I diff the config file between the two branches ( git difftool mityarm-linux-v3.2 AM335XPSP_04.06.00.02 -- arch/arm/configs/mityarm-335x-devkit_defconfig ), I don't see any changes to CONFIG_TOUCHSCREEN_TI_ADC or CONFIG_TOUCHSCREEN_...
- JC 05:45 PM Software Development: RE: MityARM-335x Development Kit touch screen
- Jesse,
It also looks like when we switched from 3.1 to 3.2, we switched from the touchscreen driver we wrote to the one that TI added in 3.2. If you could switch back to ours and report whether it starts working that would be a good f... - JC 05:24 PM Software Development: RE: MityARM-335x Development Kit touch screen
- Jesse,
This is a known issue with the current 3.2 kernel. Noted here: http://support.criticallink.com/redmine/projects/armc8-platforms/wiki/Cl_v32_AM335XPSP_#Known-Issues
I was unable to determine why the touch events were coming i... - I am having trouble using the touch screen on the MityARM-335x Development Kit wit the mityarm-linux-v3.2 branch of the kernel repository.
I built the boot loader using instructions from : http://support.criticallink.com/redmine/pro...
10/30/2013
- JC 11:44 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Dan,
I noticed while working on your board that you are using debian as your root filesystem. Could you point me to where you got the base filesystem? Or any pointers on getting this to work?
I've found a helpful tutorial for the ...
10/29/2013
- DM 04:05 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- thanks for the support great job. yes fstab need to be fixed along with omap-i2c timeout.
- JC 03:50 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Also this is unrelated but your /etc/fstab file was corrupted on the sd card you sent to us and was throwing a few errors on boot.
- JC 03:36 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Dan,
I found the issue. There was a pin in conflict. The mmc2_wl12xx_init() was using one of the pins your rmii pin mux was using.
I've attached the original patch with my typo fixed. And a patch that disables some extra periph... - JC 02:17 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Interesting, I tried fixing my typo and it breaks ethernet....
- DM 01:55 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- thanks work great, but two questions:
1) why is the rmii2 pin mux being called from the baseboard_setup_can()?
2) baseboard_setup_enet is calling rgmii2 pin mux config?
i'm commented out the code in baseboard_setup_enet and inser... - JC 11:55 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- I'm fairly certain the only difference with my patch is it doesn't mess up all the whitespace and so should cleanly apply to the branch.
- JC 11:51 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Here is my version of your patch which was applied to the head of the mityarm-linux-v3.2 branch.
EDIT:
Attached again with proper extension. - JC 11:48 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- I based it off the mityarm-linux-v3.2 branch but also tested it using the cl_v3.2_AM335XPSP_04.06.00.07 tag that you mentioned and got the same results. I would highly recommend using the mityarm-linux-v3.2 branch though as there have b...
- DM 11:47 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- the error index are expected, no i/o (sign) attach
- DM 11:45 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- which git tag do you use?
- JC 11:43 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- I brought it up with
# ifconfig eth0 up
# dhclient eth0
and then _scp_'d the kernel uImage file - DM 11:41 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- great, how did you test the ethernet?
- JC 11:39 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Dan,
I compiled the 3.2 kernel for your board. The networking seems to be working for me (see below). Also the usb_test didn't break but it is reporting some errors. Did you see this when you tried it? - DM 09:12 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- the only change was the usb cdc device. attach is our .config file
- MW 09:09 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- I would recommend that you guys sync up on your .config files for the kernel builds as well.
-Mike
- DM 09:06 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- ok we are know on the same page. let me see what i can come up with.
- JC 09:04 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Yes, but you had suggested I test this on our devkit which we don't have such a pic.
- DM 09:03 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- on the board is a pic that is connected to /dev/ttyACM0
- JC 09:01 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- What I meant was that we don't have a physical usb device that identifies itself as /dev/ttyACM0.
- DM 08:59 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- in the config menu
- DM 08:59 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- when you build the kernel add a usb cdc acm device.
- JC 08:54 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Dan, I don't have a /dev/ttyACM0 device. The only one i have is attached to your board. I'm currently trying to get the kernel to boot on your board. Your patch from above doesn't apply cleanly to the AM335XPSP_04.06.00.02 branch.
- DM 08:52 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- you can test this by running the usb_test /dev/ttyACM0
- JC 08:25 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- I had meant that I pulled the patch from the 3.2 branch into the 3.1 branch where you already had ethernet working. How can I test this on our mityarm baseboard? I don't have a cdc device to plug in.
10/28/2013
- DM 07:35 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- i ran the patch on your mityarm board. I found the usb to be unstable, ethernet works.
- DM 06:19 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- what does this patch address? in the 3.2 kernel the usb works great. the rmii2 ethernet is the problem.
- DM 06:12 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- downloading now, the wait on /dev/mmcblk.... is do to the gpio.cd and gpio.wp should be set to -EINVAL.
- JC 05:24 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Dan,
I found a patch on the 3.2 branch that may solve the problem your having. I pushed it to a new branch on our git "usb_fix_test". I tried to compile and test it on the board you gave us but it wouldn't get past "Waiting for root... - DM 03:36 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- background:
usb_test runs all day on 3.2 kernel with git tag:cl_v3.2_AM335XPSP_04.06.00.07
on AM335XPSP_04.06.00.02 the following error occurs.(see below)
source code for usb_test is in the ~/board_test/usb_test.c
gcc usb_test.c -o... - BD 02:56 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Dan,
Can you provide specific details on what you are doing to create the usb_test program and what device you have connected to /dev/ttyACM0? How are you determining USB is unstable?
Thanks,
-Bob
- DM 01:47 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- yes the udev update and script does restart the usb2 port. thanks for the patch.
usb is still unstable running ~/usb_test /dev/ttyACM0 test code.
~/usb_test is stable under cl_v3.2_AM335XPSP_04.06.00.07
just a note the hokey-pokey.sh ... - JC 10:25 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Dan,
We found a bug in our reference filesystem. I created a wiki page on it. Could you please apply the changes it describes and let us know if it solves your problem.
http://support.criticallink.com/redmine/projects/armc8-platform...
10/25/2013
- JC 01:37 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Are you applying your patch on top of these checkouts?
- DM 01:21 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- the usb port is stable on tag cl_v3.2_AM335XPSP_04.06.00.07
but Ethernet will not work. usb is unstable on tip AM335XPSP_04.06.00.02 branch, but Ethernet will work.
Any ideas? - DM 10:27 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- still a problem with usb on this branch.
- AB 10:23 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Could you post an updated patch to show what was changed to resolve the issue?
Thank you. - DM 10:04 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- thank you for the support
- DM 10:01 AM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- commented out some of the pin mux structs and now Ethernet is working.
10/24/2013
- DM 01:22 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- we are not using flash
- JC 01:15 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- Also do you plan on using the nand? You have a module that has the larger 512MB nand which requires the latest u-boot and kernel image to work (See the CONFIG_NAND_MITYARM_LARGE_PAGE_SUPPORT option for the kernel and the mityarm335x_4kp...
- DM 01:14 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- new patch file using format-patch --ignore-space-change
- JC 01:08 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- I'm having a hard time finding the actual change in the patch. If you could recreate your patch ignoring white space change that would be much appreciated.
- JC 01:03 PM Software Development: RE: Ethernet RMII2 working in u-boot, but not kernel
- FYI, the kernel has very strict rules about formatting. In this case the use of tabs instead of spaces. Most of your patch is converting tabs to spaces which is a big no no for kernel code.
https://www.kernel.org/doc/Documentation/Cod... - problem description:
no eth0 data begin transmitted on tx0 or tx1 lines, running with rmii2 configuration.
mac_control loopback not working.
ifconfig stats for eth0: showing tx counter incrementing, all other counters are zero.
*...
10/22/2013
- JC 11:42 AM PCB Development: RE: VBACKUP Current Draw
- Mark,
This change has been added to u-boot. The following branches have the fix:
* AM335XPSP_04.06.00.03
http://support.criticallink.com/gitweb/?p=u-boot-mityarm-335x.git;a=commit;h=359dcc2dc57a10c0e495c8f352cd0812d1db8171
* AM3...