From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: qemu-devel@nongnu.org
Cc: figlesia@xilinx.com, peter.maydell@linaro.org,
sstabellini@kernel.org, edgar.iglesias@xilinx.com,
sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com,
alistair@alistair23.me, richard.henderson@linaro.org,
frederic.konrad@adacore.com, qemu-arm@nongnu.org,
philmd@redhat.com, luc.michel@greensocs.com,
david@gibson.dropbear.id.au
Subject: [PATCH v2 0/4] hw/arm: xlnx-zcu102: Disable unsupported FDT firmware nodes
Date: Thu, 23 Apr 2020 14:11:10 +0200 [thread overview]
Message-ID: <20200423121114.4274-1-edgar.iglesias@gmail.com> (raw)
From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
When users try direct Linux runs on the ZynqMP models without enabling
EL3 (and using appropriate FW) they run into trouble because the
upstream kernel device-tree has EL3 based firmware nodes by default.
PSCI firmware nodes work because we emulate the firmware in QEMU.
This series avoids that problem by disabling firmware nodes that the
machine cannot support due to lack of EL3 or EL2 support.
This means we can now (without manually editing DTBs) run the following
in a current Linux tree:
qemu-system-aarch64 -M xlnx-zcu102 -m 2G -dtb arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dtb -serial mon:stdio -kernel arch/arm64/boot/Image -initrd zu-rootfs.cpio.gz -append rdinit=/bin/sh
Cheers,
Edgar
ChangeLog:
v1 -> v2:
* Constify compat in qemu_fdt_node_path().
Edgar E. Iglesias (4):
device_tree: Allow name wildcards in qemu_fdt_node_path()
device_tree: Constify compat in qemu_fdt_node_path()
hw/arm: xlnx-zcu102: Move arm_boot_info into XlnxZCU102
hw/arm: xlnx-zcu102: Disable unsupported FDT firmware nodes
device_tree.c | 4 ++--
hw/arm/xlnx-zcu102.c | 39 ++++++++++++++++++++++++++++++++----
include/sysemu/device_tree.h | 5 ++++-
3 files changed, 41 insertions(+), 7 deletions(-)
--
2.20.1
next reply other threads:[~2020-04-23 12:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-23 12:11 Edgar E. Iglesias [this message]
2020-04-23 12:11 ` [PATCH v2 1/4] device_tree: Allow name wildcards in qemu_fdt_node_path() Edgar E. Iglesias
2020-04-23 12:11 ` [PATCH v2 2/4] device_tree: Constify compat " Edgar E. Iglesias
2020-04-23 12:11 ` [PATCH v2 3/4] hw/arm: xlnx-zcu102: Move arm_boot_info into XlnxZCU102 Edgar E. Iglesias
2020-04-23 12:11 ` [PATCH v2 4/4] hw/arm: xlnx-zcu102: Disable unsupported FDT firmware nodes Edgar E. Iglesias
2020-04-27 13:12 ` [PATCH v2 0/4] " Peter Maydell
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=20200423121114.4274-1-edgar.iglesias@gmail.com \
--to=edgar.iglesias@gmail.com \
--cc=alistair@alistair23.me \
--cc=david@gibson.dropbear.id.au \
--cc=edgar.iglesias@xilinx.com \
--cc=figlesia@xilinx.com \
--cc=frasse.iglesias@gmail.com \
--cc=frederic.konrad@adacore.com \
--cc=luc.michel@greensocs.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=richard.henderson@linaro.org \
--cc=sai.pavan.boddu@xilinx.com \
--cc=sstabellini@kernel.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.