Hi,
I use i.mx28 evk. And I have to boot from nand. I did steps from 5.1.3.2 nand boot header on linux_bsp_ug.pdf
flash_eraseall /dev/mtd0
kobs-ng init /boot/imx28_ivt_linux.sb
flash_eraseall /dev/mtd1
nandwrite /dev/mtd1 /boot/rootfs.jffs2
I set boot mode select 01001 for nand boot. I press KEY1 for nand rootfs while starting. Linux begins from nand but linux cannot mount rootfs. If I don't press KEY1, linux(from nand) mounts rootfs on sd card.
I have changed alternative cmd line 1 from;
noinitrd console=ttyAM0,115200 ubi.mtd=1 root=ubi0:rootfs0 rootfstype=ubifsrw gpmi
to;
noinitrd console=ttyAM0,115200 root=/dev/mtdblock1 rootfstype=jffs2
But nothing has been changed.
What can I do for boot from nand?
Thanks.
Mehmet Kurnaz