Chris Verges wrote:
>> I'm a bit puzzled, also your previous error message indicates, that
>> can->bittiming_const is not defined. How do you build your modules?
>
> I'm using OpenEmbedded to handle the build. The kernel is v2.6.28, libc
> headers are v2.6.31. I'm using the socketcan-modules recipe to actually
> do the build. Attached are the log files of the build.
>
> There's a good chance the recipes from OE need to updated. I've patched
> them so that only the at91_can driver and can-raw module are built.
> (Simplifies things for me.)
You need to define the CONFIG option on the make command line. Here is
what I use for the MSCAN PowerPC driver:
make ARCH=powerpc $* \
KERNELDIR=$KSRC CONFIG_CAN_DEBUG_DEVICES=y \
CONFIG_CAN_DEV=m \
CONFIG_CAN_MSCAN=m CONFIG_CAN_MPC52XX=m CONFIG_CAN_MPC5XXX=m \
CONFIG_CAN_SJA1000_OF_PLATFORM=m \
CONFIG_CAN_EMS_PCI=m \
CONFIG_CAN_EMS_USB=m \
CONFIG_CAN_PEAK_PCI=m \
CONFIG_CAN_IXXAT_PCI=m \
CONFIG_CAN_KVASER_PCI=m \
CONFIG_CAN_ESD_PCI=m \
CONFIG_CAN_ESD_PCI331=m \
CONFIG_CAN_CC770=m \
CONFIG_CAN_CC770_OF_PLATFORM=m \
Maybe CONFIG_CAN_DEV=m is missing, at least.
Wolfgang.
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users