aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Joel Stanley <joel@jms.id.au>2019-06-25 10:56:52 +0930
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-08-01 17:54:47 +0200
commita8fac3fcfc2c71c8a30d28c3d2e74646490502c2 (patch)
tree7c755df26e31e46daf7e4937843bcc1f9438c050 /board
parent0de9a53a340321de5d51b4092181d157c3b539ef (diff)
downloadbuildroot-a8fac3fcfc2c71c8a30d28c3d2e74646490502c2.tar.gz
buildroot-a8fac3fcfc2c71c8a30d28c3d2e74646490502c2.tar.bz2
board: Add PowerPC mac99
PowerPC kernel developers were after a userspace for testing 32-bit powerpc kernels. This machine both suits that requirement and has support in qemu. It's also a fairly common piece of 32-bit ppc hardware. Signed-off-by: Joel Stanley <joel@jms.id.au> Tested-by: Daniel Axtens <dja@axtens.net> [Peter: lock kernel/headers to 5.2.4] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board')
-rw-r--r--board/qemu/ppc-mac99/linux.fragment3
-rw-r--r--board/qemu/ppc-mac99/readme.txt5
2 files changed, 8 insertions, 0 deletions
diff --git a/board/qemu/ppc-mac99/linux.fragment b/board/qemu/ppc-mac99/linux.fragment
new file mode 100644
index 0000000000..b1975f8253
--- /dev/null
+++ b/board/qemu/ppc-mac99/linux.fragment
@@ -0,0 +1,3 @@
+CONFIG_SERIAL_PMACZILOG=y
+CONFIG_SERIAL_PMACZILOG_TTYS=y
+CONFIG_SERIAL_PMACZILOG_CONSOLE=y
diff --git a/board/qemu/ppc-mac99/readme.txt b/board/qemu/ppc-mac99/readme.txt
new file mode 100644
index 0000000000..a8a18db5b9
--- /dev/null
+++ b/board/qemu/ppc-mac99/readme.txt
@@ -0,0 +1,5 @@
+Run the emulation with:
+
+ qemu-system-ppc -nographic -vga none -M mac99 -cpu g4 -m 1G -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -net nic,model=sungem -net user -append "root=/dev/sda"
+
+Tested with QEMU 3.1.0