configs/qemu_ppc64_e5500: new defconfig
Adding basic support modeled after the Freescale/NXP T1040RDBD4 board. This target is used to support testing of the bootlin e5500 toolchain. Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> [Thomas: update .gitlab-ci.yml.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
70e6b08d41
commit
dab038d1ac
@ -210,6 +210,7 @@ qemu_mips64r6_malta_defconfig: *defconfig
|
||||
qemu_mips64r6el_malta_defconfig: *defconfig
|
||||
qemu_nios2_10m50_defconfig: *defconfig
|
||||
qemu_or1k_defconfig: *defconfig
|
||||
qemu_ppc64_e5500_defconfig: *defconfig
|
||||
qemu_ppc64_pseries_defconfig: *defconfig
|
||||
qemu_ppc64le_pseries_defconfig: *defconfig
|
||||
qemu_ppc_g3beige_defconfig: *defconfig
|
||||
|
@ -1171,8 +1171,10 @@ F: package/ts4900-fpga/
|
||||
N: Matt Weber <matthew.weber@rockwellcollins.com>
|
||||
F: board/freescale/p*
|
||||
F: board/freescale/t*
|
||||
F: board/qemu/ppc64-e5500/
|
||||
F: configs/freescale_p*
|
||||
F: configs/freescale_t*
|
||||
F: configs/qemu_ppc64_e5500_defconfig
|
||||
F: package/argp-standalone/
|
||||
F: package/aufs/
|
||||
F: package/aufs-util/
|
||||
|
10
board/qemu/ppc64-e5500/linux.fragment
Normal file
10
board/qemu/ppc64-e5500/linux.fragment
Normal file
@ -0,0 +1,10 @@
|
||||
# Enables generic PPC e500 base arch support for QEMU.
|
||||
# The e5500 is a variant of the e500 arch.
|
||||
CONFIG_PPC_QEMU_E500=y
|
||||
|
||||
# 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
|
7
board/qemu/ppc64-e5500/readme.txt
Normal file
7
board/qemu/ppc64-e5500/readme.txt
Normal file
@ -0,0 +1,7 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append 'console=ttyS0 root=/dev/vda' -serial mon:stdio -nographic
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
Tested with QEMU 2.0.0
|
20
configs/qemu_ppc64_e5500_defconfig
Normal file
20
configs/qemu_ppc64_e5500_defconfig
Normal file
@ -0,0 +1,20 @@
|
||||
# Architecture
|
||||
BR2_powerpc64=y
|
||||
BR2_powerpc_e5500=y
|
||||
|
||||
# Serial port config
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
|
||||
|
||||
# Linux headers same as the kernel
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_15=y
|
||||
|
||||
# Kernel
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.15.7"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="corenet64_smp"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc64-e5500/linux.fragment"
|
||||
|
||||
# Filesystem
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
Loading…
Reference in New Issue
Block a user