From: Sascha Hauer <s.hauer@pengutronix.de>
To: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v2] ARM: qemu: add support for qemu virt platform
Date: Mon, 9 Nov 2020 10:53:42 +0100 [thread overview]
Message-ID: <20201109095342.GI29830@pengutronix.de> (raw)
In-Reply-To: <20201105064147.11414-1-r.czerwinski@pengutronix.de>
Hi Rouven,
On Thu, Nov 05, 2020 at 07:41:48AM +0100, Rouven Czerwinski wrote:
> Necessary support to boot barebox on ARM qemu virt platforms.
> No internal device tree, since it is passed by qemu. Therefore it
> employs the generic 2nd stage image as the low level code and only adds
> a virt specific board driver.
>
> Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
> ---
> arch/arm/boards/Makefile | 1 +
> arch/arm/boards/qemu-virt/Makefile | 1 +
> arch/arm/boards/qemu-virt/board.c | 36 ++++++++++++++++++++++++++++++
> arch/arm/mach-qemu/Kconfig | 8 +++++++
> 4 files changed, 46 insertions(+)
> create mode 100644 arch/arm/boards/qemu-virt/Makefile
> +static int virt_probe(struct device_d *dev)
> +{
> + char *hostname = "virt64";
virt64?
> +config MACH_QEMU_VIRT
> + bool "QEMU arm virt machine"
> + select CPU_V7
> + select ARM_AMBA
> + select ARM_PSCI_CLIENT
> + select BOARD_ARM_GENERIC_DT
> + select HAVE_PBL_MULTI_IMAGES
You have to select OFDEVICE here as well.
Could you provide a defconfig file for this machine?
Sascha
--
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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2020-11-09 9:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-05 6:41 Rouven Czerwinski
2020-11-09 9:53 ` Sascha Hauer [this message]
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=20201109095342.GI29830@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=r.czerwinski@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox