[PATCH 3/5] board: gateworks: venice: dynamically update the update_firmware script

sbabic at denx.de sbabic at denx.de
Tue Jul 11 21:46:57 CEST 2023


> The update_firmware script is intended to update the boot firmware but
> the details including the offset and hardware partition are dependent
> on the boot device.
> Specifically:
> - IMX8MM/IMX8MP (BOOTROM v2) the offset is 32KiB for SD and eMMC user
>   hardware partition and 0KiB for eMMC boot partitions.
> - IMX8MM the offset is 33KiB for SD and eMMC regardless of hardware
>   partition.
> Dynamically set soc, dev, bootpart, and bootblk env vars at runtime
> and use these in the update_firmware script. Remove the splblk env var
> from config files as its no longer needed.
> Signed-off-by: Tim Harvey <tharvey at gateworks.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,        Managing Director: Erika Unter  
HRB 165235 Munich,   Office: Kirchenstr.5, 82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list