[linux-yocto] Beaglebone Black BSP CAN bus activation

Bruce Ashfield bruce.ashfield at windriver.com
Tue Jan 20 07:58:02 PST 2015


On 15-01-16 08:58 AM, Lukas Böhm wrote:
> Hello,
>
> I hope this is the correct destiantion list for Yocto-BSP-Questions.

It's a good starting point. General questions for the supported BSPs in
linux-yocto tree can typically be answered here .. but if we get into
particulars and variants of the boards, there are maintainers and other
lists that are better suited.

> I am new to Yocto and trying to build a core-image-base (daisy branch)
> with some additional packages for the Beaglebone Black. This works quite
> fine so far.
> Now I stuck in activation of the 2 DCAN controllers on the device.
> I added the drivers for DCAN in the linux-yocto kernel (with menuconfig)
> and and added iproute2, libsocketcan and canutils to the recipes but no
> can0 device comes up.

Anything in the dmesg about the device ? Are you building them as modules,
or into the kernel ?

> I considered now that probably the devicetree has to be configured as
> well but don't know how to do this nicely.

You can see the device tree that is currently being built in the
meta-yocto-bsp beaglebone.conf file. Those dts files are in the kernel
themselves, so you can edit them and rebuild .. or patch them to have
the missing elements.

It is also worth checking https://github.com/beagleboard/meta-beagleboard
for configuration tips, and the mailing list referenced in the README
for more detailed questions/information/archived responses.

Bruce

> Am I right or are ther other things to consider?
> I am thankful for any help!
>
> regards Lukas



More information about the linux-yocto mailing list