Skip to content

uboot: rework defconfig and fragments usage

Julien Masson requested to merge jmasson/uboot into main

With the U-Boot updates to mtk-v2024.10, several configs are not present anymore in U-Boot.

Indeed a single defconfig is provided in U-Boot for each board.

Thus all the configs needed for U-Boot and U-Boot SPL (da and mtk-boot) are now placed in defconfig fragments:

.
├── config
│   └── u-boot
│       ├── android.config              REQUIRED
│       ├── debug
│       │   ├── android.config          OPTIONAL
│       │   ├── spl-da.config           OPTIONAL
│       │   └── spl-mtk-boot.config     OPTIONAL
│       ├── factory
│       │   ├── android.config          OPTIONAL
│       │   ├── spl-da.config           OPTIONAL
│       │   └── spl-mtk-boot.config     OPTIONAL
│       ├── release
│       │   ├── android.config          OPTIONAL
│       │   ├── spl-da.config           OPTIONAL
│       │   └── spl-mtk-boot.config     OPTIONAL
│       ├── spl.config                  REQUIRED
│       ├── spl-da.config               REQUIRED
│       └── spl-mtk-boot.config         REQUIRED

For external board project (customers):

├── config
│   └── u-boot
│       └── BOARD-A
│           ├── debug
│           │   ├── android.config          OPTIONAL
│           │   ├── spl-da.config           OPTIONAL
│           │   └── spl-mtk-boot.config     OPTIONAL
│           ├── factory
│           │   ├── android.config          OPTIONAL
│           │   ├── spl-da.config           OPTIONAL
│           │   └── spl-mtk-boot.config     OPTIONAL
│           ├── release
│           │   ├── android.config          OPTIONAL
│           │   ├── spl-da.config           OPTIONAL
│           │   └── spl-mtk-boot.config     OPTIONAL

RITA-1248

Cc @eblanc @vsatoes

Merge request reports

Loading