Hello ,
I am using Dm355 EVM and GIT kernel.
I have created a fresh filesystem as described here :
http://wiki.davincidsp.com/index.php/Creating_a_Root_File_System_for_Linux_on_OMAP35x
I have tested tftpboot as well as NFS-server with my Monta-Vista,it works perfect.
But now when I am trying to boot from TFTP using my own file system on NFS ...I am getting following errors....
I have checked the uImage configurations and root path they are ok...
Here is my log:
UBL: detected valid U-Boot magic number
UBL: booting to U-Boot
U-Boot 1.2.0 (Feb 2 2008 - 23:52:10)
DRAM: 128 MB
NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V
8-bit)
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
Bad block table found at page 524224, version 0x01
Bad block table found at page 524160, version 0x01
2048 MiB
In: serial
Out: serial
Err: serial
ARM Clock :- 216MHz
DDR Clock :- 171MHz
Hit any key to stop autoboot: 0
DM355 EVM # setenv bootcmd 'dhcp;bootm'
DM355 EVM # setenv serverip 192.168.2.2
DM355 EVM # setenv bootfile uImage
DM355 EVM # setenv rootpath /home/digant/FS/target
DM355 EVM # setenv nfshost 192.168.2.2
DM355 EVM # setenv bootargs console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev
/nfs nfsroot=$(nfshost):$(rootpath),nolock mem=116M
DM355 EVM # printenv
bootdelay=3
baudrate=115200
filesize=248448
fileaddr=82000000
stdin=serial
stdout=serial
stderr=serial
videostd=ntsc
bootcmd=dhcp;bootm
serverip=192.168.2.2
bootfile=uImage
rootpath=/home/digant/FS/target
nfshost=192.168.2.2
bootargs=console=ttyS0,115200n8 noinitrd rw ip=dhcp root=/dev/nfs nfsroot=192.16
8.2.2:/home/digant/FS/target,nolock mem=116M
Environment size: 350/16380 bytes
DM355 EVM # boot
BOOTP broadcast 1
DHCP client bound to address 192.168.2.229
TFTP from server 192.168.2.2; our IP address is 192.168.2.229
Filename 'uImage'.
Load address: 0x80700000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##############################
done
Bytes transferred = 2146816 (20c200 hex)
## Booting image at 80700000 ...
Image Name: Linux-2.6.30-davinci1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2146752 Bytes = 2 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux.............................................................
.......................................................................... done,
booting the kernel.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Linux version 2.6.30-davinci1 (digant@digant-desktop) (gcc versio
n 4.3.2 (Sourcery G++ Lite 2008q3-72) ) #3 Wed Jul 15 10:16:29 IST 2009
[ 0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: DaVinci DM355 EVM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] DaVinci dm355 variant 0x0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 29464
[ 0.000000] Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=dhcp r
oot=/dev/nfs nfsroot=192.168.2.2:/home/digant/FS/target,nolock mem=116M
[ 0.000000] NR_IRQS:224
[ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.020000] Memory: 116MB = 116MB total
[ 0.020000] Memory: 112924KB available (3924K code, 594K data, 112K init, 0K
highmem)
[ 0.020000] SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, N
odes=1
[ 0.020000] Calibrating delay loop... 107.31 BogoMIPS (lpj=536576)
[ 0.250000] Security Framework initialized
[ 0.250000] SELinux: Disabled at boot.
[ 0.250000] Mount-cache hash table entries: 512
[ 0.250000] Initializing cgroup subsys ns
[ 0.250000] Initializing cgroup subsys cpuacct
[ 0.250000] CPU: Testing write buffer coherency: ok
[ 0.260000] DaVinci: 104 gpio irqs
[ 0.260000] net_namespace: 1028 bytes
[ 0.260000] NET: Registered protocol family 16
[ 0.320000] bio: create slab <bio-0> at 0
[ 0.340000] NET: Registered protocol family 8
[ 0.340000] NET: Registered protocol family 20
[ 0.350000] NET: Registered protocol family 2
[ 0.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.350000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.360000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.360000] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.360000] TCP reno registered
[ 0.360000] NET: Registered protocol family 1
[ 0.360000] audit: initializing netlink socket (disabled)
[ 0.360000] type=2000 audit(0.360:1): initialized
[ 0.540000] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.550000] JFS: nTxBlock = 883, nTxLock = 7067
[ 0.550000] msgmni has been set to 220
[ 0.560000] alg: No test for stdrng (krng)
[ 0.560000] io scheduler noop registered
[ 0.560000] io scheduler anticipatory registered
[ 0.560000] io scheduler deadline registered
[ 0.560000] io scheduler cfq registered (default)
[ 1.750000] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.770000] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[ 1.770000] console [ttyS0] enabled
[ 2.040000] serial8250 serial8250.0: unable to register port at index 1 (IO0
MEM1c20400 IRQ41): -22
[ 2.050000] serial8250 serial8250.0: unable to register port at index 2 (IO0
MEM1e06000 IRQ14): -22
[ 2.110000] brd: module loaded
[ 2.110000] SSFDC read-only Flash Translation layer
[ 2.120000] mice: PS/2 mouse device common for all mice
[ 2.130000] cpuidle: using governor ladder
[ 2.140000] cpuidle: using governor menu
[ 2.150000] RPC: Registered udp transport module.
[ 2.150000] RPC: Registered tcp transport module.
[ 2.170000] registered taskstats version 1
[ 2.170000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 2.180000] VFS: Cannot open root device "nfs" or unknown-block(0,255)
[ 2.190000] Please append a correct "root=" boot option; here are the availab
le partitions:
[ 2.190000] Kernel panic - not syncing: VFS: Unable to mount root fs on unkno
wn-block(0,255)
[ 2.200000] Backtrace:
[ 2.210000] [<c00283d4>] (dump_backtrace+0x0/0x10c) from [<c03173b4>] (dump_s
tack+0x18/0x1c)
[ 2.210000] r6:c042368c r5:00008000 r4:c6c1bf58
[ 2.220000] [<c031739c>] (dump_stack+0x0/0x1c) from [<c0317404>] (panic+0x4c/
0x13c)
[ 2.230000] [<c03173b8>] (panic+0x0/0x13c) from [<c0008f14>] (mount_block_roo
t+0x188/0x2c8)
[ 2.240000] r3:00000000 r2:c6c7e1ac r1:c6c1bf58 r0:c03a3f2c
[ 2.240000] [<c0008d8c>] (mount_block_root+0x0/0x2c8) from [<c00090a8>] (moun
t_root+0x54/0x6c)
[ 2.250000] [<c0009054>] (mount_root+0x0/0x6c) from [<c00091d0>] (prepare_nam
espace+0x110/0x1d0)
[ 2.260000] r5:c002283c r4:c0423284
[ 2.260000] [<c00090c0>] (prepare_namespace+0x0/0x1d0) from [<c0008478>] (ker
nel_init+0xd0/0xfc)
[ 2.270000] r6:c0020fb0 r5:c0020c58 r4:c0020fb0
[ 2.280000] [<c00083a8>] (kernel_init+0x0/0xfc) from [<c003acfc>] (do_exit+0x
0/0x6ac)
[ 2.290000] r6:00000000 r5:00000000 r4:00000000
Please help...if any one has readymade filesystem with minimum configuration please give it to me or any place where I can find the method to create my own filesystem fot DM355 +GIT ..
Thank you .