AnsweredAssumed Answered

i.MX257 boot from NAND flash

Question asked by loic BOISSY on Sep 17, 2013
Latest reply on Sep 17, 2013 by loic BOISSY
We programed barebox on our Nand Flash (Micron 29F4G08ABADA) with ATK software.


But we cannot boot automatically from Nand Flash (internal boot mode).
Only the first half of the main flash buffer is loaded by the ROM bootloader.

It seems to be related to the fact that our NAND flash has 64 pages per block while the original NAND flash provided on FreeScale PDK was 128. Actually, 128 is the default value of the NFC (NAND Flash Controller).

We can change that manually with our JTAG debugger but it has to be done quite early in the ROM boot process in order to make barebox boot.


Is there a way to change the default value used by the NFC in order to tell the ROM bootloader the correct number of pages per block?