configs/qemu_ppc_bamboo: new defconfig
The Bamboo board is an evaluation board for PowerPC 440EP CPUs. Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
965d19386d
commit
8ac0775130
@ -505,7 +505,9 @@ N: Cédric Chépied <cedric.chepied@gmail.com>
|
||||
F: package/znc/
|
||||
|
||||
N: Cédric Le Goater <clg@kaod.org>
|
||||
F: board/qemu/ppc-bamboo/
|
||||
F: board/qemu/ppc64le-powernv8/readme.txt
|
||||
F: configs/qemu_ppc_bamboo_defconfig
|
||||
F: configs/qemu_ppc64le_powernv8_defconfig
|
||||
|
||||
N: Charles Hardin <ckhardin@gmail.com>
|
||||
|
6
board/qemu/ppc-bamboo/linux.fragment
Normal file
6
board/qemu/ppc-bamboo/linux.fragment
Normal file
@ -0,0 +1,6 @@
|
||||
# Enable virtio (blk, rng and net devices)
|
||||
CONFIG_VIRTIO=y
|
||||
CONFIG_VIRTIO_PCI=y
|
||||
CONFIG_HW_RANDOM_VIRTIO=y
|
||||
CONFIG_VIRTIO_BLK=y
|
||||
CONFIG_VIRTIO_NET=y
|
5
board/qemu/ppc-bamboo/readme.txt
Normal file
5
board/qemu/ppc-bamboo/readme.txt
Normal file
@ -0,0 +1,5 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc -nographic -M bamboo -kernel vmlinux -net nic,model=virtio-net-pci -net user # qemu_ppc_bamboo_defconfig
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
36
configs/qemu_ppc_bamboo_defconfig
Normal file
36
configs/qemu_ppc_bamboo_defconfig
Normal file
@ -0,0 +1,36 @@
|
||||
# Architecture
|
||||
BR2_powerpc=y
|
||||
BR2_powerpc_440fp=y
|
||||
|
||||
# System
|
||||
BR2_SYSTEM_DHCP="eth0"
|
||||
|
||||
# Filesystem
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_TARGET_ROOTFS_INITRAMFS=y
|
||||
|
||||
# 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="44x/bamboo"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-bamboo/linux.fragment"
|
||||
BR2_LINUX_KERNEL_VMLINUX=y
|
||||
|
||||
# Serial port config
|
||||
BR2_TARGET_GENERIC_GETTY=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
|
||||
# Kernel needs mkimage
|
||||
BR2_PACKAGE_HOST_UBOOT_TOOLS=y
|
||||
|
||||
# host-qemu for gitlab testing
|
||||
BR2_PACKAGE_HOST_QEMU=y
|
||||
BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
|
Loading…
Reference in New Issue
Block a user