[DistroKit] [PATCH 1/2] barebox: enable CONFIG_BOOTM_OFTREE_FALLBACK everywhere

Ahmad Fatoum
2026-04-07T13:38:05Z

To quote configs/bsp.ref:

| barebox will substitute its own device tree when no kernel device
| tree was supplied. This is useful for development, but not recommended
| for use in production as DT binding breakage is not an infrequent
| occurrence.
|
| We take care in DistroKit though to specify the DT when we specify
| a kernel, so enable this option as it's occasionally helpful for quick

This rationale applies to all boards we have that use DT, so enable
CONFIG_BOOTM_OFTREE_FALLBACK everywhere.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
configs/platform-v7a/barebox-at91.config | 2 +-
configs/platform-v7a/barebox-common.config | 2 +-
configs/platform-v7a_noneon/barebox-at91.config | 2 +-
configs/platform-v7a_noneon/barebox-common.config | 2 +-
configs/platform-v7a_noneon/barebox-vexpress.config | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configs/platform-v7a/barebox-at91.config b/configs/platform-v7a/barebox-at91.config
index 2aac4d007cd0..ed423655640c 100644
--- a/configs/platform-v7a/barebox-at91.config
+++ b/configs/platform-v7a/barebox-at91.config
@@ -210,7 +210,7 @@ CONFIG_BOOTM_SHOW_TYPE=y
CONFIG_BOOTM_VERBOSE=y
CONFIG_BOOTM_INITRD=y
CONFIG_BOOTM_OFTREE=y
-# CONFIG_BOOTM_OFTREE_FALLBACK is not set
+CONFIG_BOOTM_OFTREE_FALLBACK=y
CONFIG_BOOTM_UIMAGE=y
CONFIG_BOOTM_OFTREE_UIMAGE=y
# CONFIG_BOOTM_AIMAGE is not set
diff --git a/configs/platform-v7a/barebox-common.config b/configs/platform-v7a/barebox-common.config
index 328ca48009b8..0be80cb6d650 100644
--- a/configs/platform-v7a/barebox-common.config
+++ b/configs/platform-v7a/barebox-common.config
@@ -195,7 +195,7 @@ CONFIG_BOOTM_SHOW_TYPE=y
CONFIG_BOOTM_VERBOSE=y
CONFIG_BOOTM_INITRD=y
CONFIG_BOOTM_OFTREE=y
-# CONFIG_BOOTM_OFTREE_FALLBACK is not set
+CONFIG_BOOTM_OFTREE_FALLBACK=y
CONFIG_BOOTM_UIMAGE=y
# CONFIG_BOOTM_OFTREE_UIMAGE is not set
# CONFIG_BOOTM_AIMAGE is not set
diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config
index 9554d5d53a42..f8f1da88f1e5 100644
--- a/configs/platform-v7a_noneon/barebox-at91.config
+++ b/configs/platform-v7a_noneon/barebox-at91.config
@@ -199,7 +199,7 @@ CONFIG_BOOTM_SHOW_TYPE=y
# CONFIG_BOOTM_VERBOSE is not set
CONFIG_BOOTM_INITRD=y
CONFIG_BOOTM_OFTREE=y
-# CONFIG_BOOTM_OFTREE_FALLBACK is not set
+CONFIG_BOOTM_OFTREE_FALLBACK=y
# CONFIG_BOOTM_UIMAGE is not set
# CONFIG_BOOTM_AIMAGE is not set
CONFIG_ELF=y
diff --git a/configs/platform-v7a_noneon/barebox-common.config b/configs/platform-v7a_noneon/barebox-common.config
index 63ff1f02b404..0d7cc1d8992a 100644
--- a/configs/platform-v7a_noneon/barebox-common.config
+++ b/configs/platform-v7a_noneon/barebox-common.config
@@ -193,7 +193,7 @@ CONFIG_BOOTM_SHOW_TYPE=y
CONFIG_BOOTM_VERBOSE=y
CONFIG_BOOTM_INITRD=y
CONFIG_BOOTM_OFTREE=y
-# CONFIG_BOOTM_OFTREE_FALLBACK is not set
+CONFIG_BOOTM_OFTREE_FALLBACK=y
# CONFIG_BOOTM_UIMAGE is not set
# CONFIG_BOOTM_AIMAGE is not set
CONFIG_ELF=y
diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config b/configs/platform-v7a_noneon/barebox-vexpress.config
index b0a5dbddee7f..05c239214e96 100644
--- a/configs/platform-v7a_noneon/barebox-vexpress.config
+++ b/configs/platform-v7a_noneon/barebox-vexpress.config
@@ -179,7 +179,7 @@ CONFIG_BOOTM_SHOW_TYPE=y
CONFIG_BOOTM_VERBOSE=y
CONFIG_BOOTM_INITRD=y
CONFIG_BOOTM_OFTREE=y
-# CONFIG_BOOTM_OFTREE_FALLBACK is not set
+CONFIG_BOOTM_OFTREE_FALLBACK=y
# CONFIG_BOOTM_UIMAGE is not set
# CONFIG_BOOTM_AIMAGE is not set
CONFIG_ELF=y
--
2.47.3