genimage.cfg.template 677 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Minimal SD card image for the Freescale MX23/MX28 Template
  2. #
  3. # We mimic the .sdcard Freescale's MX23/MX28 image format:
  4. # * u-boot.sb is placed at offset 1M,
  5. # * a FAT partition at offset 16 MB is containing zImage/uImage and DTB files
  6. # * a single root filesystem partition is required (ext2, ext3 or ext4)
  7. #
  8. image boot.vfat {
  9. vfat {
  10. files = {
  11. %FILES%
  12. }
  13. }
  14. size = 16M
  15. }
  16. image sdcard.img {
  17. hdimage {
  18. }
  19. partition u-boot {
  20. partition-type = 0x53
  21. image = "u-boot.sd"
  22. offset = 1M
  23. size = 16M
  24. }
  25. partition kernel {
  26. partition-type = 0xC
  27. bootable = "true"
  28. image = "boot.vfat"
  29. }
  30. partition rootfs {
  31. partition-type = 0x83
  32. image = "rootfs.ext2"
  33. }
  34. }