iMx35 PDK booting from RedBoot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMx35 PDK booting from RedBoot

Jump to solution
2,055 Views
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 Kudos
1 Solution
542 Views
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.

 

 

View solution in original post

0 Kudos
3 Replies
542 Views
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 Kudos
543 Views
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 Kudos
542 Views
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 Kudos