You are not logged in.
Pages: 1
Hello,
I am still working on getting my CAN interface operational.
I am using Intel EG20T chipset and I now have the i2c-eg20t module loaded on boot. It does appear when I type lsmod so this is good.
I managed to install can-utils and now I must install can modules for linux.
I have downloaded them from the linux-can project [https://gitorious.org/linux-can/] but receive an error when running make (I attached output and error as text files)
If I attempt to make directly from the driver folder, I receive the error
"/usr/src/linux/include/linux/linkage.h:5:25: fatal error: asm/linkage.h: No such file or directory"
I updated kernel source via /usr/bin/get-linux-source and receive same error.
Not sure how to proceed.
Any suggestions?
Offline
I was under the impression that these CAN modules should be included in this kernel (3.2.53)
however, when I type
modprobe can
or any variant (can-dev, can-raw)
I receive error that the module cannot be found.
if I try to set can0 via
iplink set can0 up type can bitrate 250000
I receive error "iplink: either "dev" is duplicate, or "type" is garbage"
Hopefully this is helpful
Offline
I found that CAN modules were not included in the kernel.
I downloaded sources, made necessary changes using menuconfig, and am now having issues with making bzImage...
I type make bzImage and it runs ~30 minutes and then I receive errors on
drivers/block/loop.c
This error appears for several functions within loop.c
"error: 'struct loop_device' has no member named 'lo_backing_virt_file'"
Followed by
make[2]: *** [drivers/block/loop.o] Error 1
make[1]: *** [drivers/block] Error 2
make: *** [drivers] Error 2
Not sure what I am doing wrong.
Offline
I set up a VM on a more powerful computer so I can compile faster and try different things to get going.
I seem to receive kernel compile error no matter what I do...
This is a fresh install of SliTaz Cooking Core.
Recharged and updated all packages.
Installed slitaz-toolchain, ncurses-dev, perl, linux-source.
Ran get-linux-source
make oldconfig && make prepare
make menuconfig
At this stage I just set =m on the few CANbus network devices I require
then I've tried just make or make bzImage, both give same error.
I am lost :C
Offline
Pages: 1
[ Generated in 0.025 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]