diff options
| author | Tim Harvey <[email protected]> | 2023-05-02 17:05:55 -0700 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2023-07-11 14:40:03 +0200 |
| commit | 7b39e5b53a88f973da08e2f8d3e1161e51a77ed4 (patch) | |
| tree | c81b6c1eb804c3711661664cffdc373065e1518e /scripts | |
| parent | 2c2cc1eaabc7b4bb5af66830c59a810e97280545 (diff) | |
board: gateworks: venice: dynamically update the update_firmware script
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 <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
