How to build MCP2515 CANBus drivers for mangOH


I just downloaded R13 and I arrived at the sixth step of the procedure explained in the following link:,-9x15-based-systems.

But I obtained a different situation regarding the folders, unlike what was declared in the guide below:


In particular, when I go in yocto/build/build_bin/tmp/work/swi_mdm9x28_wp-poky-linux-gnueabi I find the folder “linux-quic” and not “linux”:

Then, opening my version 3.18.131-r1 I don’t find “linux” but “kernel”:


Moreover, opening the path that you can see in the following pic, I don’t find the file “board 9615.c” as mentioned in the guide, but the files 9607.c, 9640.c and 9650.c:

Finally I obtain the following situation on the terminal:

What could be the cause of these differences between the results obtained and the guide?

PS. I also tried to modify the code, using the files 9607.c, 9640.c and 9650.c, but it doesn’t work.

the link you referring to is for WP8548/WP75, that is why it is talking about board 9615.c
For WP76/WP77, you can use 9607.c.
Probably you need to see if the patch can be applied to 9607.c

Sorry, how could I know if a patch can be applied to 9607.c?

You can open the patch and see if you can add those modified line to your .c file

I remember even i did not add the patch, i can still see the CAN driver on mangoh red board

Could a cause of this problem be the fact that in the linux-yocto configuration I don’t see the microchip
(as reported in the gitHub guide)?

Do you see problem if not modifying the yocto , but just add the mangoh layer to have the CAN driver?

I didn’t modify anything, I just followed this guide:,-9x15-based-systems.

You can see my testing here:

Do you know if there is a guide to acquire a CAN signal with the following tools:

  • mangOH green
  • WP7607
  • Talon CAN Bus IoT extender for Sierra mangOH IoT

I’m so confused :woozy_face:

have you checked my document?
You might have a look on the file

I found the file sh, but this is the result:

you need to chmod 777

Yes, I followed the guide, but this is the result:

why there is a space inbetween

Sorry, but without space I obtain an error line:


I don’t see problem, maybe you can diff the script here: (1.8 KB)

root@swi-mdm9x28-wp:~# chmod 777 /tmp/
root@swi-mdm9x28-wp:~# /tmp/
“/tmp/ board [slot]” where board is “green” or “red” and slot is “0” or “1”

It works but now:

you need to compile the mangoh layer
do you have the driver (can_iot.ko) in your platform?

Sorry, for mangoh layer do you need the steps followed in the guide below?,-9x15-based-systems.