All of lore.kernel.org
 help / color / mirror / Atom feed
* Need support J1939 protocol support to my kernel (v3.8 on BeagleBone Black)
@ 2013-11-11 18:15 Swapnil Patil
  0 siblings, 0 replies; 3+ messages in thread
From: Swapnil Patil @ 2013-11-11 18:15 UTC (permalink / raw)
  To: mluxen; +Cc: linux-can

Hi Mike,

Thanks for the reply
I have few question before I start building.

1. Which debain version you are using
    can you share the link from where you have taken reference

2. git merge j1939/v3.6
    do i need to build the kernal after doing the above step

3. can you post your kernal image that you build and share the link
    it will be a great help


Thank You
Swapnil Patil

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Need support J1939 protocol support to my kernel (v3.8 on BeagleBone Black)
@ 2013-11-11 15:44 Swapnil Patil
  0 siblings, 0 replies; 3+ messages in thread
From: Swapnil Patil @ 2013-11-11 15:44 UTC (permalink / raw)
  To: linux-can

Hi Kurt,

             Thanks for your reply.
I am using Begalbone Black with Ubuntu 13.04
I am able to transmit the RAW and extended can message over the can
bus using can utility
Now I want to use  J1939 stack.
I downloaded the
Linux-can-can-j1939-modules and Linux-can-iproute2-j1939  and tried to
build them but it failed

Log of iproute2-j1939$ make

make[1]: Entering directory `/home/ubuntu/BBB/iproute2-j1939/misc'
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAM -DLIBDIR=\"/usr/lib/\" -I  -o arpdarpd.c
../lib/libnetlink.a ../lib/libutil.-ldb -lpthread
gcc: error: arpd: No such file or directory

Log of can-j1939-modules: make
/home/ubuntu/BBB/can-j1939-modules/net/can/j1939/rtnl.c:232:25: error:
âstruct netlink_skb_parmsâ has no member namedâpidâ
/

      If someone already build this on Begalbone black with ubuntu
13.04 or angstrom kernel Please add the steps

Thanks
Swapnil

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: need support J1939 protocol support to my kernel (v3.8 on BeagleBone Black)
       [not found] <CAO4rUqy5JKE=nwpfRC7qShLGeizyV0a-CzUyV51g=tEe671z8g@mail.gmail.com>
@ 2013-11-10 17:21 ` Kurt Van Dijck
  0 siblings, 0 replies; 3+ messages in thread
From: Kurt Van Dijck @ 2013-11-10 17:21 UTC (permalink / raw)
  To: Swapnil Patil; +Cc: linux-can

Hi,

Thanks for your interest in this J1939 module.
Please note taht the mailing list for discussions about this
is linux-can@vger.kernel.org.

I personnaly have not tried anything on a BeagleBoneBlack, but I know
people who have used can-j1939 on this device.
I do not have the details about which system they used: ubuntu, ...

Please find my answers below.

On Sun, Nov 10, 2013 at 01:29:17AM -0500, Swapnil Patil wrote:
>  
> Hi  Kurt,
>  
>              Can u share the details that how you have configared j1939 in
> begalbone black
> I have tried on my begalbone ubuntu 13.04 and amstrong but not able to compile
> j1939

The way you described your situation gives not many details.
Can you give more detail what exactly fails to compile, and how that fails?

>  
> if u forward the steps it will be a great help for me

I'll describe very high level the steps here:

* kernel
	* grab kernel sources
	* merge can-j1939 git
	* compile kernel
* optionally fix some headers in your cross-compiler
* grab+compile can-utils-j1939
* grab+compile iproute2-j1939

>  
>  i get an error
> 
> Error: either "dev" is duplicate, or "j1939" is a garbage

From what I can tell, this is not a compile problem.
This is the ip tool that cannot parse the j1939 command line.

You should use a j1939-enabled iproute2.

Kind regards,
Kurt Van Dijck

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-11-11 18:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-11 18:15 Need support J1939 protocol support to my kernel (v3.8 on BeagleBone Black) Swapnil Patil
  -- strict thread matches above, loose matches on Subject: below --
2013-11-11 15:44 Swapnil Patil
     [not found] <CAO4rUqy5JKE=nwpfRC7qShLGeizyV0a-CzUyV51g=tEe671z8g@mail.gmail.com>
2013-11-10 17:21 ` need " Kurt Van Dijck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.