• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:bin

1 QEMU virt Armv8-A
4 Trusted Firmware-A (TF-A) implements the EL3 firmware layer for QEMU virt
5 Armv8-A. BL1 is used as the BootROM, supplied with the -bios argument.
10 BL2 edits the Flattened Device Tree, FDT, generated by QEMU at run-time to
22 - Only cold boot is supported
24 Getting non-TF images
25 ---------------------
28 http://snapshots.linaro.org/components/kernel/leg-virt-tianocore-edk2-upstream/latest/QEMU-KERNEL-A…
36 git submodule update --init
37 make -C BaseTools
39 export GCC5_AARCH64_PREFIX=aarch64-linux-gnu-
40 build -a AARCH64 -t GCC5 -p ArmVirtPkg/ArmVirtQemuKernel.dsc
44 Then, you will get ``Build/ArmVirtQemuKernel-AARCH64/DEBUG_GCC5/FV/QEMU_EFI.fd``
56 utils/config -e BR2_TARGET_ROOTFS_CPIO
57 utils/config -e BR2_TARGET_ROOTFS_CPIO_GZIP
63 Booting via semi-hosting option
64 -------------------------------
66 Boot binaries, except BL1, are primarily loaded via semi-hosting so all
70 - ``bl2.bin`` -> BL2
71 - ``bl31.bin`` -> BL31
72 - ``bl33.bin`` -> BL33 (``QEMU_EFI.fd``)
73 - ``Image`` -> linux/arch/arm64/boot/Image
79 make CROSS_COMPILE=aarch64-none-elf- PLAT=qemu
85 qemu-system-aarch64 -nographic -machine virt,secure=on -cpu cortex-a57 \
86 -kernel Image \
87 -append "console=ttyAMA0,38400 keep_bootcon" \
88 -initrd rootfs.cpio.gz -smp 2 -m 1024 -bios bl1.bin \
89 -d unimp -semihosting-config enable,target=native
92 ---------------------------------
94 Boot firmwares are loaded via secure FLASH0 device so ``bl1.bin`` and
95 ``fip.bin`` should be concatenated to create a ``flash.bin`` that is flashed
98 - ``bl32.bin`` -> BL32 (``tee-header_v2.bin``)
99 - ``bl32_extra1.bin`` -> BL32 Extra1 (``tee-pager_v2.bin``)
100 - ``bl32_extra2.bin`` -> BL32 Extra2 (``tee-pageable_v2.bin``)
101 - ``bl33.bin`` -> BL33 (``QEMU_EFI.fd``)
102 - ``Image`` -> linux/arch/arm64/boot/Image
108 make CROSS_COMPILE=aarch64-linux-gnu- PLAT=qemu BL32=bl32.bin \
109 BL32_EXTRA1=bl32_extra1.bin BL32_EXTRA2=bl32_extra2.bin \
110 BL33=bl33.bin BL32_RAM_LOCATION=tdram SPD=opteed all fip
116 make CROSS_COMPILE=aarch64-linux-gnu- PLAT=qemu BL32=bl32.bin \
117 BL32_EXTRA1=bl32_extra1.bin BL32_EXTRA2=bl32_extra2.bin \
118 BL33=bl33.bin BL32_RAM_LOCATION=tdram SPD=opteed all fip \
119 MBEDTLS_DIR=<path-to-mbedtls-repo> TRUSTED_BOARD_BOOT=1 \
123 To build flash.bin:
127 dd if=build/qemu/release/bl1.bin of=flash.bin bs=4096 conv=notrunc
128 dd if=build/qemu/release/fip.bin of=flash.bin seek=64 bs=4096 conv=notrunc
134 qemu-system-aarch64 -nographic -machine virt,secure=on -cpu cortex-a57 \
135 -kernel Image -no-acpi \
136 -append 'console=ttyAMA0,38400 keep_bootcon' \
137 -initrd rootfs.cpio.gz -smp 2 -m 1024 -bios flash.bin \
138 -d unimp