aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2018-07-13 07:05:57 (GMT)
committerDenys Dmytriyenko <denys@ti.com>2018-07-14 01:14:55 (GMT)
commited31b5866a773aab6587de8096dfd5960d5e018a (patch)
treec49391ae05492f1d8d7a6646e98878132bd6fdcf
parent3b0efdaf9319b3e5a23723b774261d8017ba8989 (diff)
downloadmeta-ti-master.zip
meta-ti-master.tar.gz
meta-ti-master.tar.bz2
pru-icss: fix up build for am65xx-evmHEADmaster
* 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>
-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 5161e1f..e359b56 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() {
}
FILES_${PN}-halt = "/lib/firmware/pru/PRU_Halt.out"
-FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt*"
+FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt* /lib/firmware/pru/RTU_RPMsg_Echo_Interrupt*"
# Set up names for the firmwares
PRU_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"
# Create the pru-icss-halt firmware alternatives
ALTERNATIVE_pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}"
+# am65xx doesn't have halt FW for now
+ALTERNATIVE_pru-icss-halt_am65xx-evm = ""
+
ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "/lib/firmware/pru/PRU_Halt.out"
ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "/lib/firmware/pru/PRU_Halt.out"
@@ -217,6 +220,9 @@ ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_1-fw] = "/lib/firmware/pru/RTU
ALTERNATIVE_PRIORITY_pru-icss-rpmsg-echo = "100"
+# am65xx doesn't have halt FW for now
+ALLOW_EMPTY_${PN}-halt = "1"
+
ALLOW_EMPTY_${PN} = "1"
# This installs PRU firmware, so skip "arch" QA check