
Hi Francesco,
On 13.10.24 14:42, Francesco Dolcini wrote:
On Thu, Oct 10, 2024 at 10:28:31AM +0200, Heiko Schocher wrote:
trying to load current flash.bin with uuu tool leads in not booting U-Boot as missing some bytes.
Align flash.bin in this case to 0x800 bytes, to make uuu and ROM api happy.
Are you sure that the issue is on this? Can you check https://github.com/nxp-imx/mfgtools/issues/416 ? Just sharing something related when using UUU on OE generated binaries to confirm you are not chasing the wrong issue here.
Thanks for the tip, but I do not use meta-freescale... but yes, I build with oe... the issue is, because
Okay, I tried the following (flash.bin created without this patch):
$ cp flash.bin flash.bin-tagged $ stat -L -cUUUBURNXXOEUZX7+A-XY5601QQWWZ%sEND flash.bin-tagged >> flash.bin-tagged
and loading flash.bin-tagged... which leads in uuu reaches 100% but U-Boot does not boot, as rom_api_download_image() still waits for some bytes ... simply sending more bytes by starting uuu again leads in starting U-Boot!
bye, Heiko