[Buildroot] [PATCH 1/3] configs/qemu: Add a ppc64le-powernv configuration
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Tue Dec 28 21:14:30 UTC 2021
Hello Cédric,
On Fri, 12 Nov 2021 17:04:11 +0100
Cédric Le Goater <clg at kaod.org> wrote:
> PowerNV (as Non-Virtualized) is the "baremetal" platform using the
> OPAL [1] firmware. It runs Linux on IBM and OpenPOWER systems and can
> be used as an hypervisor OS, running KVM guests, or simply as a host
> OS. OPAL includes a Linux kernel and a buildroot rootfs which acts as
> a bootloader [2] for the various systems installed on disks.
For the person not familiar with all this OpenPOWER stuff, it's very
complex to understand all these firmware, virtualized stuff,
hypervisor, etc.
> diff --git a/board/qemu/ppc64le-powernv/readme.txt b/board/qemu/ppc64le-powernv/readme.txt
> new file mode 100644
> index 000000000000..ee102a3d6846
> --- /dev/null
> +++ b/board/qemu/ppc64le-powernv/readme.txt
> @@ -0,0 +1,5 @@
> +Run the emulation with:
> +
> +qemu-system-ppc64 -M powernv9 -kernel vmlinux -append "console=hvc0 rootwait root=/dev/nvme0n1" -device nvme,bus=pcie.3,addr=0x0,drive=drive0,serial=1234 -drive file=./rootfs.ext2,if=none,id=drive0,format=raw,cache=none -device e1000e,netdev=net0,mac=C0:FF:EE:00:01:03,bus=pcie.1,addr=0x0 -netdev user,id=net0 -serial mon:stdio -nographic # qemu_ppc64le_powernv_defconfig
You're emulating a powernv9, so we assume based on the Power9 processor.
> @@ -0,0 +1,29 @@
> +# Architecture
> +BR2_powerpc64le=y
> +BR2_powerpc_power8=y
But you're targeting Power8.
Could you clarify?
Thanks!
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
More information about the buildroot
mailing list