diff options
author | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
---|---|---|
committer | ToshikazuOhiwa <toshikazu_ohiwa@mail.toyota.co.jp> | 2020-03-30 09:24:26 +0900 |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /external/poky/meta/conf/machine/qemuppc.conf | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'external/poky/meta/conf/machine/qemuppc.conf')
-rw-r--r-- | external/poky/meta/conf/machine/qemuppc.conf | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/external/poky/meta/conf/machine/qemuppc.conf b/external/poky/meta/conf/machine/qemuppc.conf new file mode 100644 index 00000000..537b2f67 --- /dev/null +++ b/external/poky/meta/conf/machine/qemuppc.conf @@ -0,0 +1,21 @@ +#@TYPE: Machine +#@NAME: qemu PPC Emulator setup +#@DESCRIPTION: Machine configuration for running an PPC system under qemu emulation + +require conf/machine/include/qemu.inc +require conf/machine/include/tune-ppc7400.inc + +TARGET_CC_KERNEL_ARCH = "-mno-spe" + +KERNEL_IMAGETYPE = "vmlinux" + +SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1" + +# For runqemu +QB_SYSTEM_NAME = "qemu-system-ppc" +QB_MACHINE = "-machine mac99" +QB_CPU = "-cpu G4" +QB_KERNEL_CMDLINE_APPEND = "console=tty console=ttyS0" +# Add the 'virtio-rng-pci' device otherwise the guest may run out of entropy +QB_OPT_APPEND = "-show-cursor -usb -device usb-tablet -device virtio-rng-pci" +QB_TAP_OPT = "-netdev tap,id=net0,ifname=@TAP@,script=no,downscript=no" |