UBoot always reporting bad blocks in the MLO region

Hello,

Relevant information:

-BB-xM based system
-GB Rowboat 2.3.4
-8 bit Micron Flash memory

We’re seeing all blocks between 0 and 80000 coming back as bad when attempting to write MLO to NAND. NAND scrub fixes this, but I’d like to not use it if possible (on the off chance that there are real bad blocks in those regions). Does anyone have a theory as to why this might be?

Thanks,
Jake

You might want to expand a little more on "BB-xM based system"...
Unless you physically modified the board, the BB-xM would only boot
off mmc... Hence we'd otherwise be wondering, 'why' are you trying to
dump MLO to nand in the first place..

Regards,

Hello,

The BB-xM doesn’t have NAND. This is a custom board that is essentially an xm with a Micron 8-bit NAND, an LCD, and a couple other minor differences.

Thanks,
Jake

Hello,

The BB-xM doesn't have NAND.

Actually due to memory availability at the time, the first lot of xM
A's did have onboard nand (it was not wired to be bootable), so I had
to ask...

This is a custom board that is essentially an
xm with a Micron 8-bit NAND, an LCD, and a couple other minor differences.

So it's an custom "dm/am37xx" based board..

Regards,

Correct.

Thanks,
Jake

How are you trying to write these files to NAND? I believe the U-Boot with rowboat is old enough such that it’s x-loader and u-boot rather than U-Boot SPL and U-Boot so you need to write MLO with hw ecc and U-Boot with sw ecc.

Download MLO from angstrom demo website