diff options
-rw-r--r-- | recipes-bsp/firmware-imx/firmware-imx-8.18.inc (renamed from recipes-bsp/firmware-imx/firmware-imx-8.17.inc) | 4 | ||||
-rw-r--r-- | recipes-bsp/firmware-imx/firmware-imx-8_8.18.bb (renamed from recipes-bsp/firmware-imx/firmware-imx-8_8.17.bb) | 0 | ||||
-rw-r--r-- | recipes-bsp/firmware-imx/firmware-imx-8m_8.18.bb (renamed from recipes-bsp/firmware-imx/firmware-imx-8m_8.17.bb) | 0 | ||||
-rw-r--r-- | recipes-bsp/firmware-imx/firmware-imx_8.18.bb (renamed from recipes-bsp/firmware-imx/firmware-imx_8.17.bb) | 0 | ||||
-rw-r--r-- | recipes-bsp/imx-atf/imx-atf_2.6.bb | 2 | ||||
-rw-r--r-- | recipes-bsp/imx-lib/imx-lib_git.bb | 2 | ||||
-rw-r--r-- | recipes-bsp/imx-mkimage/imx-mkimage_git.inc | 4 | ||||
-rw-r--r-- | recipes-bsp/imx-seco/imx-seco-libs/0001-Fix-return-value-of-void-functions.patch | 57 | ||||
-rw-r--r-- | recipes-bsp/imx-seco/imx-seco-libs_git.bb | 9 | ||||
-rw-r--r-- | recipes-bsp/imx-seco/imx-seco_5.9.0.bb (renamed from recipes-bsp/imx-seco/imx-seco_5.8.7.1.bb) | 6 |
10 files changed, 71 insertions, 13 deletions
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8.17.inc b/recipes-bsp/firmware-imx/firmware-imx-8.18.inc index 78f03c25..24829370 100644 --- a/recipes-bsp/firmware-imx/firmware-imx-8.17.inc +++ b/recipes-bsp/firmware-imx/firmware-imx-8.18.inc | |||
@@ -9,8 +9,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] = "63eac7b400d711c668458ec4bf5d0c60" | 12 | SRC_URI[md5sum] = "436501f8e67c10eed6bba88457e701a2" |
13 | SRC_URI[sha256sum] = "1ee3c49ad8749867487f09d6e4472536fb809b667c1bb3c56511175b8974e3c6" | 13 | SRC_URI[sha256sum] = "f050f60351a54fd75954fdeb133ddd014a5576040c72616e216b63db0e242dd4" |
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.17.bb b/recipes-bsp/firmware-imx/firmware-imx-8_8.18.bb index 18ce14d3..18ce14d3 100644 --- a/recipes-bsp/firmware-imx/firmware-imx-8_8.17.bb +++ b/recipes-bsp/firmware-imx/firmware-imx-8_8.18.bb | |||
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8m_8.17.bb b/recipes-bsp/firmware-imx/firmware-imx-8m_8.18.bb index 152ef0b5..152ef0b5 100644 --- a/recipes-bsp/firmware-imx/firmware-imx-8m_8.17.bb +++ b/recipes-bsp/firmware-imx/firmware-imx-8m_8.18.bb | |||
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.17.bb b/recipes-bsp/firmware-imx/firmware-imx_8.18.bb index f84ea1fa..f84ea1fa 100644 --- a/recipes-bsp/firmware-imx/firmware-imx_8.17.bb +++ b/recipes-bsp/firmware-imx/firmware-imx_8.18.bb | |||
diff --git a/recipes-bsp/imx-atf/imx-atf_2.6.bb b/recipes-bsp/imx-atf/imx-atf_2.6.bb index f86318b6..2c21fce1 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.6.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.6.bb | |||
@@ -13,7 +13,7 @@ SRC_URI = " \ | |||
13 | file://rwx-segments.patch \ | 13 | file://rwx-segments.patch \ |
14 | " | 14 | " |
15 | SRCBRANCH = "lf_v2.6" | 15 | SRCBRANCH = "lf_v2.6" |
16 | SRCREV = "9202efc9aaf65085def9a747ee32aed628449901" | 16 | SRCREV = "3c1583ba0a5d11e5116332e91065cb3740153a46" |
17 | 17 | ||
18 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
19 | 19 | ||
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb index 6d7f1579..3bb1dcaf 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-5.15.52_2.1.0" | 16 | SRCBRANCH = "lf-5.15.71_2.2.0" |
17 | SRCREV = "87ddd80953835eb29027d1d5a12044a08e809e40" | 17 | SRCREV = "87ddd80953835eb29027d1d5a12044a08e809e40" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc index 453ef0ed..4a4bc4c9 100644 --- a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc +++ b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc | |||
@@ -5,8 +5,8 @@ DEPENDS = "zlib-native openssl-native" | |||
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-5.15.52_2.1.0" | 8 | SRCBRANCH = "lf-5.15.71_2.2.0" |
9 | SRCREV = "37648c8ba5094420faa8206d8cb8e0c6f17d72fc" | 9 | SRCREV = "3bfcfccb71ddf894be9c402732ccb229fe72099e" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
diff --git a/recipes-bsp/imx-seco/imx-seco-libs/0001-Fix-return-value-of-void-functions.patch b/recipes-bsp/imx-seco/imx-seco-libs/0001-Fix-return-value-of-void-functions.patch new file mode 100644 index 00000000..656469c2 --- /dev/null +++ b/recipes-bsp/imx-seco/imx-seco-libs/0001-Fix-return-value-of-void-functions.patch | |||
@@ -0,0 +1,57 @@ | |||
1 | From 2eff97fe2345d8255869224404322d23193f1115 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 7 Jan 2023 21:59:15 -0800 | ||
4 | Subject: [PATCH] Fix return value of void* functions | ||
5 | |||
6 | This is found with clang | ||
7 | |||
8 | Fixes | ||
9 | error: non-void function does not return a value [-Werror,-Wreturn-type] | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | test/hsm/hsm_test.c | 1 + | ||
15 | test/she/src/she_test_storage_manager.c | 1 + | ||
16 | test/v2x/v2x_test.c | 1 + | ||
17 | 3 files changed, 3 insertions(+) | ||
18 | |||
19 | diff --git a/test/hsm/hsm_test.c b/test/hsm/hsm_test.c | ||
20 | index 9f29ca9..01820b8 100644 | ||
21 | --- a/test/hsm/hsm_test.c | ||
22 | +++ b/test/hsm/hsm_test.c | ||
23 | @@ -391,6 +391,7 @@ static uint32_t nvm_status; | ||
24 | static void *hsm_storage_thread(void *arg) | ||
25 | { | ||
26 | seco_nvm_manager(NVM_FLAGS_HSM, &nvm_status); | ||
27 | + return 0; | ||
28 | } | ||
29 | |||
30 | |||
31 | diff --git a/test/she/src/she_test_storage_manager.c b/test/she/src/she_test_storage_manager.c | ||
32 | index 32a4cb9..68cdba7 100644 | ||
33 | --- a/test/she/src/she_test_storage_manager.c | ||
34 | +++ b/test/she/src/she_test_storage_manager.c | ||
35 | @@ -28,6 +28,7 @@ static uint32_t nvm_status; | ||
36 | static void *she_storage_thread(void *arg) | ||
37 | { | ||
38 | seco_nvm_manager(NVM_FLAGS_SHE, &nvm_status); | ||
39 | + return 0; | ||
40 | } | ||
41 | |||
42 | |||
43 | diff --git a/test/v2x/v2x_test.c b/test/v2x/v2x_test.c | ||
44 | index aeb3d2a..5f02354 100644 | ||
45 | --- a/test/v2x/v2x_test.c | ||
46 | +++ b/test/v2x/v2x_test.c | ||
47 | @@ -181,6 +181,7 @@ static uint32_t nvm_status; | ||
48 | static void *v2x_hsm_storage_thread(void *arg) | ||
49 | { | ||
50 | seco_nvm_manager(NVM_FLAGS_V2X | NVM_FLAGS_HSM, &nvm_status); | ||
51 | + return 0; | ||
52 | } | ||
53 | |||
54 | |||
55 | -- | ||
56 | 2.39.0 | ||
57 | |||
diff --git a/recipes-bsp/imx-seco/imx-seco-libs_git.bb b/recipes-bsp/imx-seco/imx-seco-libs_git.bb index 625834b7..b0296e97 100644 --- a/recipes-bsp/imx-seco/imx-seco-libs_git.bb +++ b/recipes-bsp/imx-seco/imx-seco-libs_git.bb | |||
@@ -8,19 +8,20 @@ LIC_FILES_CHKSUM = "file://EULA.txt;md5=d3c315c6eaa43e07d8c130dc3a04a011" | |||
8 | 8 | ||
9 | DEPENDS = "zlib" | 9 | DEPENDS = "zlib" |
10 | 10 | ||
11 | SRCBRANCH = "imx_5.4.70_2.3.9" | 11 | SRCBRANCH = "imx_5.4.70_2.3.11" |
12 | SRC_URI = "git://github.com/NXP/imx-seco-libs.git;protocol=https;branch=${SRCBRANCH} \ | 12 | SRC_URI = "git://github.com/NXP/imx-seco-libs.git;protocol=https;branch=${SRCBRANCH} \ |
13 | file://0001-Makefile-Fix-LIBDIR-for-multilib.patch \ | 13 | file://0001-Makefile-Fix-LIBDIR-for-multilib.patch \ |
14 | file://0002-Makefile-Fix-install-to-clear-host-user-contaminated.patch \ | 14 | file://0002-Makefile-Fix-install-to-clear-host-user-contaminated.patch \ |
15 | file://0001-add-v2x_test-to-the-installed-binaries.patch" | 15 | file://0001-add-v2x_test-to-the-installed-binaries.patch \ |
16 | SRCREV = "b2550476388e1d1453bddbf356844301467c7bfa" | 16 | file://0001-Fix-return-value-of-void-functions.patch" |
17 | SRCREV = "aa8d62900c41cc779c11fe4e6f58b40c3c9f82f0" | ||
17 | 18 | ||
18 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
19 | 20 | ||
20 | TARGET_CC_ARCH += "${LDFLAGS}" | 21 | TARGET_CC_ARCH += "${LDFLAGS}" |
21 | 22 | ||
22 | do_install () { | 23 | do_install () { |
23 | oe_runmake DESTDIR=${D} install | 24 | oe_runmake DESTDIR=${D} BINDIR=${bindir} LIBDIR=${libdir} install |
24 | } | 25 | } |
25 | 26 | ||
26 | COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8dxl-nxp-bsp|mx8dx-nxp-bsp)" | 27 | COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8dxl-nxp-bsp|mx8dx-nxp-bsp)" |
diff --git a/recipes-bsp/imx-seco/imx-seco_5.8.7.1.bb b/recipes-bsp/imx-seco/imx-seco_5.9.0.bb index d37c1c98..712be23a 100644 --- a/recipes-bsp/imx-seco/imx-seco_5.8.7.1.bb +++ b/recipes-bsp/imx-seco/imx-seco_5.9.0.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=d3c315c6eaa43e07d8c130dc3a04a011" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5a0bf11f745e68024f37b4724a5364fe" |
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] = "f5c6737b42275e513d4e0cc2efa91d6a" | 13 | SRC_URI[md5sum] = "b722a534c4d3cc90270e05eaa812514d" |
14 | SRC_URI[sha256sum] = "03fa16ebc0633505bd02dae1c58602e278a8a28c8205c758fa3936477d51d0e0" | 14 | SRC_URI[sha256sum] = "c3bd761f457e939035b01a0ab36e79064a2a1bc6c3cdb3cd847f7f38df0964df" |
15 | 15 | ||
16 | 16 | ||
17 | do_compile[noexec] = "1" | 17 | do_compile[noexec] = "1" |