mvebu: allow selection of boot device
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | mvebu: turris_omnia: use u-boot-spl-dtb.binboard/ | +1 | 0 replies | |
| 2/6 | mvebu: a38x: drop duplicate platform id symbolsarch/ board/ | +3 | 0 replies | |
| 3/6 | mvebu: consolidate SPL boot device config symbolsarch/ arch/ board/ +2 more | +8 | 0 replies | |
| 4/6 | mvebu: select boot device at SoC levelarch/ arch/ arch/ +14 more | +34 | 1 reply | |
| 4/6 | mvebu: select boot device at SoC level | +0 | 2 replies | |
| 5/6 | mvebu: support UART boot imagearch/ arch/ | +6 | 0 replies | |
| 6/6 | mvebu: clearfog: use kconfig symbols to select boot deviceinclude/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [U-Boot] [PATCH 0/6] mvebu: allow selection of boot device
Currently the boot device that the generated .kwb image supports is statically set in two places. The BOOT_FROM directive in the per board kwbimage.cfg file, and the CONFIG_SPL_BOOT_DEVICE macro in the board config header file.
The gdsys Controlcenter DC supports build time generation of the kwbimage.cfg file which allows build time selection of the boot device.
This series extends the idea of kwbimage.cfg generation to all 32bit mvebu SoCs. In addition, this series makes Clearfog use the kconfig symbols alone for boot selection, so that no code modification is needed.
The first three patches are cleanup patches that should not change existing behavior.
The fourth patch extends the kwbimage.cfg build time generation support to all mvebu platforms.
The fifth patch adds support for boot from UART.
The last patch removes the static CONFIG_SPL_BOOT_DEVICE definition for Clearfog.
I tested this series on Clearfog Base, booting from SD card, SPI flash, and UART. I ran a number of build tests for other platforms. I would appreciate reports of run tests on affected platforms.
Baruch Siach (6):
mvebu: turris_omnia: use u-boot-spl-dtb.bin
mvebu: a38x: drop duplicate platform id symbols
mvebu: consolidate SPL boot device config symbols
mvebu: select boot device at SoC level
mvebu: support UART boot image
mvebu: clearfog: use kconfig symbols to select boot device
arch/arm/Kconfig | 1 -
.../a38x => arch/arm/mach-mvebu}/.gitignore | 0
arch/arm/mach-mvebu/Kconfig | 17 +++++----
arch/arm/mach-mvebu/Makefile | 33 +++++++++++++++++
arch/arm/mach-mvebu/include/mach/config.h | 4 +--
.../arm/mach-mvebu}/kwbimage.cfg.in | 0
board/CZ.NIC/turris_omnia/kwbimage.cfg | 12 -------
board/Marvell/db-88f6720/kwbimage.cfg | 12 -------
board/Marvell/db-88f6820-amc/kwbimage.cfg | 12 -------
board/Marvell/db-88f6820-gp/kwbimage.cfg | 12 -------
board/Marvell/db-mv784mp-gp/kwbimage.cfg | 12 -------
board/Synology/ds414/kwbimage.cfg | 12 -------
board/gdsys/a38x/Kconfig | 36 -------------------
board/gdsys/a38x/Makefile | 31 ----------------
board/kobol/helios4/kwbimage.cfg | 13 -------
board/maxbcm/kwbimage.cfg | 12 -------
board/solidrun/clearfog/kwbimage.cfg | 12 -------
board/theadorable/kwbimage.cfg | 12 -------
configs/clearfog_defconfig | 2 +-
configs/helios4_defconfig | 2 +-
include/configs/clearfog.h | 16 ++-------
include/configs/turris_omnia.h | 4 +--
22 files changed, 51 insertions(+), 216 deletions(-)
rename {board/gdsys/a38x => arch/arm/mach-mvebu}/.gitignore (100%)
rename {board/gdsys/a38x => arch/arm/mach-mvebu}/kwbimage.cfg.in (100%)
delete mode 100644 board/CZ.NIC/turris_omnia/kwbimage.cfg
delete mode 100644 board/Marvell/db-88f6720/kwbimage.cfg
delete mode 100644 board/Marvell/db-88f6820-amc/kwbimage.cfg
delete mode 100644 board/Marvell/db-88f6820-gp/kwbimage.cfg
delete mode 100644 board/Marvell/db-mv784mp-gp/kwbimage.cfg
delete mode 100644 board/Synology/ds414/kwbimage.cfg
delete mode 100644 board/gdsys/a38x/Kconfig
delete mode 100644 board/kobol/helios4/kwbimage.cfg
delete mode 100644 board/maxbcm/kwbimage.cfg
delete mode 100644 board/solidrun/clearfog/kwbimage.cfg
delete mode 100644 board/theadorable/kwbimage.cfgSignature · 1 line
2.17.1