genimage.cfg 759 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Minimal SD card image for the OrangePi R1
  2. #
  3. image boot.vfat {
  4. vfat {
  5. files = {
  6. "zImage",
  7. "sun8i-h2-plus-orangepi-r1.dtb",
  8. "boot.scr"
  9. }
  10. }
  11. size = 10M
  12. }
  13. image sdcard.img {
  14. hdimage {
  15. # for root=PARTLABEL support
  16. partition-table-type = "gpt"
  17. # default GPT location conflicts with spl, move it after
  18. gpt-location = 1M
  19. }
  20. partition u-boot {
  21. in-partition-table = "no"
  22. image = "u-boot-sunxi-with-spl.bin"
  23. offset = 8K
  24. size = 1016K # 1MB - 8KB
  25. }
  26. partition boot {
  27. partition-type-uuid = F
  28. bootable = "true"
  29. image = "boot.vfat"
  30. }
  31. # 'rootfs' will be used as the partition label, used
  32. # with root=PARTLABEL=rootfs kernel command line
  33. partition rootfs {
  34. partition-type-uuid = L
  35. image = "rootfs.ext4"
  36. size = 512M
  37. }
  38. }