WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Compute Module 4 Bluetooth  (Read 2019 times)

Offline rull_orion

  • Newbie
  • *
  • Posts: 5
Compute Module 4 Bluetooth
« on: November 23, 2021, 11:40:27 AM »
When loading
Code: [Select]
modprobe hci_uart it fail to load with message
Code: [Select]
modprobe: can't load module bluetooth (kernel.tclocal/net/bluetooth/bluetooth.ko): unknown symbol in module, or unknown parameterdmesg result
Code: [Select]
1847.461673] bluetooth: Unknown symbol crypto_ecdh_key_len (err -2)
[ 1847.463004] bluetooth: Unknown symbol crypto_ecdh_encode_key (err -2)
[ 1847.529207] bluetooth: Unknown symbol crypto_ecdh_key_len (err -2)
[ 1847.530121] bluetooth: Unknown symbol crypto_ecdh_encode_key (err -2)
[ 1883.394850] bluetooth: Unknown symbol crypto_ecdh_key_len (err -2)
[ 1883.395332] bluetooth: Unknown symbol crypto_ecdh_encode_key (err -2)
[ 1883.469170] bluetooth: Unknown symbol crypto_ecdh_key_len (err -2)
[ 1883.470087] bluetooth: Unknown symbol crypto_ecdh_encode_key (err -2)

Comparing to original raspbian (bluetooth module on CM4 depends from ecdh_generic and ecc which are missing as kernel modules
Please add those modules as well to bluetooth package

PS. RPI3 works well without this (as soon as I understand is because RPI4/CM4 has bluetooth 5 support and RPI3 no)

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: Compute Module 4 Bluetooth
« Reply #1 on: November 23, 2021, 02:48:50 PM »
You need to state what version of piCore you are working with, and whether it is the 32bit or 64 bit build.

Offline rull_orion

  • Newbie
  • *
  • Posts: 5
Re: Compute Module 4 Bluetooth
« Reply #2 on: November 23, 2021, 02:51:56 PM »
Sorr, missed
13.0.3 - 32bit

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: Compute Module 4 Bluetooth
« Reply #3 on: November 23, 2021, 07:24:43 PM »
The 64bit version should work fine.  piCore64 13.1 was just uploaded a few days ago.

I’m sure Bela will see this and correct the 32bit release.   But in the meantime, You can always grab the needed modules from the tar file.

www.tinycorelinux.net/13.x/armv7l/releases/RPi/src/kernel/5.10.16-piCore-v7l_modules.tar.xz

Offline rull_orion

  • Newbie
  • *
  • Posts: 5
Re: Compute Module 4 Bluetooth
« Reply #4 on: November 24, 2021, 05:31:36 AM »
The 64bit version should work fine.  piCore64 13.1 was just uploaded a few days ago.

I’m sure Bela will see this and correct the 32bit release.   But in the meantime, You can always grab the needed modules from the tar file.

www.tinycorelinux.net/13.x/armv7l/releases/RPi/src/kernel/5.10.16-piCore-v7l_modules.tar.xz

Thank you very much, installing modules make it work.
I don't need 64bit version right now, as I use it on RPI3 + RPI4 + CM4 and I want to have same software and save memory on RPI3 versions as it has only 1 GB.