Hi,
I am using AM335x with Micron NAND for booting my all the images from nand by default. I am following the below link steps.
i am using 8 bit NAND with 4K page one and modified some changes in U-boot (which is SDK7) and Linux 3.2 version (SDK6) is suing in my board.
As per the steps i have flashed all the MLO, uboot.img, uImage with the below steps:
------------------------------
nand erase.chip;fatload mmc 0 0x81000000 MLO;cp.b 0x81000000 0x81020000 20000;cp.b 0x81000000 0x81040000 20000;cp.b 0x81000000 0x81060000 20000;nand write 0x81000000 0x0 0x80000;fatload mmc 0 0x81000000 u-boot.img;nand write 0x81000000 0xc0000 0x200000;fatload mmc 0 0x81000000 uImage;nand write 0x81000000 0xa00000 0x500000;
------------------------------
After changed the boot pins to NAND mode, it is booting from NAND and till kernel image it was booted up. configured kernel image offset as 0xa00000 then only it is booting. As per this mtd partition how to flash the ubi.img to file system partition. Still some kernel crashes in my boot log.
Please help me what are the boot commands need to give for booting the full system via NAND. Also plz suggest me the kernel mtd changes as well.
Find the log for your reference.
Thanks