Hi, On Mon, 2021-08-30 at 13:51 +0200, Ahmad Fatoum wrote: > According to the reference manual of the i.MX8MP, the bootrom expects > the bootloader to sit directly at the start of the eMMC boot partition. > > The 32K offset is only valid for eMMC user partitions and SD. > Tell barebox_update about this, so it can strip away the first 32K > when writing to an eMMC boot partition. > > Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> > --- > v1 -> v2: > - fix wrong use of flash header offset: This refers to offset in file, > but we want to change offset on disk. There is a knob for that > (IMX_BBU_FLAG_PARTITION_STARTS_AT_HEADER), so use that instead > > Tested on i.MX8MN. Whole series is, Tested-by: Rouven Czerwinski <r.czerwinski@xxxxxxxxxxxxxx> on i.MX8MP-EVK. Best Regards, Rouven _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox