[PATCH v2 0/9] Generalize PHYTEC Overlay Handling

Daniel Schultz d.schultz at phytec.de
Wed Jul 17 07:11:25 CEST 2024


The overlays are specified in the bootenv.txt file that is loaded into
the environment. Then these overlays get loaded and applied via a script.
These scripts for loading and applying devicetree overlays are identical
for many phytec boards.
Create a common overlays.env that can be included.
Add support for devicetree overlays to phycore-imx8mp and include the
overlays.env for phycore-imx93.
Rename existing environment variables according to bootstd doc.
Move MMC boot logic into a common k3_mmc.env file and include the new
overlays.env file as well.

Changes v2:
  * Rebased to master and resolved a conflict in
    configs/phycore-imx8mp_defconfig.

Benjamin Hahn (5):
  include: env: phytec: Create env file for loading and applying
    overlays
  phycore-imx8mp: Add overlay and bootenv.txt support
  phycore_imx93: include common overlays.env
  board: phytec: renaming of variables according to bootstd doc
  include: env: phytec: renaming of variables according to bootstd doc

Daniel Schultz (4):
  include: env: phytec: Add common mmc boot for K3 SoMs
  include: env: phytec: k3_mmc: Apply overlays during boot
  board: phytec: phycore_am62x: Use k3_mmc.env logic
  board: phytec: phycore_am64x: Use k3_mmc.env logic

 board/phytec/phycore_am62x/phycore_am62x.env  | 11 +----
 board/phytec/phycore_am64x/phycore_am64x.env  | 12 +----
 .../phytec/phycore_imx8mp/phycore_imx8mp.env  | 27 ++++++++---
 board/phytec/phycore_imx93/phycore_imx93.env  | 45 +++++--------------
 configs/phycore-imx8mp_defconfig              |  4 +-
 include/env/phytec/k3_mmc.env                 | 21 +++++++++
 include/env/phytec/overlays.env               | 38 ++++++++++++++++
 7 files changed, 97 insertions(+), 61 deletions(-)
 create mode 100644 include/env/phytec/k3_mmc.env
 create mode 100644 include/env/phytec/overlays.env

-- 
2.25.1



More information about the U-Boot mailing list