summaryrefslogtreecommitdiffstats
path: root/arch/arm/configs
diff options
context:
space:
mode:
authorRouven Czerwinski <r.czerwinski@pengutronix.de>2021-01-13 08:57:57 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-01-18 09:01:59 +0100
commitff8b098a4ad26688a8f2a853a864903b47f240d6 (patch)
tree4e63d88a2ca31a0012e22df4b8f564ad51c267bf /arch/arm/configs
parent8aec949feadb3c863ad07dbb725ea9256dd8c778 (diff)
downloadbarebox-ff8b098a4ad26688a8f2a853a864903b47f240d6.tar.gz
barebox-ff8b098a4ad26688a8f2a853a864903b47f240d6.tar.xz
ARM: qemu: support for state & env via DT overlay
Add support for state and barebox environment by applying an overlay on top of the qemu generated device tree. If qemu is used with a persistent flash partition, this allows usage of environments and state across qemu reboots. Simple testing can be performed by starting with qemu-system-arm -m 256M -M virt -kernel images/barebox-dt-2nd.img -nographic Storing data, changing into the qemu console via Ctrl-A Ctrl-C, issuing 'system_reset' and Ctrl-A Ctrl-C to get back into the barebox console. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/configs')
-rw-r--r--arch/arm/configs/vexpress_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/configs/vexpress_defconfig b/arch/arm/configs/vexpress_defconfig
index f17af2bb95..760e39b440 100644
--- a/arch/arm/configs/vexpress_defconfig
+++ b/arch/arm/configs/vexpress_defconfig
@@ -50,6 +50,7 @@ CONFIG_NET=y
CONFIG_NET_NFS=y
CONFIG_NET_NETCONSOLE=y
CONFIG_OF_BAREBOX_DRIVERS=y
+CONFIG_OF_OVERLAY=y
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_DRIVER_NET_SMC91111=y
# CONFIG_SPI is not set