[PATCH 0/7] ARM/RISC-V: qemu-virt: share common cleaned up state/env support

Sascha Hauer sha at pengutronix.de
Tue Dec 7 06:04:05 PST 2021


On Thu, Nov 25, 2021 at 05:10:35PM +0100, Ahmad Fatoum wrote:
> ARM QEMU Virt has support for environment/state. Make this available in
> RISC-V as well, while cleaning up the code a bit and fixing a bug due to
> too early of_probe at pure_initcall level.
> 
> Ahmad Fatoum (7):
>   state: mark state init errors specially
>   state: make first boot less verbose
>   of: overlay: rescan aliases calling of_overlay_apply_tree on live tree
>   ARM: qemu: enable deep probe support
>   ARM: qemu: move board code to central location
>   common: boards: qemu-virt: genericize to support non-ARM architectures
>   RISC-V: qemu-virt: add overlay for environment and state

Applied, thanks

Sascha

> 
>  arch/arm/Kconfig                              |  1 +
>  arch/arm/boards/Makefile                      |  1 -
>  arch/arm/boards/qemu-virt/Makefile            |  1 -
>  arch/riscv/Kconfig.socs                       | 10 +++
>  arch/riscv/configs/virt32_defconfig           |  4 ++
>  arch/riscv/configs/virt64_defconfig           |  4 ++
>  common/Kconfig                                |  2 +
>  common/Makefile                               |  1 +
>  common/boards/Kconfig                         |  4 ++
>  common/boards/Makefile                        |  3 +
>  common/boards/qemu-virt/Makefile              |  7 +++
>  {arch/arm => common}/boards/qemu-virt/board.c | 61 ++++++++-----------
>  .../boards/qemu-virt/overlay-of-flash.dts     | 13 +++-
>  common/state/backend_format_raw.c             |  7 +--
>  common/state/backend_storage.c                | 17 +++---
>  common/state/state.c                          |  4 +-
>  common/state/state.h                          | 14 +++++
>  drivers/misc/state.c                          |  4 +-
>  drivers/of/overlay.c                          |  4 ++
>  19 files changed, 110 insertions(+), 52 deletions(-)
>  create mode 100644 common/boards/Kconfig
>  create mode 100644 common/boards/Makefile
>  create mode 100644 common/boards/qemu-virt/Makefile
>  rename {arch/arm => common}/boards/qemu-virt/board.c (64%)
>  rename {arch/arm => common}/boards/qemu-virt/overlay-of-flash.dts (83%)
> 
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list