summaryrefslogtreecommitdiff
path: root/qemu-boot
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-03-23 00:44:58 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-03-23 00:44:58 +0000
commit505996ce0e385ab90f95532a8302c995fb8418b6 (patch)
treed46ccbc8028f1b1b61126898f60fa5f80b5e4222 /qemu-boot
parentaf8d78e093c10e3b1fc1be03ada6d18ac2cb7698 (diff)
downloadlh-bootstrap-505996ce0e385ab90f95532a8302c995fb8418b6.tar.xz
Attempt to rip musl from build-build, to support more distro compilers
Diffstat (limited to 'qemu-boot')
-rwxr-xr-xqemu-boot8
1 files changed, 4 insertions, 4 deletions
diff --git a/qemu-boot b/qemu-boot
index 6b98f47..54103e1 100755
--- a/qemu-boot
+++ b/qemu-boot
@@ -8,24 +8,24 @@ virtionet=virtio-net-device
case "$QEMU_ARCH" in
i386)
- qemu_sysoptions="-smp 2 -m 2G"
+ qemu_sysoptions="-smp 2 -m 500M"
qemu_console=ttyS0
nic=e1000
diskoption="-drive file=$OUTPUT/disk-image.raw,media=disk,format=raw,if=none,id=sata0 -device ich9-ahci,id=ahci -device ide-drive,drive=sata0,bus=ahci.0" ;;
x86_64)
- qemu_sysoptions="-enable-kvm -cpu host -smp 4 -m 16G"
+ qemu_sysoptions="-enable-kvm -cpu host -smp 4 -m 500M"
qemu_console=ttyS0
nic=e1000
virtioblk=virtio-blk-pci
virtionet=virtio-net-pci
diskoption="-drive file=$OUTPUT/disk-image.raw,media=disk,format=raw,if=none,id=sata0 -device ich9-ahci,id=ahci -device ide-drive,drive=sata0,bus=ahci.0" ;;
arm)
- qemu_sysoptions="-m 1G -M vexpress-a9 -cpu cortex-a9 -dtb sub/disk-image/vexpress-v2p-ca9.dtb"
+ qemu_sysoptions="-m 500M -M vexpress-a9 -cpu cortex-a9 -dtb sub/disk-image/vexpress-v2p-ca9.dtb"
qemu_console=ttyAMA0
USE_VIRTIO_NETWORK=true # we only support virtio on armv7
diskoption="-sd $OUTPUT/disk-image.raw" ;;
aarch64)
- qemu_sysoptions="-M virt -cpu cortex-a57 -m 2G"
+ qemu_sysoptions="-M virt -cpu cortex-a57 -m 500M"
qemu_console=ttyAMA0
USE_VIRTIO_NETWORK=true # we only support virtio on armv8
diskoption="-device sdhci-pci -device sd-card,drive=sdcard -drive file=$OUTPUT/disk-image.raw,id=sdcard,cache=unsafe,if=none,format=raw" ;;