mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 0/7] ARM/RISC-V: qemu-virt: share common cleaned up state/env support
Date: Thu, 25 Nov 2021 17:10:35 +0100
Message-ID: <20211125161042.3829996-1-a.fatoum@pengutronix.de> (raw)

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

 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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox


             reply	other threads:[~2021-11-25 16:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25 16:10 Ahmad Fatoum [this message]
2021-11-25 16:10 ` [PATCH 1/7] state: mark state init errors specially Ahmad Fatoum
2021-11-25 16:10 ` [PATCH 2/7] state: make first boot less verbose Ahmad Fatoum
2021-11-30 10:47   ` Sascha Hauer
2021-11-30 13:52     ` Ahmad Fatoum
2021-11-25 16:10 ` [PATCH 3/7] of: overlay: rescan aliases calling of_overlay_apply_tree on live tree Ahmad Fatoum
2021-11-25 16:10 ` [PATCH 4/7] ARM: qemu: enable deep probe support Ahmad Fatoum
2021-11-25 16:10 ` [PATCH 5/7] ARM: qemu: move board code to central location Ahmad Fatoum
2021-11-25 16:10 ` [PATCH 6/7] common: boards: qemu-virt: genericize to support non-ARM architectures Ahmad Fatoum
2021-11-25 16:10 ` [PATCH 7/7] RISC-V: qemu-virt: add overlay for environment and state Ahmad Fatoum
2021-12-07 14:04 ` [PATCH 0/7] ARM/RISC-V: qemu-virt: share common cleaned up state/env support Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211125161042.3829996-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

mail archive of the barebox mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lore.barebox.org/barebox/0 barebox/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 barebox barebox/ https://lore.barebox.org/barebox \
		barebox@lists.infradead.org barebox@lists.infradead.org
	public-inbox-index barebox

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git