On Tue, Oct 3, 2023 at 6:27 PM Hiago De Franco <hiagofra...@gmail.com> wrote:
>
> From: Hiago De Franco <hiago.fra...@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_fzedexhwjdr...@mail.gmail.com/
>
> Signed-off-by: Hiago De Franco <hiago.fra...@toradex.com>

Reviewed-by: Fabio Estevam <feste...@gmail.com>

Reply via email to