Build CAN driver for WP76XX MangOH Red


#1

Hello

I try to build the CAN driver for the WP76xx linus dist.

I use the same guide line than the WP8548 (it work good with WP8548) but I meet a problem at this step

I unzip the Legato dist in yocto folder and go inside
run : export LEGATO_BUILD=0
run : make image_bin (finish sucessfull)
run : . ./poky/oe-init-build-env

I go to /yocto/build_bin/

run : bitbake linux-yocto -c kernel_configme -f

I have this message :

ERROR: Nothing PROVIDES 'linux-yocto’
ERROR: linux-yocto was skipped: incompatible with machine swi-mdm9x28 (not in COMPATIBLE_MACHINE)
ERROR: linux-yocto was skipped: incompatible with machine swi-mdm9x28 (not in COMPATIBLE_MACHINE)
ERROR: linux-yocto was skipped: incompatible with machine swi-mdm9x28 (not in COMPATIBLE_MACHINE)

Any idea ?
For the WP8548 I have sucessfully build the linux dist with CAN support for MCP2515.
It work good with IoT CAN board.

Now I have a sample of WP7607-1 for test and my application use CAN bus.

Thanks.
Francis


#2

It seems not so easy.

I’m able to run menuconfig

run : bitbake linux-quic -c menuconfig -f

The CAN patch is not valide due to board file (9615 for wp8548 and 9607 for wp76).

I have added USB SERIAL FDTI and rebuild the kernel.
I will test it tommorow.

For the CAN I have added the driver in the menuconfig and start to modify the board file.