diff options
16 files changed, 187 insertions, 155 deletions
diff --git a/classes/fsl-u-boot-localversion.bbclass b/classes/fsl-u-boot-localversion.bbclass index 94b30c04..df4ac5fb 100644 --- a/classes/fsl-u-boot-localversion.bbclass +++ b/classes/fsl-u-boot-localversion.bbclass | |||
@@ -17,21 +17,21 @@ UBOOT_LOCALVERSION = "${LOCALVERSION}" | |||
17 | do_compile:prepend() { | 17 | do_compile:prepend() { |
18 | if [ "${SCMVERSION}" = "y" ]; then | 18 | if [ "${SCMVERSION}" = "y" ]; then |
19 | # Add GIT revision to the local version | 19 | # Add GIT revision to the local version |
20 | if [ "${SRCREV}" = "INVALID" ]; then | 20 | if [ "${SRCREV}" = "INVALID" ]; then |
21 | hash=${SRCREV_machine} | 21 | hash=${SRCREV_machine} |
22 | else | 22 | else |
23 | hash=${SRCREV} | 23 | hash=${SRCREV} |
24 | fi | 24 | fi |
25 | if [ "$hash" = "AUTOINC" ]; then | 25 | if [ "$hash" = "AUTOINC" ]; then |
26 | branch=`git --git-dir=${S}/.git symbolic-ref --short -q HEAD` | 26 | branch=`git --git-dir=${S}/.git symbolic-ref --short -q HEAD` |
27 | head=`git --git-dir=${S}/.git rev-parse --verify --short origin/${branch} 2> /dev/null` | 27 | head=`git --git-dir=${S}/.git rev-parse --verify --short origin/${branch} 2> /dev/null` |
28 | else | 28 | else |
29 | head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null` | 29 | head=`git --git-dir=${S}/.git rev-parse --verify --short $hash 2> /dev/null` |
30 | fi | 30 | fi |
31 | patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null` | 31 | patches=`git --git-dir=${S}/.git rev-list --count $head..HEAD 2> /dev/null` |
32 | printf "%s%s%s%s" +g $head +p $patches > ${S}/.scmversion | 32 | printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${S}/.scmversion |
33 | printf "%s%s%s%s" +g $head +p $patches > ${B}/.scmversion | 33 | printf "%s%s%s%s%s" "${UBOOT_LOCALVERSION}" +g $head +p $patches > ${B}/.scmversion |
34 | else | 34 | else |
35 | printf "%s" "${UBOOT_LOCALVERSION}" > ${S}/.scmversion | 35 | printf "%s" "${UBOOT_LOCALVERSION}" > ${S}/.scmversion |
36 | printf "%s" "${UBOOT_LOCALVERSION}" > ${B}/.scmversion | 36 | printf "%s" "${UBOOT_LOCALVERSION}" > ${B}/.scmversion |
37 | fi | 37 | fi |
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/luajit/luajit/ppc-fixplt.patch b/dynamic-layers/openembedded-layer/recipes-devtools/luajit/luajit/ppc-fixplt.patch deleted file mode 100644 index a576f917..00000000 --- a/dynamic-layers/openembedded-layer/recipes-devtools/luajit/luajit/ppc-fixplt.patch +++ /dev/null | |||
@@ -1,104 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
3 | |||
4 | libluajit is having symbols that can't be | ||
5 | resolved the reloc cannot accommodate an offset greater than 24 bits. | ||
6 | |||
7 | Looking at libluajit with readelf -r, you see a bunch of entries that look like: | ||
8 | 000082f0 00003c0a R_PPC_REL24 00000000 sqrt + 0 | ||
9 | |||
10 | These should not occur when the code is compiled and linked with -fPIC. | ||
11 | |||
12 | It turns out that libluajit *is* compiled and linked with -fPIC, however... | ||
13 | There is one assembler file called lj_vm.s which is generated during the build. | ||
14 | This file is missing the `@plt' qualifier from external references. | ||
15 | |||
16 | This file is generated by a program called buildvm. This in turn uses tables | ||
17 | in a file called buildvm_arch.h which is generated by dynasm.lua. | ||
18 | |||
19 | Index: LuaJIT-2.0.1/src/host/buildvm.c | ||
20 | =================================================================== | ||
21 | --- LuaJIT-2.0.1.orig/src/host/buildvm.c 2013-02-19 12:15:00.000000000 -0800 | ||
22 | +++ LuaJIT-2.0.1/src/host/buildvm.c 2013-05-14 20:26:05.933444512 -0700 | ||
23 | @@ -107,12 +107,14 @@ | ||
24 | #endif | ||
25 | sprintf(name, "%s%s%s", symprefix, prefix, suffix); | ||
26 | p = strchr(name, '@'); | ||
27 | +#if 0 | ||
28 | if (p) { | ||
29 | if (!LJ_64 && (ctx->mode == BUILD_coffasm || ctx->mode == BUILD_peobj)) | ||
30 | name[0] = '@'; | ||
31 | else | ||
32 | *p = '\0'; | ||
33 | } | ||
34 | +#endif | ||
35 | p = (char *)malloc(strlen(name)+1); /* MSVC doesn't like strdup. */ | ||
36 | strcpy(p, name); | ||
37 | return p; | ||
38 | Index: LuaJIT-2.0.1/src/vm_ppcspe.dasc | ||
39 | =================================================================== | ||
40 | --- LuaJIT-2.0.1.orig/src/vm_ppcspe.dasc 2013-02-19 12:15:00.000000000 -0800 | ||
41 | +++ LuaJIT-2.0.1/src/vm_ppcspe.dasc 2013-05-14 20:26:05.937444512 -0700 | ||
42 | @@ -1390,7 +1390,7 @@ | ||
43 | | checknum CARG2 | ||
44 | | evmergehi CARG1, CARG2, CARG2 | ||
45 | | checkfail ->fff_fallback | ||
46 | - | bl extern func | ||
47 | + | bl extern func@plt | ||
48 | | evmergelo CRET1, CRET1, CRET2 | ||
49 | | b ->fff_restv | ||
50 | |.endmacro | ||
51 | @@ -1405,7 +1405,7 @@ | ||
52 | | checknum CARG1 | ||
53 | | evmergehi CARG3, CARG4, CARG4 | ||
54 | | checkanyfail ->fff_fallback | ||
55 | - | bl extern func | ||
56 | + | bl extern func@plt | ||
57 | | evmergelo CRET1, CRET1, CRET2 | ||
58 | | b ->fff_restv | ||
59 | |.endmacro | ||
60 | @@ -1437,7 +1437,7 @@ | ||
61 | | checknum CARG2 | ||
62 | | evmergehi CARG1, CARG2, CARG2 | ||
63 | | checkfail ->fff_fallback | ||
64 | - | bl extern log | ||
65 | + | bl extern log@plt | ||
66 | | evmergelo CRET1, CRET1, CRET2 | ||
67 | | b ->fff_restv | ||
68 | | | ||
69 | @@ -1471,7 +1471,7 @@ | ||
70 | | checknum CARG1 | ||
71 | | checkanyfail ->fff_fallback | ||
72 | | efdctsi CARG3, CARG4 | ||
73 | - | bl extern ldexp | ||
74 | + | bl extern ldexp@plt | ||
75 | | evmergelo CRET1, CRET1, CRET2 | ||
76 | | b ->fff_restv | ||
77 | | | ||
78 | @@ -1484,7 +1484,7 @@ | ||
79 | | checkfail ->fff_fallback | ||
80 | | la CARG3, DISPATCH_GL(tmptv)(DISPATCH) | ||
81 | | lwz PC, FRAME_PC(BASE) | ||
82 | - | bl extern frexp | ||
83 | + | bl extern frexp@plt | ||
84 | | lwz TMP1, DISPATCH_GL(tmptv)(DISPATCH) | ||
85 | | evmergelo CRET1, CRET1, CRET2 | ||
86 | | efdcfsi CRET2, TMP1 | ||
87 | @@ -1503,7 +1503,7 @@ | ||
88 | | checkfail ->fff_fallback | ||
89 | | la CARG3, -8(BASE) | ||
90 | | lwz PC, FRAME_PC(BASE) | ||
91 | - | bl extern modf | ||
92 | + | bl extern modf@plt | ||
93 | | evmergelo CRET1, CRET1, CRET2 | ||
94 | | la RA, -8(BASE) | ||
95 | | evstdd CRET1, 0(BASE) | ||
96 | @@ -2399,7 +2399,7 @@ | ||
97 | | checknum CARG1 | ||
98 | | evmergehi CARG3, CARG4, CARG4 | ||
99 | | checkanyfail ->vmeta_arith_vv | ||
100 | - | bl extern pow | ||
101 | + | bl extern pow@plt | ||
102 | | evmergelo CRET2, CRET1, CRET2 | ||
103 | | evstddx CRET2, BASE, RA | ||
104 | | ins_next | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-devtools/luajit/luajit_%.bbappend b/dynamic-layers/openembedded-layer/recipes-devtools/luajit/luajit_%.bbappend deleted file mode 100644 index d07f8ae1..00000000 --- a/dynamic-layers/openembedded-layer/recipes-devtools/luajit/luajit_%.bbappend +++ /dev/null | |||
@@ -1,4 +0,0 @@ | |||
1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:" | ||
2 | |||
3 | SRC_URI:append:qoriq-ppc = " file://ppc-fixplt.patch " | ||
4 | |||
diff --git a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb index d28b2382..c425173c 100644 --- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb +++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb | |||
@@ -7,11 +7,11 @@ should be preferred." | |||
7 | 7 | ||
8 | SECTION = "kernel" | 8 | SECTION = "kernel" |
9 | LICENSE = "Proprietary" | 9 | LICENSE = "Proprietary" |
10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=44a8052c384584ba09077e85a3d1654f" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=10c0fda810c63b052409b15a5445671a" |
11 | 11 | ||
12 | SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}" | 12 | SRC_URI = "git://github.com/nxp-imx/imx-firmware.git;protocol=https;branch=${SRCBRANCH}" |
13 | SRCBRANCH = "lf-6.6.3_1.0.0" | 13 | SRCBRANCH = "lf-6.6.23_2.0.0" |
14 | SRCREV = "2afa15e77f0b58eade42b4f59c9215339efcca66" | 14 | SRCREV = "7e038c6afba3118bcee91608764ac3c633bce0c4" |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
@@ -150,6 +150,7 @@ FILES:${PN}-nxpiw612-sdio = " \ | |||
150 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ | 150 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ |
151 | ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se \ | 151 | ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se \ |
152 | ${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/ \ | 152 | ${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/ \ |
153 | ${nonarch_base_libdir}/firmware/nxp/uartuart_n61x_v1.bin.se \ | ||
153 | " | 154 | " |
154 | RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common" | 155 | RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common" |
155 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 156 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb index d06ccfa1..9c9db88b 100644 --- a/recipes-bsp/imx-lib/imx-lib_git.bb +++ b/recipes-bsp/imx-lib/imx-lib_git.bb | |||
@@ -13,7 +13,7 @@ PE = "1" | |||
13 | PV = "5.9+${SRCPV}" | 13 | PV = "5.9+${SRCPV}" |
14 | 14 | ||
15 | SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH}" | 15 | SRC_URI = "git://github.com/nxp-imx/imx-lib.git;protocol=https;branch=${SRCBRANCH}" |
16 | SRCBRANCH = "lf-6.6.3_1.0.0" | 16 | SRCBRANCH = "lf-6.6.23_2.0.0" |
17 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" | 17 | SRCREV = "8f124c3914d82019849fb697baeb730e4cb1b547" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
diff --git a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb index 7792b27b..631217da 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb +++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb | |||
@@ -41,6 +41,9 @@ do_compile[depends] += " \ | |||
41 | 41 | ||
42 | SC_FIRMWARE_NAME ?= "scfw_tcm.bin" | 42 | SC_FIRMWARE_NAME ?= "scfw_tcm.bin" |
43 | 43 | ||
44 | OEI_ENABLE = "${@bb.utils.contains('DEPENDS', 'imx-oei', 'YES', 'NO', d)}" | ||
45 | OEI_NAME ?= "oei-${OEI_CORE}-*.bin" | ||
46 | |||
44 | ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" | 47 | ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" |
45 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" | 48 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" |
46 | 49 | ||
@@ -60,6 +63,7 @@ BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" | |||
60 | BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" | 63 | BOOT_STAGING:mx8dx-generic-bsp = "${S}/iMX8QX" |
61 | BOOT_STAGING:mx91p-generic-bsp = "${S}/iMX91" | 64 | BOOT_STAGING:mx91p-generic-bsp = "${S}/iMX91" |
62 | BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" | 65 | BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" |
66 | BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95" | ||
63 | 67 | ||
64 | SOC_FAMILY = "INVALID" | 68 | SOC_FAMILY = "INVALID" |
65 | SOC_FAMILY:mx8-generic-bsp = "mx8" | 69 | SOC_FAMILY:mx8-generic-bsp = "mx8" |
@@ -68,9 +72,19 @@ SOC_FAMILY:mx8x-generic-bsp = "mx8x" | |||
68 | SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" | 72 | SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" |
69 | SOC_FAMILY:mx91p-generic-bsp = "mx93" | 73 | SOC_FAMILY:mx91p-generic-bsp = "mx93" |
70 | SOC_FAMILY:mx93-generic-bsp = "mx93" | 74 | SOC_FAMILY:mx93-generic-bsp = "mx93" |
75 | SOC_FAMILY:mx95-generic-bsp = "mx95" | ||
71 | 76 | ||
72 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" | 77 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" |
73 | 78 | ||
79 | MKIMAGE_EXTRA_ARGS ?= "" | ||
80 | MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp ?= " \ | ||
81 | OEI=${OEI_ENABLE} \ | ||
82 | LPDDR_TYPE=${DDR_TYPE} \ | ||
83 | ${@bb.utils.contains('SYSTEM_MANAGER_CONFIG', 'mx95alt', 'MSEL=1', '', d)}" | ||
84 | MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin ?= " \ | ||
85 | ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \ | ||
86 | QSPI_HEADER=./scripts/fspi_header_133" | ||
87 | |||
74 | do_uboot_assemble_fitimage:prepend:imx-generic-bsp() { | 88 | do_uboot_assemble_fitimage:prepend:imx-generic-bsp() { |
75 | for config in ${UBOOT_MACHINE}; do | 89 | for config in ${UBOOT_MACHINE}; do |
76 | mkdir -p ${B}/${config} | 90 | mkdir -p ${B}/${config} |
@@ -156,13 +170,30 @@ compile_mx93() { | |||
156 | fi | 170 | fi |
157 | } | 171 | } |
158 | 172 | ||
173 | compile_mx95() { | ||
174 | bbnote i.MX 95 boot binary build | ||
175 | compile_mx93 | ||
176 | |||
177 | cp ${DEPLOY_DIR_IMAGE}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin \ | ||
178 | ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin | ||
179 | } | ||
180 | |||
159 | do_compile() { | 181 | do_compile() { |
160 | # mkimage for i.MX8 | 182 | # mkimage for i.MX8 |
161 | # Copy TEE binary to SoC target folder to mkimage | 183 | # Copy TEE binary to SoC target folder to mkimage |
162 | if ${DEPLOY_OPTEE}; then | 184 | if ${DEPLOY_OPTEE}; then |
163 | cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING} | 185 | cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING} |
186 | if ${DEPLOY_OPTEE_STMM}; then | ||
187 | # Copy tee.bin to tee.bin-stmm | ||
188 | cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING}/tee.bin-stmm | ||
189 | fi | ||
190 | fi | ||
191 | # Copy OEI firmware to SoC target folder to mkimage | ||
192 | if [ "${OEI_ENABLE}" = "YES" ]; then | ||
193 | cp ${DEPLOY_DIR_IMAGE}/${OEI_NAME} ${BOOT_STAGING} | ||
164 | fi | 194 | fi |
165 | for type in ${UBOOT_CONFIG}; do | 195 | |
196 | for type in ${UBOOT_CONFIG}; do | ||
166 | if [ "${@d.getVarFlags('UBOOT_DTB_NAME')}" = "None" ]; then | 197 | if [ "${@d.getVarFlags('UBOOT_DTB_NAME')}" = "None" ]; then |
167 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" | 198 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" |
168 | else | 199 | else |
@@ -193,9 +224,16 @@ do_compile() { | |||
193 | # Special target build for i.MX 8DXL with V2X off | 224 | # Special target build for i.MX 8DXL with V2X off |
194 | bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} V2X=NO ${target}" | 225 | bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} V2X=NO ${target}" |
195 | make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} V2X=NO dtbs=${UBOOT_DTB_NAME_EXTRA} flash_linux_m4 | 226 | make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} V2X=NO dtbs=${UBOOT_DTB_NAME_EXTRA} flash_linux_m4 |
227 | elif [[ $target == *sttm_capsule ]]; then | ||
228 | # target for flash_evk_stmm_capsule or | ||
229 | # flash_singleboot_stmm_capsule | ||
230 | cp ${RECIPE_SYSROOT_NATIVE}/${bindir}/mkeficapsule ${BOOT_STAGING} | ||
231 | bbnote "building ${IMX_BOOT_SOC_TARGET} - TEE=tee.bin-stmm ${target}" | ||
232 | cp ${DEPLOY_DIR_IMAGE}/CRT.* ${BOOT_STAGING} | ||
233 | make SOC=${IMX_BOOT_SOC_TARGET} TEE=tee.bin-stmm dtbs=${UBOOT_DTB_NAME} ${REV_OPTION} ${target} | ||
196 | else | 234 | else |
197 | bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} ${target}" | 235 | bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} ${MKIMAGE_EXTRA_ARGS} ${target}" |
198 | make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} dtbs=${UBOOT_DTB_NAME_EXTRA} ${target} | 236 | make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} ${MKIMAGE_EXTRA_ARGS} dtbs=${UBOOT_DTB_NAME} ${target} |
199 | fi | 237 | fi |
200 | if [ -e "${BOOT_STAGING}/flash.bin" ]; then | 238 | if [ -e "${BOOT_STAGING}/flash.bin" ]; then |
201 | cp ${BOOT_STAGING}/flash.bin ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} | 239 | cp ${BOOT_STAGING}/flash.bin ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} |
@@ -294,6 +332,12 @@ deploy_mx93() { | |||
294 | fi | 332 | fi |
295 | } | 333 | } |
296 | 334 | ||
335 | deploy_mx95() { | ||
336 | deploy_mx93 | ||
337 | install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \ | ||
338 | ${DEPLOYDIR}/${BOOT_TOOLS}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin | ||
339 | } | ||
340 | |||
297 | do_deploy() { | 341 | do_deploy() { |
298 | deploy_${SOC_FAMILY} | 342 | deploy_${SOC_FAMILY} |
299 | 343 | ||
@@ -301,6 +345,12 @@ do_deploy() { | |||
301 | if ${DEPLOY_OPTEE}; then | 345 | if ${DEPLOY_OPTEE}; then |
302 | install -m 0644 ${DEPLOY_DIR_IMAGE}/tee.bin ${DEPLOYDIR}/${BOOT_TOOLS} | 346 | install -m 0644 ${DEPLOY_DIR_IMAGE}/tee.bin ${DEPLOYDIR}/${BOOT_TOOLS} |
303 | fi | 347 | fi |
348 | |||
349 | # copy oei to deploy path | ||
350 | if [ "${OEI_ENABLE}" = "YES" ]; then | ||
351 | install -m 0644 ${BOOT_STAGING}/${OEI_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} | ||
352 | fi | ||
353 | |||
304 | # copy makefile (soc.mak) for reference | 354 | # copy makefile (soc.mak) for reference |
305 | install -m 0644 ${BOOT_STAGING}/soc.mak ${DEPLOYDIR}/${BOOT_TOOLS} | 355 | install -m 0644 ${BOOT_STAGING}/soc.mak ${DEPLOYDIR}/${BOOT_TOOLS} |
306 | 356 | ||
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc index fb3df750..9b03d392 100644 --- a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc +++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc | |||
@@ -1,12 +1,12 @@ | |||
1 | # Copyright 2017-2022 NXP | 1 | # Copyright 2017-2023 NXP |
2 | 2 | ||
3 | DEPENDS = "zlib-native openssl-native" | 3 | DEPENDS = "zlib-native openssl-native" |
4 | 4 | ||
5 | SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ | 5 | SRC_URI = "git://github.com/nxp-imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ |
6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ | 6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ |
7 | " | 7 | " |
8 | SRCBRANCH = "lf-6.6.3_1.0.0" | 8 | SRCBRANCH = "lf-6.6.23_2.0.0" |
9 | SRCREV = "cbb99377cc2bb8f7cf213794c030e1c60423ef1f" | 9 | SRCREV = "ca5d6b2d3fd9ab15825b97f7ef6f1ce9a8644966" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
diff --git a/recipes-bsp/imx-oei/imx-oei_1.0.0.bb b/recipes-bsp/imx-oei/imx-oei_1.0.0.bb new file mode 100644 index 00000000..a853a803 --- /dev/null +++ b/recipes-bsp/imx-oei/imx-oei_1.0.0.bb | |||
@@ -0,0 +1,57 @@ | |||
1 | SUMMARY = "i.MX Optional Execution Image" | ||
2 | |||
3 | LICENSE = "GPL-2.0-only" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=59530bdf33659b29e73d4adb9f9f6552" | ||
5 | |||
6 | INHIBIT_DEFAULT_DEPS = "1" | ||
7 | DEPENDS = "gcc-arm-none-eabi-native" | ||
8 | |||
9 | SRC_URI = "${IMX_OEI_SRC};branch=${SRCBRANCH}" | ||
10 | IMX_OEI_SRC ?= "git://github.com/nxp-imx/imx-oei.git;protocol=https" | ||
11 | SRCBRANCH = "master" | ||
12 | SRCREV = "1a572a640ef8d6883e8ca39744cd6d2d5dbed678" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | inherit deploy | ||
17 | |||
18 | OEI_CONFIGS ?= "UNDEFINED" | ||
19 | OEI_CORE ?= "UNDEFINED" | ||
20 | OEI_SOC ?= "UNDEFINED" | ||
21 | OEI_BOARD ?= "UNDEFINED" | ||
22 | |||
23 | LDFLAGS[unexport] = "1" | ||
24 | |||
25 | EXTRA_OEMAKE = "\ | ||
26 | board=${OEI_BOARD} \ | ||
27 | DEBUG=1 \ | ||
28 | OEI_CROSS_COMPILE=arm-none-eabi-" | ||
29 | |||
30 | do_configure() { | ||
31 | for oei_config in ${OEI_CONFIGS}; do | ||
32 | oe_runmake clean oei=$oei_config | ||
33 | done | ||
34 | } | ||
35 | |||
36 | do_compile() { | ||
37 | for oei_config in ${OEI_CONFIGS}; do | ||
38 | oe_runmake oei=$oei_config | ||
39 | done | ||
40 | } | ||
41 | |||
42 | do_install() { | ||
43 | install -d ${D}/firmware | ||
44 | for oei_config in ${OEI_CONFIGS}; do | ||
45 | install -m 0644 ${B}/build/${OEI_BOARD}/$oei_config/oei-*.bin ${D}/firmware | ||
46 | done | ||
47 | } | ||
48 | |||
49 | addtask deploy after do_install | ||
50 | do_deploy() { | ||
51 | cp -rf ${D}/firmware/* ${DEPLOYDIR}/ | ||
52 | } | ||
53 | |||
54 | FILES:${PN} = "/firmware" | ||
55 | SYSROOT_DIRS += "/firmware" | ||
56 | |||
57 | COMPATIBLE_MACHINE = "(mx95-generic-bsp)" | ||
diff --git a/recipes-bsp/imx-seco/imx-seco_5.9.0.bb b/recipes-bsp/imx-seco/imx-seco_5.9.4.bb index f7dadea5..14b15da2 100644 --- a/recipes-bsp/imx-seco/imx-seco_5.9.0.bb +++ b/recipes-bsp/imx-seco/imx-seco_5.9.4.bb | |||
@@ -4,14 +4,14 @@ SUMMARY = "NXP i.MX SECO firmware" | |||
4 | DESCRIPTION = "Firmware for i.MX Security Controller Subsystem" | 4 | DESCRIPTION = "Firmware for i.MX Security Controller Subsystem" |
5 | SECTION = "base" | 5 | SECTION = "base" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" |
8 | 8 | ||
9 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy | 9 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy |
10 | 10 | ||
11 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 11 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
12 | 12 | ||
13 | SRC_URI[md5sum] = "b722a534c4d3cc90270e05eaa812514d" | 13 | SRC_URI[md5sum] = "d05d6b15ad9ad0df141e1fc736f4a622" |
14 | SRC_URI[sha256sum] = "c3bd761f457e939035b01a0ab36e79064a2a1bc6c3cdb3cd847f7f38df0964df" | 14 | SRC_URI[sha256sum] = "9b04be33814a9cbda9bbfcb6711585cf7e4ed2527793813c95230f350323cba7" |
15 | 15 | ||
16 | 16 | ||
17 | do_compile[noexec] = "1" | 17 | do_compile[noexec] = "1" |
diff --git a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb index 48e9cc3b..453fdd48 100644 --- a/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb +++ b/recipes-kernel/kernel-modules/kernel-module-nxp-wlan_git.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | SUMMARY = "NXP Wi-Fi driver for module 88w8801/8987/8997/9098 IW416/612" | 1 | SUMMARY = "NXP Wi-Fi driver for module 88w8801/8987/8997/9098 IW416/612" |
2 | LICENSE = "GPL-2.0-only" | 2 | LICENSE = "GPL-2.0-only" |
3 | LIC_FILES_CHKSUM = "file://../../LICENSE;md5=ab04ac0f249af12befccb94447c08b77" | 3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ab04ac0f249af12befccb94447c08b77" |
4 | 4 | ||
5 | # For backwards compatibility | 5 | # For backwards compatibility |
6 | PROVIDES += "kernel-module-nxp89xx" | 6 | PROVIDES += "kernel-module-nxp89xx" |
@@ -8,12 +8,12 @@ RREPLACES:${PN} = "kernel-module-nxp89xx" | |||
8 | RPROVIDES:${PN} = "kernel-module-nxp89xx" | 8 | RPROVIDES:${PN} = "kernel-module-nxp89xx" |
9 | RCONFLICTS:${PN} = "kernel-module-nxp89xx" | 9 | RCONFLICTS:${PN} = "kernel-module-nxp89xx" |
10 | 10 | ||
11 | SRCBRANCH = "lf-6.6.3_1.0.0" | 11 | SRCBRANCH = "lf-6.6.23_2.0.0" |
12 | MRVL_SRC ?= "git://github.com/nxp-imx/mwifiex.git;protocol=https" | 12 | MRVL_SRC ?= "git://github.com/nxp-imx/mwifiex.git;protocol=https" |
13 | SRC_URI = "${MRVL_SRC};branch=${SRCBRANCH}" | 13 | SRC_URI = "${MRVL_SRC};branch=${SRCBRANCH}" |
14 | SRCREV = "a84df583155bad2a396a937056805550bdf655ab" | 14 | SRCREV = "88372772badbf30152b3ad12ae251dc567095cab" |
15 | 15 | ||
16 | S = "${WORKDIR}/git/mxm_wifiex/wlan_src" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
18 | inherit module | 18 | inherit module |
19 | 19 | ||
diff --git a/recipes-multimedia/imx-codec/imx-codec_4.8.3.bb b/recipes-multimedia/imx-codec/imx-codec_4.9.0.bb index 0a2c71e7..761345ce 100644 --- a/recipes-multimedia/imx-codec/imx-codec_4.8.3.bb +++ b/recipes-multimedia/imx-codec/imx-codec_4.9.0.bb | |||
@@ -5,14 +5,14 @@ | |||
5 | DESCRIPTION = "Freescale Multimedia codec libs" | 5 | DESCRIPTION = "Freescale Multimedia codec libs" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | SECTION = "multimedia" | 7 | SECTION = "multimedia" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" |
9 | 9 | ||
10 | # Backward compatibility | 10 | # Backward compatibility |
11 | PROVIDES += "libfslcodec" | 11 | PROVIDES += "libfslcodec" |
12 | 12 | ||
13 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 13 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
14 | SRC_URI[md5sum] = "7ae1615aad2c0456b9be2ab804a6267e" | 14 | SRC_URI[md5sum] = "2208aa871e51aacf1910c59c24694572" |
15 | SRC_URI[sha256sum] = "9facb3541903b4a6c6baa906f8c2c6cc01fc8c7b82a726c8da6d3681d4ed720b" | 15 | SRC_URI[sha256sum] = "1a41a3cad9e0f4baa904fcec896105d3474e18d13f169dad1172d5691fc11c9a" |
16 | 16 | ||
17 | inherit fsl-eula-unpack autotools pkgconfig | 17 | inherit fsl-eula-unpack autotools pkgconfig |
18 | 18 | ||
diff --git a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.7.bb b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb index bc73bd9f..87cc0b30 100644 --- a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.7.bb +++ b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_2.1.8.bb | |||
@@ -2,14 +2,14 @@ | |||
2 | 2 | ||
3 | DESCRIPTION = "i.MX DSP Codec Wrapper and Lib owned by NXP" | 3 | DESCRIPTION = "i.MX DSP Codec Wrapper and Lib owned by NXP" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" |
6 | 6 | ||
7 | inherit fsl-eula-unpack autotools pkgconfig | 7 | inherit fsl-eula-unpack autotools pkgconfig |
8 | 8 | ||
9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
10 | 10 | ||
11 | SRC_URI[md5sum] = "32251bc952ca7b9a4b12fadb9328a8c1" | 11 | SRC_URI[md5sum] = "4250b61f23f49de9500ea8208f6e2be9" |
12 | SRC_URI[sha256sum] = "0baa82410a77c68e39aaa987d91b41c94255d62294fa2f5a399169f3068862cc" | 12 | SRC_URI[sha256sum] = "fa30f3e1b13e570d7c6f0a5f335c11fc3c6336a266fd3a4941e27c4c2a5b13d3" |
13 | 13 | ||
14 | EXTRA_OECONF:append:mx8qm-nxp-bsp = " --enable-imx8qmqxp" | 14 | EXTRA_OECONF:append:mx8qm-nxp-bsp = " --enable-imx8qmqxp" |
15 | EXTRA_OECONF:append:mx8qxp-nxp-bsp = " --enable-imx8qmqxp" | 15 | EXTRA_OECONF:append:mx8qxp-nxp-bsp = " --enable-imx8qmqxp" |
diff --git a/recipes-multimedia/imx-dsp/imx-dsp_2.1.7.bb b/recipes-multimedia/imx-dsp/imx-dsp_2.1.8.bb index 60761e6e..d260c816 100644 --- a/recipes-multimedia/imx-dsp/imx-dsp_2.1.7.bb +++ b/recipes-multimedia/imx-dsp/imx-dsp_2.1.8.bb | |||
@@ -2,15 +2,15 @@ | |||
2 | 2 | ||
3 | DESCRIPTION = "i.MX DSP Wrapper, Firmware Binary, Codec Libraries" | 3 | DESCRIPTION = "i.MX DSP Wrapper, Firmware Binary, Codec Libraries" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" |
6 | 6 | ||
7 | 7 | ||
8 | inherit fsl-eula-unpack autotools pkgconfig | 8 | inherit fsl-eula-unpack autotools pkgconfig |
9 | 9 | ||
10 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 10 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
11 | 11 | ||
12 | SRC_URI[md5sum] = "199f88716f289e93e0954fa6475a3cbc" | 12 | SRC_URI[md5sum] = "6699e619f941cfa2e2b99cc2a99b7575" |
13 | SRC_URI[sha256sum] = "83eaef592de33b4d5e8fae63d798cc955bf3c414911c87afeb65a20af01fb0b6" | 13 | SRC_URI[sha256sum] = "5d42c8f39fb36bcc48e9f0c4caffd125b89c257fa8eccb3b61608bc690a16462" |
14 | 14 | ||
15 | EXTRA_OECONF = " \ | 15 | EXTRA_OECONF = " \ |
16 | -datadir=${base_libdir}/firmware \ | 16 | -datadir=${base_libdir}/firmware \ |
diff --git a/recipes-multimedia/imx-parser/imx-parser_4.8.3.bb b/recipes-multimedia/imx-parser/imx-parser_4.9.0.bb index 4e580085..4bbf6dfb 100644 --- a/recipes-multimedia/imx-parser/imx-parser_4.8.3.bb +++ b/recipes-multimedia/imx-parser/imx-parser_4.9.0.bb | |||
@@ -5,7 +5,7 @@ | |||
5 | DESCRIPTION = "Freescale Multimedia parser libs" | 5 | DESCRIPTION = "Freescale Multimedia parser libs" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | SECTION = "multimedia" | 7 | SECTION = "multimedia" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" |
9 | 9 | ||
10 | # For backwards compatibility | 10 | # For backwards compatibility |
11 | PROVIDES += "libfslparser" | 11 | PROVIDES += "libfslparser" |
@@ -14,8 +14,8 @@ RPROVIDES:${PN} = "libfslparser" | |||
14 | RCONFLICTS:${PN} = "libfslparser" | 14 | RCONFLICTS:${PN} = "libfslparser" |
15 | 15 | ||
16 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 16 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
17 | SRC_URI[md5sum] = "9bca484287f5592b86ed10c1761a3fcc" | 17 | SRC_URI[md5sum] = "700b4cf3ba547dc740a064787f528af0" |
18 | SRC_URI[sha256sum] = "b25267eefb4618b2ba8d6aba46a5b4e09621a44115036fc896e0777006472043" | 18 | SRC_URI[sha256sum] = "2f0fc3955f824936c359b3cb738549213823b0c366b2362bba593058da745677" |
19 | 19 | ||
20 | inherit fsl-eula-unpack autotools pkgconfig | 20 | inherit fsl-eula-unpack autotools pkgconfig |
21 | 21 | ||
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_VCencoder-add-sys-time.h-for-gett.patch b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_VCencoder-add-sys-time.h-for-gett.patch new file mode 100644 index 00000000..ab8b50de --- /dev/null +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap/0001-vpu_wrapper_hantro_VCencoder-add-sys-time.h-for-gett.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From a57daf8f58cf69be06de8ebc9eab3a3077143760 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hiago De Franco <hiago.franco@toradex.com> | ||
3 | Date: Fri, 26 Jul 2024 14:43:55 -0300 | ||
4 | Subject: [PATCH] vpu_wrapper_hantro_VCencoder: add sys/time.h for gettimeofday | ||
5 | |||
6 | Fixes: | ||
7 | | ../git/vpu_wrapper_hantro_VCencoder.c:1965:5: error: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration] | ||
8 | | 1965 | gettimeofday (&pObj->tvBegin, NULL); | ||
9 | | | ^~~~~~~~~~~~ | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/nxp-imx/imx-vpuwrap/pull/2] | ||
12 | Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> | ||
13 | --- | ||
14 | vpu_wrapper_hantro_VCencoder.c | 1 + | ||
15 | 1 file changed, 1 insertion(+) | ||
16 | |||
17 | diff --git a/vpu_wrapper_hantro_VCencoder.c b/vpu_wrapper_hantro_VCencoder.c | ||
18 | index efae31a77ca4..6185cfc067d1 100755 | ||
19 | --- a/vpu_wrapper_hantro_VCencoder.c | ||
20 | +++ b/vpu_wrapper_hantro_VCencoder.c | ||
21 | @@ -17,6 +17,7 @@ | ||
22 | #include <stdio.h> | ||
23 | #include <stdlib.h> | ||
24 | #include <string.h> | ||
25 | +#include <sys/time.h> | ||
26 | #include <time.h> | ||
27 | #include <math.h> | ||
28 | #include <fcntl.h> | ||
29 | -- | ||
30 | 2.39.2 | ||
31 | |||
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb index bae9c928..f7a8e352 100644 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_git.bb | |||
@@ -5,7 +5,7 @@ | |||
5 | DESCRIPTION = "Freescale Multimedia VPU wrapper" | 5 | DESCRIPTION = "Freescale Multimedia VPU wrapper" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | SECTION = "multimedia" | 7 | SECTION = "multimedia" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=10c0fda810c63b052409b15a5445671a" |
9 | 9 | ||
10 | DEPENDS = "virtual/imxvpu" | 10 | DEPENDS = "virtual/imxvpu" |
11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | 11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" |
@@ -13,9 +13,10 @@ DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | |||
13 | SRC_URI = " \ | 13 | SRC_URI = " \ |
14 | git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH} \ | 14 | git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH} \ |
15 | file://0001-vpu_wrapper_hantro_encoder-add-sys-time.h-for-gettim.patch \ | 15 | file://0001-vpu_wrapper_hantro_encoder-add-sys-time.h-for-gettim.patch \ |
16 | file://0001-vpu_wrapper_hantro_VCencoder-add-sys-time.h-for-gett.patch \ | ||
16 | " | 17 | " |
17 | SRCBRANCH = "MM_04.08.03_2312_L6.6.y" | 18 | SRCBRANCH = "MM_04.09.00_2405_L6.6.y" |
18 | SRCREV = "f974cecdb00b4a214e4b5229f2279e772ee43306" | 19 | SRCREV = "73093da30dc4053c9f69813a6447091bfca5429b" |
19 | 20 | ||
20 | S = "${WORKDIR}/git" | 21 | S = "${WORKDIR}/git" |
21 | 22 | ||