[PATCH] tools: mxsboot: pre-fill buffer with 0xff, not 0
Marek Vasut
marex at denx.de
Mon Dec 4 08:41:11 CET 2023
On 12/4/23 02:35, Fabio Estevam wrote:
> Hi Alessandro,
>
> [Adding Marek and Rogan]
>
> On Sun, Dec 3, 2023 at 9:24 PM Alessandro Rubini <rubini at gnudd.com> wrote:
>>
>> The tool works for me, with imx28 and NAND memory, but the resulting
>> blocks are reported as bad, both by u-boot and the kernel.
>>
>> This makes it impossible to erase from Linux (for an upgrade without
>> console access, for example -- u-boot can "nand scrub" but linux can't).
>>
>> pre-filling with 0xff creates a proper boot loader image, but no
>> bad-block marker is there when written to flash.
>>
>> Signed-off-by: Alessandro Rubini <rubini at gnudd.com>
Isn't there some kobs-ng or whatever tool it was to properly initialize
the NAND on MXS ?
More information about the U-Boot
mailing list