Hello,
I want to build the tdx-reference-multimedia-image
for the Verdin iMX8MP with a clean BSP v6.2 setup.
But I got checksum errors when fetching isp-imx-4.2.2.19.0
from https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//isp-imx-4.2.2.19.0.bin;fsl-eula=true
What can I do?
Best regards,
Markus
Hello @Mowlwurf ,
This is a known issue (ELB-5291)
Toradex System/Computer on Modules - Linux BSP Release
and should be fixed in BSP V6.3.0.
Alternatively you can apply the patch listed in the workaround
Best regards,
Josep
Hello @josep.tx,
thank you for your response.
The idea of checking the issue tracker never occurred to me. It was too obvious …
The patch works. I made a simple .bbappend within my own layer:
SRC_URI[md5sum] = "01f83394df91091f414f122c339c02bc"
SRC_URI[sha256sum] = "ab65a413f397230010266579df570beac5fde4af430e31fc251d7cf7c8fa2232"
do_install() {
install -d ${D}/${libdir}
install -d ${D}/${includedir}
install -d ${D}/opt/imx8-isp/bin
install -d ${D}/opt/imx8-isp/bin/dewarp_config
cp -r ${B}/generated/release/bin/*_test ${D}/opt/imx8-isp/bin
cp -r ${B}/generated/release/bin/*.xml ${D}/opt/imx8-isp/bin
cp -r ${B}/generated/release/bin/*.drv ${D}/opt/imx8-isp/bin
cp -r ${WORKDIR}/${BP}/dewarp/dewarp_config/ ${D}/opt/imx8-isp/bin
cp -r ${B}/generated/release/bin/isp_media_server ${D}/opt/imx8-isp/bin
cp -r ${B}/generated/release/bin/vvext ${D}/opt/imx8-isp/bin
cp -r ${B}/generated/release/lib/*.so* ${D}/${libdir}
cp -r ${B}/generated/release/include/* ${D}/${includedir}
cp ${S}/imx/run.sh ${D}/opt/imx8-isp/bin
cp ${S}/imx/start_isp.sh ${D}/opt/imx8-isp/bin
chmod +x ${D}/opt/imx8-isp/bin/run.sh
chmod +x ${D}/opt/imx8-isp/bin/start_isp.sh
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${S}/imx/imx8-isp.service ${D}${systemd_system_unitdir}
fi
}
Best regards,
Markus