1.. SPDX-License-Identifier: GPL-2.0+ 2 3UEFI 4==== 5 6Example FIT image description file demonstrating the usage of the 7bootm command to launch UEFI binaries. 8 9Two boot configurations are available to enable booting GRUB2 on QEMU, 10the former uses a FDT blob contained in the FIT image, while the later 11relies on the FDT provided by the board emulator. 12 13:: 14 15 /dts-v1/; 16 17 / { 18 description = "GRUB2 EFI and QEMU FDT blob"; 19 #address-cells = <1>; 20 21 images { 22 efi-grub { 23 description = "GRUB EFI Firmware"; 24 data = /incbin/("bootarm.efi"); 25 type = "kernel_noload"; 26 arch = "arm"; 27 os = "efi"; 28 compression = "none"; 29 load = <0x0>; 30 entry = <0x0>; 31 hash-1 { 32 algo = "sha256"; 33 }; 34 }; 35 36 fdt-qemu { 37 description = "QEMU DTB"; 38 data = /incbin/("qemu-arm.dtb"); 39 type = "flat_dt"; 40 arch = "arm"; 41 compression = "none"; 42 hash-1 { 43 algo = "sha256"; 44 }; 45 }; 46 }; 47 48 configurations { 49 default = "config-grub-fdt"; 50 51 config-grub-fdt { 52 description = "GRUB EFI Boot w/ FDT"; 53 kernel = "efi-grub"; 54 fdt = "fdt-qemu"; 55 signature-1 { 56 algo = "sha256,rsa2048"; 57 key-name-hint = "dev"; 58 sign-images = "kernel", "fdt"; 59 }; 60 }; 61 62 config-grub-nofdt { 63 description = "GRUB EFI Boot w/o FDT"; 64 kernel = "efi-grub"; 65 signature-1 { 66 algo = "sha256,rsa2048"; 67 key-name-hint = "dev"; 68 sign-images = "kernel"; 69 }; 70 }; 71 }; 72 }; 73