armv8: Only 3G RAM for U-Boot on QEMU
authorDaniel Schwyn <daniel.schwyn@inf.ethz.ch>
Fri, 27 Sep 2019 13:37:12 +0000 (15:37 +0200)
committerDaniel Schwyn <daniel.schwyn@inf.ethz.ch>
Fri, 27 Sep 2019 13:37:12 +0000 (15:37 +0200)
U-Boot on QEMU only seems to support 3G of system memory even though the
README for ARM doesn't say so
https://github.com/ARM-software/u-boot/blob/master/doc/README.x86

Signed-off-by: Daniel Schwyn <daniel.schwyn@inf.ethz.ch>

platforms/Hakefile

index e756509..d8c2ad5 100644 (file)
@@ -732,6 +732,7 @@ let bin_rcce_lu = [ "/sbin/" ++ f | f <- [
     "Boot QEMU in 64-bit ARM mode emulating a ARM Virtual Machine using UEFI with debugging enabled",
 
     boot "qemu_a57_uboot" [ "armv8" ] ([
+      Str "MEMORY=3G",
       In SrcTree "tools" "/tools/qemu-wrapper.sh",
       Str "--image", In BuildTree "root" "/armv8_a57_qemu_image.efi",
       Str "--arch", Str "armv8",