Other Parts Discussed in Thread: TMDXEVM3358
Hi,
Does TI plan to support USB-fastboot in u-boot for AM335x devices ? and what is the timeline like ?
Thanks.
- Thomas
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Other Parts Discussed in Thread: TMDXEVM3358
Hi,
Does TI plan to support USB-fastboot in u-boot for AM335x devices ? and what is the timeline like ?
Thanks.
- Thomas
Hi Thomas,
1. Official release is planned in month of april. But you can start up with developement as sources are already pushed to rowboat repositories.
2. You can get the u-boot source with fastboot support from : http://gitorious.org/rowboat/u-boot/commits/am335x-master-android
branch is : am335x-master-android
3. Creating ubifs images you can follow the steps:
http://processors.wiki.ti.com/index.php/UBIFS_Support#Compilling_UBIFS_Tools
http://processors.wiki.ti.com/index.php/UBIFS_Support#Creating_UBIFS_file_system
4. Fastboot command and kernel configuration steps are available at
http://processors.wiki.ti.com/index.php/TI-Android-GingerBread-2.3.4-DevKit-2.1.1_PortingGuides#NAND
Boot arguments are:
setenv bootargs 'console=ttyO0,115200n8 androidboot.console=ttyO0 mem=256M root=ubi0:rootfs rootfstype=ubifs ubi.mtd=7,2048 rw rootwait init=/init ip=off'
I hope this will help you to proceed further.
BR,
Satish
Hi Satish,
This is very good info and I'll try it out. Thanks a lot !
- Thomas
Hi,
I've downloaded the u-boot source code from gitorous, branch: am335x-master-android, and am trying out the fastboot for AM335x in the TMDXEVM3358 eval kit.
But the USB interface seems failed to enumerate with fastboot.
Here are the u-boot console log:
U-Boot# fastboot
INFO: [do_fastboot]: fastboot initialized
INFO: [fbt_init_endpoints]: setting up HS USB device ep1
INFO: [fbt_init_endpoints]: setting up HS USB device ep82
And here are the dmesg trace on the host Linux machine:
$ dmesg
[ 551.344243] usb 2-2.1.2: new high speed USB device using ehci_hcd and address 7
[ 551.848081] usb 2-2.1.2: device not accepting address 7, error -71
[ 551.920241] usb 2-2.1.2: new high speed USB device using ehci_hcd and address 8
[ 552.416112] usb 2-2.1.2: device not accepting address 8, error -32
[ 552.488239] usb 2-2.1.2: new high speed USB device using ehci_hcd and address 9
[ 552.896086] usb 2-2.1.2: device not accepting address 9, error -32
[ 552.968225] usb 2-2.1.2: new high speed USB device using ehci_hcd and address 10
[ 553.376035] usb 2-2.1.2: device not accepting address 10, error -32
[ 553.376240] hub 2-2.1:1.0: unable to enumerate USB device on port 2
Can you please help to advice what went wrong, and any patches to resolve this issue ?
- Thomas
Hi Thomas,
Which kernel are you using ? For the branch rowboat-am335x-kernel-3.2 it is working fine.
Also, just make sure DMA mode is disable in kernel. Right now it works fine with PIO mode.
We are working to make it work with DMA mode also.
BR,
satish
Hi Satish,
I am using linux-3.1.0-psp04.06.00.03.sdk, which come with the LINUXEZSDK-AM335X, the install package is from "ti-sdk-am335x-evm-05.03.02.00-Linux-x86-Install".
But I am puzzle how does this got to do with kernel, since Fastboot is running under u-boot only ? before the kernel get downloaded to the target board.
- Thomas
Hi Thomas,
opps.. its my mistake.. I was thinking on abd push/pull scenario in context to some other thread... kindly execuse that.
for the u-boot , we are using branch - am335x-master-android-ics. and it is working fine to me. Is that a same branch what you are using at present ?
BR,
satish
Hi Satish,
Thanks for your reply.
I've tested out both am335x-master-android and am335x-master-android-ics, but both are giving me the same error. My Linux PC host are giving me "device not accepting address X... unable to enumerate USB device on port 2".
I am using a native (not VMware) Linux PC running ubuntu 10.04. And I've tested the uboot on both TMDXEVM3359 eval kit and beaglebone.
Are we having the same hardware setup ? Is there any special drivers I need on the PC host side ?
- Thomas
Hi,
I'm currently trying to get Fastboot working on the am335x_evm, but without success. The u-boot code I built is from git://gitorious.org/rowboat/u-boot.git, branch am335x-master-android-ics. After starting fastboot on the target, the host-command 'fastboot devices' prints one line for my evm - this is fine.
Unfortunately, all other commands, e.g 'fastboot erase uboot' do not work: These requests are not even handled by the target. I wonder, if the USB driver is correct, confirmed by the fact that in the am335x_evm config header file, several USB options are disabled (there is a comment "Disable as conflicts with USB Fastboot feature").
Does anybody have some ideas, hints or even a solution?
Thanks and best regards,
Rainer
The fastboot feature is not fully verified after the latest series of updates on u-boot.
We shall update when fixes are available.
Rainer,
While we investigate the fastboot issues, you can try with the u-boot version released with the previous DevKit Release.
Please checkout commit 518a597ca43de7c2d0fa7868a135030ad2310042 in the u-boot tree.
Hi Vishveshwar,
thanks for the hint. Using this u-boot version I got fastboot working. I also found that the last working commit is 2e8beaa76d267edb22c0809f0959fdb0299c7ab6 and the next one (9da67a1093b1292333d1760485b7a595ba336392) would work if you renamed all occurrences of CONFIG_USB_AM335X. I assume the new musb driver is the reason for fastboot to fail.
When do you plan to fix this?
Another issue is the speed of a fastboot transfer: Download of a kernel image with ~4 MB takes ~12 sec. 300 kB/s is quite slow, especially when downloading larger filesystem images.
Best regards,
Rainer
Rainer Adlich said:Hi Vishveshwar,
thanks for the hint. Using this u-boot version I got fastboot working. I also found that the last working commit is 2e8beaa76d267edb22c0809f0959fdb0299c7ab6 and the next one (9da67a1093b1292333d1760485b7a595ba336392) would work if you renamed all occurrences of CONFIG_USB_AM335X. I assume the new musb driver is the reason for fastboot to fail.
Hi Rainer,
Thanks for the update. Please post your patch to our community forum at rowboat https://groups.google.com/forum/#!forum/rowboat and we can incorporate the same in our tree.
We are currently evaluating fastboot over the new musb driver, hence the delay.
Hi Rainer,
Could you try with the latest HEAD revision of am335x-master-android-ics branch of u-boot?
There is also a patch to improve download speeds (commit 82edf17)
Hi Vishveshwar
I am working on am335x evm, I see the same issue with fastboot.
It starts to function only if I checkout with respect to 2e8beaa76d267edb22c0809f0959fdb0299c7ab6
Do we have any patch to fix this problem without checking out to the older commit ?
Regards
Keerthi
Please see my previous reply in this thread.
Is the latest HEAD commit not working for you?
This is the last commit I see in U-boot 6035fc2735cc6236e82353ff49b9d25f00c6e648
commit 6035fc2735cc6236e82353ff49b9d25f00c6e648
Author: Vishveshwar Bhat <vishveshwar.bhat@ti.com>
Date: Mon Oct 15 15:13:38 2012 +0530
am335x: Disable USB gadget/ether gadget mode
This conflicts with USB fastboot feature in android.
Signed-off-by: Vishveshwar Bhat <vishveshwar.bhat@ti.com>
Regards
Keerthi
Please pull in the latest changes from rowboat gitorious tree.
You can browse the changes online here: http://gitorious.org/rowboat/u-boot/commits/am335x-master-android-ics
I was using Jelly bean 4.1.2 port dev kit.
After I changed the branch if u-boot to
it worked.
Thanks.
Keerthi