Re: [yocto] CAN bus protocol error

2014-01-07 Thread wuteng wu
Hi, Could you please tell me more details about the contents of the can-socket-support-kernel.cfg file ? I have put: CONFIG_CAN_RAW=y CONFIG_CAN_BCM=y CONFIG_CAN_GW=y into it, is that enough, or any other config needed? BR, Teng 2014/1/3 wuteng wu > Hi, > > I think i have just fo

Re: [yocto] CAN bus protocol error

2014-01-03 Thread r10kindsofpeople
With the caution that I'm a bit clumsy at Yocto myself, here's how I did it, using kernel fragments. So in meta-myboard/recipes-kernel/linux/ I have something like the attached .bbappend file. Then in meta-myboard/recipes-kernel/linux/linux-yocto is the can-socket-support-kernel.cfg file. The ver

Re: [yocto] CAN bus protocol error

2014-01-03 Thread wuteng wu
Hi, I think i have just found where to do the configure, under the dir: /poky/meta-atmel/recipes-kernel/linux/files/sama5d3xek, i will try out your config file, thanks alot. 2014/1/3 wuteng wu > Hi, could you tell me how to clean and rebuild the kernel? > I'm newbie to yocto, i have done somet

Re: [yocto] CAN bus protocol error

2014-01-03 Thread wuteng wu
Hi, could you tell me how to clean and rebuild the kernel? I'm newbie to yocto, i have done something like linux-menuconfig when i used the build-root, bu which i can config the kernel configuration, but i don't know how to do it in yocto, at least i didn't find any reference in ref-manual. 2014/

[yocto] CAN bus protocol error

2014-01-03 Thread wuteng wu
Hi, I have cross compiled the canutils and installed it into the target rootfs, but when i tried to test the CAN bus by using the candump command as below: candump can0 interface = can0, family = 29, type = 3, proto = 1 *socket: Protocol not supported* I got the "socket: Protocol not supported"