I trying to boot a linux compile with ltib, but when execute kernel, linux promt from iMx35 dont show...
I try next command to load kernel and root and then execute linux.
fis init
load -r -b 0x100000 zImage -h 172.16.21.4
fis create -f 0x100000 kernel
load -r -b 0x100000 rootfs.jffs2 -h 172.16.21.4
fis create -f 0x600000 root
fis load kernel
exec -c "noinitrd console=ttymxc0,115200 root=/dev/mtdblock8 nfsroot=172.16.21.4:/tftpboot/rootfs init=/linuxrc ip=172.16.21.25:172.16.21.4"
where
172.16.21.4=Host ip
172.16.21.25=Target ip
Error message say:
VFS: Cannot open root device "mtdblock8"
Please append a correct "root=" boot option; here are the available partitions
1f00 512 mtdblock0 (driver?)
...
1f08 98304 mtdblock0 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs
Any idea what happend.
Thanks for all.
Solved! Go to Solution.
Hi:
First, thanks for your answers wth.
How i try to ejecute from NAND flash (we load kernel and rootfs), exec commad have to do:
exec -c "noinitrd console=ttymxc0,115200 root=/dev/mtdblock8 rw rootfstype=jffs2 ip=172.16.21.15:172.16.21.4"
That is all.
Hi:
First, thanks for your answers wth.
How i try to ejecute from NAND flash (we load kernel and rootfs), exec commad have to do:
exec -c "noinitrd console=ttymxc0,115200 root=/dev/mtdblock8 rw rootfstype=jffs2 ip=172.16.21.15:172.16.21.4"
That is all.
Hello, perhaps you forgot to program the NOR. You must fill all the previous block or try with mtdblock0 to 7.
Regards