genimage.cfg 754 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. gpt = true
  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 = 8192
  24. size = 1056768 # 1MB - 8192 + 16384 (GPT)
  25. }
  26. partition boot {
  27. partition-type = 0xC
  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 = 0x83
  35. image = "rootfs.ext4"
  36. size = 512M
  37. }
  38. }