Skip to content

Commit

Permalink
conf: update QEMU_MACHINE_OPTS in build.mk for evalsoc/demosoc
Browse files Browse the repository at this point in the history
This need Nuclei Qemu 2023.10

Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Nov 22, 2023
1 parent 5ac07e8 commit 57ae6b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion conf/demosoc/build.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
UIMAGE_AE_CMD := -a 0xA0400000 -e 0xA0400000
QEMU_MACHINE_OPTS := -M nuclei_u,download=flashxip -smp 8 -m 256M
# Need Nuclei Qemu >= 2023.10
QEMU_MACHINE_OPTS := -M nuclei_demosoc,download=flashxip -smp 8 -m 256M
# eg. $(confdir)/amp/cx.bin
CORE1_APP_BIN :=
CORE2_APP_BIN :=
Expand Down
2 changes: 1 addition & 1 deletion conf/evalsoc/build.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
UIMAGE_AE_CMD := -a 0x80400000 -e 0x80400000
# qemu currently not work for evalsoc for 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
Expand Down

0 comments on commit 57ae6b4

Please sign in to comment.