genimage.cfg 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 # This will be resized to 1G during first boot
  42. }
  43. # These partitions will be created during first boot
  44. # partition swap {
  45. # offset = 1.01G
  46. # partition-type = 0xC
  47. # bootable = "false"
  48. # size = 128M
  49. # }
  50. #
  51. # partition share {
  52. # offset = 1.138G
  53. # partition-type = 0xC
  54. # bootable = "false"
  55. # size = 0 # Fill in the disk up to its full size
  56. # }
  57. }