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.

usb boot in OMAPl137

Other Parts Discussed in Thread: OMAP-L137, DA8XX

Hi,

I am trying to make my OMAPl137 board boot from usb. I fallowed the steps written in thisPage. I am using DaVinci-PSP-SDK-03.20.00.08. According to document in linked page, I created 2 partitions, one for uImage, one for file system. Although it finds and loads kernel, it gives up kernel panic error. I think it could'nt find filesystem paritition. I've tried some variations of filesystem parition such as sda1, sda2, sdb1, sdb2. Nothing changed, I still get the same error. I add boot msg record below. Do you haveany idea why I get that kernel panic error.

 

U-Boot 1.3.3 (Oct 15 2009 - 10:48:45)                                                                                                                                          
                                                                                                                                                                               
I2C:   ready                                                                                                                                                                  
DRAM:  64 MB                                                                                                                                                                  
In:    serial                                                                                                                                                                 
Out:   serial                                                                                                                                                                 
Err:   serial                                                                                                                                                                 
ARM Clock : 300000000 Hz                                                                                                                                                      
More than one PHY detected.                                                                                                                                                   
Hit any key to stop autoboot:  0                                                                                                                                              
(Re)start USB...                                                                                                                                                              
USB:   scanning bus for devices... 1 USB Device(s) found                                                                                                                      
       scanning bus for storage devices... 1 Storage Device(s) found                                                                                                          
reading uImage                                                                                                                                                                
...............................................................................................................................................................................
                                                                                                                                                                              
1821232 bytes read                                                                                                                                                            
## Booting kernel from Legacy Image at c0700000 ...                                                                                                                           
   Image Name:   Linux-2.6.32-rc6                                                                                                                                             
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                                                                                        
   Data Size:    1821168 Bytes =  1.7 MB                                                                                                                                      
   Load Address: c0008000                                                                                                                                                     
   Entry Point:  c0008000                                                                                                                                                     
   Verifying Checksum ... OK                                                                                                                                                  
   Loading Kernel Image ... OK                                                                                                                                                
OK                                                                                                                                                                            
                                                                                                                                                                              
Starting kernel ...                                                                                                                                                           
                                                                                                                                                                              
Uncompressing Linux........................................................................................................................ done, booting the kernel.         
Linux version 2.6.32-rc6 (linuxdev@linuxdevPC) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Mon Jan 17 16:24:31 EET 2011                                    
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                                                                                                                 
CPU: VIVT data cache, VIVT instruction cache                                                                                                                                  
Machine: DaVinci DA830/OMAP-L137 EVM                                                                                                                                          
Memory policy: ECC disabled, Data cache writethrough                                                                                                                          
DaVinci da830/omap-l137 rev1.1 variant 0x8                                                                                                                                    
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128                                                                                                     
Kernel command line: console=ttyS2,115200n8 noinitrd rw ip=off root=/dev/sda1 rootfstype=ext2 mem=32M                                                                         
PID hash table entries: 128 (order: -3, 512 bytes)                                                                                                                            
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)                                                                                                                 
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)                                                                                                                   
Memory: 32MB = 32MB total                                                                                                                                                     
Memory: 28584KB available (3456K code, 261K data, 144K init, 0K highmem)                                                                                                      
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1                                                                                                       
Hierarchical RCU implementation.                                                                                                                                              
NR_IRQS:245                                                                                                                                                                   
Console: colour dummy device 80x30                                                                                                                                            
Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)                                                                                                                        
Mount-cache hash table entries: 512                                                                                                                                           
CPU: Testing write buffer coherency: ok                                                                                                                                       
DaVinci: 128 gpio irqs                                                                                                                                                        
NET: Registered protocol family 16                                                                                                                                            
bio: create slab <bio-0> at 0                                                                                                                                                 
SCSI subsystem initialized                                                                                                                                                    
usbcore: registered new interface driver usbfs                                                                                                                                
usbcore: registered new interface driver hub                                                                                                                                  
usbcore: registered new device driver usb                                                                                                                                     
pcf857x: probe of 1-003f failed with error -121                                                                                                                               
Switching to clocksource timer0_0                                                                                                                                             
musb_hdrc: version 6.0, cppi4.1-dma, (host+peripheral), debug=0                                                                                                               
musb_hdrc: USB OTG mode controller at fee00000 using DMA, IRQ 58                                                                                                              
musb_hdrc musb_hdrc: MUSB HDRC host driver                                                                                                                                    
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1                                                                                                            
usb usb1: configuration #1 chosen from 1 choice                                                                                                                               
hub 1-0:1.0: USB hub found                                                                                                                                                    
hub 1-0:1.0: 1 port detected                                                                                                                                                  
NET: Registered protocol family 2                                                                                                                                             
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                                                                                                                
TCP established hash table entries: 1024 (order: 1, 8192 bytes)                                                                                                               
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)                                                                                                                      
TCP: Hash tables configured (established 1024 bind 1024)                                                                                                                      
TCP reno registered                                                                                                                                                           
NET: Registered protocol family 1                                                                                                                                             
RPC: Registered udp transport module.                                                                                                                                         
RPC: Registered tcp transport module.                                                                                                                                         
RPC: Registered tcp NFSv4.1 backchannel transport module.                                                                                                                     
JFFS2 version 2.2. (NAND)  © 2001-2006 Red Hat, Inc.                                                                                                                          
msgmni has been set to 55                                                                                                                                                     
io scheduler noop registered                                                                                                                                                  
io scheduler anticipatory registered (default)                                                                                                                                
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled                                                                                                                      
serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A                                                                                                                  
serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A                                                                                                                  
serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A                                                                                                                  
console [ttyS2] enabled                                                                                                                                                       
brd: module loaded                                                                                                                                                            
at24 1-0050: 32768 byte 24c256 EEPROM (writable)                                                                                                                              
Read MAC addr from EEPROM: 00:0e:99:02:fb:5e                                                                                                                                  
m25p80 spi0.0: w25x32 (4096 Kbytes)                                                                                                                                           
Creating 3 MTD partitions on "m25p80":                                                                                                                                        
0x000000000000-0x000000040000 : "U-Boot"                                                                                                                                      
0x000000040000-0x000000044000 : "U-Boot Environment"                                                                                                                          
0x000000044000-0x000000400000 : "Linux"                                                                                                                                       
davinci SPI Controller driver at 0xfec41000 (irq = 20) use_dma=1                                                                                                              
console [netcon0] enabled                                                                                                                                                     
netconsole: network logging started                                                                                                                                           
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                                                                                                                        
ohci ohci.0: DA8xx OHCI                                                                                                                                                       
ohci ohci.0: new USB bus registered, assigned bus number 2                                                                                                                    
ohci ohci.0: irq 59, io mem 0x01e25000                                                                                                                                        
usb usb2: configuration #1 chosen from 1 choice                                                                                                                               
hub 2-0:1.0: USB hub found                                                                                                                                                    
hub 2-0:1.0: 1 port detected                                                                                                                                                  
Initializing USB Mass Storage driver...                                                                                                                                       
usbcore: registered new interface driver usb-storage                                                                                                                          
USB Mass Storage support registered.                                                                                                                                          
g_ether gadget: using random self ethernet address                                                                                                                            
g_ether gadget: using random host ethernet address                                                                                                                            
usb0: MAC 0e:ff:ab:66:0e:26                                                                                                                                                   
usb0: HOST MAC 06:4e:79:09:b9:51                                                                                                                                              
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008                                                                                                                   
g_ether gadget: g_ether ready                                                                                                                                                 
omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0                                                                                                                      
omap_rtc: RTC power up reset detected                                                                                                                                         
omap_rtc: already running                                                                                                                                                     
i2c /dev entries driver                                                                                                                                                       
watchdog watchdog: heartbeat 60 sec                                                                                                                                           
davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode                                                                                                                              
usbcore: registered new interface driver usbhid                                                                                                                               
usbhid: v2.6:USB HID core driver                                                                                                                                              
usb 1-1: new high speed USB device using musb_hdrc and address 2                                                                                                              
Advanced Linux Sound Architecture Driver Version 1.0.21.                                                                                                                      
No device for DAI tlv320aic3x                                                                                                                                                 
asoc: tlv320aic3x <-> davinci-i2s mapping ok                                                                                                                                  
mmc0: host doesn't support card's voltages                                                                                                                                    
mmc0: error -22 whilst initialising SDIO card                                                                                                                                 
ALSA device list:                                                                                                                                                             
  #0: DA830/OMAP-L137 EVM (tlv320aic3x)                                                                                                                                       
TCP cubic registered                                                                                                                                                          
NET: Registered protocol family 17                                                                                                                                            
Clocks: disable unused emac                                                                                                                                                   
emac-mii: probed                                                                                                                                                              
omap_rtc omap_rtc: setting system clock to 2000-01-03 20:05:16 UTC (946929916)                                                                                                
Root-NFS: No NFS server available, giving up.                                                                                                                                 
VFS: Unable to mount root fs via NFS, trying floppy.                                                                                                                          
VFS: Cannot open root device "sda1" or unknown-block(2,0)                                                                                                                     
Please append a correct "root=" boot option; here are the available partitions:                                                                                               
1f00             256 mtdblock0 (driver?)                                                                                                                                      
1f01              16 mtdblock1 (driver?)                                                                                                                                      
1f02            3824 mtdblock2 (driver?)                                                                                                                                      
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)                      

 

 

Best Regards

Hasan