This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to re-configure u-boot gph for 4K page nand flash, and ubifs argument.

Hi.

I build custom board using 4K page nand. I download U-BOOT image for EVM. nand boot is not working.

I think I re-configure u-boot-nand.gph foe 4K page nand. where I find reconfiguration filed to solve this problem?

and help to me ubifs argument for 4K page nand.

Regards.

Thanks.

  • You should modify the below u-boot board configuration file.
    If its K2H board,
    u-boot/include/configs/k2hk_evm.h

    Change
    #define CONFIG_SYS_NAND_PAGE_2K
    To
    #define CONFIG_SYS_NAND_PAGE_4K

    If its K2E board,
    u-boot/include/configs/k2e_evm.h
    Change
    #define CONFIG_SYS_NAND_PAGE_2K
    To
    #define CONFIG_SYS_NAND_PAGE_4K

    If you used different CS pin for NAND then change that too.
    #define CONFIG_SYS_NAND_CS 2