genimage.cfg 504 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Minimal SD card image for the NanoPi M1
  2. #
  3. image boot.vfat {
  4. vfat {
  5. files = {
  6. "zImage",
  7. "sun8i-h3-nanopi-m1.dtb",
  8. "boot.scr"
  9. }
  10. }
  11. size = 10M
  12. }
  13. image sdcard.img {
  14. hdimage {
  15. }
  16. partition u-boot {
  17. in-partition-table = "no"
  18. image = "u-boot-sunxi-with-spl.bin"
  19. offset = 8192
  20. size = 1040384 # 1MB - 8192
  21. }
  22. partition boot {
  23. partition-type = 0xC
  24. bootable = "true"
  25. image = "boot.vfat"
  26. }
  27. partition rootfs {
  28. partition-type = 0x83
  29. image = "rootfs.ext4"
  30. size = 512M
  31. }
  32. }