Commit Graph

10 Commits (5d8248096e619e74e2bcfb71e92e1d92939dca17)

Author SHA1 Message Date
Ahmad Fatoum 5d8248096e
Merge branch 'master' into cansequence 2020-07-20 18:52:39 +02:00
Alexander GQ Gerasiov 8106214b55 Rename j* to j1939\1
Using j*smthng* for j1939-related tools is not very good for 2 reasons:
1. j prefix is not very informative;
2. jcat name is used by journal cat tool from popular sleuthkit toolkit;
2`. jacd sounds very similar to jackd.
2``. Possible future name conflicts for new tools.

Thus I renamed j* to j1939\1 to deal with this issue.

Signed-off-by: Alexander GQ Gerasiov <gq@cs.msu.su>
2020-04-20 10:18:13 +03:00
Ahmad Fatoum f6676e58f4 can-utils: import PTX cansequence utility
The PTX flavour canutils[1] have a useful utility for generating a
sequence of CAN frames with an incrementing payload and checking such a
sequence for missed and reordered frames.

Recently, it has helped finding a regression in the kernel pfifo_fast
qdisc, which led to reordered frames[2].

To bring the utility to a greater audience, import the current state[3]
of it into the linux-can set of utilities.

[1]: https://git.pengutronix.de/cgit/tools/canutils
[2]: https://lore.kernel.org/netdev/661cc33a-5f65-2769-cc1a-65791cb4b131@pengutronix.de
[3]: 207a476b5 ("cansequence: print error frames in hex")

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
[afa: code by mkl, I removed --version and fixed an off by one in strncpy]
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
2020-02-14 16:22:22 +01:00
Marc Kleine-Budde 6260263ef3 buildsystem: add SCM_TIMESTAMPING_OPT_STATS if not already defined 2019-05-09 14:40:16 +02:00
Tomasz Wasilczyk 4da344b2aa Don't build j1939 for Android
This library uses if_nameindex symbol, not available at this system.
2019-01-10 12:03:06 -08:00
Oleksij Rempel 23e5e227ac add jcat
jcat is kind of netcat for j1939
for example:
jcat can0:0x90 -r > /tmp/some_file

jcat -i some_file_to_send can0:0x80 :0x90,0x12300

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
2019-01-04 13:01:11 +01:00
Marc Kleine-Budde 04c171c285 CMakeLists.txt: build proper static libraries
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2018-10-04 23:55:54 +02:00
Marc Kleine-Budde 572a66fb94 CMakeLists.txt: clean up a bit
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2018-10-04 23:55:54 +02:00
Marc Kleine-Budde a6954bdaae CMakeLists.txt: Add missing N_SLCAN define 2018-10-04 23:55:54 +02:00
Joel Winarske 8a3e0453aa CMake first pass (#90)
* CMake first pass

* canbusload dep fix

* Add Eclipse Debug, and Android Studio generation examples

* travis additions

* Update .travis.yml

CMAKE_BUILT_TYPE typo fix

* add android ndk variants(less mips)
2018-08-17 09:50:30 +02:00