Updates to work with the new scarthgap-v5.9.4 branch in meta-rcar:
- Remove ti-bt bbappend and other references, as using ti-bt has been
dropped by upstream.
- Remove si-tools and ti-bt-firmware bbappend tweaks that were to
support usrmerge, as upstream seems to have incorporated them.
- Replace IMAGE_NAME and IMAGE_LINK_NAME redefinitions with use of
the new IMAGE_MACHINE_SUFFIX variable which achieves the same
result.
Bug-AGL: SPEC-5191
Change-Id: Ice07296a8560e07ce4b5705e6c2fa9f47896bfa0
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30248
Tested-by: Jenkins Job builder account
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
ci-image-build: Jenkins Job builder account
ci-image-boot-test: Jenkins Job builder account
(cherry picked from commit
210cd32190b72bcad81520e5ad153bc489ea8741)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/30214
+++ /dev/null
-../../../../../bsp/meta-rcar/meta-rcar-gen3-adas/recipes-bsp/ti-bt
\ No newline at end of file
# recipes.
AGL_FEATURES:append:rcar-gen3 = " kingfisher"
-IMAGE_NAME:rcar-gen3 = "${IMAGE_BASENAME}-${MACHINE}-kf${IMAGE_VERSION_SUFFIX}"
-IMAGE_LINK_NAME:rcar-gen3 = "${IMAGE_BASENAME}-${MACHINE}-kf"
+IMAGE_MACHINE_SUFFIX = "-${MACHINE}-kf"
TOOLCHAIN_OUTPUTNAME:rcar-gen3 = "${SDK_NAME}-kf-toolchain-${SDK_VERSION}"
# Radio packages
si-tools \
si-init \
linux-firmware-wl18xx \
- ti-bt \
ti-bt-firmware \
"
EXTRA_OEMAKE:append = " 'LDFLAGS=${LDFLAGS}'"
-do_install() {
- install -d ${D}${bindir}
- install -d ${D}${nonarch_base_libdir}/firmware/radio/
-
- install -m 755 si_ctl ${D}${bindir}
- install -m 755 si_flash ${D}${bindir}
- for file in ${SCRIPTS}; do
- install -m 755 ${S}/scripts/$file ${D}${bindir}
- sed -e 's,^\(SI_ARGS\s*=\s*\).*,\1"/dev/i2c-12 0x65",' -i ${D}${bindir}/$file
- done
-
- for file in ${FIRMWARE}; do
- install -m 644 ${S}/firmware/$file ${D}${nonarch_base_libdir}/firmware/radio/
- done
-}
-
-FILES:${PN} = " \
- ${bindir} \
- ${nonarch_base_libdir}/firmware/radio \
-"
+# Setting LDFLAGS fixes the QA issue, disable INSANE_SKIP over-ride
+# done in the recipe
+INSANE_SKIP:${PN} = ""
+INSANE_SKIP:${PN}-dev = ""
\ No newline at end of file
+++ /dev/null
-do_install() {
- install -d ${D}${nonarch_base_libdir}/firmware/ti-connectivity/
- cp *.bts ${D}${nonarch_base_libdir}/firmware/ti-connectivity/
-}
-
-FILES:${PN} = "${nonarch_base_libdir}/firmware/ti-connectivity/*"
+++ /dev/null
-[Unit]
-Description=User Mode Init Manager for TI shared transport
-Before=bluetooth.service
-
-[Service]
-ExecStartPre=-/sbin/modprobe -q btwilink
-ExecStart=/usr/bin/uim -f /sys/devices/platform/kim
-
-[Install]
-WantedBy=multi-user.target
+++ /dev/null
-inherit systemd
-
-FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
-
-SRC_URI += "file://ti-uim.service"
-
-SYSTEMD_SERVICE:${PN} = "ti-uim.service"
-
-PR = "r0"
-PV = "0.1+git${SRCPV}"
-
-do_install:append() {
- # We do not want the blacklist
- rm -f ${D}/${sysconfdir}/modprobe.d/ti_bt.conf
-
- install -d ${D}${systemd_unitdir}/system/
- install -m 0644 ${WORKDIR}/ti-uim.service ${D}${systemd_unitdir}/system
-}