diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2022-08-18 08:21:59 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 08:21:59 -0300 |
commit | 931407db1a8199f3088dcb8a431b285fe0399b21 (patch) | |
tree | 116abf1930c9c7612dc3992626c80538b7dd4d2c | |
parent | ffaf86645d69755a3345c2d57b419bc66809eb63 (diff) | |
parent | fa714a93f00351c20cc0d70e8108a0fead1bf5de (diff) | |
download | meta-freescale-931407db1a8199f3088dcb8a431b285fe0399b21.tar.gz |
Merge pull request #1171 from thochstein/recipes-bsp
recipes-bsp: updates from NXP release 5.15.32-2.0.0
24 files changed, 74 insertions, 352 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend b/recipes-bsp/alsa-state/alsa-state.bbappend index b4b1eddf..1b05b7bd 100644 --- a/recipes-bsp/alsa-state/alsa-state.bbappend +++ b/recipes-bsp/alsa-state/alsa-state.bbappend | |||
@@ -1,4 +1,4 @@ | |||
1 | # Prepend path to override files from upstream recipe | ||
1 | FILESEXTRAPATHS:prepend:imx-generic-bsp := "${THISDIR}/${PN}/imx-generic-bsp:" | 2 | FILESEXTRAPATHS:prepend:imx-generic-bsp := "${THISDIR}/${PN}/imx-generic-bsp:" |
2 | 3 | ||
3 | # Append path for freescale layer | ||
4 | PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}" | 4 | PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}" |
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8.15.inc b/recipes-bsp/firmware-imx/firmware-imx-8.16.inc index 73f627fb..807d2381 100644 --- a/recipes-bsp/firmware-imx/firmware-imx-8.15.inc +++ b/recipes-bsp/firmware-imx/firmware-imx-8.16.inc | |||
@@ -3,14 +3,14 @@ | |||
3 | # Copyright (C) 2018 O.S. Systems Software LTDA. | 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. |
4 | SECTION = "base" | 4 | SECTION = "base" |
5 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=be5ff43682ed6c57dfcbeb97651c2829" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" |
7 | 7 | ||
8 | SRC_URI = " \ | 8 | SRC_URI = " \ |
9 | ${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \ | 9 | ${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \ |
10 | " | 10 | " |
11 | 11 | ||
12 | SRC_URI[md5sum] = "ef91390da6c8a6a48c8121a5dd667de8" | 12 | SRC_URI[md5sum] = "9ed2923c0eb511c7fcf37dd607944124" |
13 | SRC_URI[sha256sum] = "937e196476b8e95b4b7f2501a14c8326d8a0649f8a3f9228b72373770a08deb3" | 13 | SRC_URI[sha256sum] = "65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84" |
14 | 14 | ||
15 | S = "${WORKDIR}/firmware-imx-${PV}" | 15 | S = "${WORKDIR}/firmware-imx-${PV}" |
16 | 16 | ||
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8_8.15.bb b/recipes-bsp/firmware-imx/firmware-imx-8_8.16.bb index 18ce14d3..18ce14d3 100644 --- a/recipes-bsp/firmware-imx/firmware-imx-8_8.15.bb +++ b/recipes-bsp/firmware-imx/firmware-imx-8_8.16.bb | |||
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8m_8.15.bb b/recipes-bsp/firmware-imx/firmware-imx-8m_8.16.bb index 152ef0b5..152ef0b5 100644 --- a/recipes-bsp/firmware-imx/firmware-imx-8m_8.15.bb +++ b/recipes-bsp/firmware-imx/firmware-imx-8m_8.16.bb | |||
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.15.bb b/recipes-bsp/firmware-imx/firmware-imx_8.16.bb index f84ea1fa..f84ea1fa 100644 --- a/recipes-bsp/firmware-imx/firmware-imx_8.15.bb +++ b/recipes-bsp/firmware-imx/firmware-imx_8.16.bb | |||
diff --git a/recipes-bsp/imx-atf/imx-atf_2.6.bb b/recipes-bsp/imx-atf/imx-atf_2.6.bb index 194ef935..b0426f0b 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.6.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.6.bb | |||
@@ -1,28 +1,26 @@ | |||
1 | # Copyright (C) 2017-2021 NXP | 1 | # Copyright (C) 2017-2022 NXP |
2 | 2 | ||
3 | DESCRIPTION = "i.MX ARM Trusted Firmware" | 3 | DESCRIPTION = "i.MX ARM Trusted Firmware" |
4 | SECTION = "BSP" | 4 | SECTION = "BSP" |
5 | LICENSE = "BSD-3-Clause" | 5 | LICENSE = "BSD-3-Clause" |
6 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" | 6 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" |
7 | 7 | ||
8 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | ||
9 | |||
10 | PV .= "+git${SRCPV}" | 8 | PV .= "+git${SRCPV}" |
11 | 9 | ||
12 | SRCBRANCH = "lf_v2.6" | ||
13 | SRC_URI = "git://source.codeaurora.org/external/imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ | 10 | SRC_URI = "git://source.codeaurora.org/external/imx/imx-atf.git;protocol=https;branch=${SRCBRANCH} \ |
14 | file://0001-Makefile-Suppress-array-bounds-error.patch" | 11 | file://0001-Makefile-Suppress-array-bounds-error.patch" |
12 | SRCBRANCH = "lf_v2.6" | ||
15 | SRCREV = "c6a19b1a351308cc73443283f6aa56b2eff791b8" | 13 | SRCREV = "c6a19b1a351308cc73443283f6aa56b2eff791b8" |
16 | 14 | ||
17 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
18 | 16 | ||
19 | inherit deploy | 17 | inherit deploy |
20 | 18 | ||
21 | ATF_PLATFORM ??= "INVALID" | 19 | ATF_PLATFORM ??= "INVALID" |
22 | 20 | ||
23 | # FIXME: We should return INVALID here but currently only i.MX8M has support to override the UART | 21 | # FIXME: We should return INVALID here but currently only i.MX8M has support to override the UART |
24 | # base address in source code. | 22 | # base address in source code. |
25 | ATF_BOOT_UART_BASE ?= "" | 23 | ATF_BOOT_UART_BASE ?= "" |
26 | 24 | ||
27 | EXTRA_OEMAKE += " \ | 25 | EXTRA_OEMAKE += " \ |
28 | CROSS_COMPILE="${TARGET_PREFIX}" \ | 26 | CROSS_COMPILE="${TARGET_PREFIX}" \ |
@@ -61,20 +59,20 @@ do_compile() { | |||
61 | # Clear LDFLAGS to avoid the option -Wl recognize issue | 59 | # Clear LDFLAGS to avoid the option -Wl recognize issue |
62 | oe_runmake bl31 | 60 | oe_runmake bl31 |
63 | if ${BUILD_OPTEE}; then | 61 | if ${BUILD_OPTEE}; then |
64 | oe_runmake clean BUILD_BASE=build-optee | 62 | oe_runmake clean BUILD_BASE=build-optee |
65 | oe_runmake BUILD_BASE=build-optee SPD=opteed bl31 | 63 | oe_runmake BUILD_BASE=build-optee SPD=opteed bl31 |
66 | fi | 64 | fi |
67 | } | 65 | } |
68 | 66 | ||
69 | do_install[noexec] = "1" | 67 | do_install[noexec] = "1" |
70 | 68 | ||
69 | addtask deploy after do_compile | ||
71 | do_deploy() { | 70 | do_deploy() { |
72 | install -Dm 0644 ${S}/build/${ATF_PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${ATF_PLATFORM}.bin | 71 | install -Dm 0644 ${S}/build/${ATF_PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${ATF_PLATFORM}.bin |
73 | if ${BUILD_OPTEE}; then | 72 | if ${BUILD_OPTEE}; then |
74 | install -m 0644 ${S}/build-optee/${ATF_PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${ATF_PLATFORM}.bin-optee | 73 | install -m 0644 ${S}/build-optee/${ATF_PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${ATF_PLATFORM}.bin-optee |
75 | fi | 74 | fi |
76 | } | 75 | } |
77 | addtask deploy after do_compile | ||
78 | 76 | ||
79 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 77 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
80 | COMPATIBLE_MACHINE = "(mx8-generic-bsp)" | 78 | COMPATIBLE_MACHINE = "(mx8-generic-bsp)" |
diff --git a/recipes-bsp/imx-mkimage/files/0001-Add-LDFLAGS-to-link-step.patch b/recipes-bsp/imx-mkimage/files/0001-Add-LDFLAGS-to-link-step.patch deleted file mode 100644 index f8c68d45..00000000 --- a/recipes-bsp/imx-mkimage/files/0001-Add-LDFLAGS-to-link-step.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 2a6e2d40a4af78d4a0824e384c3aec55db758fee Mon Sep 17 00:00:00 2001 | ||
2 | From: Erik Larsson <erik.larsson@combitech.se> | ||
3 | Date: Tue, 6 Mar 2018 12:28:39 +0100 | ||
4 | Subject: [PATCH] Add LDFLAGS to link step | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Erik Larsson <karl.erik.larsson@gmail.com> | ||
9 | --- | ||
10 | iMX8M/soc.mak | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak | ||
14 | index 03b05f7aafeb..4d5df0777704 100644 | ||
15 | --- a/iMX8M/soc.mak | ||
16 | +++ b/iMX8M/soc.mak | ||
17 | @@ -84,7 +84,7 @@ FW_DIR = imx-boot/imx-boot-tools/$(PLAT) | ||
18 | $(MKIMG): mkimage_imx8.c | ||
19 | @echo "PLAT="$(PLAT) "HDMI="$(HDMI) | ||
20 | @echo "Compiling mkimage_imx8" | ||
21 | - $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) -lz | ||
22 | + $(CC) $(CFLAGS) mkimage_imx8.c -o $(MKIMG) $(BUILD_LDFLAGS) -lz | ||
23 | |||
24 | lpddr4_imem_1d = lpddr4_pmu_train_1d_imem$(LPDDR_FW_VERSION).bin | ||
25 | lpddr4_dmem_1d = lpddr4_pmu_train_1d_dmem$(LPDDR_FW_VERSION).bin | ||
26 | -- | ||
27 | 2.35.1 | ||
28 | |||
diff --git a/recipes-bsp/imx-mkimage/files/0001-Add-support-for-overriding-BL31-BL32-and-BL33.patch b/recipes-bsp/imx-mkimage/files/0001-Add-support-for-overriding-BL31-BL32-and-BL33.patch deleted file mode 100644 index 4e0d954a..00000000 --- a/recipes-bsp/imx-mkimage/files/0001-Add-support-for-overriding-BL31-BL32-and-BL33.patch +++ /dev/null | |||
@@ -1,62 +0,0 @@ | |||
1 | From 8fc8fc3dfce7533b9c965185277d34e27055cc8f Mon Sep 17 00:00:00 2001 | ||
2 | From: Thomas Perrot <thomas.perrot@bootlin.com> | ||
3 | Date: Tue, 26 Apr 2022 15:10:04 +0200 | ||
4 | Subject: [PATCH] Add support for overriding BL31, BL32 and BL33 | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> | ||
9 | --- | ||
10 | iMX8M/print_fit_hab.sh | 14 +++++++++----- | ||
11 | 1 file changed, 9 insertions(+), 5 deletions(-) | ||
12 | |||
13 | diff --git a/iMX8M/print_fit_hab.sh b/iMX8M/print_fit_hab.sh | ||
14 | index b915115d1ecc..dbc28f2d9af5 100755 | ||
15 | --- a/iMX8M/print_fit_hab.sh | ||
16 | +++ b/iMX8M/print_fit_hab.sh | ||
17 | @@ -1,12 +1,16 @@ | ||
18 | #!/bin/bash | ||
19 | |||
20 | -BL32="tee.bin" | ||
21 | - | ||
22 | let fit_off=$1 | ||
23 | |||
24 | # keep backward compatibility | ||
25 | [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" | ||
26 | |||
27 | +[ -z "$BL31" ] && BL31="bl31.bin" | ||
28 | + | ||
29 | +[ -z "$BL32" ] && BL32="tee.bin" | ||
30 | + | ||
31 | +[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" | ||
32 | + | ||
33 | if [ -z "$ATF_LOAD_ADDR" ]; then | ||
34 | echo "ERROR: BL31 load address is not set" >&2 | ||
35 | exit 0 | ||
36 | @@ -26,7 +30,7 @@ else | ||
37 | let uboot_sign_off=$((fit_off - 0x8000 - ivt_off + 0x3000)) | ||
38 | fi | ||
39 | |||
40 | -let uboot_size=$(ls -lct u-boot-nodtb.bin | awk '{print $5}') | ||
41 | +let uboot_size=$(ls -lct $BL33 | awk '{print $5}') | ||
42 | let uboot_load_addr=0x40200000 | ||
43 | |||
44 | let last_sign_off=$(((uboot_sign_off + uboot_size + 3) & ~3)) | ||
45 | @@ -64,13 +68,13 @@ done | ||
46 | |||
47 | let atf_sign_off=$((last_sign_off)) | ||
48 | let atf_load_addr=$ATF_LOAD_ADDR | ||
49 | -let atf_size=$(ls -lct bl31.bin | awk '{print $5}') | ||
50 | +let atf_size=$(ls -lct $BL31 | awk '{print $5}') | ||
51 | |||
52 | if [ ! -f $BL32 ]; then | ||
53 | let tee_size=0x0 | ||
54 | let tee_sign_off=$((atf_sign_off + atf_size)) | ||
55 | else | ||
56 | - let tee_size=$(ls -lct tee.bin | awk '{print $5}') | ||
57 | + let tee_size=$(ls -lct $BL32 | awk '{print $5}') | ||
58 | |||
59 | let tee_sign_off=$(((atf_sign_off + atf_size + 3) & ~3)) | ||
60 | let tee_load_addr=$TEE_LOAD_ADDR | ||
61 | -- | ||
62 | 2.35.1 | ||
diff --git a/recipes-bsp/imx-mkimage/files/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch b/recipes-bsp/imx-mkimage/files/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch deleted file mode 100644 index 72d83e63..00000000 --- a/recipes-bsp/imx-mkimage/files/0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | From ef28030129a04b1d70dbca3f2236fe7b1c67b4ed Mon Sep 17 00:00:00 2001 | ||
2 | From: Erik Larsson <erik.larsson@combitech.se> | ||
3 | Date: Thu, 8 Mar 2018 19:04:37 +0100 | ||
4 | Subject: [PATCH] Add support for overriding BL32 and BL33 not only BL31 | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Erik Larsson <karl.erik.larsson@gmail.com> | ||
9 | Signed-off-by: Christopher Dahlberg <crille.dahlberg@gmail.com> | ||
10 | Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> | ||
11 | Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> | ||
12 | --- | ||
13 | iMX8M/mkimage_fit_atf.sh | 19 ++++++++++--------- | ||
14 | 1 file changed, 10 insertions(+), 9 deletions(-) | ||
15 | |||
16 | diff --git a/iMX8M/mkimage_fit_atf.sh b/iMX8M/mkimage_fit_atf.sh | ||
17 | index 10903ea3bbf5..341a4b3da1ef 100755 | ||
18 | --- a/iMX8M/mkimage_fit_atf.sh | ||
19 | +++ b/iMX8M/mkimage_fit_atf.sh | ||
20 | @@ -6,6 +6,7 @@ | ||
21 | # usage: $0 <dt_name> [<dt_name> [<dt_name] ...] | ||
22 | |||
23 | [ -z "$BL31" ] && BL31="bl31.bin" | ||
24 | + | ||
25 | # keep backward compatibility | ||
26 | [ -z "$TEE_LOAD_ADDR" ] && TEE_LOAD_ADDR="0xfe000000" | ||
27 | |||
28 | @@ -18,23 +19,23 @@ if [ ! -f $BL31 ]; then | ||
29 | echo "ERROR: BL31 file $BL31 NOT found" >&2 | ||
30 | exit 0 | ||
31 | else | ||
32 | - echo "bl31.bin size: " >&2 | ||
33 | - ls -lct bl31.bin | awk '{print $5}' >&2 | ||
34 | + echo "$BL31 size: " >&2 | ||
35 | + ls -lct $BL31 | awk '{print $5}' >&2 | ||
36 | fi | ||
37 | |||
38 | -BL32="tee.bin" | ||
39 | +[ -z "$BL32" ] && BL32="tee.bin" | ||
40 | LOADABLES="\"atf-1\"" | ||
41 | |||
42 | if [ ! -f $BL32 ]; then | ||
43 | BL32=/dev/null | ||
44 | else | ||
45 | - echo "Building with TEE support, make sure your bl31 is compiled with spd. If you do not want tee, please delete tee.bin" >&2 | ||
46 | - echo "tee.bin size: " >&2 | ||
47 | - ls -lct tee.bin | awk '{print $5}' >&2 | ||
48 | + echo "Building with TEE support, make sure $BL31 is compiled with spd. If you do not want tee, please delete $BL32" >&2 | ||
49 | + echo "$BL32 size: " >&2 | ||
50 | + ls -lct $BL32 | awk '{print $5}' >&2 | ||
51 | LOADABLES="$LOADABLES, \"tee-1\"" | ||
52 | fi | ||
53 | |||
54 | -BL33="u-boot-nodtb.bin" | ||
55 | +[ -z "$BL33" ] && BL33="u-boot-nodtb.bin" | ||
56 | DEK_BLOB="dek_blob_fit_dummy.bin" | ||
57 | |||
58 | if [ ! -f $DEK_BLOB ]; then | ||
59 | @@ -49,8 +50,8 @@ if [ ! -f $BL33 ]; then | ||
60 | exit 0 | ||
61 | else | ||
62 | |||
63 | - echo "u-boot-nodtb.bin size: " >&2 | ||
64 | - ls -lct u-boot-nodtb.bin | awk '{print $5}' >&2 | ||
65 | + echo "$BL33 size: " >&2 | ||
66 | + ls -lct $BL33 | awk '{print $5}' >&2 | ||
67 | fi | ||
68 | |||
69 | for dtname in $* | ||
70 | -- | ||
71 | 2.35.1 | ||
diff --git a/recipes-bsp/imx-mkimage/files/0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch b/recipes-bsp/imx-mkimage/files/0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch index a879208c..e82b6bee 100644 --- a/recipes-bsp/imx-mkimage/files/0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch +++ b/recipes-bsp/imx-mkimage/files/0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From a4af3747abd88247bf4498ec0cf67a4151e64d41 Mon Sep 17 00:00:00 2001 | 1 | From 2734c670dc4062015d05559a94fa988da5d705e6 Mon Sep 17 00:00:00 2001 |
2 | From: Andrey Zhizhikin <andrey.z@gmail.com> | 2 | From: Andrey Zhizhikin <andrey.z@gmail.com> |
3 | Date: Thu, 21 Oct 2021 08:53:38 +0000 | 3 | Date: Thu, 21 Oct 2021 08:53:38 +0000 |
4 | Subject: [PATCH] iMX8M: soc.mak: use native mkimage from sysroot | 4 | Subject: [PATCH] iMX8M: soc.mak: use native mkimage from sysroot |
@@ -21,19 +21,19 @@ Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> | |||
21 | 1 file changed, 5 insertions(+), 6 deletions(-) | 21 | 1 file changed, 5 insertions(+), 6 deletions(-) |
22 | 22 | ||
23 | diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak | 23 | diff --git a/iMX8M/soc.mak b/iMX8M/soc.mak |
24 | index 4bfdc37..03b05f7 100644 | 24 | index a98195e..60502d8 100644 |
25 | --- a/iMX8M/soc.mak | 25 | --- a/iMX8M/soc.mak |
26 | +++ b/iMX8M/soc.mak | 26 | +++ b/iMX8M/soc.mak |
27 | @@ -148,7 +148,7 @@ u-boot.itb: $(dtb) | 27 | @@ -149,7 +149,7 @@ u-boot.itb: $(dtb) |
28 | ./$(PAD_IMAGE) bl31.bin | 28 | ./$(PAD_IMAGE) bl31.bin |
29 | ./$(PAD_IMAGE) u-boot-nodtb.bin $(dtb) | 29 | ./$(PAD_IMAGE) u-boot-nodtb.bin $(dtb) |
30 | DEK_BLOB_LOAD_ADDR=$(DEK_BLOB_LOAD_ADDR) TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) ATF_LOAD_ADDR=$(ATF_LOAD_ADDR) ./mkimage_fit_atf.sh $(dtb) > u-boot.its | 30 | BL32=$(TEE) DEK_BLOB_LOAD_ADDR=$(DEK_BLOB_LOAD_ADDR) TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) ATF_LOAD_ADDR=$(ATF_LOAD_ADDR) ./mkimage_fit_atf.sh $(dtb) > u-boot.its |
31 | - ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb | 31 | - ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb |
32 | + mkimage -E -p 0x3000 -f u-boot.its u-boot.itb | 32 | + mkimage -E -p 0x3000 -f u-boot.its u-boot.itb |
33 | @rm -f u-boot.its $(dtb) | 33 | @rm -f u-boot.its $(dtb) |
34 | 34 | ||
35 | dtb_ddr3l = valddr3l.dtb | 35 | dtb_ddr3l = valddr3l.dtb |
36 | @@ -160,7 +160,7 @@ u-boot-ddr3l.itb: $(dtb_ddr3l) | 36 | @@ -161,7 +161,7 @@ u-boot-ddr3l.itb: $(dtb_ddr3l) |
37 | ./$(PAD_IMAGE) bl31.bin | 37 | ./$(PAD_IMAGE) bl31.bin |
38 | ./$(PAD_IMAGE) u-boot-nodtb.bin $(dtb_ddr3l) | 38 | ./$(PAD_IMAGE) u-boot-nodtb.bin $(dtb_ddr3l) |
39 | DEK_BLOB_LOAD_ADDR=$(DEK_BLOB_LOAD_ADDR) TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) ATF_LOAD_ADDR=$(ATF_LOAD_ADDR) ./mkimage_fit_atf.sh $(dtb_ddr3l) > u-boot-ddr3l.its | 39 | DEK_BLOB_LOAD_ADDR=$(DEK_BLOB_LOAD_ADDR) TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) ATF_LOAD_ADDR=$(ATF_LOAD_ADDR) ./mkimage_fit_atf.sh $(dtb_ddr3l) > u-boot-ddr3l.its |
@@ -42,7 +42,7 @@ index 4bfdc37..03b05f7 100644 | |||
42 | @rm -f u-boot.its $(dtb_ddr3l) | 42 | @rm -f u-boot.its $(dtb_ddr3l) |
43 | 43 | ||
44 | dtb_ddr3l_evk = evkddr3l.dtb | 44 | dtb_ddr3l_evk = evkddr3l.dtb |
45 | @@ -172,7 +172,7 @@ u-boot-ddr3l-evk.itb: $(dtb_ddr3l_evk) | 45 | @@ -173,7 +173,7 @@ u-boot-ddr3l-evk.itb: $(dtb_ddr3l_evk) |
46 | ./$(PAD_IMAGE) bl31.bin | 46 | ./$(PAD_IMAGE) bl31.bin |
47 | ./$(PAD_IMAGE) u-boot-nodtb.bin $(dtb_ddr3l_evk) | 47 | ./$(PAD_IMAGE) u-boot-nodtb.bin $(dtb_ddr3l_evk) |
48 | DEK_BLOB_LOAD_ADDR=$(DEK_BLOB_LOAD_ADDR) TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) ATF_LOAD_ADDR=$(ATF_LOAD_ADDR) ./mkimage_fit_atf.sh $(dtb_ddr3l_evk) > u-boot-ddr3l-evk.its | 48 | DEK_BLOB_LOAD_ADDR=$(DEK_BLOB_LOAD_ADDR) TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) ATF_LOAD_ADDR=$(ATF_LOAD_ADDR) ./mkimage_fit_atf.sh $(dtb_ddr3l_evk) > u-boot-ddr3l-evk.its |
@@ -51,7 +51,7 @@ index 4bfdc37..03b05f7 100644 | |||
51 | @rm -f u-boot.its $(dtb_ddr3l_evk) | 51 | @rm -f u-boot.its $(dtb_ddr3l_evk) |
52 | 52 | ||
53 | dtb_ddr4 = valddr4.dtb | 53 | dtb_ddr4 = valddr4.dtb |
54 | @@ -184,7 +184,7 @@ u-boot-ddr4.itb: $(dtb_ddr4) | 54 | @@ -185,7 +185,7 @@ u-boot-ddr4.itb: $(dtb_ddr4) |
55 | ./$(PAD_IMAGE) bl31.bin | 55 | ./$(PAD_IMAGE) bl31.bin |
56 | ./$(PAD_IMAGE) u-boot-nodtb.bin $(dtb_ddr4) | 56 | ./$(PAD_IMAGE) u-boot-nodtb.bin $(dtb_ddr4) |
57 | DEK_BLOB_LOAD_ADDR=$(DEK_BLOB_LOAD_ADDR) TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) ATF_LOAD_ADDR=$(ATF_LOAD_ADDR) ./mkimage_fit_atf.sh $(dtb_ddr4) > u-boot-ddr4.its | 57 | DEK_BLOB_LOAD_ADDR=$(DEK_BLOB_LOAD_ADDR) TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) ATF_LOAD_ADDR=$(ATF_LOAD_ADDR) ./mkimage_fit_atf.sh $(dtb_ddr4) > u-boot-ddr4.its |
@@ -60,7 +60,7 @@ index 4bfdc37..03b05f7 100644 | |||
60 | @rm -f u-boot.its $(dtb_ddr4) | 60 | @rm -f u-boot.its $(dtb_ddr4) |
61 | 61 | ||
62 | dtb_ddr4_evk = evkddr4.dtb | 62 | dtb_ddr4_evk = evkddr4.dtb |
63 | @@ -196,7 +196,7 @@ u-boot-ddr4-evk.itb: $(dtb_ddr4_evk) | 63 | @@ -197,7 +197,7 @@ u-boot-ddr4-evk.itb: $(dtb_ddr4_evk) |
64 | ./$(PAD_IMAGE) bl31.bin | 64 | ./$(PAD_IMAGE) bl31.bin |
65 | ./$(PAD_IMAGE) u-boot-nodtb.bin $(dtb_ddr4_evk) | 65 | ./$(PAD_IMAGE) u-boot-nodtb.bin $(dtb_ddr4_evk) |
66 | DEK_BLOB_LOAD_ADDR=$(DEK_BLOB_LOAD_ADDR) TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) ATF_LOAD_ADDR=$(ATF_LOAD_ADDR) ./mkimage_fit_atf.sh $(dtb_ddr4_evk) > u-boot-ddr4-evk.its | 66 | DEK_BLOB_LOAD_ADDR=$(DEK_BLOB_LOAD_ADDR) TEE_LOAD_ADDR=$(TEE_LOAD_ADDR) ATF_LOAD_ADDR=$(ATF_LOAD_ADDR) ./mkimage_fit_atf.sh $(dtb_ddr4_evk) > u-boot-ddr4-evk.its |
@@ -69,7 +69,7 @@ index 4bfdc37..03b05f7 100644 | |||
69 | @rm -f u-boot.its $(dtb_ddr4_evk) | 69 | @rm -f u-boot.its $(dtb_ddr4_evk) |
70 | 70 | ||
71 | ifeq ($(HDMI),yes) | 71 | ifeq ($(HDMI),yes) |
72 | @@ -312,7 +312,6 @@ nightly : | 72 | @@ -318,7 +318,6 @@ nightly : |
73 | @$(WGET) -q $(SERVER)/$(DIR)/$(FW_DIR)/fsl-$(PLAT)-evk.dtb -O fsl-$(PLAT)-evk.dtb | 73 | @$(WGET) -q $(SERVER)/$(DIR)/$(FW_DIR)/fsl-$(PLAT)-evk.dtb -O fsl-$(PLAT)-evk.dtb |
74 | @$(WGET) -q $(SERVER)/$(DIR)/$(FW_DIR)/signed_hdmi_imx8m.bin -O signed_hdmi_imx8m.bin | 74 | @$(WGET) -q $(SERVER)/$(DIR)/$(FW_DIR)/signed_hdmi_imx8m.bin -O signed_hdmi_imx8m.bin |
75 | @$(WGET) -q $(SERVER)/$(DIR)/$(FW_DIR)/signed_dp_imx8m.bin -O signed_dp_imx8m.bin | 75 | @$(WGET) -q $(SERVER)/$(DIR)/$(FW_DIR)/signed_dp_imx8m.bin -O signed_dp_imx8m.bin |
diff --git a/recipes-bsp/imx-mkimage/files/0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch b/recipes-bsp/imx-mkimage/files/0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch deleted file mode 100644 index 5a4a895b..00000000 --- a/recipes-bsp/imx-mkimage/files/0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | From f281b935985f1b592534ee2837ce0d0b28c7dc43 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andrey Zhizhikin <andrey.z@gmail.com> | ||
3 | Date: Tue, 11 Jan 2022 15:32:05 -0600 | ||
4 | Subject: [PATCH] mkimage_fit_atf: fix fit generator node naming | ||
5 | |||
6 | Extend sections which contains "firmware" in their types with "os" | ||
7 | parameter to conform to the latest FIT specification. | ||
8 | |||
9 | Indicate that load and entry addresses are covered by one 32-bit value | ||
10 | by adding "address-cells" in the root node of the generated ITS. | ||
11 | |||
12 | Upstream-Status: Inappropriate [script is imx-boot specific] | ||
13 | Link: [1] https://github.com/u-boot/u-boot/commit/79af75f7776fc20b0d7eb6afe1e27c00fdb4b9b4 | ||
14 | Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> | ||
15 | Cc: Tom Hochstein <tom.hochstein@nxp.com> | ||
16 | --- | ||
17 | iMX8M/mkimage_fit_atf.sh | 4 ++++ | ||
18 | 1 file changed, 4 insertions(+) | ||
19 | |||
20 | diff --git a/iMX8M/mkimage_fit_atf.sh b/iMX8M/mkimage_fit_atf.sh | ||
21 | index 4f2b3f3..10903ea 100755 | ||
22 | --- a/iMX8M/mkimage_fit_atf.sh | ||
23 | +++ b/iMX8M/mkimage_fit_atf.sh | ||
24 | @@ -64,10 +64,12 @@ cat << __HEADER_EOF | ||
25 | |||
26 | / { | ||
27 | description = "Configuration to load ATF before U-Boot"; | ||
28 | + #address-cells = <1>; | ||
29 | |||
30 | images { | ||
31 | uboot-1 { | ||
32 | description = "U-Boot (64-bit)"; | ||
33 | + os = "u-boot"; | ||
34 | data = /incbin/("$BL33"); | ||
35 | type = "standalone"; | ||
36 | arch = "arm64"; | ||
37 | @@ -93,6 +95,7 @@ done | ||
38 | cat << __HEADER_EOF | ||
39 | atf-1 { | ||
40 | description = "ARM Trusted Firmware"; | ||
41 | + os = "arm-trusted-firmware"; | ||
42 | data = /incbin/("$BL31"); | ||
43 | type = "firmware"; | ||
44 | arch = "arm64"; | ||
45 | @@ -106,6 +109,7 @@ if [ -f $BL32 ]; then | ||
46 | cat << __HEADER_EOF | ||
47 | tee-1 { | ||
48 | description = "TEE firmware"; | ||
49 | + os = "op-tee-firmware"; | ||
50 | data = /incbin/("$BL32"); | ||
51 | type = "firmware"; | ||
52 | arch = "arm64"; | ||
53 | -- | ||
54 | 2.17.1 | ||
55 | |||
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.bb b/recipes-bsp/imx-mkimage/imx-mkimage_git.bb index 4906121f..0add1c92 100644 --- a/recipes-bsp/imx-mkimage/imx-mkimage_git.bb +++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | # Copyright (C) 2016 Freescale Semiconductor | 1 | # Copyright (C) 2016 Freescale Semiconductor |
2 | # Copyright (C) 2017-2021 NXP | 2 | # Copyright (C) 2017-2022 NXP |
3 | 3 | ||
4 | require imx-mkimage_git.inc | 4 | require imx-mkimage_git.inc |
5 | 5 | ||
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc index 165ba64e..6db6a883 100644 --- a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc +++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc | |||
@@ -1,16 +1,13 @@ | |||
1 | # Copyright 2017-2021 NXP | 1 | # Copyright 2017-2022 NXP |
2 | 2 | ||
3 | DEPENDS = "zlib-native openssl-native" | 3 | DEPENDS = "zlib-native openssl-native" |
4 | 4 | ||
5 | SRCBRANCH = "lf-5.15.5_1.0.0" | ||
6 | SRC_URI = "git://source.codeaurora.org/external/imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ | 5 | SRC_URI = "git://source.codeaurora.org/external/imx/imx-mkimage.git;protocol=https;branch=${SRCBRANCH} \ |
7 | file://0001-mkimage_fit_atf-fix-fit-generator-node-naming.patch \ | ||
8 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ | 6 | file://0001-iMX8M-soc.mak-use-native-mkimage-from-sysroot.patch \ |
9 | file://0001-Add-support-for-overriding-BL32-and-BL33-not-only-BL.patch \ | ||
10 | file://0001-Add-LDFLAGS-to-link-step.patch \ | ||
11 | file://0001-Add-support-for-overriding-BL31-BL32-and-BL33.patch \ | ||
12 | " | 7 | " |
13 | SRCREV = "22346a32a88aa752d4bad8f2ed1eb641e18849dc" | 8 | SRCBRANCH = "lf-5.15.32_2.0.0" |
9 | SRCREV = "a8bb8edb45492ac70b33734122a57aa8e38a20bd" | ||
10 | |||
14 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
15 | 12 | ||
16 | BOOT_TOOLS = "imx-boot-tools" | 13 | BOOT_TOOLS = "imx-boot-tools" |
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.12.1.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.13.0.bb index 919a474e..04d7a11b 100644 --- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.12.1.bb +++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.13.0.bb | |||
@@ -3,15 +3,15 @@ | |||
3 | 3 | ||
4 | DESCRIPTION = "i.MX System Controller Firmware" | 4 | DESCRIPTION = "i.MX System Controller Firmware" |
5 | LICENSE = "Proprietary" | 5 | LICENSE = "Proprietary" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=be5ff43682ed6c57dfcbeb97651c2829" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" |
7 | SECTION = "BSP" | 7 | SECTION = "BSP" |
8 | 8 | ||
9 | inherit fsl-eula-unpack pkgconfig deploy | 9 | inherit fsl-eula-unpack pkgconfig deploy |
10 | 10 | ||
11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | 11 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
12 | 12 | ||
13 | SRC_URI[md5sum] = "ebe1cd97369e08709594b72b065cea3d" | 13 | SRC_URI[md5sum] = "49fc847391edd9b7aef482fcab4f556f" |
14 | SRC_URI[sha256sum] = "5ab47143623003cbe151b39a5ffcb7ea0dd5587a776e040453884e9608634b0e" | 14 | SRC_URI[sha256sum] = "98da4fa8e119553f5d5defaecbcd3ee026fe27656ce19a93f912132ab07205dc" |
15 | 15 | ||
16 | BOARD_TYPE ?= "mek" | 16 | BOARD_TYPE ?= "mek" |
17 | SC_FIRMWARE_NAME ?= "INVALID" | 17 | SC_FIRMWARE_NAME ?= "INVALID" |
diff --git a/recipes-bsp/imx-seco/imx-seco-libs_git.bb b/recipes-bsp/imx-seco/imx-seco-libs_git.bb index 2f59f214..35b46ca3 100644 --- a/recipes-bsp/imx-seco/imx-seco-libs_git.bb +++ b/recipes-bsp/imx-seco/imx-seco-libs_git.bb | |||
@@ -1,7 +1,7 @@ | |||
1 | # Copyright (C) 2019-2021 NXP | 1 | # Copyright (C) 2019-2021 NXP |
2 | 2 | ||
3 | SUMMARY = "NXP i.MX SECO library" | 3 | SUMMARY = "NXP i.MX SECO library" |
4 | DESCRIPTION = "NXP i.MX Security Controller library" | 4 | DESCRIPTION = "Library for NXP i.MX Security Controller Subsystem" |
5 | SECTION = "base" | 5 | SECTION = "base" |
6 | LICENSE = "Proprietary" | 6 | LICENSE = "Proprietary" |
7 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=76871788f27c28af824e2ec1ca187832" | 7 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=76871788f27c28af824e2ec1ca187832" |
diff --git a/recipes-bsp/imx-seco/imx-seco_3.8.5.bb b/recipes-bsp/imx-seco/imx-seco_3.8.6.bb index fbd72cd0..bcc4dd3f 100644 --- a/recipes-bsp/imx-seco/imx-seco_3.8.5.bb +++ b/recipes-bsp/imx-seco/imx-seco_3.8.6.bb | |||
@@ -1,17 +1,18 @@ | |||
1 | # Copyright (C) 2019-2021 NXP | 1 | # Copyright (C) 2019-2022 NXP |
2 | 2 | ||
3 | SUMMARY = "NXP i.MX SECO firmware" | 3 | SUMMARY = "NXP i.MX SECO firmware" |
4 | DESCRIPTION = "NXP i.MX Security Controller firmware" | 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=e4098ac4459cb81b07d3f0c22b3e8370" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=be5ff43682ed6c57dfcbeb97651c2829" |
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] = "c1797407517b0499f6d5151c1e62e78f" | 13 | SRC_URI[md5sum] = "2427a45069a89bb9b9b470642ce17f18" |
14 | SRC_URI[sha256sum] = "b8731c626139c9bd1d530f243c2131c031a523f1428c6a40b017e5352b1da656" | 14 | SRC_URI[sha256sum] = "3bf3f4ae69f77fd8fe28a216f3927fb84e75461364ad332dd9b4605beadae59a" |
15 | |||
15 | 16 | ||
16 | do_compile[noexec] = "1" | 17 | do_compile[noexec] = "1" |
17 | 18 | ||
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb index b5ee124e..fc4f110c 100644 --- a/recipes-bsp/imx-test/imx-test_git.bb +++ b/recipes-bsp/imx-test/imx-test_git.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | # Copyright (C) 2012-2016 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2012-2016 O.S. Systems Software LTDA. |
2 | # Copyright (C) 2013-2016 Freescale Semiconductor | 2 | # Copyright (C) 2013-2016 Freescale Semiconductor |
3 | # Copyright (C) 2017-2021 NXP | 3 | # Copyright (C) 2017-2022 NXP |
4 | 4 | ||
5 | SUMMARY = "Test programs for i.MX BSP" | 5 | SUMMARY = "Test programs for i.MX BSP" |
6 | DESCRIPTION = "Unit tests for the i.MX BSP" | 6 | DESCRIPTION = "Unit tests for the i.MX BSP" |
@@ -8,7 +8,7 @@ SECTION = "base" | |||
8 | LICENSE = "GPL-2.0-or-later" | 8 | LICENSE = "GPL-2.0-or-later" |
9 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" | 9 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-or-later;md5=fed54355545ffd980b814dab4a3b312c" |
10 | 10 | ||
11 | DEPENDS = "alsa-lib libdrm" | 11 | DEPENDS = "alsa-lib freetype libdrm" |
12 | DEPENDS:append:mx6-nxp-bsp = " imx-lib" | 12 | DEPENDS:append:mx6-nxp-bsp = " imx-lib" |
13 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" | 13 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" |
14 | DEPENDS:append:imxvpu = " virtual/imxvpu" | 14 | DEPENDS:append:imxvpu = " virtual/imxvpu" |
@@ -16,12 +16,11 @@ DEPENDS:append:imxvpu = " virtual/imxvpu" | |||
16 | PE = "1" | 16 | PE = "1" |
17 | PV = "7.0+${SRCPV}" | 17 | PV = "7.0+${SRCPV}" |
18 | 18 | ||
19 | SRCBRANCH = "lf-5.15.5_1.0.0" | 19 | SRC_URI = "git://source.codeaurora.org/external/imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ |
20 | SRC_URI = " \ | 20 | file://memtool_profile" |
21 | git://source.codeaurora.org/external/imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ | 21 | SRCBRANCH = "lf-5.15.32_2.0.0" |
22 | file://memtool_profile \ | 22 | SRCREV = "c640c7e8456b0516851e76adb2acce6b3866b1fb" |
23 | " | 23 | |
24 | SRCREV = "b364c1aacc72a63290106ae065bb2f6a8c365ec6" | ||
25 | S = "${WORKDIR}/git" | 24 | S = "${WORKDIR}/git" |
26 | 25 | ||
27 | inherit module-base use-imx-headers | 26 | inherit module-base use-imx-headers |
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.7.0.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.8.0.bb index 96c0c589..dc5a0e5c 100644 --- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.7.0.bb +++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.8.0.bb | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | DESCRIPTION = "i.MX VC8000E Encoder library" | 3 | DESCRIPTION = "i.MX VC8000E Encoder library" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=be5ff43682ed6c57dfcbeb97651c2829" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" |
6 | 6 | ||
7 | inherit fsl-eula-unpack | 7 | inherit fsl-eula-unpack |
8 | 8 | ||
@@ -10,8 +10,8 @@ SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | |||
10 | 10 | ||
11 | S = "${WORKDIR}/${BPN}-${PV}" | 11 | S = "${WORKDIR}/${BPN}-${PV}" |
12 | 12 | ||
13 | SRC_URI[md5sum] = "2dbcd9a71d53b86654704932798f263e" | 13 | SRC_URI[md5sum] = "228b06302ad0f0da13a160573c06bbf4" |
14 | SRC_URI[sha256sum] = "8af665f8e06e0e467f563e372f43583d94128f0d37f75321965bc26bd4404b2b" | 14 | SRC_URI[sha256sum] = "537fdbc20fbd1fb561b9a0d01ad843ea25c46e5a5cd184960fc9f1074674ddce" |
15 | 15 | ||
16 | # SCR is the location and name of the Software Content Register file | 16 | # SCR is the location and name of the Software Content Register file |
17 | # relative to ${D}${D_SUBDIR}. | 17 | # relative to ${D}${D_SUBDIR}. |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.2.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.3.bb index 25cd931e..30c31a2e 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.2.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.3.bb | |||
@@ -6,11 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd8bc2a79509c22fc9c1782a151210b1" | |||
6 | DEPENDS = "imx-vpu-hantro" | 6 | DEPENDS = "imx-vpu-hantro" |
7 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" | 7 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" |
8 | 8 | ||
9 | SRC_URI = " \ | 9 | SRC_URI = "${FSL_MIRROR}/${BP}.tar.gz" |
10 | ${FSL_MIRROR}/${BP}.tar.gz \ | 10 | SRC_URI[md5sum] = "657af53a73fa9898ef7725dd26934079" |
11 | " | 11 | SRC_URI[sha256sum] = "75f857ddfc53341c425d6dac0e6eb9b5c0281b90b6f6de3ff1b64962d52399c5" |
12 | SRC_URI[md5sum] = "f30942393a9093388adf91edb458f7a6" | ||
13 | SRC_URI[sha256sum] = "77e25ad1e1860f0a3983f07d6beb9a04ff32763bacf26db9aefd16559e6eea9b" | ||
14 | 12 | ||
15 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | 13 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" |
16 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | 14 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.25.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.26.0.bb index f2381d43..ac30b60f 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.25.0.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.26.0.bb | |||
@@ -2,13 +2,13 @@ | |||
2 | 2 | ||
3 | DESCRIPTION = "i.MX Hantro VPU library" | 3 | DESCRIPTION = "i.MX Hantro VPU library" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=be5ff43682ed6c57dfcbeb97651c2829" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" |
6 | 6 | ||
7 | PROVIDES = "virtual/imxvpu" | 7 | PROVIDES = "virtual/imxvpu" |
8 | 8 | ||
9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
10 | SRC_URI[md5sum] = "6d84b9eecc2f6027f9dbe1c875a4e7b5" | 10 | SRC_URI[md5sum] = "8d06cdacd7700e9e4c32644bf9804cdd" |
11 | SRC_URI[sha256sum] = "dd812b92b302bcfb92c10e937d9cad9224edf1593e9e4691d539ab4e190583f0" | 11 | SRC_URI[sha256sum] = "0cf9193923e110d2d9e6576e2c632f1675f0751b4c3de9ef54f32813f442540a" |
12 | 12 | ||
13 | inherit fsl-eula-unpack use-imx-headers | 13 | inherit fsl-eula-unpack use-imx-headers |
14 | 14 | ||
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.16.0.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.18.0.bb index 5b53068c..41e59fc9 100644 --- a/recipes-bsp/isp-imx/basler-camera_4.2.2.16.0.bb +++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.18.0.bb | |||
@@ -1,15 +1,15 @@ | |||
1 | # Copyright 2020-2021 NXP | 1 | # Copyright 2020-2022 NXP |
2 | 2 | ||
3 | DESCRIPTION = "Basler camera binary drivers" | 3 | DESCRIPTION = "Basler camera binary drivers" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" |
6 | 6 | ||
7 | inherit fsl-eula-unpack | 7 | inherit fsl-eula-unpack |
8 | 8 | ||
9 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" | 9 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
10 | 10 | ||
11 | SRC_URI[md5sum] = "489763169857773bade28611e649172e" | 11 | SRC_URI[md5sum] = "4bc72b07f608cbe13d318a63adb8f9dc" |
12 | SRC_URI[sha256sum] = "3d4ae594659a697eef7479ca2480cc53f1d460f22bcc1c58104cff63bc6705fe" | 12 | SRC_URI[sha256sum] = "62393bcc11b6e8bb9918a29240fb57057870ec0cefff00042ee65d8a1fde081a" |
13 | 13 | ||
14 | do_install() { | 14 | do_install() { |
15 | dest_dir=${D}/opt/imx8-isp/bin | 15 | dest_dir=${D}/opt/imx8-isp/bin |
@@ -22,6 +22,7 @@ do_install() { | |||
22 | SYSTEMD_AUTO_ENABLE = "enable" | 22 | SYSTEMD_AUTO_ENABLE = "enable" |
23 | 23 | ||
24 | FILES:${PN} = "${libdir} /opt" | 24 | FILES:${PN} = "${libdir} /opt" |
25 | INSANE_SKIP:${PN} = "file-rdeps already-stripped" | 25 | INSANE_SKIP:${PN} = "already-stripped" |
26 | RDEPENDS:${PN} += "isp-imx" | ||
26 | 27 | ||
27 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | 28 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" |
diff --git a/recipes-bsp/isp-imx/isp-imx/0001-start_isp.sh-fix-NR_DEVICE_TREE_BASLER-variable.patch b/recipes-bsp/isp-imx/isp-imx/0001-start_isp.sh-fix-NR_DEVICE_TREE_BASLER-variable.patch deleted file mode 100644 index bfea33a7..00000000 --- a/recipes-bsp/isp-imx/isp-imx/0001-start_isp.sh-fix-NR_DEVICE_TREE_BASLER-variable.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From a48c605b9f3860ee7abaca1a37add444a1b4001a Mon Sep 17 00:00:00 2001 | ||
2 | From: Chris Dimich <chris.dimich@boundarydevices.com> | ||
3 | Date: Tue, 8 Mar 2022 14:45:28 -0800 | ||
4 | Subject: [PATCH 1/1] start_isp.sh: fix NR_DEVICE_TREE_BASLER variable | ||
5 | |||
6 | The NR_DEVICE_TREE_BASLER variable has the wrong path. | ||
7 | |||
8 | Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com> | ||
9 | --- | ||
10 | imx/start_isp.sh | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/imx/start_isp.sh b/imx/start_isp.sh | ||
14 | index 6daabc59c..8a07acfed 100755 | ||
15 | --- a/imx/start_isp.sh | ||
16 | +++ b/imx/start_isp.sh | ||
17 | @@ -7,7 +7,7 @@ | ||
18 | # | ||
19 | |||
20 | RUNTIME_DIR="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" | ||
21 | -NR_DEVICE_TREE_BASLER=$(grep basler-camera-vvcam /sys/firmware/devicetree/base/soc@0/*/i2c@*/*/compatible -l | wc -l 2> /dev/null) | ||
22 | +NR_DEVICE_TREE_BASLER=$(grep basler-camera-vvcam `find /sys/firmware/devicetree/base/soc@0/ -name compatible | grep i2c` -l | wc -l 2> /dev/null) | ||
23 | NR_DEVICE_TREE_OV5640=$(grep ov5640 /sys/firmware/devicetree/base/soc@0/*/i2c@*/*/compatible -l | wc -l 2> /dev/null) | ||
24 | |||
25 | # check if the basler device has been enabled in the device tree | ||
26 | -- | ||
27 | 2.31.1 | ||
28 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.18.0.bb index 2d99496e..177caa14 100644 --- a/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb +++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.18.0.bb | |||
@@ -1,17 +1,13 @@ | |||
1 | # Copyright 2020-2021 NXP | 1 | # Copyright 2020-2022 NXP |
2 | 2 | ||
3 | DESCRIPTION = "i.MX Verisilicon Software ISP" | 3 | DESCRIPTION = "i.MX Verisilicon Software ISP" |
4 | LICENSE = "Proprietary" | 4 | LICENSE = "Proprietary" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d3c315c6eaa43e07d8c130dc3a04a011" |
6 | DEPENDS = "python3 libdrm virtual/libg2d libtinyxml2-8" | 6 | DEPENDS = "libdrm virtual/libg2d libtinyxml2" |
7 | 7 | ||
8 | SRC_URI = " \ | 8 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
9 | ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \ | 9 | SRC_URI[md5sum] = "a20171db4bf2be423a587f3b610f0a69" |
10 | file://0001-start_isp.sh-fix-NR_DEVICE_TREE_BASLER-variable.patch \ | 10 | SRC_URI[sha256sum] = "468ae51223d1873a1a756a1e64a53c0c61ebd640b3810f3a9e912b6a0de6c3c8" |
11 | " | ||
12 | |||
13 | SRC_URI[md5sum] = "f490153dbec234a04416ad41834806b2" | ||
14 | SRC_URI[sha256sum] = "83b24b9d1f7a40a506a45a1c5c2ef2ca2313fe9b23fde591e3b7dce77ea359ca" | ||
15 | 11 | ||
16 | inherit fsl-eula-unpack cmake systemd use-imx-headers | 12 | inherit fsl-eula-unpack cmake systemd use-imx-headers |
17 | 13 | ||
@@ -45,14 +41,6 @@ EXTRA_OECMAKE += " \ | |||
45 | -Wno-dev \ | 41 | -Wno-dev \ |
46 | " | 42 | " |
47 | 43 | ||
48 | do_configure:prepend() { | ||
49 | export SDKTARGETSYSROOT=${STAGING_DIR_HOST} | ||
50 | } | ||
51 | |||
52 | do_compile:prepend() { | ||
53 | ln -sf ${RECIPE_SYSROOT}/${libdir}/libtinyxml2.so.?.?.? ${RECIPE_SYSROOT}/${libdir}/libtinyxml2.so | ||
54 | } | ||
55 | |||
56 | do_install() { | 44 | do_install() { |
57 | install -d ${D}/${libdir} | 45 | install -d ${D}/${libdir} |
58 | install -d ${D}/${includedir} | 46 | install -d ${D}/${includedir} |
@@ -60,6 +48,8 @@ do_install() { | |||
60 | 48 | ||
61 | cp -r ${B}/generated/release/bin/*_test ${D}/opt/imx8-isp/bin | 49 | cp -r ${B}/generated/release/bin/*_test ${D}/opt/imx8-isp/bin |
62 | cp -r ${B}/generated/release/bin/*2775* ${D}/opt/imx8-isp/bin | 50 | cp -r ${B}/generated/release/bin/*2775* ${D}/opt/imx8-isp/bin |
51 | cp -r ${B}/generated/release/bin/*.xml ${D}/opt/imx8-isp/bin | ||
52 | cp -r ${B}/generated/release/bin/*.drv ${D}/opt/imx8-isp/bin | ||
63 | cp -r ${B}/generated/release/bin/isp_media_server ${D}/opt/imx8-isp/bin | 53 | cp -r ${B}/generated/release/bin/isp_media_server ${D}/opt/imx8-isp/bin |
64 | cp -r ${B}/generated/release/bin/vvext ${D}/opt/imx8-isp/bin | 54 | cp -r ${B}/generated/release/bin/vvext ${D}/opt/imx8-isp/bin |
65 | cp -r ${B}/generated/release/lib/*.so* ${D}/${libdir} | 55 | cp -r ${B}/generated/release/lib/*.so* ${D}/${libdir} |
@@ -78,17 +68,21 @@ do_install() { | |||
78 | } | 68 | } |
79 | 69 | ||
80 | # The build contains a mix of versioned and unversioned libraries, so | 70 | # The build contains a mix of versioned and unversioned libraries, so |
81 | # the default packaging configuration needs some modifications | 71 | # the default packaging configuration needs some modification so that |
72 | # unversioned .so libraries go to the main package and versioned .so | ||
73 | # symlinks go to -dev. | ||
82 | FILES_SOLIBSDEV = "" | 74 | FILES_SOLIBSDEV = "" |
83 | FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}" | 75 | FILES_SOLIBS_VERSIONED = " \ |
84 | FILES:${PN}-dev += " \ | 76 | ${libdir}/libar1335.so \ |
85 | ${libdir}/libjsoncpp.so \ | 77 | ${libdir}/libjsoncpp.so \ |
86 | ${libdir}/libos08a20.so \ | 78 | ${libdir}/libos08a20.so \ |
87 | ${libdir}/libov2775.so \ | 79 | ${libdir}/libov2775.so \ |
88 | " | 80 | " |
81 | FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}" | ||
82 | FILES:${PN}-dev += "${FILES_SOLIBS_VERSIONED}" | ||
89 | 83 | ||
90 | INSANE_SKIP:${PN} = "rpaths" | 84 | INSANE_SKIP:${PN} = "rpaths" |
91 | 85 | ||
92 | RDEPENDS:${PN} = "libdrm libpython3" | 86 | RDEPENDS:${PN} = "libdrm" |
93 | 87 | ||
94 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | 88 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" |
diff --git a/recipes-bsp/isp-imx/libtinyxml2-8_8.0.0.bb b/recipes-bsp/isp-imx/libtinyxml2-8_8.0.0.bb deleted file mode 100644 index 07d52355..00000000 --- a/recipes-bsp/isp-imx/libtinyxml2-8_8.0.0.bb +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | SUMMARY = "TinyXML-2 is a simple, small, efficient, C++ XML parser that can be easily integrating into other programs" | ||
2 | HOMEPAGE = "http://www.grinninglizard.com/tinyxml2/" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "Zlib" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=135624eef03e1f1101b9ba9ac9b5fffd" | ||
6 | |||
7 | SRC_URI = "git://github.com/leethomason/tinyxml2.git;branch=master;protocol=https" | ||
8 | |||
9 | SRCREV = "bf15233ad88390461f6ab0dbcf046cce643c5fcb" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | inherit cmake | ||
14 | |||
15 | # make sure we don't provide files which are also present in the | ||
16 | # current libtinyxml2 version's -dev package. | ||
17 | do_install:append() { | ||
18 | rm -rf ${D}/${includedir} | ||
19 | rm -rf ${D}/${libdir}/cmake | ||
20 | rm -rf ${D}/${libdir}/libtinyxml2.so | ||
21 | rm -rf ${D}/${libdir}/pkgconfig | ||
22 | } | ||