
23 Mar
2019
23 Mar
'19
11:04 p.m.
Hi Lukasz,
On Sat, Mar 23, 2019 at 6:29 PM Lukasz Majewski lukma@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