How to build MCP2515 CANBus drivers for mangOH

Yes. I have loaded the latest firmware with legato 16.10.1 and uploaded yocto_wp85.cwe on top of that

Ok,send me the steps in a doc with snapshots of each step on your machine. We will troubleshoot and make it work for you. Once done your doc will be released to the community.

Meanwhile can you share me yocto_wp85.cwe for temporary fix,as you mentioned earlier.

Please use this link for Legato 16.10 CAN yocto_wp85.cwe
This is only temporary and meant to allow you to get going

https://drive.google.com/open?id=0Bz8gu_4FyNPRQzJtQWVERkxDX2M

I have got the same logs after using the above .cwe file.
Mar 11 09:14:19 swi-mdm9x15 user.warn Legato: -WRN- | mux[1015]/framework T=main | LE_FILENAME le_ref_CreateMap() 149 | Map name ‘refmangoh_muxCtrl_ClientHandlers’ truncated to ‘refmangoh_muxCtrl_ClientHandler’.
Mar 11 09:14:21 swi-mdm9x15 user.warn Legato: -WRN- | mux[1026]/framework T=main | LE_FILENAME le_ref_CreateMap() 149 | Map name ‘refmangoh_muxCtrl_ClientHandlers’ truncated to ‘refmangoh_muxCtrl_ClientHandler’.
Mar 11 09:14:25 swi-mdm9x15 user.warn Legato: -WRN- | mux[1029]/framework T=main | LE_FILENAME le_ref_CreateMap() 149 | Map name ‘refmangoh_muxCtrl_ClientHandlers’ truncated to ‘refmangoh_muxCtrl_ClientHandler’.
Mar 11 09:14:34 swi-mdm9x15 user.info kernel: [ 125.830428] can: controller area network core (rev 20120528 abi 9)
Mar 11 09:14:34 swi-mdm9x15 user.info kernel: [ 125.844864] NET: Registered protocol family 29
Mar 11 09:14:37 swi-mdm9x15 user.info kernel: [ 128.537128] CAN device driver interface
Mar 11 09:14:40 swi-mdm9x15 user.info kernel: [ 131.392491] can: raw protocol (rev 20120528)
Mar 11 09:14:50 swi-mdm9x15 user.warn kernel: [ 141.942072] spi0.0 supply vdd not found, using dummy regulator
Mar 11 09:14:50 swi-mdm9x15 user.warn kernel: [ 141.954921] spi0.0 supply xceiver not found, using dummy regulator
Mar 11 09:14:52 swi-mdm9x15 user.err kernel: [ 142.974912] mcp251x spi0.0: MCP251x didn’t enter in conf mode after reset


This is how i’m using my board,what might be the problem.

what do you see when you do
ifconfig -a

I can’t see anything related to can
All I see is rmnet0-rmnet7 eth0 usb0 wlan0

@kiran can you measure voltage at Pin 16 and 17 of U200 (MCP2515). If mux command working good then you must get ~5v

Thanks

I have measured and it was showing 0V on both the pins. To get mux working i followed steps as mentioned in below link

Hi all, i’m following the link guide:
https://github.com/mangOH/mangOH/wiki/How-to-build-MCP2515-CAN-driver-for-mangOH-Green-slot-1,-9x15-based-systems.

After the various problems in this guide I have reached this point and I cannot continue:

how do i continue? I need to use menuconfig

what module are you using?

Hi jyijyi i use WP7607 on mangoh green

I remember in WP76 FW R13, in case I need to see the menuconfig, I need to do the following:

# cd yocto
# make dev
build_bin# bitbake linux-quic -c menuconfig

you failed to “make dev”.

you need to do the following first:

sudo apt-get remove ccache
sudo dpkg-reconfigure dash
Answer "No" to the question.
1 Like

the command “make dev”
it worked

So i retry use the command with bitmake

are you using WP76 FW R13?

how about doing the following?
cd yocto
export LEGATO_BUILD=0
make image_bin

are you using WP76 FW R13?