genimage.cfg.template_spl 859 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Minimal SD card image for the Freescale boards Template for SPL Boot
  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 8MB 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 spl {
  21. in-partition-table = "no"
  22. image = "SPL"
  23. offset = 1024
  24. }
  25. partition u-boot-img {
  26. in-partition-table = "no"
  27. image = "u-boot.img"
  28. offset = 69K
  29. }
  30. partition boot {
  31. partition-type = 0xC
  32. bootable = "true"
  33. image = "boot.vfat"
  34. offset = 8M
  35. }
  36. partition rootfs {
  37. partition-type = 0x83
  38. image = "rootfs.ext2"
  39. }
  40. }