Mehmet Kurnaz

i.mx28 nand boot

Discussion created by Mehmet Kurnaz on May 3, 2011
Latest reply on Aug 4, 2011 by vikram u


I use i.mx28 evk. And I have to boot from nand. I did steps from nand boot header on linux_bsp_ug.pdf

flash_eraseall /dev/mtd0

kobs-ng init /boot/

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


noinitrd console=ttyAM0,115200 root=/dev/mtdblock1 rootfstype=jffs2


But nothing has been changed.


What can I do for boot from nand?



Mehmet Kurnaz