Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: imo on December 07, 2019, 06:01:59 PM
-
Hi.
I am trying to install and run bluetooth/bluetooth low energy in a RPI zero w running piCore
I have installed bluetooth related modules, including bluetooth-4.9.22-piCore-v7.tcz
Then I ran the following commands:
sudo depmod
sudo modprobe hci_uart
modprobe: module hci_uart not found in modules.dep
cat ....../config.txt
...
...
enable_uart=1
[PI3]
#dtoverlay=pi3-disable-bt
I can see /usr/lib/modules/4.9.22-piCore-v7/kernel/drivers/bluetooth/hci_uart.ko
but it does not exists in modules.dep
If I:
tci-load -i bluetooth-4.9.22-piCore-v7.tcz
it says "already installed"
Why does hci_uart is not in the modules.dep. Can I add it using vi text editor?
Thanks
Imo
-
Loading an extension containing kernel modules will automatically run the depmod command to add the new module(s) to modules.dep
If hci_uart.ko does not appear in modules.dep it possible you have booted armv6 and are trying to load an armv7 extension or vice versa?
-
Please, could someone help me on getting the arm version of the kernel/boot and the arm version of a module?
-
Boot into piCore and paste the output of “uname -m” here.
-
The result is:
armv6l
Humm... it seems it is different from the folder where hci_uart is:
/usr/lib/modules/4.9.22-piCore-v7/kernel/drivers/bluetooth/hci_uart.ko
I have used command : tce-load -wi xxx to install modules... and it seems that v7 was installed.
Please, how to solve this?
Many thanks
-
Assuming that you are using piCore 9.x armv6..
$ tce-load -w bluetooth-KERNEL
..should download the correct kernel modules for bluetooth
-
Ok, now all the modules are running...
(I still have issues running BLE in RPI ZERO W but now i will try to solve it by myself, otherwise I will return to forum again)
Thank you very much Juanito