2
1

config.yaml 1.1 KB

12345678910111213141516171819202122232425262728
  1. #
  2. # HSS Payload Generator - buildroot configuration file
  3. #
  4. # First, we can optionally set a name for our image, otherwise one will be created dynamically
  5. set-name: 'PolarFire-SoC-HSS::U-Boot'
  6. #
  7. # Next, we'll define the entry point addresses for each hart, as follows:
  8. #
  9. hart-entry-points: {u54_1: '0x80200000', u54_2: '0x80200000', u54_3: '0x80200000', u54_4: '0x80200000'}
  10. #
  11. # Finally, we'll define a payloads (source binary file) that will be placed at certain regions in memory
  12. # The payload section is defined with the keyword payloads, and then a number of individual
  13. # payload descriptors.
  14. #
  15. # Each payload has a name (path to its ELF/bin file), an owner-hart, and optionally 1-3 secondary-harts.
  16. #
  17. # Additionally, it has a privilege mode in which it will start execution.
  18. # * Valid privilege modes are PRV_M, PRV_S and PRV_U.
  19. #
  20. #
  21. # In this case, the only payload is the u-boot s-mode binary.
  22. #
  23. # Case only matters for the ELF path names, not the keywords.
  24. #
  25. payloads:
  26. u-boot.bin: {exec-addr: '0x80200000', owner-hart: u54_1, secondary-hart: u54_2, secondary-hart: u54_3, secondary-hart: u54_4, priv-mode: prv_s}