hello ,
I used the EVM board dm365 with linux-2.6.18_pro500 and arm_v5t_le- compiler and now i have the DM355IPNC-VCA1 and i want to use the same version of linux and compiler , so i followed the procedure to build kernel for EVM board dm355 and i tried to boot the uImage with tftp and file systeme.
My question it's possible to use the same version of linux and the same compiler , if yes how i can resolve my problem because i have Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) error.
Thank you !
output of my log boot :
DM355 IPNC # setenv bootargs console=ttyS1,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=$(nfshost):$(rootpath), nolock mem=80M v4l2_c
DM355 IPNC # setenv bootcmd 'tftpboot 0x80700000 uImage; bootm 0x80700000'
DM355 IPNC # boot
Found DM9000 ID:90000a46 at address 4000000 !
DM9000 work in 16 bus width
[eth_init]MAC:0:11:22:33:44:55:
TFTP from server 192.168.1.66; our IP address is 192.168.1.119
Filename 'uImage'.
Load address: 0x80700000
Loading: T #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#######
done
Bytes transferred = 2028592 (1ef430 hex)
## Booting image at 80700000 ...
Image Name: Linux-2.6.18_pro500-davinci_evm-
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2028528 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK
Starting kernel ...
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (version gcc 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)) #0
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci DM355 EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci DM0350 variant 0x0
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists. Total pages: 20480
Kernel command line: console=ttyS1,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=192.168.1.66:/home/me/workdir/filesys, nolock mem=c
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 07
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 80MB = 80MB total
Memory: 76672KB available (3481K code, 735K data, 196K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
DaVinci: 104 gpio irqs
MUX: initialized SD1_CLK
MUX: initialized SD1_CMD
MUX: initialized SD1_DATA3
MUX: initialized SD1_DATA2
MUX: initialized SD1_DATA1
MUX: initialized SD1_DATA0
DM355 IPIPE intialized in Single Shot mode
ch0 default output "COMPOSITE", mode "NTSC"
VPBE Encoder Initialized
LogicPD encoder initialized
Avnetlcd encoder initialized
MUX: initialized I2C_SDA
MUX: initialized I2C_SCL
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Jan 25 2010 11:23:13 Installing.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
LTT : ltt-facilities init
LTT : ltt-facility-core init in kernel
davincifb davincifb.0: dm_osd0_fb: Initial window configuration is invalid.
davincifb davincifb.0: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 2025KB
davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 675KB
davincifb davincifb.0: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 1350KB
davincifb davincifb.0: dm_vid1_fb: Initial window configuration is invalid.
davincifb davincifb.0: dm_vid1_fb: 720x576x16@0,0 with framebuffer size 2500KB
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
imp serializer initialized
davinci_previewer initialized
davinci_resizer initialized
Serial: 8250/16550 driver $Revision: 1.90 $ 3 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550A
serial8250.0: ttyS1 at MMIO map 0x1c20400 mem 0xfbc20400 (irq = 41) is a 16550A
serial8250.0: ttyS2 at MMIO map 0x1e06000 mem 0xfbe06000 (irq = 14) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
dm9000 Ethernet Driver
dm9000: read wrong id 0x2b2a2928
dm9000: read wrong id 0x2b2a2928
dm9000: wrong id: 0x2b2a2928
dm9000: not found (0).
netconsole: not configured, aborting
Linux video capture interface: v2.00
vpfe_init
MUX: initialized VIN_CAM_WEN
MUX: initialized VIN_CINL_EN
starting ccdc_reset...<7>
End of ccdc_reset...<5>vpfe_probe
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = MT9T001
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = MT9P031
TVP514X : nummber of channels = 1
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = TVP514X
Trying to register davinci display video device.
layer=c09fb800,layer->video_dev=c09fb960
Trying to register davinci display video device.
layer=c09fb600,layer->video_dev=c09fb760
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
af major#: 252, minor# 0
aew major#: 251, minor# 0
i2c /dev entries driver
nand_davinci nand_davinci.0: Using 4-bit hardware ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB 3,3V 8-bit)
2 NAND chips detected
Bad block table not found for chip 0
Bad block table not found for chip 1
Bad block table not found for chip 0
Bad block table not found for chip 1
Scanning device for bad blocks
Scanning device for bad blocks
Creating 5 MTD partitions on "nand_davinci.0":
0x00000000-0x003c0000 : "bootloader"
0x003c0000-0x00400000 : "params"
0x00400000-0x00800000 : "kernel"
0x00800000-0x20800000 : "filesystem1"
mtd: partition "filesystem1" extends beyond the end of device "nand_davinci.0" -- size truncated to 0x3800000
0x20800000-0x04000000 : "filesystem2"
mtd: partition "filesystem2" is out of reach -- disabled
nand_davinci nand_davinci.0: hardware revision: 2.3
dm_spi.0: davinci SPI Controller driver at 0xc5866000 (irq = 42) use_dma=0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, cppi-dma, host, debug=0
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Host mode controller at c586e000 using DMA, IRQ 12
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
mice: PS/2 mouse device common for all mice
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
davinci-mmc davinci-mmc.1: Supporting 4-bit mode
davinci-mmc davinci-mmc.1: Using DMA mode
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50 2006 UTC).
ASoC version 0.13.1
AIC3X Audio Codec 0.2
ALSA device list:
No soundcards found.
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
IP-Config: No network devices available.
Looking up port of RPC 100003/2 on 192.168.1.66
portmap: RPC call returned error 101
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.66
portmap: RPC call returned error 101
Root-NFS: Unable to get mountd port number from server, using default
mount: RPC call returned error 101
Root-NFS: Server returned error -101 while mounting /home/me/workdir/filesys
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
My Uboot environement :
DM355 IPNC # print env
## Error: "env" not defined
DM355 IPNC #printenv
Unknown command printenv' - try 'help'
DM355 IPNC # printenv
bootdelay=3
baudrate=115200
fileaddr=82000000
bootm=0x80700000
nboot=0x80700000 0 0x200000
bbootcmd=nand read 0x82000000 0x500000 0xa00000;nboot 0x80700000 0 0x200000;bootm 0x80700000
initrd=0x82000000,10M1stdin=serial
bootcmd=nand read 0x82000000 0x500000 0xa00000;nboot 0x80700000 0 0x200000;bootm 0x80700000
bootargs=mem=80M console=ttyS1,115200n8 root=/dev/ram0 rw initrd=0x82000000,10M ip=dhcp eth=00:11:45:11:03:55 v4l2_video_capture=:device=Mc
nfshost=192.168.1.66
bootfile=uImage
ipaddr=192.168.1.119
serverip=192.168.1.66
rootpath=/home/me/workdir/filesys
stdin=serial
stdout=serial
stderr=serial
ver=U-Boot 1.2.0 (Aug 12 2008 - 00:04:55) IPNC-U-1.0.2
Environment size: 797/16380 bytes