I use i.mx28 evk. And I have to boot from nand. I did steps from 18.104.22.168 nand boot header on linux_bsp_ug.pdf
kobs-ng init /boot/imx28_ivt_linux.sb
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
noinitrd console=ttyAM0,115200 root=/dev/mtdblock1 rootfstype=jffs2
But nothing has been changed.
What can I do for boot from nand?