genimage.cfg.template 755 B

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