summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-bsp/pru/pru-icss_git.bb32
1 files changed, 23 insertions, 9 deletions
diff --git a/recipes-bsp/pru/pru-icss_git.bb b/recipes-bsp/pru/pru-icss_git.bb
index 3c871b70..e150076e 100644
--- a/recipes-bsp/pru/pru-icss_git.bb
+++ b/recipes-bsp/pru/pru-icss_git.bb
@@ -8,10 +8,10 @@ inherit update-alternatives
8 8
9BRANCH = "master" 9BRANCH = "master"
10SRC_URI = "git://git.ti.com/pru-software-support-package/pru-software-support-package.git;protocol=git;branch=${BRANCH}" 10SRC_URI = "git://git.ti.com/pru-software-support-package/pru-software-support-package.git;protocol=git;branch=${BRANCH}"
11SRCREV = "81b568741b8b98e6f590271a9aea5956d2b2d9ce" 11SRCREV = "1d9249c012005a669a6ffb2f76255d72ed5c0e4c"
12 12
13PV = "5.2.1" 13PV = "5.2.1"
14PR = "r1" 14PR = "r2"
15 15
16require recipes-ti/includes/ti-paths.inc 16require recipes-ti/includes/ti-paths.inc
17 17
@@ -103,6 +103,13 @@ do_install_append_k2g() {
103} 103}
104 104
105do_install_append_am65xx-evm() { 105do_install_append_am65xx-evm() {
106 for i in 0 1
107 do
108 install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \
109 ${D}/lib/firmware/pru
110 install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \
111 ${D}/lib/firmware/pru
112 done
106 for i in 0 1 2 113 for i in 0 1 2
107 do 114 do
108 for j in 0 1 115 for j in 0 1
@@ -116,7 +123,7 @@ do_install_append_am65xx-evm() {
116 done 123 done
117} 124}
118 125
119FILES_${PN}-halt = "/lib/firmware/pru/PRU_Halt.out" 126FILES_${PN}-halt = "/lib/firmware/pru/PRU_Halt* /lib/firmware/pru/RTU_Halt*"
120FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt* /lib/firmware/pru/RTU_RPMsg_Echo_Interrupt*" 127FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt* /lib/firmware/pru/RTU_RPMsg_Echo_Interrupt*"
121 128
122# Set up names for the firmwares 129# Set up names for the firmwares
@@ -161,9 +168,6 @@ ALTERNATIVE_LINK_NAME[am65x-rtu2_1-fw] = "/lib/firmware/am65x-rtu2_1-fw"
161# Create the pru-icss-halt firmware alternatives 168# Create the pru-icss-halt firmware alternatives
162ALTERNATIVE_pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}" 169ALTERNATIVE_pru-icss-halt = "${PRU_ICSS_ALTERNATIVES}"
163 170
164# am65xx doesn't have halt FW for now
165ALTERNATIVE_pru-icss-halt_am65xx-evm = ""
166
167ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "/lib/firmware/pru/PRU_Halt.out" 171ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru0-fw] = "/lib/firmware/pru/PRU_Halt.out"
168ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "/lib/firmware/pru/PRU_Halt.out" 172ALTERNATIVE_TARGET_pru-icss-halt[am335x-pru1-fw] = "/lib/firmware/pru/PRU_Halt.out"
169 173
@@ -182,6 +186,19 @@ ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru0_1-fw] = "/lib/firmware/pru/PRU_Halt.ou
182ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt.out" 186ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt.out"
183ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt.out" 187ALTERNATIVE_TARGET_pru-icss-halt[k2g-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt.out"
184 188
189ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
190ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru0_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
191ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
192ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru1_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
193ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_0-fw] = "/lib/firmware/pru/PRU_Halt_0.out"
194ALTERNATIVE_TARGET_pru-icss-halt[am65x-pru2_1-fw] = "/lib/firmware/pru/PRU_Halt_1.out"
195ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
196ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu0_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
197ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
198ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu1_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
199ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_0-fw] = "/lib/firmware/pru/RTU_Halt_0.out"
200ALTERNATIVE_TARGET_pru-icss-halt[am65x-rtu2_1-fw] = "/lib/firmware/pru/RTU_Halt_1.out"
201
185ALTERNATIVE_PRIORITY_pru-icss-halt = "50" 202ALTERNATIVE_PRIORITY_pru-icss-halt = "50"
186 203
187# Create the pru-icss-rpmsg-echo firmware alternatives 204# Create the pru-icss-rpmsg-echo firmware alternatives
@@ -220,9 +237,6 @@ ALTERNATIVE_TARGET_pru-icss-rpmsg-echo[am65x-rtu2_1-fw] = "/lib/firmware/pru/RTU
220 237
221ALTERNATIVE_PRIORITY_pru-icss-rpmsg-echo = "100" 238ALTERNATIVE_PRIORITY_pru-icss-rpmsg-echo = "100"
222 239
223# am65xx doesn't have halt FW for now
224ALLOW_EMPTY_${PN}-halt = "1"
225
226ALLOW_EMPTY_${PN} = "1" 240ALLOW_EMPTY_${PN} = "1"
227 241
228# This installs PRU firmware, so skip "arch" QA check 242# This installs PRU firmware, so skip "arch" QA check