Skip to content

Commit

Permalink
resources: update hss payload generator yaml configs with 2023.02 mem…
Browse files Browse the repository at this point in the history
… map

Update the sample HSS payload generator YAML configs to use the 38-bit
memory regions defined for the 2023.02 memory map

Signed-off-by: Valentina Fernandez <[email protected]>
  • Loading branch information
vfalanis committed Jan 31, 2023
1 parent f592c6b commit 8fdffbe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions resources/hss-payload-bm_bm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set-name: 'PolarFire-SoC-HSS::BM AMP + BM AMP'
#
# Next, we'll define the entry point addresses for each hart, as follows:
#
hart-entry-points: {u54_1: '0x80000000', u54_2: '0x00000000', u54_3: '0x00000000', u54_4: '0x81000000'}
hart-entry-points: {u54_1: '0x91800000', u54_2: '0x00000000', u54_3: '0x00000000', u54_4: '0x91C00000'}
#
# Finally, we'll define a payloads (source binary file) that will be placed at certain regions in memory
# The payload section is defined with the keyword payloads, and then a number of individual
Expand All @@ -25,5 +25,5 @@ hart-entry-points: {u54_1: '0x80000000', u54_2: '0x00000000', u54_3: '0x00000000
# Case only matters for the ELF path names, not the keywords.
#
payloads:
../mpfs-rpmsg-bm/Master-Default/mpfs-rpmsg-master.elf: {exec-addr: '0x80000000', owner-hart: u54_1, priv-mode: prv_m, skip-opensbi: true}
../mpfs-rpmsg-bm/Remote-Default/mpfs-rpmsg-remote.elf: {exec-addr: '0x81000000', owner-hart: u54_4, priv-mode: prv_m, skip-opensbi: true}
../mpfs-rpmsg-bm/Master-Default/mpfs-rpmsg-master.elf: {exec-addr: '0x91800000', owner-hart: u54_1, priv-mode: prv_m, skip-opensbi: true}
../mpfs-rpmsg-bm/Remote-Default/mpfs-rpmsg-remote.elf: {exec-addr: '0x91C00000', owner-hart: u54_4, priv-mode: prv_m, skip-opensbi: true}
6 changes: 3 additions & 3 deletions resources/hss-payload-freertos_bm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set-name: 'PolarFire-SoC-HSS::BM AMP + FreeRTOS AMP'
#
# Next, we'll define the entry point addresses for each hart, as follows:
#
hart-entry-points: {u54_1: '0x80000000', u54_2: '0x00000000', u54_3: '0x00000000', u54_4: '0x81000000'}
hart-entry-points: {u54_1: '0x91800000', u54_2: '0x00000000', u54_3: '0x00000000', u54_4: '0x91C00000'}
#
# Finally, we'll define a payloads (source binary file) that will be placed at certain regions in memory
# The payload section is defined with the keyword payloads, and then a number of individual
Expand All @@ -25,6 +25,6 @@ hart-entry-points: {u54_1: '0x80000000', u54_2: '0x00000000', u54_3: '0x00000000
# Case only matters for the ELF path names, not the keywords.
#
payloads:
../mpfs-rpmsg-freertos/Master-Default/mpfs-rpmsg-master.elf: {exec-addr: '0x80000000', owner-hart: u54_1, priv-mode: prv_m, skip-opensbi: true}
../mpfs-rpmsg-bm/Remote-Default/mpfs-rpmsg-remote.elf: {exec-addr: '0x81000000', owner-hart: u54_4, priv-mode: prv_m, skip-opensbi: true}
../mpfs-rpmsg-freertos/Master-Default/mpfs-rpmsg-master.elf: {exec-addr: '0x91800000', owner-hart: u54_1, priv-mode: prv_m, skip-opensbi: true}
../mpfs-rpmsg-bm/Remote-Default/mpfs-rpmsg-remote.elf: {exec-addr: '0x91C00000', owner-hart: u54_4, priv-mode: prv_m, skip-opensbi: true}

6 changes: 3 additions & 3 deletions resources/hss-payload-freertos_freertos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set-name: 'PolarFire-SoC-HSS::FreeRTOS AMP + FreeRTOS AMP'
#
# Next, we'll define the entry point addresses for each hart, as follows:
#
hart-entry-points: {u54_1: '0x80000000', u54_2: '0x00000000', u54_3: '0x00000000', u54_4: '0x81000000'}
hart-entry-points: {u54_1: '0x91800000', u54_2: '0x00000000', u54_3: '0x00000000', u54_4: '0x91C00000'}
#
# Finally, we'll define a payloads (source binary file) that will be placed at certain regions in memory
# The payload section is defined with the keyword payloads, and then a number of individual
Expand All @@ -25,6 +25,6 @@ hart-entry-points: {u54_1: '0x80000000', u54_2: '0x00000000', u54_3: '0x00000000
# Case only matters for the ELF path names, not the keywords.
#
payloads:
../mpfs-rpmsg-freertos/Master-Default/mpfs-rpmsg-master.elf: {exec-addr: '0x80000000', owner-hart: u54_1, priv-mode: prv_m, skip-opensbi: true}
../mpfs-rpmsg-freertos/Remote-Default/mpfs-rpmsg-remote.elf: {exec-addr: '0x81000000', owner-hart: u54_4, priv-mode: prv_m, skip-opensbi: true}
../mpfs-rpmsg-freertos/Master-Default/mpfs-rpmsg-master.elf: {exec-addr: '0x91800000', owner-hart: u54_1, priv-mode: prv_m, skip-opensbi: true}
../mpfs-rpmsg-freertos/Remote-Default/mpfs-rpmsg-remote.elf: {exec-addr: '0x91C00000', owner-hart: u54_4, priv-mode: prv_m, skip-opensbi: true}

0 comments on commit 8fdffbe

Please sign in to comment.