genimage.cfg 581 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #
  2. # Minimal SD card image for the pcDuino
  3. #
  4. image boot.vfat {
  5. vfat {
  6. files = {
  7. "zImage",
  8. "sun4i-a10-pcduino.dtb",
  9. "boot.scr"
  10. }
  11. }
  12. size = 16M
  13. }
  14. #
  15. # Note: u-boot environment is stored between u-boot and boot partitions
  16. #
  17. image sdcard.img {
  18. hdimage {
  19. }
  20. partition u-boot {
  21. in-partition-table = "no"
  22. image = "u-boot-sunxi-with-spl.bin"
  23. offset = 8192
  24. size = 1040384 # 1MB - 8192
  25. }
  26. partition boot {
  27. partition-type = 0xC
  28. bootable = "true"
  29. image = "boot.vfat"
  30. offset = 1M
  31. }
  32. partition rootfs {
  33. partition-type = 0x83
  34. image = "rootfs.ext4"
  35. }
  36. }