On 11/29/2011 07:02 PM, IreneV wrote:
...
> Hello, Wolfgang.
> I use kernel v. 2.6.35-30.
> I downloaded the trunk of SocketCAN project from SVN and found there
> directory /old/i82527. Can I use it in my project or not? And what's the
> difference between this driver and the driver that you offer me? There is
> also a driver for cc770 in the trunk - it supports my board too?
The drivers in "old" are really old. You should definitely use the cc770
driver in the trunk. It also supports the i82527. The driver I'm
currently pushing to mainline is based on the cc770 driver from the SVN
repository. It will not apply to 2.6.35-30, but I could send you a
proper patch it you like/prefer.
> Please correct me if I'm wrong. As I understood from "README" file from the
> trunk directory I have to run "make" for SocketCAN drivers for my kernel and
> I must have linux sources on my target PC. Now I don't have sourcesin my
> filesystem but I'll download them and try again. What must I see in my
> filesystem after that? Where CAN drivers will appear?
After make all modules will be built, which you then can install on your
system:
$ cd trunk/kernel/2.6/
$ make CONFIG_CAN_CC770=m CONFIG_CAN_CC770_ISA=m
CC [M] /temp/socketcan/trunk/kernel/2.6/drivers/net/can/vcan.o
CC [M] /temp/socketcan/trunk/kernel/2.6/drivers/net/can/slcan.o
CC [M] /temp/socketcan/trunk/kernel/2.6/drivers/net/can/dev.o
LD [M] /temp/socketcan/trunk/kernel/2.6/drivers/net/can/can-dev.o
...
If some modules cannot be built, just use the option "-k".
> Sorry for stupid questions - I'm not close with SVN and Linux drivers:-( but
> I'll try to improve it :working:
You are welcome.
Wolfgang.
_______________________________________________
Socketcan-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/socketcan-users