I tried to load Linux to LCDK nand flash. What I have done:
1. Loaded u-boot to Nand.
2. Turned up tftp server. U-boot loading linux kernel from it.
Filesystem is my problem now.
I turned up nfs server on ubuntu by this manual:
http://help.ubuntu.ru/wiki/nfs
then I set bootargs to u-boot:
setenv bootargs 'console=ttyS2,115200n8 noinitrd rw ip=192.168.1.100:192.168.1.101:192.168.1.1:255.255.255.0::eth0: root=/dev/nfs nfsroot=192.168.1.101:/data'
where 192.168.1.100 is my client's ip, 192.168.1.101 is server's ip, /data is folder with filesystem on server.
But when starting kernel there is an error:
VFS: Cannot open root device "(null)" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 128 mtdblock0 (driver?)
1f01 512 mtdblock1 (driver?)
1f02 4096 mtdblock2 (driver?)
1f03 4096 mtdblock3 (driver?)
1f04 32768 mtdblock4 (driver?)
1f05 32768 mtdblock5 (driver?)
1f06 449920 mtdblock6 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
I found just one mention about NFS on ti wiki in this manual:
http://processors.wiki.ti.com/index.php/Booting_Linux_kernel_using_U-Boot
but the link (http://lxr.linux.no/#linux+v2.6.32/Documentation/filesystems/nfsroot.txt) is doesn't work.
So question is:
1. Is there any manual how to work with NFS server on LCDK?
2. Is there any manual how to load kernel and filesystem at NAND permanently?
↧
Loading Linux to LCDK's NAND
↧