From: swapnil <patilswa@gmail.com>
To: linux-can@vger.kernel.org
Subject: Re: AW: Need support J1939 protocol support to my kernel (v3.8 on BeagleBone Black)
Date: Wed, 4 Dec 2013 22:10:38 +0000 (UTC) [thread overview]
Message-ID: <loom.20131204T225349-668@post.gmane.org> (raw)
In-Reply-To: 20131128085233.GA3146@vandijck-laurijssen.be
Kurt Van Dijck <kurt.van.dijck <at> eia.be> writes:
>
> Hey,
>
> > Hi Kurt ,
> > Thanks for adding the information on elinux.org/J1939
> > I am able to build the kernal for begabone black using j1939
> > but when i tried to build iproute2-j1939
> >
> > root <at> arm:/home/ubuntu/OBDscan/iproute2-j1939# make
> > make[1]: Entering directory `/home/ubuntu/OBDscan/iproute2-j1939/misc'
> > gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -
> > DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\" -I/usr//usr/include -o arpd
> > arpd.c ../lib/libnetlink.a ../lib/libutil.a -ldb -lpthread
> > arpd.c:19:20: fatal error: db_185.h: No such file or directory
> > #include <db_185.h>
> > ^
> > compilation terminated.
> > make[1]: *** [arpd] Error 1
> > make[1]: Leaving directory `/home/ubuntu/OBDscan/iproute2-j1939/misc'
> > make: *** [all] Error 2
> >
> > i am getting above error.
> > i tried to install sudo apt-get install db4.7-util
> > but did not worked
>
> you'd need some sort of db-devel package, as explained in README of
iprout2.
> Another trick I initially did is disable arpd from building:
> in misc/Makefile, drop 'arpd' from TARGETS.
>
> Kind regards,
> Kurt
> --
> To unsubscribe from this list: send the line "unsubscribe linux-can" in
> the body of a message to majordomo <at> vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
Hi Kurt,
I commented out arpd part from building and it worked
after that i replaced current IP with the new one.
After that i tried the sample program jspy it worked as expected on
beaglebone black.
I have few questions
1.I want to transmit more than 8 bytes on can and want to check
RTS->CTS->EOM flow
2.I a able to receive 900 messages/sec on begalbone with 250k baud rate
actually it should receive 1600 messages ? i will try to figure it out?
I think JSR program is used to transmit and receive j1939 packet
but i am not able to figure out how to send TP message
can u give me simple example to send and receive J1939 tp message
I have canAlyzer.
Also i want to post the document how I build j1939 for begalbone
black.
Thank you for your support
next prev parent reply other threads:[~2013-12-04 22:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20131204T225349-668@post.gmane.org \
--to=patilswa@gmail.com \
--cc=linux-can@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox