diff options
| author | Hiago De Franco <[email protected]> | 2023-10-03 18:26:54 -0300 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2023-10-16 08:46:01 +0200 |
| commit | 7dede4033bd0391d240914b3e54ec49a984d39b2 (patch) | |
| tree | 2de9ab780774e2fb0f76b3bbedefb2a7bcb8229e /scripts | |
| parent | 0c39564d02817a3a5b5b2519e73afc0969966206 (diff) | |
arm: mach-imx: Makefile: Extend u-boot-nand.imx padding
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 <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
