uefi.its 1.3 KB

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