[U-Boot] USB key not recognized

Hi
I am using Atmel AT91SAM9263-EK and running u-boot 1.1.5, it fails to recognize a USB key of size 1GB and formatted in FAT.
This is what is happening:
U-boot> usb start (Re)start USB... USB: scanning bus for devices... USB device not responding, giving up (status=20) 2 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found
I have tried U-boot version 1.3.4 and see the same issue. I am using U-boot from the linux demo that came with the atmel kit.
Thanks for helping.
Aman.

Hello,
I am using Atmel AT91SAM9263-EK and running u-boot 1.1.5, it fails to recognize a USB key of size 1GB and formatted in FAT.
Yep, known problem.
This is what is happening: U-boot> usb start (Re)start USB... USB: scanning bus for devices... USB device not responding, giving up (status=20) 2 USB Device(s) found scanning bus for storage devices... 0 Storage Device(s) found
I have tried U-boot version 1.3.4 and see the same issue. I am using U-boot from the linux demo that came with the atmel kit.
Please, move to the latest release (e.g. 2009.03), it has a lot of problems solved with USB and sam926x. (Notice also that the Atmel kit provides bootstrap code with a PLLB configured wrong for sam9263, which is solved in latest U-boot releases as well)
Kind Regards,
Remy

Thanks for replying, Remy. I appreciate it. I just downloaded, built and used U-boot version 2009.03. It does see the USB key now.
U-Boot> usb start (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found
Another question - How can I boot from this USB key. Can I put Debian 5.0 Lenny image on USB key and boot AT91SAM9263-EK from there? If yes, how would I do it? I am new to Linux. Many thanks for your help.

Hello,
2009/4/21 Amandeep Bhullar arm.debian@gmail.com:
Thanks for replying, Remy. I appreciate it. I just downloaded, built and used U-boot version 2009.03. It does see the USB key now.
as expected ;-)
U-Boot> usb start (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found
Another question - How can I boot from this USB key. Can I put Debian 5.0 Lenny image on USB key and boot AT91SAM9263-EK from there?
Never tried it... At least it depends on if this distro is compiled for ARM-v5 (or v4), and if the (debian)kernel has sam9263-ek board support enabled.
If yes, how would I do it? I am new to Linux. Many thanks for your help.
You ask me here to mail you the entire manual? For starters, you might take a look at: * http://www.linux4sam.org/twiki/bin/view/Linux4SAM/ * http://www.denx.de/wiki/DULG/Manual * And of course the Debian manuals.
Kind Regards,
Remy

Dear Amandeep,
In message 3d083b80904211200h413b85dfv253e4990b9456741@mail.gmail.com you wrote:
Another question - How can I boot from this USB key. Can I put Debian 5.0 Lenny image on USB key and boot AT91SAM9263-EK from there? If yes, how would I do it? I am new to Linux. Many thanks for your help.
You can do this but you better try to understand what you are doing first. A USB stick is not a harddisk drive, and a standard distribution like Debian Lenny is NOT made for use on devices (like USB sticks) that have only a limited number of write cycles per block.
At least you should study carefully what others are doing and tweak system behaviour to minimize the number of write operations to the root file system (start looking at things like the "noatime" mount options, etc.).
Then you will notice that you have to make the kernel wait for the root device (the USB stick) to become ready - normally the kernel will try to mount the root file system long before the USB mass storage devices have been initialized. There are several ways around to acchive this - look around.
Note that all these things are (1) advanced topics for embedded systems [so you probably want to consult an expert], and they are (2) completely off topic on this U-Boot mailing list.
Best regards,
Wolfgang Denk
participants (3)
-
Amandeep Bhullar
-
Remy Bohmer
-
Wolfgang Denk