summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/pru
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2018-07-13 07:05:57 +0000
committerDenys Dmytriyenko <denys@ti.com>2018-07-14 01:14:55 +0000
commited31b5866a773aab6587de8096dfd5960d5e018a (patch)
treec49391ae05492f1d8d7a6646e98878132bd6fdcf /recipes-bsp/pru
parent3b0efdaf9319b3e5a23723b774261d8017ba8989 (diff)
downloadmeta-ti-ed31b5866a773aab6587de8096dfd5960d5e018a.tar.gz
pru-icss: fix up build for am65xx-evm
* Only PRU* images were picked up, not RTU* * Setting up alternatives for non-existing PRU_Halt FW resulted in warnings * Since PRU_Halt FW was absent, no ${PN}-halt package was made, resulting in error pulling it in to an image Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp/pru')
-rw-r--r--recipes-bsp/pru/pru-icss_git.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes-bsp/pru/pru-icss_git.bb b/recipes-bsp/pru/pru-icss_git.bb
index 5161e1f9..e359b564 100644
--- a/recipes-bsp/pru/pru-icss_git.bb
+++ b/recipes-bsp/pru/pru-icss_git.bb
@@ -117,7 +117,7 @@ do_install_append_am65xx-evm() {
117} 117}
118 118
119FILES_${PN}-halt = "/lib/firmware/pru/PRU_Halt.out" 119FILES_${PN}-halt = "/lib/firmware/pru/PRU_Halt.out"
120FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt*" 120FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt* /lib/firmware/pru/RTU_RPMsg_Echo_Interrupt*"
121 121
122# Set up names for the firmwares 122# Set up names for the firmwares
123PRU_ICSS_ALTERNATIVES_ti33x = "am335x-pru0-fw am335x-pru1-fw" 123PRU_ICSS_ALTERNATIVES_ti33x = "am335x-pru0-fw am335x-pru1-fw"
@@ -161,6 +161,9 @@ ALTERNATIVE_LINK_NAME[am65x-rtu2_1-fw] = "/lib/firmware/am65x-rtu2_1-fw"
161# Create the pru-icss-halt firmware alternatives 161# Create the pru-icss-halt firmware alternatives
162ALTERNATIVE_pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}" 162ALTERNATIVE_pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}"
163 163
164# am65xx doesn't have halt FW for now
165ALTERNATIVE_pru-icss-halt_am65xx-evm = ""
166
164ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "/lib/firmware/pru/PRU_Halt.out" 167ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "/lib/firmware/pru/PRU_Halt.out"
165ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "/lib/firmware/pru/PRU_Halt.out" 168ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "/lib/firmware/pru/PRU_Halt.out"
166 169
@@ -217,6 +220,9 @@ ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_1-fw] = "/lib/firmware/pru/RTU
217 220
218ALTERNATIVE_PRIORITY_pru-icss-rpmsg-echo = "100" 221ALTERNATIVE_PRIORITY_pru-icss-rpmsg-echo = "100"
219 222
223# am65xx doesn't have halt FW for now
224ALLOW_EMPTY_${PN}-halt = "1"
225
220ALLOW_EMPTY_${PN} = "1" 226ALLOW_EMPTY_${PN} = "1"
221 227
222# This installs PRU firmware, so skip "arch" QA check 228# This installs PRU firmware, so skip "arch" QA check