genimage.cfg 569 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #
  2. # This config reproduces the OpenBMC flash layout defined in Linux :
  3. #
  4. # arch/arm/boot/dts/openbmc-flash-layout.dtsi
  5. #
  6. # and included by aspeed-ast2500-evb.dts
  7. #
  8. flash nor-32M-256 {
  9. pebsize = 4K
  10. numpebs = 8K
  11. minimum-io-unit-size = 256
  12. }
  13. image flash.img {
  14. flash {
  15. }
  16. flashtype = "nor-32M-256"
  17. partition uboot {
  18. image = "u-boot.bin"
  19. size = 384K
  20. }
  21. partition ubootenv {
  22. /* TODO */
  23. offset = 384K
  24. size = 128K
  25. }
  26. partition fitimage {
  27. image = "image.itb"
  28. offset = 512K
  29. size = 4352K
  30. }
  31. partition spare {
  32. offset = 4864K
  33. size = 27904K
  34. }
  35. }