mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-23 04:41:12 +00:00
thermosphere: qemu: get rid of arm tf
qemu impls psci anyway
This commit is contained in:
parent
f19c67435a
commit
4d8a07943c
1 changed files with 3 additions and 8 deletions
|
@ -143,19 +143,14 @@ all: $(BUILD)
|
||||||
ifeq ($(PLATFORM), qemu)
|
ifeq ($(PLATFORM), qemu)
|
||||||
|
|
||||||
export QEMU := qemu-system-aarch64
|
export QEMU := qemu-system-aarch64
|
||||||
#export QEMU := ~/qemu/aarch64-softmmu/qemu-system-aarch64
|
|
||||||
|
|
||||||
QEMUFLAGS := -nographic -machine virt,secure=on,virtualization=on,gic-version=2 -cpu cortex-a57 -smp 4 -m 1024\
|
QEMUFLAGS := -nographic -machine virt,virtualization=on,gic-version=2 -cpu cortex-a57 -smp 4 -m 1024\
|
||||||
-bios bl1.bin -d unimp,guest_errors -semihosting-config enable,target=native -serial mon:stdio
|
-kernel thermosphere.elf -d unimp,guest_errors -semihosting-config enable,target=native -serial mon:stdio
|
||||||
|
|
||||||
# NOTE: copy bl1.bin, bl2.bin, bl31.bin from your own build of Arm Trusted Firmware!
|
|
||||||
|
|
||||||
qemu: all
|
qemu: all
|
||||||
@cp thermosphere.bin bl33.bin
|
|
||||||
@$(QEMU) $(QEMUFLAGS)
|
@$(QEMU) $(QEMUFLAGS)
|
||||||
|
|
||||||
qemudbg: all
|
qemudbg: all
|
||||||
@cp thermosphere.bin bl33.bin
|
|
||||||
@$(QEMU) $(QEMUFLAGS) -s -S
|
@$(QEMU) $(QEMUFLAGS) -s -S
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -167,7 +162,7 @@ $(BUILD):
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
clean:
|
clean:
|
||||||
@echo clean ...
|
@echo clean ...
|
||||||
@rm -fr $(BUILD) $(TARGET).bin bl33.bin $(TARGET).elf
|
@rm -fr $(BUILD) $(TARGET).bin $(TARGET).elf
|
||||||
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue