diff options
Diffstat (limited to 'recipes-bsp')
46 files changed, 458 insertions, 357 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend b/recipes-bsp/alsa-state/alsa-state.bbappend index b6194d76b..c31fb04be 100644 --- a/recipes-bsp/alsa-state/alsa-state.bbappend +++ b/recipes-bsp/alsa-state/alsa-state.bbappend | |||
@@ -2,3 +2,4 @@ | |||
2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 2 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
3 | 3 | ||
4 | PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}" | 4 | PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}" |
5 | PACKAGE_ARCH:qoriq-generic-bsp = "${MACHINE_ARCH}" | ||
diff --git a/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf index c511018e9..5ed3bdd92 100644 --- a/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf +++ b/recipes-bsp/alsa-state/alsa-state/imx-mainline-bsp/asound.conf | |||
@@ -218,8 +218,8 @@ rate 8000 | |||
218 | 218 | ||
219 | pcm.asymed{ | 219 | pcm.asymed{ |
220 | type asym | 220 | type asym |
221 | playback.pcm "dmix_44100" | 221 | playback.pcm "dmix_48000" |
222 | capture.pcm "dsnoop_44100" | 222 | capture.pcm "dsnoop_48000" |
223 | } | 223 | } |
224 | 224 | ||
225 | pcm.dsp0{ | 225 | pcm.dsp0{ |
diff --git a/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf index 0084f4a0b..f5918669b 100644 --- a/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf +++ b/recipes-bsp/alsa-state/alsa-state/imx-nxp-bsp/asound.conf | |||
@@ -218,8 +218,8 @@ rate 8000 | |||
218 | 218 | ||
219 | pcm.asymed{ | 219 | pcm.asymed{ |
220 | type asym | 220 | type asym |
221 | playback.pcm "dmix_44100" | 221 | playback.pcm "dmix_48000" |
222 | capture.pcm "dsnoop_44100" | 222 | capture.pcm "dsnoop_48000" |
223 | } | 223 | } |
224 | 224 | ||
225 | pcm.dsp0{ | 225 | pcm.dsp0{ |
diff --git a/recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp b/recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp new file mode 120000 index 000000000..febb30e2c --- /dev/null +++ b/recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp | |||
@@ -0,0 +1 @@ | |||
imx-generic-bsp \ No newline at end of file | |||
diff --git a/recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp b/recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp new file mode 120000 index 000000000..b43cbb34c --- /dev/null +++ b/recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp | |||
@@ -0,0 +1 @@ | |||
imx-mainline-bsp \ No newline at end of file | |||
diff --git a/recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp b/recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp new file mode 120000 index 000000000..022b2509e --- /dev/null +++ b/recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp | |||
@@ -0,0 +1 @@ | |||
imx-nxp-bsp \ No newline at end of file | |||
diff --git a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb index 5cf543ab7..01e3a2a61 100644 --- a/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb +++ b/recipes-bsp/dp-firmware-cadence/dp-firmware-cadence_22.04.bb | |||
@@ -6,7 +6,6 @@ inherit deploy fsl-eula-unpack | |||
6 | 6 | ||
7 | SRC_URI = "${FSL_MIRROR}/firmware-imx-8.16.bin;fsl-eula=true" | 7 | SRC_URI = "${FSL_MIRROR}/firmware-imx-8.16.bin;fsl-eula=true" |
8 | 8 | ||
9 | SRC_URI[md5sum] = "9ed2923c0eb511c7fcf37dd607944124" | ||
10 | SRC_URI[sha256sum] = "65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84" | 9 | SRC_URI[sha256sum] = "65f829a9e2597bffc58a680aaefa638122144a083633d1ae09b3aec1d9f8ab84" |
11 | 10 | ||
12 | S = "${WORKDIR}/firmware-imx-8.16" | 11 | S = "${WORKDIR}/firmware-imx-8.16" |
diff --git a/recipes-bsp/firmware-imx/firmware-ele-imx_0.1.1.bb b/recipes-bsp/firmware-imx/firmware-ele-imx_0.1.1.bb deleted file mode 100644 index 70252c01c..000000000 --- a/recipes-bsp/firmware-imx/firmware-ele-imx_0.1.1.bb +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | # Copyright 2021-2023 NXP | ||
2 | SUMMARY = "NXP i.MX ELE firmware" | ||
3 | DESCRIPTION = "EdgeLock Enclave firmware for i.MX series SoCs" | ||
4 | SECTION = "base" | ||
5 | LICENSE = "Proprietary" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | ||
7 | |||
8 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy | ||
9 | |||
10 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | ||
11 | SRC_URI[md5sum] = "f4df2005ec4555e9f177acbf62a7a969" | ||
12 | SRC_URI[sha256sum] = "3f69d6cf6ea448c5c2f87b6acdad1c5c2318616d246cc5047a523f2543fee408" | ||
13 | |||
14 | do_compile[noexec] = "1" | ||
15 | |||
16 | do_install() { | ||
17 | install -d ${D}${nonarch_base_libdir}/firmware/imx/ele | ||
18 | install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele | ||
19 | if [ -e ${S}/${SECOEXT_FIRMWARE_NAME} ]; then | ||
20 | install -m 0644 ${S}/${SECOEXT_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele | ||
21 | fi | ||
22 | } | ||
23 | |||
24 | do_deploy () { | ||
25 | # Deploy the related firmware to be package by imx-boot | ||
26 | install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} | ||
27 | } | ||
28 | addtask deploy after do_install before do_build | ||
29 | |||
30 | PACKAGES += "${PN}-ext" | ||
31 | |||
32 | ALLOW_EMPTY:${PN}-ext = "1" | ||
33 | |||
34 | FILES:${PN} += "${nonarch_base_libdir}/firmware/imx/ele/${SECO_FIRMWARE_NAME}" | ||
35 | FILES:${PN}-ext += "${nonarch_base_libdir}/firmware/imx/ele/${SECOEXT_FIRMWARE_NAME}" | ||
36 | |||
37 | RREPLACES:${PN} = "firmware-sentinel" | ||
38 | RPROVIDES:${PN} = "firmware-sentinel" | ||
39 | |||
40 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)" | ||
diff --git a/recipes-bsp/firmware-imx/firmware-ele-imx_1.3.0.bb b/recipes-bsp/firmware-imx/firmware-ele-imx_1.3.0.bb new file mode 100644 index 000000000..8a812f413 --- /dev/null +++ b/recipes-bsp/firmware-imx/firmware-ele-imx_1.3.0.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | # Copyright 2021-2024 NXP | ||
2 | SUMMARY = "NXP i.MX ELE firmware" | ||
3 | DESCRIPTION = "EdgeLock Secure Enclave firmware for i.MX series SoCs" | ||
4 | SECTION = "base" | ||
5 | LICENSE = "Proprietary" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | ||
7 | |||
8 | inherit fsl-eula-unpack use-imx-security-controller-firmware deploy | ||
9 | |||
10 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | ||
11 | IMX_SRCREV_ABBREV = "17945fc" | ||
12 | SRC_URI[sha256sum] = "8791109824767346237e53ac2c712824e54608e2092859161e6bb3e5385a7595" | ||
13 | |||
14 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
15 | |||
16 | do_compile[noexec] = "1" | ||
17 | |||
18 | do_install() { | ||
19 | install -d ${D}${nonarch_base_libdir}/firmware/imx/ele | ||
20 | install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele | ||
21 | if [ -e ${S}/${SECOEXT_FIRMWARE_NAME} ]; then | ||
22 | install -m 0644 ${S}/${SECOEXT_FIRMWARE_NAME} ${D}${nonarch_base_libdir}/firmware/imx/ele | ||
23 | fi | ||
24 | } | ||
25 | |||
26 | do_deploy () { | ||
27 | # Deploy the related firmware to be package by imx-boot | ||
28 | install -m 0644 ${S}/${SECO_FIRMWARE_NAME} ${DEPLOYDIR} | ||
29 | } | ||
30 | addtask deploy after do_install before do_build | ||
31 | |||
32 | PACKAGES += "${PN}-ext" | ||
33 | |||
34 | ALLOW_EMPTY:${PN}-ext = "1" | ||
35 | |||
36 | FILES:${PN} += "${nonarch_base_libdir}/firmware/imx/ele/${SECO_FIRMWARE_NAME}" | ||
37 | FILES:${PN}-ext += "${nonarch_base_libdir}/firmware/imx/ele/${SECOEXT_FIRMWARE_NAME}" | ||
38 | |||
39 | RREPLACES:${PN} = "firmware-sentinel" | ||
40 | RPROVIDES:${PN} = "firmware-sentinel" | ||
41 | |||
42 | COMPATIBLE_MACHINE = "(mx8ulp-generic-bsp|mx9-generic-bsp)" | ||
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8.23.inc b/recipes-bsp/firmware-imx/firmware-imx-8.23.inc deleted file mode 100644 index bd471f777..000000000 --- a/recipes-bsp/firmware-imx/firmware-imx-8.23.inc +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | # Copyright (C) 2012-2016 Freescale Semiconductor | ||
2 | # Copyright 2017-2022 NXP | ||
3 | # Copyright (C) 2018 O.S. Systems Software LTDA. | ||
4 | SECTION = "base" | ||
5 | LICENSE = "Proprietary" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=44a8052c384584ba09077e85a3d1654f" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | ${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true \ | ||
10 | " | ||
11 | |||
12 | SRC_URI[md5sum] = "eb03efb3a8fb98d99ed1df88537e72f4" | ||
13 | SRC_URI[sha256sum] = "fe07633295dac3dd99f0ba4e07a7cde95bb24a29ca82b9a9b3f6026d29ae916a" | ||
14 | |||
15 | S = "${WORKDIR}/firmware-imx-${PV}" | ||
16 | |||
17 | inherit fsl-eula-unpack | ||
diff --git a/recipes-bsp/firmware-imx/firmware-imx-8.27.inc b/recipes-bsp/firmware-imx/firmware-imx-8.27.inc new file mode 100644 index 000000000..022289d37 --- /dev/null +++ b/recipes-bsp/firmware-imx/firmware-imx-8.27.inc | |||
@@ -0,0 +1,16 @@ | |||
1 | # Copyright (C) 2012-2016 Freescale Semiconductor | ||
2 | # Copyright 2017-2024 NXP | ||
3 | # Copyright (C) 2018 O.S. Systems Software LTDA. | ||
4 | SECTION = "base" | ||
5 | LICENSE = "Proprietary" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=c0fb372b5d7f12181de23ef480f225f3" | ||
7 | |||
8 | # Note: This .inc file is used from differently named recipes, so the package | ||
9 | # name must be hard-coded, i.e., ${BPN} cannot be used. | ||
10 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | ||
11 | IMX_SRCREV_ABBREV = "5af0ceb" | ||
12 | SRC_URI[sha256sum] = "61f925e606ab020b1a36f3f7f7e459c6847f5b9dbc79421f9ef86e8fc124eb2f" | ||
13 | |||
14 | S = "${WORKDIR}/firmware-imx-${PV}-${IMX_SRCREV_ABBREV}" | ||
15 | |||
16 | inherit fsl-eula-unpack | ||
diff --git a/recipes-bsp/firmware-imx/firmware-imx_8.23.bb b/recipes-bsp/firmware-imx/firmware-imx_8.27.bb index a9e36b5e7..7bac8106d 100644 --- a/recipes-bsp/firmware-imx/firmware-imx_8.23.bb +++ b/recipes-bsp/firmware-imx/firmware-imx_8.27.bb | |||
@@ -1,23 +1,30 @@ | |||
1 | # Copyright (C) 2012-2016 Freescale Semiconductor | 1 | # Copyright (C) 2012-2016 Freescale Semiconductor |
2 | # Copyright 2017-2021 NXP | 2 | # Copyright 2017-2021,2024 NXP |
3 | # Copyright (C) 2018 O.S. Systems Software LTDA. | 3 | # Copyright (C) 2018 O.S. Systems Software LTDA. |
4 | SUMMARY = "Freescale i.MX firmware" | 4 | SUMMARY = "Freescale i.MX firmware" |
5 | DESCRIPTION = "Freescale i.MX firmware such as for the VPU" | 5 | DESCRIPTION = "Freescale i.MX firmware such as for the VPU" |
6 | 6 | ||
7 | require firmware-imx-${PV}.inc | 7 | require ${BP}.inc |
8 | 8 | ||
9 | PE = "1" | 9 | PE = "1" |
10 | 10 | ||
11 | inherit allarch | 11 | inherit allarch |
12 | 12 | ||
13 | IMX_USE_LINUX_FIRMWARE_SDMA ?= "1" | ||
14 | |||
13 | do_install() { | 15 | do_install() { |
14 | install -d ${D}${nonarch_base_libdir}/firmware/imx | 16 | install -d ${D}${nonarch_base_libdir}/firmware/imx |
15 | 17 | ||
16 | # SDMA Firmware section | 18 | # SDMA Firmware section |
17 | install -d ${D}${nonarch_base_libdir}/firmware/imx/sdma | 19 | install -d ${D}${nonarch_base_libdir}/firmware/imx/sdma |
18 | install -m 0644 ${S}/firmware/sdma/* ${D}${nonarch_base_libdir}/firmware/imx/sdma | 20 | install -m 0644 ${S}/firmware/sdma/* ${D}${nonarch_base_libdir}/firmware/imx/sdma |
19 | rm -f ${D}${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin | 21 | # Define IMX_USE_LINUX_FIRMWARE_SDMA = "0" in layer.conf, machine.conf, local.conf |
20 | rm -f ${D}${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin | 22 | # or in .bbappend to use sdma-imx6q/7d.bin from here and not linux-firmware |
23 | if [ ${IMX_USE_LINUX_FIRMWARE_SDMA} -gt 0 ] | ||
24 | then | ||
25 | rm -f ${D}${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx6q.bin | ||
26 | rm -f ${D}${nonarch_base_libdir}/firmware/imx/sdma/sdma-imx7d.bin | ||
27 | fi | ||
21 | 28 | ||
22 | # EASRC Firmware section | 29 | # EASRC Firmware section |
23 | install -d ${D}${nonarch_base_libdir}/firmware/imx/easrc | 30 | install -d ${D}${nonarch_base_libdir}/firmware/imx/easrc |
@@ -53,6 +60,11 @@ do_install() { | |||
53 | # as some of other files are provided by packages from other recipes. | 60 | # as some of other files are provided by packages from other recipes. |
54 | install -d ${D}${nonarch_base_libdir}/firmware/vpu | 61 | install -d ${D}${nonarch_base_libdir}/firmware/vpu |
55 | install -m 0644 ${S}/firmware/vpu/vpu_fw_imx*.bin ${D}${nonarch_base_libdir}/firmware/vpu | 62 | install -m 0644 ${S}/firmware/vpu/vpu_fw_imx*.bin ${D}${nonarch_base_libdir}/firmware/vpu |
63 | # Update i.MX8 vpu firmware path to align with kernel6.5+ | ||
64 | install -d ${D}${nonarch_base_libdir}/firmware/amphion/vpu/ | ||
65 | mv ${D}${nonarch_base_libdir}/firmware/vpu/vpu_fw_imx8* ${D}${nonarch_base_libdir}/firmware/amphion/vpu/ | ||
66 | # Install i.MX 95 VPU firmware | ||
67 | install -m 0644 ${S}/firmware/vpu/wave633c_codec_fw.bin ${D}${nonarch_base_libdir}/firmware | ||
56 | } | 68 | } |
57 | 69 | ||
58 | # | 70 | # |
@@ -88,15 +100,16 @@ python populate_packages:prepend() { | |||
88 | 100 | ||
89 | os.chdir(cwd) | 101 | os.chdir(cwd) |
90 | 102 | ||
103 | |||
91 | easrcdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/easrc', d) | 104 | easrcdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/easrc', d) |
92 | do_split_packages(d, easrcdir, '^easrc-([^_]*).*\.bin', | 105 | do_split_packages(d, easrcdir, r'^easrc-([^_]*).*\.bin', |
93 | output_pattern='firmware-imx-easrc-%s', | 106 | output_pattern='firmware-imx-easrc-%s', |
94 | description='Freescale IMX EASRC Firmware [%s]', | 107 | description='Freescale IMX EASRC Firmware [%s]', |
95 | extra_depends='', | 108 | extra_depends='', |
96 | prepend=True) | 109 | prepend=True) |
97 | 110 | ||
98 | vpudir = bb.data.expand('${nonarch_base_libdir}/firmware/vpu', d) | 111 | vpudir = bb.data.expand('${nonarch_base_libdir}/firmware/vpu', d) |
99 | do_split_packages(d, vpudir, '^vpu_fw_([^_]*).*\.bin', | 112 | do_split_packages(d, vpudir, r'^vpu_fw_([^_]*).*\.bin', |
100 | output_pattern='firmware-imx-vpu-%s', | 113 | output_pattern='firmware-imx-vpu-%s', |
101 | description='Freescale IMX VPU Firmware [%s]', | 114 | description='Freescale IMX VPU Firmware [%s]', |
102 | hook=coda_vpu_links, | 115 | hook=coda_vpu_links, |
@@ -104,21 +117,21 @@ python populate_packages:prepend() { | |||
104 | prepend=True) | 117 | prepend=True) |
105 | 118 | ||
106 | sdmadir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/sdma', d) | 119 | sdmadir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/sdma', d) |
107 | do_split_packages(d, sdmadir, '^sdma-([^-]*).*\.bin', | 120 | do_split_packages(d, sdmadir, r'^sdma-([^-]*).*\.bin', |
108 | output_pattern='firmware-imx-sdma-%s', | 121 | output_pattern='firmware-imx-sdma-%s', |
109 | description='Freescale IMX SDMA Firmware [%s]', | 122 | description='Freescale IMX SDMA Firmware [%s]', |
110 | extra_depends='', | 123 | extra_depends='', |
111 | prepend=True) | 124 | prepend=True) |
112 | 125 | ||
113 | xcvrdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/xcvr', d) | 126 | xcvrdir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/xcvr', d) |
114 | do_split_packages(d, xcvrdir, '^xcvr-([^_]*).*\.bin', | 127 | do_split_packages(d, xcvrdir, r'^xcvr-([^_]*).*\.bin', |
115 | output_pattern='firmware-imx-xcvr-%s', | 128 | output_pattern='firmware-imx-xcvr-%s', |
116 | description='Freescale IMX XCVR Firmware [%s]', | 129 | description='Freescale IMX XCVR Firmware [%s]', |
117 | extra_depends='', | 130 | extra_depends='', |
118 | prepend=True) | 131 | prepend=True) |
119 | 132 | ||
120 | xuvidir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/xuvi', d) | 133 | xuvidir = bb.data.expand('${nonarch_base_libdir}/firmware/imx/xuvi', d) |
121 | do_split_packages(d, xuvidir, '^vpu_fw_([^_]*).*\.bin', | 134 | do_split_packages(d, xuvidir, r'^vpu_fw_([^_]*).*\.bin', |
122 | output_pattern='firmware-imx-xuvi-%s', | 135 | output_pattern='firmware-imx-xuvi-%s', |
123 | description='Freescale IMX XUVI Firmware [%s]', | 136 | description='Freescale IMX XUVI Firmware [%s]', |
124 | extra_depends='', | 137 | extra_depends='', |
@@ -144,7 +157,7 @@ PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-* ${PN}-easrc-* ${PN}-xcvr-* ${PN}-xu | |||
144 | # is empty. | 157 | # is empty. |
145 | # Therefore, we opt-out from producing -dev package here, since also for firmware | 158 | # Therefore, we opt-out from producing -dev package here, since also for firmware |
146 | # files it makes no sense. | 159 | # files it makes no sense. |
147 | PACKAGES = "${PN} ${PN}-epdc ${PN}-hdmi" | 160 | PACKAGES = "${PN} ${PN}-epdc ${PN}-hdmi ${PN}-vpu-amphion ${PN}-vpu-wave" |
148 | 161 | ||
149 | FILES:${PN}-epdc = "${nonarch_base_libdir}/firmware/imx/epdc/" | 162 | FILES:${PN}-epdc = "${nonarch_base_libdir}/firmware/imx/epdc/" |
150 | FILES:${PN}-hdmi = " \ | 163 | FILES:${PN}-hdmi = " \ |
@@ -152,5 +165,7 @@ FILES:${PN}-hdmi = " \ | |||
152 | ${nonarch_base_libdir}/firmware/hdmirxfw.bin \ | 165 | ${nonarch_base_libdir}/firmware/hdmirxfw.bin \ |
153 | ${nonarch_base_libdir}/firmware/dpfw.bin \ | 166 | ${nonarch_base_libdir}/firmware/dpfw.bin \ |
154 | " | 167 | " |
168 | FILES:${PN}-vpu-amphion = "${nonarch_base_libdir}/firmware/amphion/vpu/*" | ||
169 | FILES:${PN}-vpu-wave = "${nonarch_base_libdir}/firmware/wave633c_codec_fw.bin" | ||
155 | 170 | ||
156 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" | 171 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" |
diff --git a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb index d28b23821..31c806b02 100644 --- a/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.0.bb +++ b/recipes-bsp/firmware-imx/firmware-nxp-wifi_1.1.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | # Copyright 2020-2023 NXP | 1 | # Copyright 2020-2024 NXP |
2 | 2 | ||
3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" | 3 | SUMMARY = "Wi-Fi firmware redistributed by NXP" |
4 | DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ | 4 | DESCRIPTION = "Additional Wi-Fi firmware redistributed by NXP. Some \ |
@@ -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=ca53281cc0caa7e320d4945a896fb837" |
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.52_2.2.0" |
14 | SRCREV = "2afa15e77f0b58eade42b4f59c9215339efcca66" | 14 | SRCREV = "2978f3c88d6bcc5695a7b45f1936f18d31eebfa8" |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
@@ -44,7 +44,10 @@ do_install() { | |||
44 | 44 | ||
45 | oe_runmake install INSTALLDIR=${D}${nonarch_base_libdir}/firmware/nxp | 45 | oe_runmake install INSTALLDIR=${D}${nonarch_base_libdir}/firmware/nxp |
46 | 46 | ||
47 | 47 | # Upstream SDIO8997 and IW416 driver firmwares are located on mrvl folder | |
48 | install -d ${D}${nonarch_base_libdir}/firmware/mrvl | ||
49 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sdiouart8997_combo_v4.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin | ||
50 | ln -frs ${D}${nonarch_base_libdir}/firmware/nxp/sdiouartiw416_combo_v0.bin ${D}${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin | ||
48 | } | 51 | } |
49 | 52 | ||
50 | PACKAGES =+ " \ | 53 | PACKAGES =+ " \ |
@@ -59,6 +62,7 @@ PACKAGES =+ " \ | |||
59 | ${PN}-nxp9098-common \ | 62 | ${PN}-nxp9098-common \ |
60 | ${PN}-nxp9098-sdio \ | 63 | ${PN}-nxp9098-sdio \ |
61 | ${PN}-nxpiw416-sdio \ | 64 | ${PN}-nxpiw416-sdio \ |
65 | ${PN}-nxpiw610-sdio \ | ||
62 | ${PN}-nxpiw612-sdio \ | 66 | ${PN}-nxpiw612-sdio \ |
63 | " | 67 | " |
64 | 68 | ||
@@ -88,7 +92,7 @@ RCONFLICTS:${PN}-nxp8987-sdio = "linux-firmware-nxp8987-sdio" | |||
88 | FILES:${PN}-nxp8997-common = " \ | 92 | FILES:${PN}-nxp8997-common = " \ |
89 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_8997.conf \ | 93 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_8997.conf \ |
90 | ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_8997.conf \ | 94 | ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_8997.conf \ |
91 | ${nonarch_base_libdir}/firmware/nxp/uartuart8997_bt_v4.bin \ | 95 | ${nonarch_base_libdir}/firmware/nxp/uart8997_bt_v4.bin \ |
92 | " | 96 | " |
93 | RDEPENDS:${PN}-nxp8997-common += "${PN}-nxp-common" | 97 | RDEPENDS:${PN}-nxp8997-common += "${PN}-nxp-common" |
94 | RPROVIDES:${PN}-nxp8997-common = "linux-firmware-nxp8997-common" | 98 | RPROVIDES:${PN}-nxp8997-common = "linux-firmware-nxp8997-common" |
@@ -104,6 +108,7 @@ RREPLACES:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie" | |||
104 | RCONFLICTS:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie" | 108 | RCONFLICTS:${PN}-nxp8997-pcie = "linux-firmware-nxp8997-pcie" |
105 | 109 | ||
106 | FILES:${PN}-nxp8997-sdio = " \ | 110 | FILES:${PN}-nxp8997-sdio = " \ |
111 | ${nonarch_base_libdir}/firmware/mrvl/sdiouart8997_combo_v4.bin \ | ||
107 | ${nonarch_base_libdir}/firmware/nxp/sdio*8997* \ | 112 | ${nonarch_base_libdir}/firmware/nxp/sdio*8997* \ |
108 | " | 113 | " |
109 | RDEPENDS:${PN}-nxp8997-sdio += "${PN}-nxp8997-common" | 114 | RDEPENDS:${PN}-nxp8997-sdio += "${PN}-nxp8997-common" |
@@ -114,7 +119,7 @@ RCONFLICTS:${PN}-nxp8997-sdio = "linux-firmware-nxp8997-sdio" | |||
114 | FILES:${PN}-nxp9098-common = " \ | 119 | FILES:${PN}-nxp9098-common = " \ |
115 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \ | 120 | ${nonarch_base_libdir}/firmware/nxp/ed_mac_ctrl_V3_909x.conf \ |
116 | ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_9098.conf \ | 121 | ${nonarch_base_libdir}/firmware/nxp/txpwrlimit_cfg_9098.conf \ |
117 | ${nonarch_base_libdir}/firmware/nxp/uartuart9098_bt_v1.bin \ | 122 | ${nonarch_base_libdir}/firmware/nxp/uart9098_bt_v1.bin \ |
118 | " | 123 | " |
119 | RDEPENDS:${PN}-nxp9098-common += "${PN}-nxp-common" | 124 | RDEPENDS:${PN}-nxp9098-common += "${PN}-nxp-common" |
120 | RPROVIDES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" | 125 | RPROVIDES:${PN}-nxp9098-common = "linux-firmware-nxp9098-common" |
@@ -138,6 +143,7 @@ RREPLACES:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" | |||
138 | RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" | 143 | RCONFLICTS:${PN}-nxp9098-sdio = "linux-firmware-nxp9098-sdio" |
139 | 144 | ||
140 | FILES:${PN}-nxpiw416-sdio = " \ | 145 | FILES:${PN}-nxpiw416-sdio = " \ |
146 | ${nonarch_base_libdir}/firmware/mrvl/sdiouartiw416_combo_v0.bin \ | ||
141 | ${nonarch_base_libdir}/firmware/nxp/*iw416* \ | 147 | ${nonarch_base_libdir}/firmware/nxp/*iw416* \ |
142 | " | 148 | " |
143 | RDEPENDS:${PN}-nxpiw416-sdio += "${PN}-nxp-common" | 149 | RDEPENDS:${PN}-nxpiw416-sdio += "${PN}-nxp-common" |
@@ -145,15 +151,25 @@ RPROVIDES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" | |||
145 | RREPLACES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" | 151 | RREPLACES:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" |
146 | RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" | 152 | RCONFLICTS:${PN}-nxpiw416-sdio = "linux-firmware-nxpiw416-sdio" |
147 | 153 | ||
154 | FILES:${PN}-nxpiw610-sdio += " \ | ||
155 | ${nonarch_base_libdir}/firmware/nxp/sd_iw610.bin.se \ | ||
156 | ${nonarch_base_libdir}/firmware/nxp/sduart_iw610.bin.se \ | ||
157 | ${nonarch_base_libdir}/firmware/nxp/uart_iw610_bt.bin.se \ | ||
158 | ${nonarch_base_libdir}/firmware/nxp/uartspi_iw610.bin.se \ | ||
159 | " | ||
160 | RDEPENDS:${PN}-nxpiw610-sdio += "${PN}-nxp-common" | ||
161 | RPROVIDES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | ||
162 | RREPLACES:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | ||
163 | RCONFLICTS:${PN}-nxpiw610-sdio = "linux-firmware-nxpiw610-sdio" | ||
164 | |||
148 | FILES:${PN}-nxpiw612-sdio = " \ | 165 | FILES:${PN}-nxpiw612-sdio = " \ |
149 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \ | 166 | ${nonarch_base_libdir}/firmware/nxp/sduart_nw61x_v1.bin.se \ |
150 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ | 167 | ${nonarch_base_libdir}/firmware/nxp/sd_w61x_v1.bin.se \ |
151 | ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se \ | 168 | ${nonarch_base_libdir}/firmware/nxp/uartspi_n61x_v1.bin.se \ |
152 | ${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/ \ | 169 | ${nonarch_base_libdir}/firmware/nxp/IW612_SD_RFTest/ \ |
170 | ${nonarch_base_libdir}/firmware/nxp/uartuart_n61x_v1.bin.se \ | ||
153 | " | 171 | " |
154 | RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common" | 172 | RDEPENDS:${PN}-nxpiw612-sdio += "${PN}-nxp-common" |
155 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 173 | RPROVIDES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
156 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 174 | RREPLACES:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
157 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" | 175 | RCONFLICTS:${PN}-nxpiw612-sdio = "linux-firmware-nxpiw612-sdio" |
158 | |||
159 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" | ||
diff --git a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb index 9778bd1cf..6e6f90cab 100644 --- a/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb +++ b/recipes-bsp/firmware-imx/firmware-sof-imx_2.3.0.bb | |||
@@ -8,7 +8,6 @@ LICENSE = "BSD-3-Clause" | |||
8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=0f00d99239d922ffd13cabef83b33444" | 8 | LIC_FILES_CHKSUM = "file://LICENCE;md5=0f00d99239d922ffd13cabef83b33444" |
9 | 9 | ||
10 | SRC_URI = "${FSL_MIRROR}/sof-imx-${PV}.tar.gz" | 10 | SRC_URI = "${FSL_MIRROR}/sof-imx-${PV}.tar.gz" |
11 | SRC_URI[md5sum] = "f7d277717b3f0dd17e8d341c1091d6b6" | ||
12 | SRC_URI[sha256sum] = "eb86c90aec92b3b376e7afca6aa5db4767b5d8868553595907ba37665329f16b" | 11 | SRC_URI[sha256sum] = "eb86c90aec92b3b376e7afca6aa5db4767b5d8868553595907ba37665329f16b" |
13 | 12 | ||
14 | S = "${WORKDIR}/sof-imx-${PV}" | 13 | S = "${WORKDIR}/sof-imx-${PV}" |
diff --git a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.23.bb b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.27.bb index 246198596..c35e31e07 100644 --- a/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.23.bb +++ b/recipes-bsp/firmware-imx/imx-boot-firmware-files_8.27.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | # Copyright (C) 2018-2023 NXP | 1 | # Copyright (C) 2018-2024 NXP |
2 | SUMMARY = "Freescale i.MX Firmware files used for boot" | 2 | SUMMARY = "Freescale i.MX Firmware files used for boot" |
3 | 3 | ||
4 | require firmware-imx-${PV}.inc | 4 | require firmware-imx-${PV}.inc |
diff --git a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb index 3a7660f86..7592a629c 100644 --- a/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb +++ b/recipes-bsp/firmware-upower/firmware-upower_1.3.1.bb | |||
@@ -4,13 +4,12 @@ LICENSE = "Proprietary" | |||
4 | SECTION = "BSP" | 4 | SECTION = "BSP" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=db4762b09b6bda63da103963e6e081de" |
6 | 6 | ||
7 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | 7 | SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true" |
8 | 8 | ||
9 | S = "${WORKDIR}/${PN}-${PV}" | 9 | S = "${WORKDIR}/${PN}-${PV}" |
10 | 10 | ||
11 | inherit fsl-eula-unpack pkgconfig deploy | 11 | inherit fsl-eula-unpack pkgconfig deploy |
12 | 12 | ||
13 | SRC_URI[md5sum] = "65f28bd8ace3ce7116cb15685bfe1cd0" | ||
14 | SRC_URI[sha256sum] = "1df3a03d69feb38a450ee63abc7713d78cf6339988476e4c9f95ebbf63790f66" | 13 | SRC_URI[sha256sum] = "1df3a03d69feb38a450ee63abc7713d78cf6339988476e4c9f95ebbf63790f66" |
15 | 14 | ||
16 | do_configure[noexec] = "1" | 15 | do_configure[noexec] = "1" |
diff --git a/recipes-bsp/imx-atf/imx-atf_2.8.bb b/recipes-bsp/imx-atf/imx-atf_2.10.bb index 8bd6ad121..ec4088dcd 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.8.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.10.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | # Copyright (C) 2017-2023 NXP | 1 | # Copyright (C) 2017-2024 NXP |
2 | 2 | ||
3 | DESCRIPTION = "i.MX ARM Trusted Firmware" | 3 | DESCRIPTION = "i.MX ARM Trusted Firmware" |
4 | SECTION = "BSP" | 4 | SECTION = "BSP" |
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/BSD-3-Clause;m | |||
8 | PV .= "+git${SRCPV}" | 8 | PV .= "+git${SRCPV}" |
9 | 9 | ||
10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH}" | 10 | SRC_URI = "git://github.com/nxp-imx/imx-atf.git;protocol=https;branch=${SRCBRANCH}" |
11 | SRCBRANCH = "lf_v2.8" | 11 | SRCBRANCH = "lf_v2.10" |
12 | SRCREV = "8dbe28631802a51b3ec8179b2c5635b00393ad97" | 12 | SRCREV = "1b27ee3edbb40ef9432c69ccaa744d1ac5d54c5d" |
13 | 13 | ||
14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
15 | 15 | ||
@@ -48,7 +48,9 @@ def remove_options_tail (in_string): | |||
48 | from itertools import takewhile | 48 | from itertools import takewhile |
49 | return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' '))) | 49 | return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' '))) |
50 | 50 | ||
51 | EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}.bfd"' | 51 | # LD can have linker suffix in its name e.g. aarch64-yoe-linux-ld.lld so we need to |
52 | # drop .lld as well along with options from LD | ||
53 | EXTRA_OEMAKE += 'LD="${HOST_PREFIX}ld.bfd"' | ||
52 | 54 | ||
53 | EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' | 55 | EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' |
54 | 56 | ||
diff --git a/recipes-bsp/imx-lib/imx-lib_git.bb b/recipes-bsp/imx-lib/imx-lib_git.bb index 74b7bddf7..348d717a7 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.1.55_2.2.0" | 16 | SRCBRANCH = "lf-6.6.36_2.1.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 a761870b5..eae1778c7 100644 --- a/recipes-bsp/imx-mkimage/imx-boot_1.0.bb +++ b/recipes-bsp/imx-mkimage/imx-boot_1.0.bb | |||
@@ -1,4 +1,4 @@ | |||
1 | # Copyright (C) 2017-2020 NXP | 1 | # Copyright (C) 2017-2024 NXP |
2 | 2 | ||
3 | require imx-mkimage_git.inc | 3 | require imx-mkimage_git.inc |
4 | 4 | ||
@@ -7,7 +7,7 @@ LICENSE = "GPL-2.0-only" | |||
7 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" | 7 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6" |
8 | SECTION = "BSP" | 8 | SECTION = "BSP" |
9 | 9 | ||
10 | inherit use-imx-security-controller-firmware uboot-sign | 10 | inherit use-imx-security-controller-firmware uboot-config |
11 | 11 | ||
12 | DEPENDS += " \ | 12 | DEPENDS += " \ |
13 | u-boot \ | 13 | u-boot \ |
@@ -18,14 +18,11 @@ DEPENDS += " \ | |||
18 | # xxd is a dependency of fspi_packer.sh | 18 | # xxd is a dependency of fspi_packer.sh |
19 | DEPENDS += "xxd-native" | 19 | DEPENDS += "xxd-native" |
20 | DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native" | 20 | DEPENDS:append:mx8m-generic-bsp = " u-boot-mkimage-native dtc-native" |
21 | BOOT_NAME = "imx-boot" | 21 | DEPENDS:append:mx93-generic-bsp = " u-boot-mkimage-native dtc-native" |
22 | PROVIDES = "${BOOT_NAME}" | ||
23 | 22 | ||
24 | inherit deploy uuu_bootloader_tag | 23 | inherit deploy uuu_bootloader_tag |
25 | 24 | ||
26 | UUU_BOOTLOADER = "${BOOT_NAME}" | 25 | UUU_BOOTLOADER = "imx-boot" |
27 | UUU_BOOTLOADER_TAGGED = "${BOOT_NAME}-tagged" | ||
28 | UUU_BOOTLOADER_UNTAGGED = "${BOOT_NAME}-untagged" | ||
29 | 26 | ||
30 | # Add CFLAGS with native INCDIR & LIBDIR for imx-mkimage build | 27 | # Add CFLAGS with native INCDIR & LIBDIR for imx-mkimage build |
31 | CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}" | 28 | CFLAGS = "-O2 -Wall -std=c99 -I ${STAGING_INCDIR_NATIVE} -L ${STAGING_LIBDIR_NATIVE}" |
@@ -41,14 +38,20 @@ do_compile[depends] += " \ | |||
41 | 38 | ||
42 | SC_FIRMWARE_NAME ?= "scfw_tcm.bin" | 39 | SC_FIRMWARE_NAME ?= "scfw_tcm.bin" |
43 | 40 | ||
41 | OEI_ENABLE = "${@bb.utils.contains('DEPENDS', 'virtual/imx-oei', 'YES', 'NO', d)}" | ||
42 | OEI_NAME ?= "oei-${OEI_CORE}-*.bin" | ||
43 | |||
44 | ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" | 44 | ATF_MACHINE_NAME ?= "bl31-${ATF_PLATFORM}.bin" |
45 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" | 45 | ATF_MACHINE_NAME:append = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', '-optee', '', d)}" |
46 | 46 | ||
47 | BOOT_VARIANT ?= "" | ||
48 | |||
47 | TOOLS_NAME ?= "mkimage_imx8" | 49 | TOOLS_NAME ?= "mkimage_imx8" |
48 | 50 | ||
49 | IMX_BOOT_SOC_TARGET ?= "INVALID" | 51 | IMX_BOOT_SOC_TARGET ?= "INVALID" |
50 | 52 | ||
51 | DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" | 53 | DEPLOY_OPTEE = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'true', 'false', d)}" |
54 | DEPLOY_OPTEE_STMM = "${@bb.utils.contains('MACHINE_FEATURES', 'optee stmm', 'true', 'false', d)}" | ||
52 | 55 | ||
53 | IMXBOOT_TARGETS ?= \ | 56 | IMXBOOT_TARGETS ?= \ |
54 | "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \ | 57 | "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \ |
@@ -58,23 +61,33 @@ IMXBOOT_TARGETS ?= \ | |||
58 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" | 61 | BOOT_STAGING = "${S}/${IMX_BOOT_SOC_TARGET}" |
59 | BOOT_STAGING:mx8m-generic-bsp = "${S}/iMX8M" | 62 | 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:mx9-generic-bsp = "${S}/iMX9" | 64 | BOOT_STAGING:mx91-generic-bsp = "${S}/iMX91" |
65 | BOOT_STAGING:mx93-generic-bsp = "${S}/iMX93" | ||
66 | BOOT_STAGING:mx95-generic-bsp = "${S}/iMX95" | ||
62 | 67 | ||
63 | SOC_FAMILY = "INVALID" | 68 | SOC_FAMILY = "INVALID" |
64 | SOC_FAMILY:mx8-generic-bsp = "mx8" | 69 | SOC_FAMILY:mx8-generic-bsp = "mx8" |
65 | SOC_FAMILY:mx8m-generic-bsp = "mx8m" | 70 | SOC_FAMILY:mx8m-generic-bsp = "mx8m" |
66 | SOC_FAMILY:mx8x-generic-bsp = "mx8x" | 71 | SOC_FAMILY:mx8x-generic-bsp = "mx8x" |
67 | SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" | 72 | SOC_FAMILY:mx8ulp-generic-bsp = "mx8ulp" |
68 | SOC_FAMILY:mx91p-generic-bsp = "mx93" | 73 | SOC_FAMILY:mx91-generic-bsp = "mx91" |
69 | SOC_FAMILY:mx93-generic-bsp = "mx93" | 74 | SOC_FAMILY:mx93-generic-bsp = "mx93" |
75 | SOC_FAMILY:mx95-generic-bsp = "mx95" | ||
70 | 76 | ||
71 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" | 77 | REV_OPTION ?= "REV=${IMX_SOC_REV_UPPER}" |
72 | 78 | ||
73 | do_uboot_assemble_fitimage:prepend:imx-generic-bsp() { | 79 | UBOOT_DTB_BINARY ?= "u-boot.dtb" |
74 | for config in ${UBOOT_MACHINE}; do | 80 | MKIMAGE_EXTRA_ARGS ?= "" |
75 | mkdir -p ${B}/${config} | 81 | MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp ?= " \ |
76 | done | 82 | OEI=${OEI_ENABLE} \ |
77 | } | 83 | LPDDR_TYPE=${DDR_TYPE} \ |
84 | ${@'LPDDR_FW_VERSION='+d.getVar('LPDDR_FW_VERSION') if d.getVar('LPDDR_FW_VERSION') else ''} \ | ||
85 | ${@bb.utils.contains('SYSTEM_MANAGER_CONFIG', 'mx95alt', 'MSEL=1', '', d)}" | ||
86 | MKIMAGE_EXTRA_ARGS:imx95-19x19-verdin ?= " \ | ||
87 | ${MKIMAGE_EXTRA_ARGS:mx95-nxp-bsp} \ | ||
88 | QSPI_HEADER=./scripts/fspi_header_133" | ||
89 | |||
90 | UBOOT_DTB_BINARY ?= "u-boot.dtb" | ||
78 | 91 | ||
79 | compile_mx8m() { | 92 | compile_mx8m() { |
80 | bbnote 8MQ/8MM/8MN/8MP boot binary build | 93 | bbnote 8MQ/8MM/8MN/8MP boot binary build |
@@ -90,9 +103,13 @@ compile_mx8m() { | |||
90 | 103 | ||
91 | if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ] ; then | 104 | if [ "x${UBOOT_SIGN_ENABLE}" = "x1" ] ; then |
92 | # Use DTB binary patched with signature node | 105 | # Use DTB binary patched with signature node |
93 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_BINARY} ${BOOT_STAGING}/${UBOOT_DTB_NAME_EXTRA} | 106 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_DTB_BINARY} ${BOOT_STAGING}/${UBOOT_DTB_NAME_EXTRA} |
94 | else | 107 | else |
95 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${UBOOT_DTB_NAME_EXTRA} ${BOOT_STAGING} | 108 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${UBOOT_DTB_NAME_EXTRA} \ |
109 | ${BOOT_STAGING} | ||
110 | fi | ||
111 | if [ "${UBOOT_DTB_NAME_EXTRA}" != "${UBOOT_DTB_NAME}" ] ; then | ||
112 | ln -sf ${UBOOT_DTB_NAME_EXTRA} ${BOOT_STAGING}/${UBOOT_DTB_NAME} | ||
96 | fi | 113 | fi |
97 | 114 | ||
98 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \ | 115 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/u-boot-nodtb.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \ |
@@ -100,9 +117,10 @@ compile_mx8m() { | |||
100 | 117 | ||
101 | cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin | 118 | cp ${DEPLOY_DIR_IMAGE}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin |
102 | 119 | ||
103 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME_EXTRA} ${BOOT_STAGING}/u-boot.bin | 120 | cp ${DEPLOY_DIR_IMAGE}/${UBOOT_NAME_EXTRA} ${BOOT_STAGING}/u-boot.bin |
104 | 121 | ||
105 | } | 122 | } |
123 | |||
106 | compile_mx8() { | 124 | compile_mx8() { |
107 | bbnote 8QM boot binary build | 125 | bbnote 8QM boot binary build |
108 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin | 126 | cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${SC_FIRMWARE_NAME} ${BOOT_STAGING}/scfw_tcm.bin |
@@ -139,6 +157,11 @@ compile_mx8ulp() { | |||
139 | fi | 157 | fi |
140 | } | 158 | } |
141 | 159 | ||
160 | compile_mx91() { | ||
161 | bbnote i.MX 91 boot binary build | ||
162 | compile_mx93 | ||
163 | } | ||
164 | |||
142 | compile_mx93() { | 165 | compile_mx93() { |
143 | bbnote i.MX 93 boot binary build | 166 | bbnote i.MX 93 boot binary build |
144 | for ddr_firmware in ${DDR_FIRMWARE_NAME}; do | 167 | for ddr_firmware in ${DDR_FIRMWARE_NAME}; do |
@@ -155,13 +178,30 @@ compile_mx93() { | |||
155 | fi | 178 | fi |
156 | } | 179 | } |
157 | 180 | ||
181 | compile_mx95() { | ||
182 | bbnote i.MX 95 boot binary build | ||
183 | compile_mx93 | ||
184 | |||
185 | cp ${DEPLOY_DIR_IMAGE}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin \ | ||
186 | ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin | ||
187 | } | ||
188 | |||
158 | do_compile() { | 189 | do_compile() { |
159 | # mkimage for i.MX8 | 190 | # mkimage for i.MX8 |
160 | # Copy TEE binary to SoC target folder to mkimage | 191 | # Copy TEE binary to SoC target folder to mkimage |
161 | if ${DEPLOY_OPTEE}; then | 192 | if ${DEPLOY_OPTEE}; then |
162 | cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING} | 193 | cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING} |
194 | if ${DEPLOY_OPTEE_STMM}; then | ||
195 | # Copy tee.bin to tee.bin-stmm | ||
196 | cp ${DEPLOY_DIR_IMAGE}/tee.bin ${BOOT_STAGING}/tee.bin-stmm | ||
197 | fi | ||
163 | fi | 198 | fi |
164 | for type in ${UBOOT_CONFIG}; do | 199 | # Copy OEI firmware to SoC target folder to mkimage |
200 | if [ "${OEI_ENABLE}" = "YES" ]; then | ||
201 | cp ${DEPLOY_DIR_IMAGE}/${OEI_NAME} ${BOOT_STAGING} | ||
202 | fi | ||
203 | |||
204 | for type in ${UBOOT_CONFIG}; do | ||
165 | if [ "${@d.getVarFlags('UBOOT_DTB_NAME')}" = "None" ]; then | 205 | if [ "${@d.getVarFlags('UBOOT_DTB_NAME')}" = "None" ]; then |
166 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" | 206 | UBOOT_DTB_NAME_FLAGS="${type}:${UBOOT_DTB_NAME}" |
167 | else | 207 | else |
@@ -184,18 +224,30 @@ do_compile() { | |||
184 | UBOOT_DTB_NAME_EXTRA="${dtb_name}" | 224 | UBOOT_DTB_NAME_EXTRA="${dtb_name}" |
185 | fi | 225 | fi |
186 | UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}" | 226 | UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}" |
187 | BOOT_CONFIG_MACHINE_EXTRA="${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" | 227 | BOOT_CONFIG_MACHINE_EXTRA="imx-boot${BOOT_VARIANT}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" |
188 | 228 | ||
189 | for target in ${IMXBOOT_TARGETS}; do | 229 | for target in ${IMXBOOT_TARGETS}; do |
190 | compile_${SOC_FAMILY} | 230 | compile_${SOC_FAMILY} |
191 | if [ "$target" = "flash_linux_m4_no_v2x" ]; then | 231 | case $target in |
232 | *no_v2x) | ||
192 | # Special target build for i.MX 8DXL with V2X off | 233 | # Special target build for i.MX 8DXL with V2X off |
193 | bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} V2X=NO ${target}" | 234 | bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} V2X=NO ${target}" |
194 | make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} V2X=NO dtbs=${UBOOT_DTB_NAME_EXTRA} flash_linux_m4 | 235 | make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} V2X=NO dtbs=${UBOOT_DTB_NAME_EXTRA} flash_linux_m4 |
195 | else | 236 | ;; |
196 | bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} ${target}" | 237 | *stmm_capsule) |
197 | make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} dtbs=${UBOOT_DTB_NAME_EXTRA} ${target} | 238 | # target for flash_evk_stmm_capsule or |
198 | fi | 239 | # flash_singleboot_stmm_capsule |
240 | cp ${RECIPE_SYSROOT_NATIVE}/${bindir}/mkeficapsule ${BOOT_STAGING} | ||
241 | bbnote "building ${IMX_BOOT_SOC_TARGET} - TEE=tee.bin-stmm ${target}" | ||
242 | cp ${DEPLOY_DIR_IMAGE}/CRT.* ${BOOT_STAGING} | ||
243 | make SOC=${IMX_BOOT_SOC_TARGET} TEE=tee.bin-stmm dtbs=${UBOOT_DTB_NAME} ${REV_OPTION} ${target} | ||
244 | ;; | ||
245 | *) | ||
246 | bbnote "building ${IMX_BOOT_SOC_TARGET} - ${REV_OPTION} ${MKIMAGE_EXTRA_ARGS} ${target}" | ||
247 | make SOC=${IMX_BOOT_SOC_TARGET} ${REV_OPTION} ${MKIMAGE_EXTRA_ARGS} dtbs=${UBOOT_DTB_NAME} ${target} | ||
248 | ;; | ||
249 | esac | ||
250 | |||
199 | if [ -e "${BOOT_STAGING}/flash.bin" ]; then | 251 | if [ -e "${BOOT_STAGING}/flash.bin" ]; then |
200 | cp ${BOOT_STAGING}/flash.bin ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} | 252 | cp ${BOOT_STAGING}/flash.bin ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} |
201 | fi | 253 | fi |
@@ -223,7 +275,7 @@ do_install () { | |||
223 | bbnote "UBOOT_CONFIG = $type" | 275 | bbnote "UBOOT_CONFIG = $type" |
224 | 276 | ||
225 | UBOOT_CONFIG_EXTRA="$type" | 277 | UBOOT_CONFIG_EXTRA="$type" |
226 | BOOT_CONFIG_MACHINE_EXTRA="${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" | 278 | BOOT_CONFIG_MACHINE_EXTRA="imx-boot${BOOT_VARIANT}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" |
227 | 279 | ||
228 | for target in ${IMXBOOT_TARGETS}; do | 280 | for target in ${IMXBOOT_TARGETS}; do |
229 | install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${D}/boot/ | 281 | install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${D}/boot/ |
@@ -278,6 +330,10 @@ deploy_mx8ulp() { | |||
278 | fi | 330 | fi |
279 | } | 331 | } |
280 | 332 | ||
333 | deploy_mx91() { | ||
334 | deploy_mx93 | ||
335 | } | ||
336 | |||
281 | deploy_mx93() { | 337 | deploy_mx93() { |
282 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} | 338 | install -d ${DEPLOYDIR}/${BOOT_TOOLS} |
283 | 339 | ||
@@ -293,6 +349,12 @@ deploy_mx93() { | |||
293 | fi | 349 | fi |
294 | } | 350 | } |
295 | 351 | ||
352 | deploy_mx95() { | ||
353 | deploy_mx93 | ||
354 | install -m 0644 ${BOOT_STAGING}/${SYSTEM_MANAGER_FIRMWARE_BASENAME}.bin \ | ||
355 | ${DEPLOYDIR}/${BOOT_TOOLS}/${SYSTEM_MANAGER_FIRMWARE_NAME}.bin | ||
356 | } | ||
357 | |||
296 | do_deploy() { | 358 | do_deploy() { |
297 | deploy_${SOC_FAMILY} | 359 | deploy_${SOC_FAMILY} |
298 | 360 | ||
@@ -300,13 +362,27 @@ do_deploy() { | |||
300 | if ${DEPLOY_OPTEE}; then | 362 | if ${DEPLOY_OPTEE}; then |
301 | install -m 0644 ${DEPLOY_DIR_IMAGE}/tee.bin ${DEPLOYDIR}/${BOOT_TOOLS} | 363 | install -m 0644 ${DEPLOY_DIR_IMAGE}/tee.bin ${DEPLOYDIR}/${BOOT_TOOLS} |
302 | fi | 364 | fi |
365 | |||
366 | # copy oei to deploy path | ||
367 | if [ "${OEI_ENABLE}" = "YES" ]; then | ||
368 | install -m 0644 ${BOOT_STAGING}/${OEI_NAME} ${DEPLOYDIR}/${BOOT_TOOLS} | ||
369 | fi | ||
370 | |||
303 | # copy makefile (soc.mak) for reference | 371 | # copy makefile (soc.mak) for reference |
304 | install -m 0644 ${BOOT_STAGING}/soc.mak ${DEPLOYDIR}/${BOOT_TOOLS} | 372 | install -m 0644 ${BOOT_STAGING}/soc.mak ${DEPLOYDIR}/${BOOT_TOOLS} |
305 | 373 | ||
374 | # copy stmm files to deploy path | ||
375 | if ${DEPLOY_OPTEE_STMM}; then | ||
376 | install -m 0644 ${BOOT_STAGING}/tee.bin-stmm ${DEPLOYDIR}/${BOOT_TOOLS} | ||
377 | install -m 0644 ${BOOT_STAGING}/capsule1.bin ${DEPLOYDIR}/${BOOT_TOOLS} | ||
378 | install -m 0644 ${BOOT_STAGING}/CRT.* ${DEPLOYDIR}/${BOOT_TOOLS} | ||
379 | install -m 0755 ${BOOT_STAGING}/mkeficapsule ${DEPLOYDIR}/${BOOT_TOOLS} | ||
380 | fi | ||
381 | |||
306 | for type in ${UBOOT_CONFIG}; do | 382 | for type in ${UBOOT_CONFIG}; do |
307 | UBOOT_CONFIG_EXTRA="$type" | 383 | UBOOT_CONFIG_EXTRA="$type" |
308 | UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}" | 384 | UBOOT_NAME_EXTRA="u-boot-${MACHINE}.bin-${UBOOT_CONFIG_EXTRA}" |
309 | BOOT_CONFIG_MACHINE_EXTRA="${BOOT_NAME}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" | 385 | BOOT_CONFIG_MACHINE_EXTRA="imx-boot${BOOT_VARIANT}-${MACHINE}-${UBOOT_CONFIG_EXTRA}.bin" |
310 | 386 | ||
311 | if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} ] ; then | 387 | if [ -e ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} ] ; then |
312 | install -m 0644 ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \ | 388 | install -m 0644 ${DEPLOY_DIR_IMAGE}/u-boot-spl.bin-${MACHINE}-${UBOOT_CONFIG_EXTRA} \ |
@@ -325,9 +401,9 @@ do_deploy() { | |||
325 | install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${DEPLOYDIR} | 401 | install -m 0644 ${S}/${BOOT_CONFIG_MACHINE_EXTRA}-${target} ${DEPLOYDIR} |
326 | done | 402 | done |
327 | 403 | ||
328 | # The first UBOOT_CONFIG listed will be the ${BOOT_NAME} binary | 404 | # The first UBOOT_CONFIG listed will be the imx-boot binary |
329 | if [ ! -f "${DEPLOYDIR}/${UUU_BOOTLOADER}" ]; then | 405 | if [ ! -f "${DEPLOYDIR}/imx-boot" ]; then |
330 | ln -sf ${BOOT_CONFIG_MACHINE_EXTRA}-${IMAGE_IMXBOOT_TARGET} ${DEPLOYDIR}/${BOOT_NAME} | 406 | ln -sf ${BOOT_CONFIG_MACHINE_EXTRA}-${IMAGE_IMXBOOT_TARGET} ${DEPLOYDIR}/imx-boot |
331 | else | 407 | else |
332 | bbwarn "Use custom wks.in for $UBOOT_CONFIG = $type" | 408 | bbwarn "Use custom wks.in for $UBOOT_CONFIG = $type" |
333 | fi | 409 | fi |
diff --git a/recipes-bsp/imx-mkimage/imx-mkimage_git.inc b/recipes-bsp/imx-mkimage/imx-mkimage_git.inc index fb3df750a..abc60c9e0 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.52_2.2.0" |
9 | SRCREV = "cbb99377cc2bb8f7cf213794c030e1c60423ef1f" | 9 | SRCREV = "71b8c18af93a5eb972d80fbec290006066cff24f" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
diff --git a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb index 7dc2e593e..c5fa2ee3e 100644 --- a/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb +++ b/recipes-bsp/imx-sc-firmware/imx-sc-firmware_1.15.0.bb | |||
@@ -10,7 +10,6 @@ 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] = "d608eb2b3d312da1dbde55b8514c1e0f" | ||
14 | SRC_URI[sha256sum] = "1272ac5c31a88017ef548721f3acf930a7eda6ac73aa9f41b5f0cade9d5c0e5f" | 13 | SRC_URI[sha256sum] = "1272ac5c31a88017ef548721f3acf930a7eda6ac73aa9f41b5f0cade9d5c0e5f" |
15 | 14 | ||
16 | BOARD_TYPE ?= "mek" | 15 | BOARD_TYPE ?= "mek" |
diff --git a/recipes-bsp/imx-seco/imx-seco-libs_git.bb b/recipes-bsp/imx-seco/imx-seco-libs_git.bb index b0296e977..353dcb910 100644 --- a/recipes-bsp/imx-seco/imx-seco-libs_git.bb +++ b/recipes-bsp/imx-seco/imx-seco-libs_git.bb | |||
@@ -8,20 +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.11" | 11 | SRCBRANCH = "lf-6.6.3_1.0.0" |
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 | file://0001-Fix-return-value-of-void-functions.patch" | 16 | file://0001-Fix-return-value-of-void-functions.patch" |
17 | SRCREV = "aa8d62900c41cc779c11fe4e6f58b40c3c9f82f0" | 17 | SRCREV = "273553f207425f773400be7a7f3a7c425d892d6f" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
20 | 20 | ||
21 | TARGET_CC_ARCH += "${LDFLAGS}" | 21 | TARGET_CC_ARCH += "${LDFLAGS}" |
22 | 22 | ||
23 | do_install () { | 23 | do_install () { |
24 | oe_runmake DESTDIR=${D} BINDIR=${bindir} LIBDIR=${libdir} install | 24 | oe_runmake DESTDIR=${D} BINDIR=${bindir} LIBDIR=${libdir} install |
25 | } | 25 | } |
26 | 26 | ||
27 | 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.9.0.bb b/recipes-bsp/imx-seco/imx-seco_5.9.4.bb index f7dadea57..6e8aefdf8 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,13 @@ 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[sha256sum] = "9b04be33814a9cbda9bbfcb6711585cf7e4ed2527793813c95230f350323cba7" |
14 | SRC_URI[sha256sum] = "c3bd761f457e939035b01a0ab36e79064a2a1bc6c3cdb3cd847f7f38df0964df" | ||
15 | 14 | ||
16 | 15 | ||
17 | do_compile[noexec] = "1" | 16 | do_compile[noexec] = "1" |
diff --git a/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb new file mode 100644 index 000000000..cebfbdf91 --- /dev/null +++ b/recipes-bsp/imx-secure-enclave/imx-secure-enclave_git.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "NXP i.MX Secure Enclave Userspace Library" | ||
2 | DESCRIPTION = "NXP i.MX Secure Enclave Userspace Library" | ||
3 | SECTION = "base" | ||
4 | |||
5 | LICENSE = "BSD-3-Clause" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8636bd68fc00cc6a3809b7b58b45f982" | ||
7 | |||
8 | DEPENDS = "openssl" | ||
9 | |||
10 | inherit systemd | ||
11 | |||
12 | SRC_URI = "git://github.com/NXP/imx-secure-enclave.git;protocol=https;branch=lf-6.6.52_2.2.0" | ||
13 | SRCREV = "dffbb844e86f4a49058ffbb40548474059969c27" | ||
14 | |||
15 | PV = "lf-6.6.52_2.2.0" | ||
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | EXTRA_OEMAKE += "PLAT=ele" | ||
20 | |||
21 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
22 | |||
23 | do_install () { | ||
24 | oe_runmake DESTDIR=${D} install | ||
25 | rm -rf ${D}/usr/share | ||
26 | } | ||
27 | |||
28 | SYSTEMD_AUTO_ENABLE = "disable" | ||
29 | SYSTEMD_SERVICE:${PN} = "nvm_daemon.service" | ||
30 | |||
31 | COMPATIBLE_MACHINE = "(mx8ulp-nxp-bsp|mx9-nxp-bsp)" | ||
diff --git a/recipes-bsp/imx-test/imx-test_git.bb b/recipes-bsp/imx-test/imx-test_git.bb index 5d30179d5..930cdf949 100644 --- a/recipes-bsp/imx-test/imx-test_git.bb +++ b/recipes-bsp/imx-test/imx-test_git.bb | |||
@@ -13,14 +13,15 @@ DEPENDS:append:imxvpu = " virtual/imxvpu" | |||
13 | DEPENDS:append:mx6-nxp-bsp = " imx-lib" | 13 | DEPENDS:append:mx6-nxp-bsp = " imx-lib" |
14 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" | 14 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" |
15 | DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" | 15 | DEPENDS:append:mx8ulp-nxp-bsp = " imx-lib" |
16 | DEPENDS:append:mx93-nxp-bsp = " imx-lib" | ||
16 | 17 | ||
17 | PE = "1" | 18 | PE = "1" |
18 | PV = "7.0+${SRCPV}" | 19 | PV = "7.0+${SRCPV}" |
19 | 20 | ||
20 | SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ | 21 | SRC_URI = "git://github.com/nxp-imx/imx-test.git;protocol=https;branch=${SRCBRANCH} \ |
21 | file://memtool_profile" | 22 | file://memtool_profile" |
22 | SRCBRANCH = "lf-6.1.55_2.2.0" | 23 | SRCBRANCH = "lf-6.6.3_1.0.0" |
23 | SRCREV = "e8b3c9026553233491abb4df4185dd7291a8ffb2" | 24 | SRCREV = "8a1fa37664a1e470cf86f1185c08e265e4602a9b" |
24 | 25 | ||
25 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
26 | 27 | ||
@@ -39,6 +40,8 @@ PLATFORM:mx7d-nxp-bsp = "IMX7D" | |||
39 | PLATFORM:mx7ulp-nxp-bsp = "IMX7D" | 40 | PLATFORM:mx7ulp-nxp-bsp = "IMX7D" |
40 | PLATFORM:mx8-nxp-bsp = "IMX8" | 41 | PLATFORM:mx8-nxp-bsp = "IMX8" |
41 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" | 42 | PLATFORM:mx8ulp-nxp-bsp = "IMX8ULP" |
43 | PLATFORM:mx93-nxp-bsp = "IMX8ULP" | ||
44 | PLATFORM:mx95-nxp-bsp = "IMX8" | ||
42 | 45 | ||
43 | PARALLEL_MAKE = "-j 1" | 46 | PARALLEL_MAKE = "-j 1" |
44 | EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}" | 47 | EXTRA_OEMAKE += "${PACKAGECONFIG_CONFARGS}" |
diff --git a/recipes-bsp/imx-uuc/imx-uuc_git.bb b/recipes-bsp/imx-uuc/imx-uuc_git.bb index 49fc15581..e245f28ba 100644 --- a/recipes-bsp/imx-uuc/imx-uuc_git.bb +++ b/recipes-bsp/imx-uuc/imx-uuc_git.bb | |||
@@ -6,8 +6,6 @@ DEPENDS = "virtual/kernel dosfstools-native" | |||
6 | LICENSE = "GPL-2.0-only" | 6 | LICENSE = "GPL-2.0-only" |
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
8 | 8 | ||
9 | inherit autotools-brokensep | ||
10 | |||
11 | PR = "r1" | 9 | PR = "r1" |
12 | PV = "0.5.1+git${SRCPV}" | 10 | PV = "0.5.1+git${SRCPV}" |
13 | 11 | ||
@@ -16,6 +14,10 @@ SRCREV = "9b4adc0cde346fbae743dc21fcf5115488307b83" | |||
16 | 14 | ||
17 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
18 | 16 | ||
17 | do_install() { | ||
18 | oe_runmake 'DESTDIR=${D}' install | ||
19 | } | ||
20 | |||
19 | FILES:${PN} += "/linuxrc /fat" | 21 | FILES:${PN} += "/linuxrc /fat" |
20 | 22 | ||
21 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" | 23 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" |
diff --git a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.9.0.bb b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb index 26ebf1816..2e4718c9d 100644 --- a/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.9.0.bb +++ b/recipes-bsp/imx-vpu-hantro-vc/imx-vpu-hantro-vc_1.10.1.bb | |||
@@ -2,16 +2,16 @@ | |||
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=5a0bf11f745e68024f37b4724a5364fe" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" |
6 | 6 | ||
7 | inherit fsl-eula-unpack | 7 | inherit fsl-eula-unpack |
8 | 8 | ||
9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 9 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" |
10 | IMX_SRCREV_ABBREV = "c0244a1" | ||
10 | 11 | ||
11 | S = "${WORKDIR}/${BPN}-${PV}" | 12 | SRC_URI[sha256sum] = "713ba375f25490727fcc62bab5d5508f74de03204b4c153464b696b652c5c7df" |
12 | 13 | ||
13 | SRC_URI[md5sum] = "192b354d1c21836dc7338606e60b45ae" | 14 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" |
14 | SRC_URI[sha256sum] = "62b5ba3c4aab21d0d4be3eee9b204a9bb50b83b6140ee1a3b27c648809bdfbaa" | ||
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.6.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.4.0.bb index f603190be..e58e2f92e 100644 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.1.6.bb +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro-daemon_1.4.0.bb | |||
@@ -6,9 +6,12 @@ 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 = "${FSL_MIRROR}/${BP}.tar.gz" | 9 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.tar.gz" |
10 | SRC_URI[md5sum] = "23997361dab3054e5a3757a15d33db16" | 10 | IMX_SRCREV_ABBREV = "75d9dd9" |
11 | SRC_URI[sha256sum] = "ac2b60fb754792eedcfdfc8cf59663cfeaedc402857eff13ac97a911d2c65801" | 11 | |
12 | SRC_URI[sha256sum] = "c3ac36c203fef44ef21c98a90b3fff73af9f328f16b4d85157308848f6c34823" | ||
13 | |||
14 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
12 | 15 | ||
13 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | 16 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" |
14 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | 17 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" |
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb deleted file mode 100644 index 0757a7fb5..000000000 --- a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.28.0.bb +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | # Copyright (C) 2017-2020 NXP | ||
2 | |||
3 | DESCRIPTION = "i.MX Hantro VPU library" | ||
4 | LICENSE = "Proprietary" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ea25d099982d035af85d193c88a1b479" | ||
6 | |||
7 | PROVIDES = "virtual/imxvpu" | ||
8 | |||
9 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | ||
10 | SRC_URI[md5sum] = "81b4eb801349a0c198b7cc43eb8b6097" | ||
11 | SRC_URI[sha256sum] = "e868e12945b4f217e2e0511fdc2587875d6c9124e8673b67f1e7de367ff5012f" | ||
12 | |||
13 | inherit fsl-eula-unpack use-imx-headers | ||
14 | |||
15 | PARALLEL_MAKE="-j 1" | ||
16 | |||
17 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | ||
18 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | ||
19 | PLATFORM:mx8mp-nxp-bsp = "IMX8MP" | ||
20 | |||
21 | EXTRA_OEMAKE = " \ | ||
22 | CROSS_COMPILE="${HOST_PREFIX}" \ | ||
23 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ | ||
24 | PLATFORM="${PLATFORM}" \ | ||
25 | " | ||
26 | |||
27 | do_install () { | ||
28 | oe_runmake install DEST_DIR="${D}" | ||
29 | } | ||
30 | |||
31 | FILES:${PN} += "/unit_tests" | ||
32 | |||
33 | RDEPENDS:${PN} += "imx-vpu-hantro-daemon" | ||
34 | |||
35 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
36 | COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" | ||
diff --git a/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.35.0.bb b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.35.0.bb new file mode 100644 index 000000000..87b4fa53b --- /dev/null +++ b/recipes-bsp/imx-vpu-hantro/imx-vpu-hantro_1.35.0.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | # Copyright (C) 2017-2020 NXP | ||
2 | |||
3 | DESCRIPTION = "i.MX Hantro VPU library" | ||
4 | LICENSE = "Proprietary" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | ||
6 | |||
7 | PROVIDES = "virtual/imxvpu" | ||
8 | |||
9 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | ||
10 | IMX_SRCREV_ABBREV = "98ff183" | ||
11 | |||
12 | SRC_URI[sha256sum] = "c4730cb996a3eafbc06ed0765cd509caa63cdeecdc0c4958efbc91383e0501fd" | ||
13 | |||
14 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
15 | |||
16 | inherit fsl-eula-unpack use-imx-headers | ||
17 | |||
18 | PARALLEL_MAKE="-j 1" | ||
19 | |||
20 | PLATFORM:mx8mm-nxp-bsp = "IMX8MM" | ||
21 | PLATFORM:mx8mq-nxp-bsp = "IMX8MQ" | ||
22 | PLATFORM:mx8mp-nxp-bsp = "IMX8MP" | ||
23 | |||
24 | #| ../../source/h264high/h264decapi.c:1803:22: error: assignment to 'const u8 *' {aka 'const unsigned char *'} from incompatible pointer type 'u32 *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] | ||
25 | #| 1803 | ref_data = ref.virtual_address; | ||
26 | #| ../../source/h264high/h264decapi.c:2086:22: error: assignment to 'const u8 *' {aka 'const unsigned char *'} from incompatible pointer type 'u32 *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] | ||
27 | #| 2086 | ref_data = ref.virtual_address; | ||
28 | |||
29 | CFLAGS += " -Wno-error=incompatible-pointer-types" | ||
30 | EXTRA_OEMAKE = " \ | ||
31 | CROSS_COMPILE="${HOST_PREFIX}" \ | ||
32 | SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \ | ||
33 | PLATFORM="${PLATFORM}" \ | ||
34 | " | ||
35 | |||
36 | do_install () { | ||
37 | oe_runmake install DEST_DIR="${D}" | ||
38 | } | ||
39 | |||
40 | FILES:${PN} += "/unit_tests" | ||
41 | |||
42 | RDEPENDS:${PN} += "imx-vpu-hantro-daemon" | ||
43 | |||
44 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
45 | COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)" | ||
diff --git a/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb b/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb index 383a0e2a9..fc90cdab7 100644 --- a/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb +++ b/recipes-bsp/imx-vpu/imx-vpu_5.4.39.3.bb | |||
@@ -7,12 +7,10 @@ LICENSE = "Proprietary" | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9" |
8 | 8 | ||
9 | PROVIDES = "virtual/imxvpu" | 9 | PROVIDES = "virtual/imxvpu" |
10 | RPROVIDES:${PN} = "virtual/imxvpu" | ||
11 | 10 | ||
12 | PE = "1" | 11 | PE = "1" |
13 | 12 | ||
14 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" | 13 | SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true" |
15 | SRC_URI[md5sum] = "6d6302189a6704874375afe62a65def0" | ||
16 | SRC_URI[sha256sum] = "87cb799a57df654db29403cb74a75ca5185a1517022d3a4a16b8d69056c36127" | 14 | SRC_URI[sha256sum] = "87cb799a57df654db29403cb74a75ca5185a1517022d3a4a16b8d69056c36127" |
17 | 15 | ||
18 | inherit fsl-eula-unpack use-imx-headers | 16 | inherit fsl-eula-unpack use-imx-headers |
diff --git a/recipes-bsp/isp-imx/basler-camera_4.2.2.24.0.bb b/recipes-bsp/isp-imx/basler-camera_4.2.2.24.0.bb index 0ab440748..59ba1c619 100644 --- a/recipes-bsp/isp-imx/basler-camera_4.2.2.24.0.bb +++ b/recipes-bsp/isp-imx/basler-camera_4.2.2.24.0.bb | |||
@@ -8,7 +8,6 @@ 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] = "31d716e1f40c248556e5a8e6b467ba71" | ||
12 | SRC_URI[sha256sum] = "ad3e98ee0c10f2b3e74af8923f44b8d5908e42eedbca12a702e35cee9328d8cf" | 11 | SRC_URI[sha256sum] = "ad3e98ee0c10f2b3e74af8923f44b8d5908e42eedbca12a702e35cee9328d8cf" |
13 | 12 | ||
14 | do_install() { | 13 | do_install() { |
diff --git a/recipes-bsp/isp-imx/isp-imx/0001-cpp-netlib-parsers.ipp-add-missing-include.patch b/recipes-bsp/isp-imx/isp-imx/0001-cpp-netlib-parsers.ipp-add-missing-include.patch deleted file mode 100644 index 3f04000cf..000000000 --- a/recipes-bsp/isp-imx/isp-imx/0001-cpp-netlib-parsers.ipp-add-missing-include.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | From 15aae364fb52df30e4a49e73e2048fdc633e6868 Mon Sep 17 00:00:00 2001 | ||
2 | From: Max Krummenacher <max.krummenacher@toradex.com> | ||
3 | Date: Sun, 8 Oct 2023 09:15:54 -0300 | ||
4 | Subject: [PATCH] cpp-netlib: parsers.ipp: add missing include | ||
5 | |||
6 | With the update to boost from 1.82.0 -> 1.83.0 we now get compiler errors: | ||
7 | |||
8 | | .../isp-imx/4.2.2.22.0/isp-imx-4.2.2.22.0/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp:58:3: error: 'u8_to_u32_iterator' was not declared in this scope | ||
9 | |||
10 | Add the missing explicit include. Before the file was indirectly included from qi.hpp: | ||
11 | |||
12 | | In file included from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/regex/pending/unicode_iterator.hpp:27, | ||
13 | | from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/support/utf8.hpp:15, | ||
14 | | from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/support/info.hpp:17, | ||
15 | | from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/qi/domain.hpp:16, | ||
16 | | from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/qi/meta_compiler.hpp:15, | ||
17 | | from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/qi/action/action.hpp:14, | ||
18 | | from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/qi/action.hpp:14, | ||
19 | | from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/home/qi.hpp:14, | ||
20 | | from .../isp-imx/4.2.2.22.0/recipe-sysroot/usr/include/boost/spirit/include/qi.hpp:16, | ||
21 | | from .../isp-imx/4.2.2.22.0/isp-imx-4.2.2.22.0/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp:5, | ||
22 | |||
23 | Upstream-Status: Pending | ||
24 | |||
25 | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> | ||
26 | --- | ||
27 | .../boost/network/protocol/http/server/impl/parsers.ipp | 1 + | ||
28 | 1 file changed, 1 insertion(+) | ||
29 | |||
30 | diff --git a/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp b/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp | ||
31 | index c31e60e..2b83fbe 100755 | ||
32 | --- a/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp | ||
33 | +++ b/utils3rd/3rd/cpp-netlib/boost/network/protocol/http/server/impl/parsers.ipp | ||
34 | @@ -13,6 +13,7 @@ | ||
35 | #include <tuple> | ||
36 | #include <boost/fusion/include/std_tuple.hpp> | ||
37 | #include <boost/network/protocol/http/message/header.hpp> | ||
38 | +#include <boost/regex/pending/unicode_iterator.hpp> | ||
39 | |||
40 | #ifdef BOOST_NETWORK_NO_LIB | ||
41 | #ifndef BOOST_NETWORK_INLINE | ||
42 | -- | ||
43 | 2.35.3 | ||
44 | |||
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.24.0.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.24.0.bb deleted file mode 100644 index 9e0f02656..000000000 --- a/recipes-bsp/isp-imx/isp-imx_4.2.2.24.0.bb +++ /dev/null | |||
@@ -1,105 +0,0 @@ | |||
1 | # Copyright 2020-2023 NXP | ||
2 | |||
3 | DESCRIPTION = "i.MX Verisilicon Software ISP" | ||
4 | LICENSE = "Proprietary" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=2827219e81f28aba7c6a569f7c437fa7" | ||
6 | DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 patchelf-native" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | ${FSL_MIRROR}/${BP}.bin;fsl-eula=true \ | ||
10 | file://0001-cpp-netlib-parsers.ipp-add-missing-include.patch \ | ||
11 | " | ||
12 | |||
13 | SRC_URI[sha256sum] = "34b23f5b9f0856a8f5722e339a7ad4ccf4d99614788598306ff8b20093c1e846" | ||
14 | |||
15 | inherit fsl-eula-unpack cmake systemd use-imx-headers | ||
16 | |||
17 | # Build the sub-folder appshell | ||
18 | OECMAKE_SOURCEPATH = "${S}/appshell" | ||
19 | |||
20 | # Use make instead of ninja | ||
21 | OECMAKE_GENERATOR = "Unix Makefiles" | ||
22 | |||
23 | # Workaround for linking issues seen with gold linker | ||
24 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | ||
25 | |||
26 | SYSTEMD_SERVICE:${PN} = "imx8-isp.service" | ||
27 | |||
28 | EXTRA_OECMAKE += " \ | ||
29 | -DSDKTARGETSYSROOT=${STAGING_DIR_HOST} \ | ||
30 | -DCMAKE_BUILD_TYPE=release \ | ||
31 | -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ | ||
32 | -DCMAKE_INSTALL_LIBDIR=${libdir} \ | ||
33 | -DISP_VERSION=ISP8000NANO_V1802 \ | ||
34 | -DPLATFORM=ARM64 \ | ||
35 | -DAPPMODE=V4L2 \ | ||
36 | -DTUNINGEXT=1 \ | ||
37 | -DQTLESS=1 \ | ||
38 | -DFULL_SRC_COMPILE=1 \ | ||
39 | -DWITH_DRM=1 \ | ||
40 | -DWITH_DWE=1 \ | ||
41 | -DSERVER_LESS=1 \ | ||
42 | -DSUBDEV_V4L2=1 \ | ||
43 | -DENABLE_IRQ=1 \ | ||
44 | -DPARTITION_BUILD=0 \ | ||
45 | -D3A_SRC_BUILD=0 \ | ||
46 | -DIMX_G2D=ON \ | ||
47 | -Wno-dev \ | ||
48 | " | ||
49 | |||
50 | do_configure:prepend () { | ||
51 | # FIXME: Should be rebuild. | ||
52 | patchelf --replace-needed libtinyxml2.so.9 libtinyxml2.so.10 ${S}/units/cam_device/proprietories/lib/libcam_device.so | ||
53 | patchelf --replace-needed libtinyxml2.so.9 libtinyxml2.so.10 ${S}/mediacontrol/lib/arm-64/fpga/libcam_device.so | ||
54 | } | ||
55 | |||
56 | do_install() { | ||
57 | # FIXME: provided by the basler-camera package, do not install them here additionally | ||
58 | rm -f ${S}/dewarp/dewarp_config//daA3840_30mc*.json | ||
59 | |||
60 | install -d ${D}/${libdir} | ||
61 | install -d ${D}/${includedir} | ||
62 | install -d ${D}/opt/imx8-isp/bin | ||
63 | install -d ${D}/opt/imx8-isp/bin/dewarp_config | ||
64 | |||
65 | cp -r ${B}/generated/release/bin/*_test ${D}/opt/imx8-isp/bin | ||
66 | cp -r ${B}/generated/release/bin/*.xml ${D}/opt/imx8-isp/bin | ||
67 | cp -r ${B}/generated/release/bin/*.drv ${D}/opt/imx8-isp/bin | ||
68 | cp -r ${B}/generated/release/bin/tuningext ${D}/opt/imx8-isp/bin | ||
69 | cp -r ${B}/generated/release/bin/isp_media_server ${D}/opt/imx8-isp/bin | ||
70 | cp -r ${B}/generated/release/bin/vvext ${D}/opt/imx8-isp/bin | ||
71 | |||
72 | cp -r ${B}/generated/release/lib/*.so* ${D}/${libdir} | ||
73 | cp -r ${B}/generated/release/include/* ${D}/${includedir} | ||
74 | |||
75 | cp -r ${S}/dewarp/dewarp_config/ ${D}/opt/imx8-isp/bin | ||
76 | cp ${S}/imx/run.sh ${D}/opt/imx8-isp/bin | ||
77 | cp ${S}/imx/start_isp.sh ${D}/opt/imx8-isp/bin | ||
78 | |||
79 | chmod +x ${D}/opt/imx8-isp/bin/run.sh | ||
80 | chmod +x ${D}/opt/imx8-isp/bin/start_isp.sh | ||
81 | |||
82 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
83 | install -d ${D}${systemd_system_unitdir} | ||
84 | install -m 0644 ${S}/imx/imx8-isp.service ${D}${systemd_system_unitdir} | ||
85 | fi | ||
86 | } | ||
87 | |||
88 | # The build contains a mix of versioned and unversioned libraries, so | ||
89 | # the default packaging configuration needs some modification so that | ||
90 | # unversioned .so libraries go to the main package and versioned .so | ||
91 | # symlinks go to -dev. | ||
92 | FILES_SOLIBSDEV = "" | ||
93 | FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}" | ||
94 | FILES:${PN}-dev += "${FILES_SOLIBS_VERSIONED}" | ||
95 | FILES_SOLIBS_VERSIONED = " \ | ||
96 | ${libdir}/libcppnetlib-client-connections.so \ | ||
97 | ${libdir}/libcppnetlib-server-parsers.so \ | ||
98 | ${libdir}/libcppnetlib-uri.so \ | ||
99 | ${libdir}/libjsoncpp.so \ | ||
100 | ${libdir}/libos08a20.so \ | ||
101 | " | ||
102 | |||
103 | RDEPENDS:${PN} = "libdrm" | ||
104 | |||
105 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | ||
diff --git a/recipes-bsp/isp-imx/isp-imx_4.2.2.24.4.bb b/recipes-bsp/isp-imx/isp-imx_4.2.2.24.4.bb new file mode 100644 index 000000000..c8dc1402f --- /dev/null +++ b/recipes-bsp/isp-imx/isp-imx_4.2.2.24.4.bb | |||
@@ -0,0 +1,88 @@ | |||
1 | # Copyright 2020-2023 NXP | ||
2 | |||
3 | DESCRIPTION = "i.MX Verisilicon Software ISP" | ||
4 | LICENSE = "Proprietary" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=ca53281cc0caa7e320d4945a896fb837" | ||
6 | DEPENDS = "boost libdrm virtual/libg2d libtinyxml2 jsoncpp patchelf-native" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | ${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true \ | ||
10 | " | ||
11 | IMX_SRCREV_ABBREV = "8527c7b" | ||
12 | S = "${WORKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
13 | |||
14 | SRC_URI[sha256sum] = "481e49e9da6d7783d6c28385bb68463eac7b9e9fef6ea958950260a8ad6b1e4c" | ||
15 | |||
16 | inherit fsl-eula-unpack cmake systemd use-imx-headers | ||
17 | |||
18 | PACKAGECONFIG = "tuningext" | ||
19 | # Note: building with tuningext fails with boost 1.87. | ||
20 | # (update to 1.87 with walnascar) | ||
21 | PACKAGECONFIG[tuningext] = "-DTUNINGEXT=1,-DTUNINGEXT=0" | ||
22 | |||
23 | # Build the sub-folder appshell | ||
24 | OECMAKE_SOURCEPATH = "${S}/appshell" | ||
25 | |||
26 | # Use make instead of ninja | ||
27 | OECMAKE_GENERATOR = "Unix Makefiles" | ||
28 | |||
29 | # Workaround for linking issues seen with gold linker | ||
30 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | ||
31 | |||
32 | SYSTEMD_SERVICE:${PN} = "imx8-isp.service" | ||
33 | |||
34 | EXTRA_OECMAKE += " \ | ||
35 | -DSDKTARGETSYSROOT=${STAGING_DIR_HOST} \ | ||
36 | -DCMAKE_BUILD_TYPE=release \ | ||
37 | -DISP_VERSION=ISP8000NANO_V1802 \ | ||
38 | -DPLATFORM=ARM64 \ | ||
39 | -DQTLESS=1 \ | ||
40 | -DFULL_SRC_COMPILE=1 \ | ||
41 | -DWITH_DRM=1 \ | ||
42 | -DWITH_DWE=1 \ | ||
43 | -DSUBDEV_V4L2=1 \ | ||
44 | -DPARTITION_BUILD=0 \ | ||
45 | -D3A_SRC_BUILD=0 \ | ||
46 | -DIMX_G2D=ON \ | ||
47 | -Wno-dev \ | ||
48 | " | ||
49 | |||
50 | do_install() { | ||
51 | # FIXME: provided by the basler-camera package, do not install them here additionally | ||
52 | rm -f ${S}/dewarp/dewarp_config//daA3840_30mc*.json | ||
53 | |||
54 | # The Makefile unconditionally installs tuningext even if it is not built | ||
55 | if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then | ||
56 | touch ${B}/generated/release/bin/tuningext | ||
57 | fi | ||
58 | |||
59 | oe_runmake -f ${S}/Makefile install INSTALL_DIR=${D} SOURCE_DIR=${S} | ||
60 | |||
61 | if ${@bb.utils.contains('PACKAGECONFIG','tuningext','false','true',d)}; then | ||
62 | rm ${D}/opt/imx8-isp/bin/tuningext | ||
63 | fi | ||
64 | |||
65 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
66 | install -d ${D}${systemd_system_unitdir} | ||
67 | install -m 0644 ${S}/imx/imx8-isp.service ${D}${systemd_system_unitdir} | ||
68 | fi | ||
69 | |||
70 | } | ||
71 | |||
72 | # The build contains a mix of versioned and unversioned libraries, so | ||
73 | # the default packaging configuration needs some modification so that | ||
74 | # unversioned .so libraries go to the main package and versioned .so | ||
75 | # symlinks go to -dev. | ||
76 | FILES_SOLIBSDEV = "" | ||
77 | FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}" | ||
78 | FILES:${PN}-dev += "${FILES_SOLIBS_VERSIONED}" | ||
79 | FILES_SOLIBS_VERSIONED = " \ | ||
80 | ${libdir}/libcppnetlib-client-connections.so \ | ||
81 | ${libdir}/libcppnetlib-server-parsers.so \ | ||
82 | ${libdir}/libcppnetlib-uri.so \ | ||
83 | ${libdir}/libos08a20.so \ | ||
84 | " | ||
85 | |||
86 | RDEPENDS:${PN} = "libdrm" | ||
87 | |||
88 | COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)" | ||
diff --git a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb index b160c31db..ccca3f0e8 100644 --- a/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb +++ b/recipes-bsp/libimxdmabuffer/libimxdmabuffer_1.1.3.bb | |||
@@ -61,7 +61,9 @@ PACKAGECONFIG:append:imxpxp = " pxp" | |||
61 | # former is not available pre-5.6. Out of the dma-heaps, we | 61 | # former is not available pre-5.6. Out of the dma-heaps, we |
62 | # pick the uncached one by default (see above). | 62 | # pick the uncached one by default (see above). |
63 | PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached" | 63 | PACKAGECONFIG:append:mx8-nxp-bsp = " dma-heap-uncached" |
64 | PACKAGECONFIG:append:mx8m-nxp-bsp = " dwl" | 64 | PACKAGECONFIG:append:mx8mq-nxp-bsp = " dwl" |
65 | PACKAGECONFIG:append:mx8mm-nxp-bsp = " dwl" | ||
66 | PACKAGECONFIG:append:mx8mp-nxp-bsp = " dwl" | ||
65 | 67 | ||
66 | HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" | 68 | HANTRO_CONF = "--hantro-headers-path=${STAGING_INCDIR}/hantro_dec --hantro-decoder-version=G2" |
67 | 69 | ||
diff --git a/recipes-bsp/mc-utils/mc-utils_git.bb b/recipes-bsp/mc-utils/mc-utils_git.bb index 568096c44..696307209 100644 --- a/recipes-bsp/mc-utils/mc-utils_git.bb +++ b/recipes-bsp/mc-utils/mc-utils_git.bb | |||
@@ -8,7 +8,7 @@ DEPENDS += "dtc-native" | |||
8 | inherit deploy | 8 | inherit deploy |
9 | 9 | ||
10 | SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/mc-utils;protocol=https;nobranch=1" |
11 | SRCREV = "8efeeac253ff780cbf1382ff40e09436d65e220d" | 11 | SRCREV = "5ccc2688b72c4a05119a393cbe3573b5f81d10bc" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
14 | 14 | ||
diff --git a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb index c01bfd4c5..bb542e8c0 100644 --- a/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb +++ b/recipes-bsp/ppfe-firmware/ppfe-firmware_git.bb | |||
@@ -13,10 +13,10 @@ SRCREV = "f55ee9f72090309bbb7ab71f48a498fc02909234" | |||
13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
14 | 14 | ||
15 | do_install () { | 15 | do_install () { |
16 | install -d ${D}/lib/firmware | 16 | install -d ${D}${nonarch_base_libdir}/firmware |
17 | install -d ${D}/boot/engine-pfe-bin | 17 | install -d ${D}/boot/engine-pfe-bin |
18 | install -m 644 ${S}/NXP-Binary-EULA.txt ${D}/lib/firmware | 18 | install -m 644 ${S}/NXP-Binary-EULA.txt ${D}${nonarch_base_libdir}/firmware |
19 | install -m 755 ${S}/ls1012a/slow_path/*.elf ${D}/lib/firmware | 19 | install -m 755 ${S}/ls1012a/slow_path/*.elf ${D}${nonarch_base_libdir}/firmware |
20 | install -m 755 ${S}/ls1012a/u-boot/* ${D}/boot/engine-pfe-bin | 20 | install -m 755 ${S}/ls1012a/u-boot/* ${D}/boot/engine-pfe-bin |
21 | } | 21 | } |
22 | 22 | ||
@@ -27,7 +27,7 @@ do_deploy () { | |||
27 | 27 | ||
28 | addtask deploy after do_install | 28 | addtask deploy after do_install |
29 | 29 | ||
30 | FILES:${PN} += "/lib/firmware /boot/" | 30 | FILES:${PN} += "${nonarch_base_libdir}/firmware /boot/" |
31 | INSANE_SKIP:${PN} += "arch already-stripped" | 31 | INSANE_SKIP:${PN} += "arch already-stripped" |
32 | INHIBIT_PACKAGE_STRIP = "1" | 32 | INHIBIT_PACKAGE_STRIP = "1" |
33 | INHIBIT_SYSROOT_STRIP = "1" | 33 | INHIBIT_SYSROOT_STRIP = "1" |
diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb b/recipes-bsp/qe-ucode/qe-ucode_git.bb index 33648d1e2..8562f38bc 100644 --- a/recipes-bsp/qe-ucode/qe-ucode_git.bb +++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb | |||
@@ -1,12 +1,12 @@ | |||
1 | DESCRIPTION = "qe microcode binary" | 1 | DESCRIPTION = "qe microcode binary" |
2 | SECTION = "qe-ucode" | 2 | SECTION = "qe-ucode" |
3 | LICENSE = "NXP-Binary-EULA" | 3 | LICENSE = "NXP-Binary-EULA" |
4 | LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=c62f8109b4df15ca37ceeb5e4943626c" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c62f8109b4df15ca37ceeb5e4943626c" |
5 | 5 | ||
6 | inherit deploy | 6 | inherit deploy |
7 | 7 | ||
8 | SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1;protocol=https" | 8 | SRC_URI = "git://github.com/NXP/qoriq-qe-ucode.git;nobranch=1;protocol=https" |
9 | SRCREV= "57401f6dff6507055558eaa6838116baa8a2fd46" | 9 | SRCREV= "c89d7843943fd3bd52aa5f1ff7a91200a2f7f63b" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
diff --git a/recipes-bsp/rcw/rcw_git.bb b/recipes-bsp/rcw/rcw_git.bb index 5721313b2..a4ad982b1 100644 --- a/recipes-bsp/rcw/rcw_git.bb +++ b/recipes-bsp/rcw/rcw_git.bb | |||
@@ -8,7 +8,7 @@ DEPENDS += "tcl-native" | |||
8 | inherit deploy siteinfo | 8 | inherit deploy siteinfo |
9 | 9 | ||
10 | SRC_URI = "git://github.com/nxp-qoriq/rcw;protocol=https;nobranch=1" | 10 | SRC_URI = "git://github.com/nxp-qoriq/rcw;protocol=https;nobranch=1" |
11 | SRCREV = "020dcf0645959afec6705f518e8350476891ef4f" | 11 | SRCREV = "64abe70cf0abab053c37db460c12e367e6adf7a4" |
12 | 12 | ||
13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
14 | 14 | ||
diff --git a/recipes-bsp/u-boot/u-boot-fslc-common_2024.04.inc b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc index b270dfd74..134028503 100644 --- a/recipes-bsp/u-boot/u-boot-fslc-common_2024.04.inc +++ b/recipes-bsp/u-boot/u-boot-fslc-common_2025.01.inc | |||
@@ -10,10 +10,11 @@ DEPENDS += "flex-native bison-native" | |||
10 | 10 | ||
11 | SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH};protocol=https" | 11 | SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH};protocol=https" |
12 | 12 | ||
13 | SRCREV = "1a2bdc16b79a6f9c31829ede1bbf4063ccea6e54" | 13 | SRCREV = "aa4bc52d08c342df83e3c576e2c108d7c8816e0e" |
14 | SRCBRANCH = "2024.04+fslc" | 14 | SRCBRANCH = "2025.01+fslc" |
15 | 15 | ||
16 | PV = "2024.04+git${SRCPV}" | 16 | PV = "2025.01+fslc+git${SRCPV}" |
17 | CVE_PRODUCT = "denx:u-boot" | ||
17 | 18 | ||
18 | S = "${WORKDIR}/git" | 19 | S = "${WORKDIR}/git" |
19 | B = "${WORKDIR}/build" | 20 | B = "${WORKDIR}/build" |
diff --git a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2024.04.bb b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb index b7e4ca760..b7e4ca760 100644 --- a/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2024.04.bb +++ b/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2025.01.bb | |||
diff --git a/recipes-bsp/u-boot/u-boot-fslc_2024.04.bb b/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb index eba8876aa..4dc698219 100644 --- a/recipes-bsp/u-boot/u-boot-fslc_2024.04.bb +++ b/recipes-bsp/u-boot/u-boot-fslc_2025.01.bb | |||
@@ -6,8 +6,6 @@ order to provide support for some backported features and fixes, or because it \ | |||
6 | was submitted for revision and it takes some time to become part of a stable \ | 6 | was submitted for revision and it takes some time to become part of a stable \ |
7 | version, or because it is not applicable for upstreaming." | 7 | version, or because it is not applicable for upstreaming." |
8 | 8 | ||
9 | inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')} | ||
10 | |||
11 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" | 9 | DEPENDS += "bc-native dtc-native python3-setuptools-native gnutls-native" |
12 | 10 | ||
13 | PROVIDES += "u-boot u-boot-mfgtool" | 11 | PROVIDES += "u-boot u-boot-mfgtool" |
@@ -21,5 +19,8 @@ EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \ | |||
21 | HOSTLDFLAGS="${BUILD_LDFLAGS}" \ | 19 | HOSTLDFLAGS="${BUILD_LDFLAGS}" \ |
22 | HOSTSTRIP=true' | 20 | HOSTSTRIP=true' |
23 | 21 | ||
22 | inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')} | ||
23 | inherit uuu_bootloader_tag | ||
24 | |||
24 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 25 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
25 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" | 26 | COMPATIBLE_MACHINE = "(imx-generic-bsp)" |
diff --git a/recipes-bsp/u-boot/u-boot-imx-common_2023.04.inc b/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc index e23235627..39ac4135a 100644 --- a/recipes-bsp/u-boot/u-boot-imx-common_2023.04.inc +++ b/recipes-bsp/u-boot/u-boot-imx-common_2024.04.inc | |||
@@ -4,9 +4,10 @@ LICENSE = "GPL-2.0-or-later" | |||
4 | LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 4 | LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
5 | 5 | ||
6 | SRC_URI = "git://github.com/nxp-imx/uboot-imx.git;protocol=https;branch=${SRCBRANCH}" | 6 | SRC_URI = "git://github.com/nxp-imx/uboot-imx.git;protocol=https;branch=${SRCBRANCH}" |
7 | SRCBRANCH = "lf_v2023.04" | 7 | SRCBRANCH = "lf_v2024.04" |
8 | LOCALVERSION ?= "-imx_v2023.04_6.6.3-1.0.0" | 8 | LOCALVERSION ?= "-imx_v2024.04_6.6.52-2.2.0" |
9 | SRCREV = "f8a2983ec83afd43731d905b4ff0ffd57b57f2f0" | 9 | SRCREV = "6c4545203d123c246c5d7995f2893959506d28e0" |
10 | CVE_PRODUCT = "nxp:uboot_secondary_program_loader denx:u-boot" | ||
10 | 11 | ||
11 | DEPENDS += " \ | 12 | DEPENDS += " \ |
12 | bc-native \ | 13 | bc-native \ |
diff --git a/recipes-bsp/u-boot/u-boot-imx_2023.04.bb b/recipes-bsp/u-boot/u-boot-imx_2024.04.bb index 0e7c467b9..29d835278 100644 --- a/recipes-bsp/u-boot/u-boot-imx_2023.04.bb +++ b/recipes-bsp/u-boot/u-boot-imx_2024.04.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | # Copyright (C) 2013-2016 Freescale Semiconductor | 1 | # Copyright (C) 2013-2016 Freescale Semiconductor |
2 | # Copyright 2018 (C) O.S. Systems Software LTDA. | 2 | # Copyright 2018 (C) O.S. Systems Software LTDA. |
3 | # Copyright (C) 2017-2023 NXP | 3 | # Copyright (C) 2017-2024 NXP |
4 | 4 | ||
5 | require recipes-bsp/u-boot/u-boot.inc | 5 | require recipes-bsp/u-boot/u-boot.inc |
6 | require u-boot-imx-common_${PV}.inc | 6 | require u-boot-imx-common_${PV}.inc |
@@ -9,15 +9,10 @@ PROVIDES += "u-boot u-boot-mfgtool" | |||
9 | 9 | ||
10 | inherit uuu_bootloader_tag | 10 | inherit uuu_bootloader_tag |
11 | 11 | ||
12 | UUU_BOOTLOADER = "" | 12 | # The UUU tag goes on the boot partition. For 8+, the boot partition image |
13 | UUU_BOOTLOADER:mx6-generic-bsp = "${UBOOT_BINARY}" | 13 | # is imx-boot, so disable UUU-tagging here |
14 | UUU_BOOTLOADER:mx7-generic-bsp = "${UBOOT_BINARY}" | 14 | UUU_BOOTLOADER:mx8-generic-bsp = "" |
15 | UUU_BOOTLOADER_TAGGED = "" | 15 | UUU_BOOTLOADER:mx9-generic-bsp = "" |
16 | UUU_BOOTLOADER_TAGGED:mx6-generic-bsp = "u-boot-tagged.${UBOOT_SUFFIX}" | ||
17 | UUU_BOOTLOADER_TAGGED:mx7-generic-bsp = "u-boot-tagged.${UBOOT_SUFFIX}" | ||
18 | UUU_BOOTLOADER_UNTAGGED = "" | ||
19 | UUU_BOOTLOADER_UNTAGGED:mx6-generic-bsp = "u-boot-untagged.${UBOOT_SUFFIX}" | ||
20 | UUU_BOOTLOADER_UNTAGGED:mx7-generic-bsp = "u-boot-untagged.${UBOOT_SUFFIX}" | ||
21 | 16 | ||
22 | do_deploy:append:mx8m-generic-bsp() { | 17 | do_deploy:append:mx8m-generic-bsp() { |
23 | # Deploy u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary | 18 | # Deploy u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary |
@@ -57,6 +52,14 @@ do_deploy:append:mx8m-generic-bsp() { | |||
57 | done | 52 | done |
58 | unset i | 53 | unset i |
59 | fi | 54 | fi |
55 | |||
56 | # Deploy CRT.* from u-boot for stmm | ||
57 | install -m 0644 ${S}/CRT.* ${DEPLOYDIR} | ||
58 | } | ||
59 | |||
60 | do_deploy:append:mx93-generic-bsp() { | ||
61 | # Deploy CRT.* from u-boot for stmm | ||
62 | install -m 0644 ${S}/CRT.* ${DEPLOYDIR} | ||
60 | } | 63 | } |
61 | 64 | ||
62 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 65 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
diff --git a/recipes-bsp/uefi/uefi_git.bb b/recipes-bsp/uefi/uefi_git.bb index b001a325c..268b5b1d9 100644 --- a/recipes-bsp/uefi/uefi_git.bb +++ b/recipes-bsp/uefi/uefi_git.bb | |||
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://NXP-Binary-EULA;md5=343ec8f06efc37467a6de53686fa6315" | |||
6 | inherit deploy | 6 | inherit deploy |
7 | 7 | ||
8 | SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1;protocol=https" | 8 | SRC_URI = "git://github.com/NXP/qoriq-uefi-binary.git;nobranch=1;protocol=https" |
9 | SRCREV = "15deb924ff063007592ee647602dd454353f5aee" | 9 | SRCREV = "55789d536850e00c6f2284fb28eaf21712cd276b" |
10 | 10 | ||
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||