genimage.cfg.template_imx8 817 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Minimal SD card image for the Freescale iMX8 boards
  2. #
  3. # We mimic the .sdcard Freescale's image format:
  4. # * the SD card must have 33 kB free space at the beginning,
  5. # * U-Boot is integrated into imx8-boot-sd.bin and is dumped as is,
  6. # * a FAT partition at offset 8MB is containing Image and DTB files
  7. # * a single root filesystem partition is required (ext2, ext3 or ext4)
  8. #
  9. image boot.vfat {
  10. vfat {
  11. label = "boot"
  12. files = {
  13. %FILES%
  14. }
  15. }
  16. size = 32M
  17. }
  18. image sdcard.img {
  19. hdimage {
  20. }
  21. partition imx-boot {
  22. in-partition-table = "no"
  23. image = "imx8-boot-sd.bin"
  24. offset = %IMXOFFSET%
  25. }
  26. partition boot {
  27. partition-type = 0xC
  28. bootable = "true"
  29. image = "boot.vfat"
  30. offset = 8M
  31. }
  32. partition rootfs {
  33. partition-type = 0x83
  34. image = "rootfs.ext2"
  35. }
  36. }