genimage.cfg 784 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. image boot.vfat {
  2. vfat {
  3. files = {
  4. "zImage",
  5. "socfpga_cyclone5_socrates.dtb"
  6. }
  7. }
  8. size = 8M
  9. }
  10. image uboot.img {
  11. hdimage {
  12. partition-table = "no"
  13. }
  14. partition spl {
  15. in-partition-table = "no"
  16. image = "u-boot-spl.bin.crc"
  17. offset = 0
  18. size = 64k
  19. }
  20. partition uboot-full {
  21. in-partition-table = "no"
  22. image = "u-boot.img"
  23. offset = 256k
  24. }
  25. size = 1M
  26. }
  27. image sdcard.img {
  28. hdimage {
  29. }
  30. partition uboot-env {
  31. in-partition-table = "no"
  32. image = "uboot-env.bin"
  33. offset = 17408 # 512 * 34 -> just after gpt
  34. }
  35. partition boot {
  36. partition-type = 0xc
  37. bootable = "true"
  38. image = "boot.vfat"
  39. }
  40. partition uboot {
  41. partition-type = 0xa2
  42. image = "uboot.img"
  43. }
  44. partition rootfs {
  45. partition-type = 0x83
  46. image = "rootfs.ext2"
  47. size = 500M
  48. }
  49. }