[PATCH] tools: mxsboot: pre-fill buffer with 0xff, not 0

Fabio Estevam festevam at gmail.com
Thu Dec 14 03:01:14 CET 2023


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>

Applied to u-boot-imx next, thanks


More information about the U-Boot mailing list