Sfoglia il codice sorgente

Generate testing arm64 loader

Antony Messerli 7 anni fa
parent
commit
af20357d6a
2 ha cambiato i file con 12 aggiunte e 0 eliminazioni
  1. 4 0
      ipxe/local/nap.h.efi
  2. 8 0
      script/prep-release.sh

+ 4 - 0
ipxe/local/nap.h.efi

@@ -0,0 +1,4 @@
+/* nap.h */
+#undef NAP_EFIX86
+#undef NAP_EFIARM
+#define NAP_NULL

+ 8 - 0
script/prep-release.sh

@@ -68,6 +68,14 @@ EMBED=../../ipxe/disks/netboot.xyz-packet TRUST=ca-ipxe-org.crt,ca-netboot-xyz.c
 bin-arm64-efi/snp.efi
 mv bin-arm64-efi/snp.efi ../../build/ipxe/netboot.xyz-packet-arm64.efi
 
+# generate arm64 experimental
+cp config/local/nap.h.efi config/local/nap.h
+make clean
+make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 \
+EMBED=../../ipxe/disks/netboot.xyz TRUST=ca-ipxe-org.crt,ca-netboot-xyz.crt \
+bin-arm64-efi/snp.efi
+mv bin-arm64-efi/snp.efi ../../build/ipxe/netboot.xyz-arm64-experimental.efi
+
 # return to root
 cd ../..