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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 23-11-15, Sascha Hauer wrote:
> On Mon, Nov 13, 2023 at 10:04:38AM +0100, 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.
> 
> As discussed in mumble: This fix is not correct. It works with HABv4
> enabled images, but not on images without HAB support.

Yes, please ignore this patch. Patch [1] supersede this patch.

[1] https://lore.barebox.org/barebox/20231114133358.3746051-1-m.felsch@xxxxxxxxxxxxxx/T/#u

Regards,
  Marco




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux