Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Can't seem to boot from USB (no replies)

$
0
0
Hi Bodhi,

Hope that you are still monitoring this forum...

I created an ext3 USB drive (labeled rootfs), and decompressed the following file on it:
Debian-4.12.1-kirkwood-tld-1-rootfs-bodhi.tar.bz2

I'm trying to get an old Lenovo/iomega ix2-200 to run Debian.
I know the .bz2 file is really old, but to create an USB drive I needed this bz2 file to start with. Later on, when everything works out, I will try to used the latest file from November 6 last year.

I used minicom to follow the boot sequence, and stopped the boot sequence to set the environment variables.
The variables I used were these :

setenv usb_set_bootargs 'setenv bootargs console=ttyUSB0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd; bootm 0x800000 0x2100000'
setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'

Looking at this, I now realize that the 0xnnnnn values are probably wrong for my ix2-200.
Any hint as to where I can find the correct values to load the uImage and uInitrd ?

Anyhow, have tried all three usb ports on the device but after booting I always get the same error:

Marvell>> boot                                                                                                                                                      
(Re)start USB...                                                                                                                                                    
USB:   scanning bus for devices... 3 USB Device(s) found                                                                                                            
       scanning bus for storage devices... T Device NOT ready                                                                                                       
   Request Sense returned 00 00 00                                                                                                                                  
1 Storage Device(s) found                                                                                                                                           
** Bad partition 1 **                                                                                                                                               
** Bad partition 1 **                                                                                                                                               
## Booting image at 00800000 ...                                                                                                                                    
Bad Magic Number                                                                                                                                                    
stopping USB..

When it says Scanning bus for storage devices it prints the capital T after a couple of seconds and the stays quiet for around 30 seconds before saying that the device is not ready.

Can you help me out here please ?
Is there still something wrong with my USB stick, or is my device broken (booting it with one HDD works fine, and I can see the contents of the USB stick in the webgui...)

For completeness, this is the info of the device when it boots :

        |  \/  | __ _ _ ____   _____| | |                                                                                                                           
        | |\/| |/ _` | '__\ \ / / _ \ | |                                                                                                                           
        | |  | | (_| | |   \ V /  __/ | |                                                                                                                           
        |_|  |_|\__,_|_|    \_/ \___|_|_|                                                                                                                           
 _   _     ____              _                                                                                                                                      
| | | |   | __ )  ___   ___ | |_                                                                                                                                    
| | | |___|  _ \ / _ \ / _ \| __|                                                                                                                                   
| |_| |___| |_) | (_) | (_) | |_                                                                                                                                    
 \___/    |____/ \___/ \___/ \__|                                                                                                                                   
 ** MARVELL BOARD: RD-88F6281A LE                                                                                                                                   
                                                                                                                                                                    
U-Boot 1.1.4 (Sep  8 2009 - 09:31:54) Marvell version: 3.4.14                                                                                                       
                                                                                                                                                                    
Mapower version: 2.0 (32MB) (2009/09/08)                                                                                                                            
                                                                                                                                                                    
U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60                                                                                                                 
                                                                                                                                                                    
Soc: 88F6281 A0 (DDR2)                                                                                                                                              
CPU running @ 1000Mhz L2 running @ 333Mhz                                                                                                                           
SysClock = 333Mhz , TClock = 200Mhz                                                                                                                                 
                                                                                                                                                                    
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6                                                                                                                       
DRAM CS[0] base 0x00000000   size 256MB                                                                                                                             
DRAM Total size 256MB  16bit width                                                                                                                                  
Flash:  0 kB                                                                                                                                                        
Addresses 8M - 0M are saved for the U-Boot usage.                                                                                                                   
Mem malloc Initialization (8M - 7M): Done                                                                                                                           
NAND:32 MB                                                                                                                                                          
*** Warning - bad CRC or NAND, using default environment                                                                                                            
                                                                                                                                                                    
                                                                                                                                                                    
CPU : Marvell Feroceon (Rev 1)                                                                                                                                      
                                                                                                                                                                    
Streaming disabled                                                                                                                                                  
Write allocate disabled                                                                                                                                             
                                                                                                                                                                    
Module 0 is RGMII                                                                                                                                                   
Module 1 is TDM                                                                                                                                                     
                                                                                                                                                                    
USB 0: host mode                                                                                                                                                    
PEX 0: interface detected no Link.                                                                                                                                  
Net:   egiga0, egiga1 [PRIME]                                                                                                                                       
Fan lookup table initialized.                                                                                                                                       
                                                                                                                                                                    
Current remote temperature: 38                                                                                                                                      
Current fan speed: 0                                                                                                                                                
                                                                                                                                                                    
Hit any key to stop autoboot:  0

Hope you can tell me what I'm doing wrong.
Thanks !

Viewing all articles
Browse latest Browse all 3247

Trending Articles