genimage.cfg.template_imx9 769 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Minimal SD card image for the NXP i.MX9 boards
  2. #
  3. # We mimic the .sdcard NXP's image format:
  4. # * the SD card must have 32 kB free space at the beginning,
  5. # * U-Boot is integrated into imx9-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 = 64M
  17. }
  18. image sdcard.img {
  19. hdimage {
  20. }
  21. partition imx-boot {
  22. in-partition-table = "no"
  23. image = "imx9-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. }