genimage.cfg.template 774 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. label = "boot"
  12. files = {
  13. %FILES%
  14. }
  15. }
  16. size = 16M
  17. }
  18. image sdcard.img {
  19. hdimage {
  20. }
  21. partition u-boot {
  22. in-partition-table = "no"
  23. image = "%UBOOTBIN%"
  24. offset = 1024
  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. }