From b75f4f08a4184986d499ed91b9ed85d4ddb489eb Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Wed, 22 Nov 2023 15:52:05 +0800 Subject: [PATCH] conf: update QEMU_MACHINE_OPTS in build.mk for evalsoc/demosoc Need Nuclei Qemu 2023.10 Signed-off-by: Huaqi Fang <578567190@qq.com> --- conf/demosoc/build.mk | 1 + conf/evalsoc/build.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/demosoc/build.mk b/conf/demosoc/build.mk index 0d44259..5c55af6 100644 --- a/conf/demosoc/build.mk +++ b/conf/demosoc/build.mk @@ -1,5 +1,6 @@ FW_TEXT_START := 0xA0000000 UIMAGE_AE_CMD := -a 0xA0400000 -e 0xA0400000 +# Need Nuclei Qemu >= 2023.10 QEMU_MACHINE_OPTS := -M nuclei_demosoc,download=flashxip -smp 8 -m 256M # initramfs pre command before generate initrd ramfs INITRAMFS_PRECMD := bash $(confdir)/preramfs.sh $(confdir) $(buildroot_initramfs_sysroot) copyfiles.txt diff --git a/conf/evalsoc/build.mk b/conf/evalsoc/build.mk index f6bd905..80b617e 100644 --- a/conf/evalsoc/build.mk +++ b/conf/evalsoc/build.mk @@ -1,6 +1,6 @@ FW_TEXT_START := 0x80000000 UIMAGE_AE_CMD := -a 0x80400000 -e 0x80400000 -# qemu currently not work for evalsoc in nuclei qemu <= 2022.12 +# Need Nuclei Qemu >= 2023.10 QEMU_MACHINE_OPTS := -M nuclei_evalsoc,download=flashxip -smp 8 -m 2G # initramfs pre command before generate initrd ramfs INITRAMFS_PRECMD := bash $(confdir)/preramfs.sh $(confdir) $(buildroot_initramfs_sysroot) copyfiles.txt