genimage.cfg 925 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Minimal microSD card image for Grinn's liteBoard
  2. #
  3. # We mimic the .sdcard Freescale's image format for i.MX6UL:
  4. # * the microSD card must have 1 kB free space at the beginning,
  5. # * SPL is dumped as is,
  6. # * U-Boot is dumped at 69K offset, as configured in SPL
  7. # * a FAT partition at offset 8 MB is containing zImage and dtbs,
  8. # * a single root filesystem partition is required (Ext4 in this case).
  9. #
  10. image boot.vfat {
  11. vfat {
  12. files = {
  13. "imx6ul-liteboard.dtb",
  14. "zImage"
  15. }
  16. }
  17. size = 16M
  18. }
  19. image sdcard.img {
  20. hdimage {
  21. }
  22. partition SPL {
  23. in-partition-table = "no"
  24. image = "SPL"
  25. offset = 1K
  26. }
  27. partition u-boot {
  28. in-partition-table = "no"
  29. image = "u-boot.img"
  30. offset = 69K
  31. }
  32. partition boot {
  33. partition-type = 0xC
  34. bootable = "true"
  35. image = "boot.vfat"
  36. offset = 8M
  37. }
  38. partition rootfs {
  39. partition-type = 0x83
  40. image = "rootfs.ext4"
  41. }
  42. }