iMx35 PDK booting from RedBoot

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

iMx35 PDK booting from RedBoot

跳至解决方案
3,819 次查看
jvidal
Contributor III
Hi:

 

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.

Message Edited by jvidal on 2009-09-21 10:11 AM
0 项奖励
回复
1 解答
2,306 次查看
jvidal
Contributor III

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.

 

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,306 次查看
wth
Contributor I
If you are trying to load root file system from NFS, then your kernel command line for root device should be 'root=/dev/nfs'.
0 项奖励
回复
2,307 次查看
jvidal
Contributor III

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.

 

 

0 项奖励
回复
2,306 次查看
Asfarasiknow
Contributor I

Hello, perhaps you forgot to program the NOR. You must fill all the previous block or try with mtdblock0 to 7.

Regards

0 项奖励
回复