Hello,
I'm looking for instruction on how to make 8MMINID4-EVK boot from NAND.
1. We have received Micron MT29F64G08CBABBWP NAND chip and the Linux has recognized it:
[ 1.262362] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x64
[ 1.268728] nand: Micron MT29F64G08CBABBWP
[ 1.272835] nand: 8192 MiB, MLC, erase size: 2048 KiB, page size: 8192, OOB size: 744
[ 1.281027] gpmi-nand 33002000.gpmi-nand: enable the asynchronous EDO mode 5
[ 1.288702] Bad block table found at page 1048320, version 0x01
[ 1.294926] Bad block table found at page 1048064, version 0x01
[ 1.301012] nand_read_bbt: bad block at 0x00000b400000
[ 1.306162] nand_read_bbt: bad block at 0x00000b600000
[ 1.312410] gpmi-nand 33002000.gpmi-nand: driver registered.
2. I have added
UBOOT_CONFIG = "nand" to the local.conf for imx8mmddr4evk
3. I have compiled
imx-boot-imx8mmddr4evk-nand.bin-flash_ddr4_evk
4. I have flashed that file:
flash_erase /dev/mtd0 0 0
dd if=imx-boot-imx8mmddr4evk-nand.bin-flash_ddr4_evk of=/dev/mtdblock0 bs=1K seek=1
or
nandwrite -p --start=0x400 /dev/mtd0 imx-boot-imx8mmddr4evk-nand.bin-flash_ddr4_evk
5. I have set the boot config dip shitches: 0110000000 / 1000111100
And no boot.