7d914839a4
PowerNV is the platform using the OPAL [1] firmware on OpenPOWER systems. OPAL first loads a kernel and an initramfs image based on buildroot including a second boot loader petitboot [2]. The latter does device discovery and kexecs a new Linux image from disk or network. QEMU implements PowerNV machines [3] for the POWER8, POWER9 and Power10 processors which are used for dev and tests. POWER8 images being compatible with POWER9 and Power10, simply add a single qemu_ppc64le_powernv8 board for all. The QEMU script boots directly from a nvme disk because it is simple enough but a real system would boot from a ramfs first. [1] https://github.com/open-power/skiboot/blob/master/doc/overview.rst [2] https://github.com/open-power/petitboot/ [3] https://qemu.readthedocs.io/en/latest/system/ppc/powernv.html Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
651 B
Plaintext
30 lines
651 B
Plaintext
# Architecture
|
|
BR2_powerpc64le=y
|
|
BR2_powerpc_power8=y
|
|
|
|
# System
|
|
BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
|
|
BR2_SYSTEM_DHCP="eth0"
|
|
|
|
# Filesystem
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
# BR2_TARGET_ROOTFS_TAR is not set
|
|
|
|
# Image
|
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
|
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
|
|
|
|
# Linux headers same as kernel
|
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_15=y
|
|
|
|
# Kernel
|
|
BR2_LINUX_KERNEL=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15"
|
|
BR2_LINUX_KERNEL_DEFCONFIG="powernv"
|
|
BR2_LINUX_KERNEL_VMLINUX=y
|
|
|
|
# host-qemu for gitlab testing
|
|
BR2_PACKAGE_HOST_QEMU=y
|
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|