mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
configs/qemu_ppc64le_powernv10: new defconfig
The Power10 CPU is supported by the Linux Kernel since v5.8
(see upstream commit [1]), and the Powernv10 machine is supported
in qemu since version v5.0.0 (see upstream commit [2]).
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a3ea40d5c7365e7e5c7c85b6f30b15142b397571
[2] 2b548a4255
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
3523e1ac79
commit
98e6dcd05b
14
board/qemu/ppc64le-powernv10/readme.txt
Normal file
14
board/qemu/ppc64le-powernv10/readme.txt
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
Run the emulation with:
|
||||||
|
|
||||||
|
qemu-system-ppc64 \
|
||||||
|
-M powernv10 \
|
||||||
|
-kernel output/images/vmlinux \
|
||||||
|
-append "console=hvc0 rootwait root=/dev/nvme0n1" \
|
||||||
|
-device nvme,bus=pcie.3,addr=0x0,drive=drive0,serial=1234 \
|
||||||
|
-drive file=output/images/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_powernv10_defconfig
|
||||||
|
|
||||||
|
The login prompt will appear in the terminal window.
|
||||||
19
configs/qemu_ppc64le_powernv10_defconfig
Normal file
19
configs/qemu_ppc64le_powernv10_defconfig
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
BR2_powerpc64le=y
|
||||||
|
BR2_powerpc_power10=y
|
||||||
|
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_18=y
|
||||||
|
BR2_GLOBAL_PATCH_DIR="board/qemu/patches"
|
||||||
|
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||||
|
BR2_TARGET_GENERIC_GETTY_PORT="hvc0"
|
||||||
|
BR2_SYSTEM_DHCP="eth0"
|
||||||
|
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
|
||||||
|
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
|
||||||
|
BR2_LINUX_KERNEL=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||||
|
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.7"
|
||||||
|
BR2_LINUX_KERNEL_DEFCONFIG="powernv"
|
||||||
|
BR2_LINUX_KERNEL_VMLINUX=y
|
||||||
|
BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y
|
||||||
|
BR2_TARGET_ROOTFS_EXT2=y
|
||||||
|
# BR2_TARGET_ROOTFS_TAR is not set
|
||||||
|
BR2_PACKAGE_HOST_QEMU=y
|
||||||
|
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|
||||||
Reference in New Issue
Block a user