genimage.cfg 915 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. config {
  2. }
  3. image sdcard.img {
  4. hdimage {
  5. gpt = true
  6. gpt-location = 800K
  7. }
  8. # partition gpt-header {
  9. # in-partition-table = "no"
  10. # offset = 1K
  11. # size = 512
  12. # }
  13. partition u-boot {
  14. in-partition-table = "no"
  15. image = "Recovery/output/images/u-boot-sunxi-with-spl.bin"
  16. offset = 8K
  17. size = 536K # 544KB - 8KB
  18. }
  19. partition u-boot-env {
  20. in-partition-table = "no"
  21. offset = 544K
  22. size = 128K
  23. image = "Recovery/output/images/u-boot-env.img"
  24. }
  25. # partition gpt-table {
  26. # in-partition-table = "no"
  27. # offset = 800K
  28. # size = 16K
  29. # }
  30. partition Recovery {
  31. offset = 1M
  32. partition-type = 0x83
  33. image = "Recovery/output/images/rootfs.ext4"
  34. size = 100M
  35. }
  36. partition FunKey {
  37. offset = 101M
  38. partition-type = 0x83
  39. bootable = "yes"
  40. image = "FunKey/output/images/rootfs.ext4"
  41. size = 100M
  42. }
  43. # partition share {
  44. # offset = 1G
  45. # partition-type = 0xC
  46. # bootable = "false"
  47. # size = 0
  48. # }
  49. }