Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SystemReady
u-boot-tfa-build
Commits
89470741
Commit
89470741
authored
Dec 23, 2020
by
Jose Marinho
Browse files
qemu: allow for qemu binary (QEMU_BIN) to be set as env variable
Signed-off-by:
Jose Marinho
<
jose.marinho@arm.com
>
parent
87180263
Changes
1
Hide whitespace changes
Inline
Side-by-side
board-qemu-arm.mk
View file @
89470741
...
...
@@ -7,6 +7,8 @@ FLASH_IMAGE := nor_flash.bin
OPTEE_EXTRA
+=
CFG_RPMB_FS_DEV_ID
=
1
QEMU_BIN
?=
qemu-system-aarch64
ifneq
($(CONFIG_TFABOOT)$(CONFIG_POSITION_INDEPENDENT),yy)
tweakconfig
:
echo
"CONFIG_POSITION_INDEPENDENT=y"
>>
$(UBOOT_OUTPUT)
/.config
...
...
@@ -44,7 +46,7 @@ QEMU_BASE_CONFIG += -drive if=virtio,format=raw,file=$(VIRTDISK)
endif
qemu-fip
:
qemu-system-aarch64
$(QEMU_BASE_CONFIG)
-
bios
$(FLASH_IMAGE)
$(QEMU_EXTRA)
$(QEMU_BIN)
$(QEMU_BASE_CONFIG)
-
drive
if
=
pflash,unit
=
0,file
=
$(FLASH_IMAGE)
$(QEMU_EXTRA)
qemu-semihosting
:
cd
output
&&
qemu-system-aarch64
$(QEMU_BASE_CONFIG)
-bios
bl1.bin
-semihosting-config
enable
,target
=
native
$(QEMU_EXTRA)
cd
output
&&
$(QEMU_BIN)
$(QEMU_BASE_CONFIG)
-bios
bl1.bin
-semihosting-config
enable
,target
=
native
$(QEMU_EXTRA)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment