LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 03-17-2009, 01:21 AM   #1
619pacx
LQ Newbie
 
Registered: Dec 2008
Posts: 5

Rep: Reputation: 0
Question problem in compiling can4linux module


Hello Everyone,


I wanted to know how can i compile and install the can module to my PC104 board. I have done in the following way, is that rite or did i miss some steps. please suggest me. I am using canlinux-3.4.4 driver.

1. I had cross compiled the can4linux using this command:
# make ARCH=arm CROSS_COMPILE=/opt/arcom/bin/arm-linux- KDIR=/opt/arcom/src/linux-source-2.6.16.28-arcom1 TARGET=ATCANMINI_PELICAN

2. It will generate the can module can.ko in the current directory, i copied to my arcom PC104 board through SCP command

3. then in the board i installed the module using #insmod can.ko

4. next i run the setup file cansetup to configure the /etc/can.conf in the board. before doing this i copied the 1-PCM3680.conf from the driver etc folder using SCP, & it is written to /etc/can.conf in board which will load while executing the cansetup file.

5. But the message is neither trasmitted nor received(i used same examples provided by you with the driver), but i could read the can ports can0 & can1 in /dev i checked with cat can0 & cat can1.. it will wait for the input.

so where do i am wrong, how the message could be send and received?


Thanks & Best Regards,
Prashanth A
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can4linux driver compiling and installation 619pacx LinuxQuestions.org Member Intro 1 12-24-2008 08:38 AM
Problem of compiling ipw3845 module pdaeng Debian 3 09-24-2006 09:34 PM
Problem compiling FUSE module Jason_Bassett Linux - Software 1 04-12-2006 03:25 PM
problem with compiling a simple module pele21 Linux - Software 2 04-28-2005 02:29 AM
Problem with compiling module under slackware Altos Programming 0 02-22-2003 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 11:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration