[oe] Kerniel issue on DM6446

saleh usman salehusman at hotmail.com
Sat Jul 24 15:25:13 UTC 2010





Till now I was using a kernel on Dm6446 which was  cross compiled by ELDK and rootfile system is  OpenEmbedded generated . Now when I write Openembedded generated kernel to NAND flash it is not working and the log messages and u-boot environment are shown below, Where might be the problem.? Problem with ELDK compiled kernel was that it was not configured to be run OProfile. 

Saleh

U-Boot 2009.06-rc2 (Jul 05 2010 - 13:55:35)                                     
                                                                                
I2C:   ready                                                                    
DRAM:  256 MB                                                                   
NAND:  256 MiB                                                                  
In:    serial                                                                   
Out:   serial                                                                   
Err:   serial                                                                   
ARM Clock: 297MHz                                                               
DDR Clock: 162MHz                                                               
Read from EEPROM @ 0x50 failed                                                  
Ethernet PHY: GENERIC @ 0x1f                                                    
Hit any key to stop autoboot:  0                                                
U-Boot > printenv                                                               
bootdelay=3                                                                     
baudrate=115200                                                                 
ethaddr=00:1c:c6:0a:12:65                                                       
setboot=setenv bootargs $(bootargs) video=dm64xxfb:output=$(videostd)           
loadaddr=0x80700000                                                             
filesize=18D880                                                                 
fileaddr=80700000                                                               
gatewayip=172.16.0.10                                                           
netmask=255.255.240.0                                                           
ipaddr=172.16.0.90                                                              
bootcmd=nboot 0x80000000 0 0x120000;bootm                                       
bootfile=/OC/uImage_ossie                                                       
serverip=172.16.2.89                                                            
booargs=mem=120M noinitrd console=ttyS0,115200n8 root=/dev/mt-                  
dblock2 rootfstype=jffs2                                                        
bootargs=mem=120M noinitrd console=ttyS0,115200n8 root=/dev/mt-                 
dblock2 rootfstype=jffs2                                                        
stdin=serial                                                                    
stdout=serial                                                                   
stderr=serial                                                                   
videostd=ntsc                                                                   
ver=U-Boot 2009.06-rc2 (Jul 05 2010 - 13:55:35)                                 
                                                                                
Environment size: 610/16380 bytes                                               
U-Boot > boot                                                                   
                                                                                
Loading from NAND 256MiB 1,8V 8-bit, offset 0x120000                            
   Image Name:   Angstrom/2.6.31+2.6.32-rc2-r34+g                               
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    1888880 Bytes =  1.8 MB                                        
   Load Address: 80008000                                                       
   Entry Point:  80008000                                                       
## Booting kernel from Legacy Image at 80000000 ...                             
   Image Name:   Angstrom/2.6.31+2.6.32-rc2-r34+g                               
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    1888880 Bytes =  1.8 MB                                        
   Load Address: 80008000                                                       
   Entry Point:  80008000                                                       
   Verifying Checksum ... OK                                                    
   Loading Kernel Image ... OK                                                  
OK                                                                              
                                                                                
Starting kernel ...                                                             
                                                                                
Uncompressing Linux.............................................................
Linux version 2.6.32-rc2-davinci1 (Saleh at localhost.localdomain) (gcc version 4.0
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
CPU: VIVT data cache, VIVT instruction cache                                    
Machine: DaVinci DM644x EVM                                                     
Memory policy: ECC disabled, Data cache writeback                               
DaVinci dm6446a variant 0x1                                                     
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 30480      
Kernel command line: mem=120M noinitrd console=ttyS0,115200n8 root=/dev/mt-     
dblock2 rootfstype=jffs2                                                        
PID hash table entries: 512 (order: -1, 2048 bytes)                             
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)                  
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)                    
Memory: 120MB = 120MB total                                                     
Memory: 117588KB available (3540K code, 320K data, 128K 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... 147.86 BogoMIPS (lpj=739328)                          
Mount-cache hash table entries: 512                                             
CPU: Testing write buffer coherency: ok                                         
devtmpfs: initialized                                                           
DaVinci: 71 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-0038 failed with error -121                                 
pcf857x: probe of 1-0039 failed with error -121                                 
pcf857x: probe of 1-003a failed with error -121                                 
vpss vpss: dm644x_vpss vpss probed                                              
vpss vpss: dm644x_vpss vpss probe success                                       
ch0 default output "COMPOSITE", mode "NTSC"                                     
VPBE Encoder Initialized                                                        
LogicPD encoder initialized                                                     
Switching to clocksource timer0_1                                               
musb_hdrc: version 6.0, cppi-dma, host, debug=0                                 
NET: Registered protocol family 2                                               
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
TCP established hash table entries: 4096 (order: 3, 32768 bytes)                
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)                       
TCP: Hash tables configured (established 4096 bind 4096)                        
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.                       
msgmni has been set to 229                                                      
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)            
io scheduler noop registered                                                    
io scheduler anticipatory registered (default)                                  
davincifb davincifb: dm_osd0_fb: 720x480x16 at 0,0 with framebuffer size 675KB     
davincifb davincifb: dm_vid0_fb: 0x0x16 at 0,0 with framebuffer size 1020KB        
davincifb davincifb: dm_osd1_fb: 720x480x4 at 0,0 with framebuffer size 675KB      
davincifb davincifb: dm_vid1_fb: 0x0x16 at 0,0 with framebuffer size 1020KB        
davincifb davincifb.0: dm_osd0_fb: Failed to obtain ownership of OSD window.    
Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled                        
serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A                    
console [ttyS0] enabled                                                         
serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1c20400 IRQ2
serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1c20800 IRQ2
brd: module loaded                                                              
at24 1-0050: 32768 byte 24c256 EEPROM (writable)                                
Uniform Multi-Platform E-IDE driver                                             
ide-gd driver 1.18                                                              
    ide0: MMIO-DMA                                                              
ide0: no devices on the port                                                    
ide0 at 0xfec661f0-0xfec661f7,0xfec663f6 on irq 22                              
console [netcon0] enabled                                                       
netconsole: network logging started                                             
Initializing USB Mass Storage driver...                                         
usbcore: registered new interface driver usb-storage                            
USB Mass Storage support registered.                                            
usbcore: registered new interface driver usbtest                                
i2c /dev entries driver                                                         
Linux video capture interface: v2.00                                            
vpfe_init                                                                       
vpfe-capture: vpss clock vpss_master enabled                                    
vpfe-capture: vpss clock vpss_slave enabled                                     
vpfe-capture vpfe-capture: v4l2 device registered                               
vpfe-capture vpfe-capture: video device registered                              
tvp514x 1-005d: tvp514x 1-005d decoder driver registered !!                     
vpfe-capture vpfe-capture: v4l2 sub device tvp514x registered                   
vpfe_register_ccdc_device: DM6446 CCDC                                          
DM6446 CCDC is registered with vpfe.                                            
Trying to register davinci display video device.                                
layer=c61c0c00,layer->video_dev=c61c0d70                                        
Trying to register davinci display video device.                                
layer=c61c0e00,layer->video_dev=c61c0f70                                        
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded                            
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                                                
Advanced Linux Sound Architecture Driver Version 1.0.21.                        
No device for DAI tlv320aic3x                                                   
No device for DAI davinci-i2s                                                   
asoc: tlv320aic3x <-> davinci-i2s mapping ok                                    
ALSA device list:                                                               
  #0: DaVinci EVM (tlv320aic3x)                                                 
TCP cubic registered                                                            
NET: Registered protocol family 17                                              
Clocks: disable unused uart1                                                    
Clocks: disable unused uart2                                                    
Clocks: disable unused emac                                                     
Clocks: disable unused spi                                                      
Clocks: disable unused usb                                                      
Clocks: disable unused vlynq                                                    
Clocks: disable unused pwm0                                                     
Clocks: disable unused pwm1                                                     
Clocks: disable unused pwm2                                                     
Clocks: disable unused timer1                                                   
davinci_emac_probe: using random MAC addr: 3a:50:b1:c7:c2:8f                    
emac-mii: probed                                                                
Root-NFS: No NFS server available, giving up.                                   
VFS: Unable to mount root fs via NFS, trying floppy.                            
VFS: Cannot open root device "mt-" or unknown-block(2,0)                        
Please append a correct "root=" boot option; here are the available partitions: 
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)  
Backtrace:                                                                      
[<c002c7b0>] (dump_backtrace+0x0/0x10c) from [<c02c5680>] (dump_stack+0x18/0x1c)
 r7:00008000 r6:c6012000 r5:c0024850 r4:c6025f60                                
[<c02c5668>] (dump_stack+0x0/0x1c) from [<c02c56c8>] (panic+0x44/0x128)         
[<c02c5684>] (panic+0x0/0x128) from [<c0009000>] (mount_block_root+0x1e4/0x22c) 
 r3:00000001 r2:c6024000 r1:c6025f60 r0:c03466cd                                
[<c0008e1c>] (mount_block_root+0x0/0x22c) from [<c000910c>] (mount_root+0xc4/0x)
[<c0009048>] (mount_root+0x0/0xfc) from [<c00092b0>] (prepare_namespace+0x16c/0)
 r5:c0024808 r4:c03c3cb8                                                        
[<c0009144>] (prepare_namespace+0x0/0x1dc) from [<c00084b0>] (kernel_init+0xe0/)
 r5:c0023a04 r4:c03c3a98                                                        
[<c00083d0>] (kernel_init+0x0/0x114) from [<c00414dc>] (do_exit+0x0/0x664)      
 r5:00000000 r4:00000000                                                        

 		 	   		  
Hotmail: Free, trusted and rich email service. Get it now. 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969


More information about the Openembedded-devel mailing list