AnsweredAssumed Answered

i.MX7 NAND boot issue

Question asked by phillipsteinhofer on May 31, 2016
Latest reply on Mar 20, 2017 by Kevin Mu

I am having an issue booting an i.MX7 from NAND FLASH.

 

The MFG tool is being used to program the NAND. The external GPIO boot config is set to NAND. The U-Boot is not booting from the NAND.

 

The U-Boot code set for the NXP MCIMX7SABRE EVM board does not have NAND fully supported.

The example code mx7dsabresd.c has a block of code with a TODO: NAND in it.

 

static const struct boot_mode board_boot_modes[] = {

    /* 4 bit bus width */

    {"sd1", MAKE_CFGVAL(0x10, 0x10, 0x00, 0x00)},

    {"emmc", MAKE_CFGVAL(0x10, 0x2a, 0x00, 0x00)},

    /* TODO: Nand */

    {"qspi", MAKE_CFGVAL(0x00, 0x40, 0x00, 0x00)},

    {NULL,   0},

};

 

Does anyone know the values for MAKE_CFGVAL entires for NAND?

 

Or how these values are determined?

 

 

Thank you.

Phil

Outcomes