[PATCH master] ARM: i.MX8M: bootrom: fix load image size

Marco Felsch m.felsch at pengutronix.de
Mon Nov 13 03:22:00 PST 2023


Hi all,

On 23-11-13, Marco Felsch wrote:
> Without the proper aligned image size we may encounter host load errors
> like:
> 
> | found i.MX8MP USB device [1fc9:0146]
> | No dcd table in this ivt
> | dl_command err=-1, last_trans=-1
> | 4 in err=-4, last_trans=0  00 00 00 00
> 
> The reason for this is that we asked only for the required bytes while
> the host tries to send the complete image which may contain alignment
> bytes at the end.
> 
> Fix this by request always 4K aligned sizes.
> 
> Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>

please ignore patch [1] in favour of this patch.

[1] https://lore.barebox.org/barebox/20231113090438.1890680-1-m.felsch@pengutronix.de/T/#u

Regards,
  Marco



More information about the barebox mailing list