From ff8b098a4ad26688a8f2a853a864903b47f240d6 Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Wed, 13 Jan 2021 08:57:57 +0100 Subject: 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 Signed-off-by: Sascha Hauer --- arch/arm/mach-vexpress/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/mach-vexpress') diff --git a/arch/arm/mach-vexpress/Kconfig b/arch/arm/mach-vexpress/Kconfig index 9d301f7ae8..557c9653f4 100644 --- a/arch/arm/mach-vexpress/Kconfig +++ b/arch/arm/mach-vexpress/Kconfig @@ -11,5 +11,6 @@ config MACH_VIRT bool "QEMU virt" select ARM_PSCI_CLIENT select BOARD_ARM_GENERIC_DT + select OF_OVERLAY endif -- cgit v1.2.3