[U-Boot] Fixing dfu_alt_info field after DM conversion
Fabio Estevam
festevam at gmail.com
Sat Mar 23 22:04:43 UTC 2019
Hi Lukasz,
On Sat, Mar 23, 2019 at 6:29 PM Lukasz Majewski <lukma at denx.de> wrote:
> > #define CONFIG_DFU_ENV_SETTINGS \
> > "dfu_alt_info=" \
> > "spl raw 0x2 0x400;" \
> > - "u-boot raw 0x8a 0x400;" \
> > + "u-boot raw 0x8a 0x1000;" \
>
> The change is as follows:
>
> It defines the DFU alt setting "u-boot" to be "raw" (LBA addressed) -
> starting from 0x8a LBA and with 0x400 * 512B = 512 KiB.
>
> Probably your u-boot is larger than 512 KiB, so you need to increase
> the "size" of the alt setting to be written to eMMC.
>
> In short - yes this is an acceptable fix.
Yes, the new u-boot-dtb.img is 557 kiB.
Thanks for your explanation. Things are clear now.
Thanks,
Fabio Estevam
More information about the U-Boot
mailing list