• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: USB key not recognized by uboot  (Read 2791 times)
Fletch
Jr. Member
**

Karma: 1
Posts: 61


View Profile
« on: June 15, 2010, 04:47:39 PM »

When I first got my Sheevaplug, I used it successfully for a number of things running the pre-installed Ubuntu and connected to a USB hard drive.  At one point, I broke the Ubuntu install.  No big deal because I had planned to switch to Lenny anyway due to the upcoming Ubuntu EOL.

After being unsuccessful with ESIA, I booted into uboot and noticed that even with a USB key plugged in, uboot says:
Code:
Marvell>> usb reset
(Re)start USB...
USB:   scanning bus for devices... 1 USB Device(s) found
       scanning bus for storage devices... 0 Storage Device(s) found
I have tried 4 different USB keys.  I have tried uboot 3.4.19, 3.4.27-pingtoo, maybe others.  I have tried FAT16 and FAT32 partitions.  Always the same result.  On some keys. the light comes on while on others it does not - I'm not sure how to interpret that.  But always "0 Storage Device(s) found".  What should I suspect?  Bad USB hardware on the plug (although it did previously work under Ubuntu)?  Some uboot setup I'm missing (I have done resetenv at various times)?  Should I go buy yet another USB key?

Any suggestions welcome.  Thanks.
Logged

Fletch
Jr. Member
**

Karma: 1
Posts: 61


View Profile
« Reply #1 on: June 16, 2010, 03:20:11 PM »

Anyone have any suggestions?  Is there anything else I should do to enable or test USB storage from uboot?
Logged

bananaplug
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #2 on: June 16, 2010, 06:56:18 PM »

Which SheevaPlug are you using?
I have no problem detecting USB in u-boot with a Nimbus 100. It is version 3.4.19. The USB drives are FAT32 formatted. See log below.
Code:
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_                                               
 \___/    |____/ \___/ \___/ \__|                                               
 ** MARVELL BOARD: SHEEVA PLUG LE                                               
                                                                               
U-Boot 1.1.4 (Oct 12 2009 - 22:58:45) Marvell version: 3.4.19                   
                                                                               
U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFB00                             
                                                                               
Soc: 88F6281 A0 (DDR2)                                                         
CPU running @ 1200Mhz L2 running @ 400Mhz                                       
SysClock = 400Mhz , TClock = 200Mhz                                             
                                                                               
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6                                   
DRAM CS[0] base 0x00000000   size 256MB                                         
DRAM CS[1] base 0x10000000   size 256MB                                         
DRAM Total size 512MB  16bit width                                             
Addresses 8M - 0M are saved for the U-Boot usage.                               
Mem malloc Initialization (8M - 7M): Done                                       
NAND:512 MB                                                                     
Flash:  0 kB                                                                   
                                                                               
CPU : Marvell Feroceon (Rev 1)                                                 
                                                                               
Streaming disabled                                                             
Write allocate disabled                                                         
                                                                               
                                                                               
USB 0: host mode                                                               
PEX 0: interface detected no Link.                                             
Net:   egiga0 [PRIME], egiga1                                                   
Hit any key to stop autoboot:  0                                               
Marvell>> 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           
Marvell>>


I did have a problem with USB not being detected with a Ionics Stratus, under u-boot 3.4.19. After upgrading to 3.4.26, the problem went away.
I would also suggest that if you have trouble with USB drive and ESIA, consider the manual install with NFS/TFTP server instead.
Logged

Fletch
Jr. Member
**

Karma: 1
Posts: 61


View Profile
« Reply #3 on: June 16, 2010, 08:18:40 PM »

My plug is the standard Sheevaplug from Globalscale
Logged

bananaplug
Newbie
*

Karma: 0
Posts: 5


View Profile
« Reply #4 on: June 17, 2010, 09:39:20 AM »

I can also detect USB flash drive successfully on the Globalscale SheevaPlug.
Another thing it to make sure you only run "usb reset" once per bootup. It won't work the second time, unless you reboot.

Code:
Marvell>> 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           
Marvell>> usb storage                                                          
  Device 0: Vendor: LEXAR    Prod.: JUMPDRIVE PRO    Rev: 0                    
            Type: Removable Hard Disk                                          
            Capacity: 246.0 MB = 0.2 GB (503808 x 512)                         
Marvell>> usb reset                                                            
(Re)start USB...                                                               
USB:   scanning bus for devices... 1 USB Device(s) found                       
       scanning bus for storage devices... 0 Storage Device(s) found           
Marvell>> help usb start                                                       
usb usb start - start the usb interface, including scan of the bus. Must be    
       executed prior to using the USB, and should be executed only once.      
usb tree  - show USB device tree                                               
usb info [dev] - show available USB devices                                    
usb storage  - show details of USB storage devices                             
usb dev [dev] - show or set current USB storage device                         
usb part [dev] - print partition table of one or all USB storage devices       
usb read addr blk# cnt - read `cnt' blocks starting at block `blk#'            
       to memory address `addr'                                                
                                                                               
Unknown command 'start' - try 'help' without arguments for list of all known com
mands                                                                          
                                                                               
Marvell>>
Logged

Fletch
Jr. Member
**

Karma: 1
Posts: 61


View Profile
« Reply #5 on: June 17, 2010, 12:49:24 PM »

Interesting, thanks.  That "only reset once" part is strange, but I cannot see my storage device even the first time.
Logged

birdman
Sr. Member
****

Karma: 4
Posts: 429


View Profile WWW
« Reply #6 on: June 22, 2010, 04:13:17 PM »

I have tried 4 different USB keys.
Have you tried the USB hard drive you were using (just to see whether it;s detected)?
I had problems getting a USB key to work for uboot updates.  At least 2 USB thumb drives failed.  In the end a 1GB micro-SD card in a USB-SDHC adapter worked.
Logged

Fletch
Jr. Member
**

Karma: 1
Posts: 61


View Profile
« Reply #7 on: June 22, 2010, 07:37:27 PM »

Yep, same thing.  The light on the drive comes on, but "0 Storage Device(s) found".
Logged

birdman
Sr. Member
****

Karma: 4
Posts: 429


View Profile WWW
« Reply #8 on: June 23, 2010, 05:14:44 PM »

Do you have a USB hub around?  And try through that?  No idea whether it would help - just that it would be a different setup.
And try all USB file system devices you have.
Logged

medicalbillingcareers
Guest
« Reply #9 on: June 24, 2010, 09:52:04 PM »

Interested to see a fix to this, I'm also having the same issue.
Logged

Astropos
Guest
« Reply #10 on: June 25, 2010, 07:17:37 AM »

i also got the same problem.. but not that hard to fix.. its already fix thanks for sharing that too..
Logged

phampson
Newbie
*

Karma: 0
Posts: 32


View Profile
« Reply #11 on: July 05, 2010, 02:47:11 AM »

Hi

I do find the usb support abit flakey. Im running version .19 of uboot. Basically I often after try a couple of times to flash the plug. Basically after Ive put the usb key into the plug and before continuing with the install i leave it 30 seconds. Another thing I have done is to have two keys with install on.

So I put the key in the pc start esia then tell it to install
Take the key out of the pc and put into plug, wait 30 seconds then tell it to install

If it times out

I leave the usb key in the plug and put another one with the app into the pc
Again tell esia to install but this time dont move the usb key. Tell esia to install and it  tends to work this time

Paul
Logged

Fletch
Jr. Member
**

Karma: 1
Posts: 61


View Profile
« Reply #12 on: July 05, 2010, 05:25:29 PM »

Thanks for the suggestion, but still no luck after waiting a few minutes before each try.
Logged

kidslong
Guest
« Reply #13 on: July 05, 2010, 10:55:18 PM »

I had the same problem before. Thanks guys
Logged

Pages: [1]
Print
Jump to: