aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-connectivity
AgeCommit message (Collapse)Author
2023-06-22*.patch: add Upstream-Status to all patchesMartin Jansa
There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: Patches in Pending state: 41 (57%) With recent change to enable patch-status not only for all .patch files in oe-core, but for all recipes from oe-core: https://git.openembedded.org/openembedded-core/commit/?id=61a881fdbe8b5a21c6276b8a5d06cc30486b1eb3 this causes bluez5 do_patch failures as reported in: https://lists.openembedded.org/g/openembedded-core/message/183177 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2023-01-26pi-bluetooth: fix typo in Upstream-StatusMartin Jansa
* fixes: WARNING: pi-bluetooth-0.1.17-r0 do_patch: QA Issue: Malformed Upstream-Status in patch meta-raspberrypi/recipes-connectivity/pi-bluetooth/pi-bluetooth/0001-bthelper-correct-path-for-hciconfig-under-Yocto.patch Please correct according to https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Header_Recommendations:_Upstream-Status : Upstream-Status: Inapproprate [OE-specific] [patch-status-noncore] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2022-12-20bluez5: update patches to apply on 5.66 versionMartin Jansa
* updated in: https://git.openembedded.org/openembedded-core/commit/?id=45686afe96bb42c24bfd4ab540ea44423a0f57c3 * 0004-Move-the-43xx-firmware-into-lib-firmware.patch didn't apply and needed to be rebased maybe we should just set FIRMWARE_DIR in rpi builds instead of changing the default in the source, but I'll leave that to someone else Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-11-07recipes: Update SRC_URI protocols for githubMarcel Hamer
Use protocols=https for GitHub SRC_URIs using the conversion script in openembedded-core. Signed-off-by: Marcel Hamer <marcel@solidxs.se>
2021-08-19pi-bluetooth: Add compatibility with non-systemd buildsMarcus Comstedt
Signed-off-by: Marcus Comstedt <marcus@mc.pp.se>
2021-08-04Convert to new override syntaxMartin Jansa
This is the result of automated script conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-08pi-bluetooth: upgrade 0.1.12 -> 0.1.17Andreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2020-06-24lirc: Move to dynamic-layersLeon Anavi
Move lirc to dynamic-layers/meta-python/recipes-connectivity/ to avoid related issues while building rpi-basic-image. Reported-by: Alan <engineer@iotexpert.com> Suggested-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-06-17lirc_%.bbappend: Fix for gpio-irLeon Anavi
Apply Raspberry Pi specific fix to use LIRC with gpio-ir kernel module with which the signal from /dev/lircX is slightly different from that of lirc_dev (which was used with older LIRC and kernel versions). The patch has been published by neuralassembly and he has shared more details in the Raspberry Pi community forum: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=235256 LIRC ticket #359 tracks the upstreaming of this issue: https://sourceforge.net/p/lirc/tickets/359/ Co-authored-by: neuralassembly <neuralassembly@gmail.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-01-14pi-bluetooth: Fix signature failuresAndrei Gherzan
After bc7b654feecceee46bb11800b69994640d03b0ad, we made this package depend on a package that is not allarch while this is. Let's drop it for this package as well to avoid these sstate signature issues. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-12-23pi-bluetooth: Runtime depends on udev-rules-rpiLeon Anavi
Add udev-rules-rpi as a runtime dependency. It brings udev rules for creating /dev/serial1. This way hciuart.service, provided by pi-bluetooth, will be successfully started because it depends on dev-serial1.device. As a result the Bluetooth module will be properly attached via UART HCI to BlueZ stack. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2019-11-08pi-bluetooth: Update to latest version (0.1.12)Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-18bluez5: Fixed typo (RC_URI -> SRC_URI)Carton
Signed-off-by: Joël Carron <joel.carron@eeproperty.ch>
2019-04-18bluez5: apply the same patches and pi-bluetooth dependency for all rpi MACHINEsMartin Jansa
* otherwise e.g. raspberrypi2 and raspberrypi3 have bluez5 and everything which depends on it (e.g. libpcap, ppp, connman, ..) effectively MACHINE_ARCH. bitbake-diffsigs tmp-glibc/sstate-diff/1555265356/ra*/*/bluez5/*do_fetch* NOTE: Starting bitbake server... Task dependencies changed from: ['ABIEXTENSION', 'ARMPKGARCH', 'ARMPKGARCH_tune-cortexa7thf-neon-vfpv4', 'ARMPKGSFX_DSP', 'ARMPKGSFX_EABI', 'ARMPKGSFX_ENDIAN', 'ARMPKGSFX_FPU', 'ARMPKGSFX_THUMB', 'ARM_INSTRUCTION_SET', 'ARM_M_OPT', 'ARM_THUMB_OPT', 'ARM_THUMB_SUFFIX', 'DEFAULTTUNE', 'EXTENDPE', 'LIBCEXTENSION', 'MULTIMACH_TARGET_SYS', 'PACKAGE_ARCH', 'PE', 'PN', 'PR', 'PV', 'SRCREV', 'SRC_URI', 'SRC_URI[md5sum]', 'SRC_URI[sha256sum]', 'STAMP', 'TARGET_OS', 'TARGET_VENDOR', 'TUNE_CCARGS_MFLOAT', 'TUNE_CCARGS_MFPU', 'TUNE_FEATURES', 'TUNE_FEATURES_tune-cortexa7', 'TUNE_FEATURES_tune-cortexa7-neon', 'TUNE_FEATURES_tune-cortexa7-neon-vfpv4', 'TUNE_FEATURES_tune-cortexa7t-neon-vfpv4', 'TUNE_FEATURES_tune-cortexa7thf-neon-vfpv4', 'TUNE_PKGARCH', 'base_do_fetch', 'clean_recipe_sysroot'] to: ['ABIEXTENSION', 'ARMPKGARCH', 'ARMPKGARCH_tune-cortexa7thf-neon-vfpv4', 'ARMPKGSFX_DSP', 'ARMPKGSFX_EABI', 'ARMPKGSFX_ENDIAN', 'ARMPKGSFX_FPU', 'ARMPKGSFX_THUMB', 'ARM_INSTRUCTION_SET', 'ARM_M_OPT', 'ARM_THUMB_OPT', 'ARM_THUMB_SUFFIX', 'BCM_BT_SOURCES', 'DEFAULTTUNE', 'EXTENDPE', 'LIBCEXTENSION', 'MULTIMACH_TARGET_SYS', 'PACKAGE_ARCH', 'PE', 'PN', 'PR', 'PV', 'SRCREV', 'SRC_URI', 'SRC_URI[md5sum]', 'SRC_URI[sha256sum]', 'STAMP', 'TARGET_OS', 'TARGET_VENDOR', 'TUNE_CCARGS_MFLOAT', 'TUNE_CCARGS_MFPU', 'TUNE_FEATURES', 'TUNE_FEATURES_tune-cortexa7', 'TUNE_FEATURES_tune-cortexa7-neon', 'TUNE_FEATURES_tune-cortexa7-neon-vfpv4', 'TUNE_FEATURES_tune-cortexa7t-neon-vfpv4', 'TUNE_FEATURES_tune-cortexa7thf-neon-vfpv4', 'TUNE_PKGARCH', 'base_do_fetch', 'clean_recipe_sysroot'] basehash changed from 64b667d84518033856312563af69f9153d8af50dc39c75386ebfbb21fc221a56 to 1b061d52d03831d80866fa7374df99c42db7851e6f259b7a33e3b05f537dd9aa List of dependencies for variable SRC_URI changed from '{'SRC_URI[sha256sum]', 'SRC_URI[md5sum]', 'PV'}' to '{'SRC_URI[sha256sum]', 'SRC_URI[md5sum]', 'BCM_BT_SOURCES', 'PV'}' changed items: {'BCM_BT_SOURCES'} Dependency on variable BCM_BT_SOURCES was added Variable SRC_URI value changed: @@ -1,2 +1,2 @@ - ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz file://out-of-tree.patch file://init file://run-ptest ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)} file://0001-tests-add-a-target-for-building-tests-without-runnin.patch file://0001-test-gatt-Fix-hung-issue.patch file://0001-Makefile.am-Fix-a-race-issue-for-tools.patch file://CVE-2018-10910.patch file://0001-Case-insensitive-firmware-name.patch + ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz file://out-of-tree.patch file://init file://run-ptest ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)} file://0001-tests-add-a-target-for-building-tests-without-runnin.patch file://0001-test-gatt-Fix-hung-issue.patch file://0001-Makefile.am-Fix-a-race-issue-for-tools.patch file://CVE-2018-10910.patch ${BCM_BT_SOURCES} file://0001-Case-insensitive-firmware-name.patch DISTRO_FEATURES{systemd} = Set Dependency on checksum of file 0002-bcm43xx-The-UART-speed-must-be-reset-after-the-firmw.patch was added Dependency on checksum of file 0001-bcm43xx-Add-bcm43xx-3wire-variant.patch was added Dependency on checksum of file 0004-Move-the-43xx-firmware-into-lib-firmware.patch was added Dependency on checksum of file 0003-Increase-firmware-load-timeout-to-30s.patch was added Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-11-23bluez5: use pi-bluetooth package for startup infrastructurePeter A. Bigot
RPi-Distro has augmented their bluetooth infrastructure to support new features. It also correctly handles restart, which fixes problems when faults cause hciattach to exit. Replace brcm43438.service with the upstream ones. Resolves: #330 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-06-27pi-bluetooth: use `_git` suffix in recipe filenameHugo Hromic
Keep naming consistency. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-05-14linux-firmware: restore and merge bluez-firmwarePeter A. Bigot
The attempt to Raspbian updated firmware blobs in packages separate from linux-firmware introduced unresolvable conflicts with the standard linux-firmware roll-up package. Revert to using an augmented linux-firmware recipe that overrides and adds firmware from two Raspbian repositories that have up-to-date images. Closes #244 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-05-09pi-bluetooth: create to provide standard raspbian script for bluetooth setupPeter A. Bigot
Unique bluetooth device addresses are not assigned correctly with some firmware, resulting in a fixed default address. Use the same utility as raspbian does to initialize the device. Closes #236 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-05-09bluez-firmware-raspbian: create to hold non-free firmwarePeter A. Bigot
Remove the material covered by the Cypress license from the bluez5 package and move it to its own package, derived directly from the upstream sources. Closes #224 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-05-09bluez5: fix issues with systemd scriptPeter A. Bigot
Type=simple is wrong: it allows bluetooth.service to start before the uart is configured, resulting in hci0 command tx timeout errors. Type=oneshot blocks follow-up units until the ExecStart completes. Add RemainAfterExit since system state has changed as a result of the unit. Also add a BindsTo for the device that we're going to use. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-05-09bluez5: trivial fix to RDEPENDSPeter A. Bigot
Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-04-15bluez5: update bluez-firmwarePeter A. Bigot
Updated BCM43430A1.hcd to bluez-firmware_1.2-3+rpt4.1.debian.tar.xz Added BCM4345C0.hcd for RasperryPi 3B+ support Files from https://github.com/RPi-Distro/bluez-firmware at commit 50fa5628b5c2fd6c59090fb18f02af9fd98c3170 Closes Issue #222 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-03-07bluez5: brcm43438: update device dependencyPeter A. Bigot
A previous patch changed the BT serial device to the alias, but did not update the device dependency resulting in the service failing to start on boot. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-01-26bluez5: Use serial device alias for BT deviceAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-01-23bluez5: Update BCM43430A1 firmware from RaspbianAndrei Gherzan
[Issue #174] Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-10-27bluez5: Replace /lib with ${nonarch_base_libdir}Michael Gloff
Use standard /lib variable name and avoid QA errors when usermerge DISTRO_FEATURE is enabled. Signed-off-by: Michael Gloff <mgloff@hotmail.com>
2017-09-11bluez5: enable bluetooth on raspberrypi0-wifiYusuke Mitsuki
Add functions/variable to enabling bluetooth on raspberrypi0-wifi. Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
2017-09-11bluez5: add functions/variables to enabling bluetooth on another raspberrypiYusuke Mitsuki
functions/variables in this bbappend implemented for only raspberrypi3. But these must be able to used to enabling bluetooth on another raspberrypi that has bluetooth feature such as raspberrypi0-wifi. The simple solution is a duplicating these but it is not good ideas for maintainance. Add functions/variables follows to simplify to enabling bluetooth on another raspberrypi that has bluetooth. - BCM_BT_SOURCES - enable_bcm_bluetooth() - BCM_BT_FIRMWARE - BCM_BT_SERVICE Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
2016-10-14bluez5: correctly append brcm43438 serviceSamuli Piippo
Cannot use += operator together with machine override. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2016-05-05replace base_contains by bb.utils.containsAndreas Müller
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-04-22bluez5: Add bluez5 support for brcm43438 on raspberrypi3.toolmmy
This patch adds the bluetooth support for the brcm43438 module on the raspberrypi3 by deploying the modules firmware and changing the targeting firmware path. In addition the brcm43438.service adds the automatically attaching (hciattach) for systemd environments. The following steps can be used to manually configure the brcm43438: root@raspberrypi3:~# hciattach /dev/ttyAMA0 bcm43xx-3wire bcm43xx_init Flash firmware /lib/firmware/brcm/BCM43430A1.hcd Set Controller UART speed to 3000000 bit/s Device setup complete root@raspberrypi3:~# hciconfig hci0: Type: BR/EDR Bus: UART BD Address: B8:27:EB:6C:85:BE ACL MTU: 1021:8 SCO MTU: 64:1 DOWN RX bytes:983 acl:0 sco:0 events:33 errors:0 TX bytes:887 acl:0 sco:0 commands:33 errors:0 root@raspberrypi3:~# /usr/lib/bluez5/bluetooth/bluetoothd -e -n -E root@raspberrypi3:~# bluetoothctl [NEW] Controller B8:27:EB:6C:85:BE raspberrypi3 [default] [bluetooth]# power on [CHG] Controller B8:27:EB:6C:85:BE Class: 0x400000 Changing power on succeeded [CHG] Controller B8:27:EB:6C:85:BE Powered: yes [bluetooth]# scan on Discovery started [CHG] Controller B8:27:EB:6C:85:BE Discovering: yes [NEW] Device 00:1C:05:FF:F9:F8 Nonin3230_501585326 NOTE: SERIAL_CONSOLE must configured to ttyS0 instead of ttyAMA0 (used by the brcm43438). See pending patch from Martin Bergek Signed-off-by: Tom Doehring <toolmmy@gmail.com>