genimage.cfg 491 B

12345678910111213141516171819202122232425262728293031
  1. # Create an image of the efi partition
  2. image efi-part.vfat {
  3. vfat {
  4. file startup.nsh {
  5. image = "efi-part/startup.nsh"
  6. }
  7. file EFI {
  8. image = "efi-part/EFI"
  9. }
  10. }
  11. size=512K
  12. }
  13. # Create the sdcard image, pulling in
  14. # * the image created by buildroot
  15. # * the efi-partition created above
  16. image sdcard.img {
  17. hdimage {
  18. }
  19. partition boot {
  20. partition-type = 0xC
  21. image = "efi-part.vfat"
  22. }
  23. partition rootfs {
  24. partition-type = 0x83
  25. image = "rootfs.ext2"
  26. size = 512M
  27. }
  28. }