Linux CAN drivers development
 help / color / mirror / Atom feed
* AW: Need support J1939 protocol support to my kernel (v3.8 on BeagleBone Black)
@ 2013-11-11 16:14 Michael Luxen
  2013-11-12  1:10 ` swapnil
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Luxen @ 2013-11-11 16:14 UTC (permalink / raw)
  To: linux-can@vger.kernel.org, patilswa@gmail.com

Hello Swapnil,

I've success with building the J1939 stack on my BBB based on Debian using these steps:

git clone git://gitorious.org/linux-can/can-utils.git
cd can-utils
--- get J1939 stuff ---
git remote add j1939 git://gitorious.org/~kurt-vd/linux-can/linux-can-j1939.git
git remote update j1939
--- depending on kernel ---
git merge j1939/v3.6
...or…
git merge j1939/v3.8



Regards
Mike

-----Ursprüngliche Nachricht-----
Von:	Swapnil Patil <patilswa@gmail.com>
Gesendet:	Mo 11.11.2013 16:46
Betreff:	Need support J1939 protocol support to my kernel (v3.8 on BeagleBone Black)
An:	linux-can@vger.kernel.org; 
> 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-can" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: AW: Need support J1939 protocol support to my kernel (v3.8 on BeagleBone Black)
@ 2014-01-15 16:14 swapnil
  2014-01-16 21:43 ` Kurt Van Dijck
  0 siblings, 1 reply; 9+ messages in thread
From: swapnil @ 2014-01-15 16:14 UTC (permalink / raw)
  To: linux-can

Hi Kurt,
   
       Using the test code given by you I have developed an app but I am 
facing some issues i don't know its j1939 limitation or the stack.

1.I want to transmit and single frame message RACM message 
   canId--18EAFEFF data 00EE00FFFFFFFFFFFF it asks to bind address with 0xFE

   note -can i transmit single frame message like raw can from any source 
address       
to  any dest address.
    I think address claim is needed for only TP message

2. In case of multiple address claims like 0x80 and 0x90 if i want to  
transmit the data from both address parallel y do i need to create different 
socket for each address?

3.It don't reply for RACM message if i send from different  adapter
  example: 18EAFEFF#00EE00FFFFFFFFFFFF j1939 stack should reply with claimed 
address Like 80 and 90 
 
        I was busy in creating the app  to test the linux j1939 stack on 
begalbone Black. thank you very much for the test programs those helped me 
a lot 

Thank 
Swapnil


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

end of thread, other threads:[~2014-01-16 21:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-11 16:14 AW: Need support J1939 protocol support to my kernel (v3.8 on BeagleBone Black) Michael Luxen
2013-11-12  1:10 ` swapnil
2013-11-12 10:02   ` Kurt Van Dijck
2013-11-28  4:49     ` swapnil
2013-11-28  8:52       ` Kurt Van Dijck
2013-12-04 22:10         ` swapnil
2013-12-05 19:59           ` Kurt Van Dijck
  -- strict thread matches above, loose matches on Subject: below --
2014-01-15 16:14 swapnil
2014-01-16 21:43 ` Kurt Van Dijck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox