genimage.cfg.template_spl 874 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. label = "boot"
  12. files = {
  13. %FILES%
  14. }
  15. }
  16. size = 16M
  17. }
  18. image sdcard.img {
  19. hdimage {
  20. }
  21. partition spl {
  22. in-partition-table = "no"
  23. image = "SPL"
  24. offset = 1024
  25. }
  26. partition u-boot {
  27. in-partition-table = "no"
  28. image = "%UBOOTBIN%"
  29. offset = 69K
  30. }
  31. partition boot {
  32. partition-type = 0xC
  33. bootable = "true"
  34. image = "boot.vfat"
  35. offset = 8M
  36. }
  37. partition rootfs {
  38. partition-type = 0x83
  39. image = "rootfs.ext2"
  40. }
  41. }