Skip to content
Snippets Groups Projects
  1. Apr 26, 2024
  2. Apr 23, 2024
  3. Mar 27, 2024
  4. Mar 24, 2024
  5. Mar 13, 2024
  6. Mar 02, 2024
  7. Mar 01, 2024
  8. Feb 19, 2024
  9. Feb 15, 2024
  10. Feb 09, 2024
  11. Jan 24, 2024
  12. Jan 16, 2024
  13. Jan 07, 2024
  14. Jan 03, 2024
  15. Dec 19, 2023
  16. Dec 13, 2023
  17. Nov 28, 2023
  18. Nov 10, 2023
  19. Nov 07, 2023
  20. Nov 03, 2023
  21. Oct 18, 2023
    • Sean Anderson's avatar
      Move i.MX8 container image loading support to common/spl · 12b33390
      Sean Anderson authored and Tom Rini's avatar Tom Rini committed
      
      To facilitate testing loading i.MX8 container images, move the
      parse-container code to common/spl.
      
      Signed-off-by: default avatarSean Anderson <seanga2@gmail.com>
      12b33390
    • Sean Anderson's avatar
      arm: imx: Check header before calling spl_load_imx_container · ab12179b
      Sean Anderson authored and Tom Rini's avatar Tom Rini committed
      
      Make sure we have an IMX header before calling spl_load_imx_container,
      since if we don't it will fail with -ENOENT. This allows us to fall back to
      legacy/raw images if they are also enabled.
      
      This is a functional change, one which likely should have been in place
      from the start, but a functional change nonetheless. Previously, all
      non-IMX8 images (except FITs without FIT_FULL) would be optimized out if
      the only image load method enabled supported IMX8 images. With this change,
      support for other image types now has an effect.
      
      There are seven boards with SPL_LOAD_IMX_CONTAINER enabled: three with
      SPL_BOOTROM_SUPPORT:
      
          imx93_11x11_evk_ld imx93_11x11_evk imx8ulp_evk
      
      and four with SPL_MMC:
      
          deneb imx8qxp_mek giedi imx8qm_mek
      
      All of these boards also have SPL_RAW_IMAGE_SUPPORT and
      SPL_LEGACY_IMAGE_FORMAT enabled as well. However, none have FIT support
      enabled. Of the six load methods affected by this patch, only SPL_MMC and
      SPL_BOOTROM_SUPPORT are enabled with SPL_LOAD_IMX_CONTAINER.
      spl_romapi_load_image_seekable does not support legacy or raw images, so
      there is no growth. However, mmc_load_image_raw_sector does support loading
      legacy/raw images. Since these images could not have been booted before, I
      have disabled support for legacy/raw images on these four boards. This
      reduces bloat from around 800 bytes to around 200.
      
      There are no in-tree boards with SPL_LOAD_IMX_CONTAINER and AHAB_BOOT both
      enabled, so we do not need to worry about potentially falling back to
      legacy images in a secure boot scenario.
      
      Future work could include merging imx_container.h with imx8image.h, since
      they appear to define mostly the same structures.
      
      Signed-off-by: default avatarSean Anderson <seanga2@gmail.com>
      ab12179b
  22. Oct 15, 2023
  23. Oct 11, 2023
  24. Oct 04, 2023
  25. Sep 30, 2023
  26. Sep 22, 2023
  27. Sep 05, 2023
Loading