• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HilscherAutomation / netPI-bluetooth entrypoint.sh error
#1
Hi,

I am using HilscherAutomation / netPI-bluetooth docker container on Raspberry Pi 3B+. After i build and run, i am getting the following error. 


starting dbus ...
* Starting system message bus dbus
  ...done.
/etc/init.d/entrypoint.sh: line 66: /opt/vc/bin/vcmailbox: No such file or directory
/etc/init.d/entrypoint.sh: line 68: /opt/vc/bin/vcmailbox: No such file or directory
Failed to write reset command
Can't initialize device: Success
bcm43xx_init

Did anyone faced and resolved this issue? If so please help me to fix the error. 

Thanks in Advance,
Baskar
  Reply
#2
Hi Baskar,

I don't know if it is of relevance, but I the referenced bluetooh container was made for RPi3B and compatibles not for RPi3B+ and compatibles.

A RPi3B uses a Broadcom BCM43438 Wifi/BT chip whereas a RPi3B+ uses a Cypress CYW43455. I am pretty sure that they will not use the same firmware that is loaded into the chip during the container start.

And I feel - without knowing it exactly - that the vcmallbox that is part of the docker image as well in the version 1.20180417 from here https://github.com/raspberrypi/firmware will also fail.

I am sorry to say, but you have to write your own version of bluetooth container. This one will not work.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
Thank you Armin for the reply. I will try to build the container on my own
  Reply
#4
To make your own container is not a big thing I think.

Just look at the original source code of the container and watch the build file located here https://github.com/HilscherAutomation/ne...Dockerfile and you will get an idea about how it is build.

The firmware for the RPi3B bluetooth chip is requested from here https://github.com/OpenELEC/misc-firmwar...3430A1.hcd. I think you will find a similar file for the RPi3B+ chip there as well.

The vcmailbox command is the one received from the pre-build binaries from the Raspberry.org sources from here https://github.com/raspberrypi/firmware. It is used during container runtime to reset the bluetooth chip within a container physically. Else a container is not able to reload the firmware into the bluetooth chip once the container is restarted. But I don't know the command "vcmailbox [ ... ]" for a RPi3B+. Pretty sure it is different cause the reset pin may be a different one. The command line for the RPi3B is in the container's start script https://github.com/HilscherAutomation/ne...rypoint.sh.

The bluetooth stack itself used as basis is the very latest version V5.54. So this needs no change.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#5
Hi Armin,

Sorry to bother. One more question about the HilscherAutomation / netPI-bluetooth docker image. To run this image do i need Balena OS on Raspberry Pi 3? Or any linux distro is fine? Just wanted to confirm. 

Thanks in Advance,
Baskar
  Reply
#6
Well, I have not tested it with balena OS. So I can't tell for sure. But the very basic principle of Docker containers - and this is their advantage - is to run on any Linux distribution. So would expect it runs fine there too.

I personally have tested it with Raspbian OS only and of course Hilscher's netPI device. Important is that it needs a Raspberry Pi 3B device. It will not run on a Rpi3B+ since this one has a different BT controller.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#7
Thanks Armin !!!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Error when using a node 'OpcUaServer' tad 6 350 May-12th-2020, 08:35 AM
Last Post: tad
  Bluetooth Access MGharat 10 579 February-25th-2020, 12:58 PM
Last Post: DSongra
  netPI Node-Red fieldbus node Error PersEE 5 487 October-8th-2019, 03:55 PM
Last Post: Armin@netPI
  error when using GPIO from Python dcatteeu 4 301 September-10th-2019, 02:45 PM
Last Post: dcatteeu
  [SOLVED] Bluetooth Functions Jonas.Sellmann@outlook.de 4 489 September-21st-2018, 11:16 AM
Last Post: Armin@netPI
  Bluetooth Jonas.Sellmann@outlook.de 11 768 April-25th-2018, 06:44 AM
Last Post: Jonas.Sellmann@outlook.de
  fieldbus in error Schranz 7 472 March-13th-2018, 07:28 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)