hi,
i am new to the NAND-Booting: We are taken Sitara EVM-starter kit as reference to our custom board with AM335x.
Linux version 3.14 and u-boot is 2014 / downloaded for git given in the ti-wiki only.
We are unable to boot fron NAND -
1. Sitara EVM-SK is not having option for NAND. which is given NAND Guide in the wiki.
1# quest is : U-boot is detecting NAND - which is same one using in sitara-EVM-256MB(MT29F2G08ABAEAWP)- 2GBIT.
So as NAND is detecing by U-Boot - Is it possible to boot from NAND with U-Boot commands.
we went through u-boot code:
/board/ti/am335x/board.c /mux.c nd etc., and here in the makefile added the CONFIG_NAND and CONFIG_NAND_BOOT
/arch/arm/cpu/armv7/am33xx/board.c
nand_init function is there in /driver/mtd/nand/am335x_spl_bch.c
How nand chip details will get to the nand_chip strucutre
2# quest is: in the kernel for NAND we updated in the DTS file with pin mux and etc from am335x-evm about nand to
am335x-evmsk.dts: is it work is my doubt becoz the filesystem is ext-4 for SDcard boot.
So here do we need to use different filesystem for NAND like UBIFS/JFFS/YFFS etc.
GPMC- pins in starter kit is using for MMC1 and RGMI_INT -- so those IO mux we changed in dts file.
Please any one guide me in this.
Regards,
Viswanath K