Skip to content

Commit

Permalink
roms: update arm64 u-boot, add back ovmf_vars.fd
Browse files Browse the repository at this point in the history
Without doing bootcmd manually
  • Loading branch information
kivikakk committed Apr 16, 2023
1 parent 4f8b2f7 commit ddddfc6
Show file tree
Hide file tree
Showing 5 changed files with 415 additions and 210 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ QEMU_DTB_ARGS := -dtb dtb/src/qemu_$(ARCH).dtb
ifeq ($(ARCH),arm64)
QEMU_BIN := qemu-system-aarch64
QEMU_ARGS := \
-bios roms/u-boot-arm64-ramfb.bin \
-cpu cortex-a53 -M virt,highmem=off \
-bios roms/u-boot-arm64-ramfb.bin \
-drive file=roms/ovmf_vars.fd,if=pflash,format=raw,index=1 \
-cpu cortex-a53 -M virt,highmem=off \

EFI_BOOTLOADER_NAME := BOOTAA64
else ifeq ($(ARCH),riscv64)
Expand Down
Binary file added roms/ovmf_vars.fd
Binary file not shown.
6 changes: 6 additions & 0 deletions roms/u-boot-arm64-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

export CROSS_COMPILE=aarch64-linux-gnu-

gmake qemu_arm64_defconfig
gmake -j8
Binary file modified roms/u-boot-arm64-ramfb.bin
Binary file not shown.
Loading

0 comments on commit ddddfc6

Please sign in to comment.