genimage.cfg 533 B

12345678910111213141516171819202122232425262728293031323334
  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. file bzImage {
  11. image = "bzImage"
  12. }
  13. }
  14. size=10M
  15. }
  16. # Create the sdcard image, pulling in
  17. # * the image created by buildroot
  18. # * the efi-partition created above
  19. image sdcard.img {
  20. hdimage {
  21. }
  22. partition boot {
  23. partition-type = 0xEF
  24. image = "efi-part.vfat"
  25. }
  26. partition rootfs {
  27. partition-type = 0x83
  28. image = "rootfs.ext4"
  29. size = 512M
  30. }
  31. }