Skip to content

i.MX8MM U-Boot Upgrade v2022.10 including Cleanups and SWUpdate Improvements

This MR provides a new U-Boot version for Kontron i.MX8MM boards. See sw/misc/u-boot!20 (merged) for details about this version.

  • Cleanup: Remove unused recipe and patch files
  • Instead of a separate U-Boot Environment, use u-boot-initial-env in Userspace (for SWUpdate/libubootenv)
  • Overwrite the board's environment text file in the U-Boot source tree to add vendor-specific boot scripts for A/B boot
    • The provided environment contains scripts from the U-Boot standard distro boot and vendor-specific scripts prefixed with vendor_
    • To use standard distro boot flow (extlinux, UEFI, etc.) do setenv bootcmd distro_bootcmd
    • To use vendor boot flow (SWUpdate) do setenv bootcmd vendor_bootcmd
  • Instead of handling SPL and U-Boot proper separately, use the combined flash.bin file created by U-Boot (binman)
    • This is actually how flash.bin was originally intended to be used, in our v2020.01 configuration flash.bin wrongly contained only SPL
    • This also affects the SPI NOR MTD partitions which have already been adjusted in the kernel
  • Add a recipe for v2022.10 and switch all KTN i.MX8MM boards to use it as default
Edited by Frieder Schrempf

Merge request reports