[PATCH] arm: mach-imx: Makefile: Extend u-boot-nand.imx padding
Fabio Estevam
festevam at gmail.com
Sat Oct 7 14:52:16 CEST 2023
On Tue, Oct 3, 2023 at 6:27 PM Hiago De Franco <hiagofranco at gmail.com> wrote:
>
> From: Hiago De Franco <hiago.franco at toradex.com>
>
> Extend the padding process of u-boot-nand.imx target by adding 10k bytes
> of zeros to the end of the binary using the 'dd' command.
>
> The existing padding method did not generate a functional binary,
> as discussed in more detail in this thread [1]. Instead, we adopt the
> end-padding calculation method documented in 'board/doc/colibri_imx7.rst'
> as a reference, which is relevant for iMX7 with NAND storage.
>
> Adding 10k bytes of zeros provides an approximate value that makes the
> proper padding for these NAND devices.
>
> [1] https://lore.kernel.org/all/CAC4tdFUqffQzRQFv5AGe_xtbFy1agr2SEpn_FzEdexhwjdryyw@mail.gmail.com/
>
> Signed-off-by: Hiago De Franco <hiago.franco at toradex.com>
Reviewed-by: Fabio Estevam <festevam at gmail.com>
More information about the U-Boot
mailing list