Releases: linux-can/can-utils
can-utils v2025.01
Tag a new release for Debian Upstream to ship improvements and fixes.
The summary below describes the changes since v2023.03
Support of new kernel features:
- full CAN XL support for candump, canplayer, cangen, log2asc, asc2log, lib
- includes: update to Linux 6.13 upstream (with CANXL_RRS flag)
- cangen: support socket priority
- can-calc-bit-timing: import bit timing calculation algorithm from v6.3
- can-calc-bit-timing: add rockchip_canfd
Improvements and features:
- all: unify bash exit status values
- build on MMU-less systems
- ISOBUS (ISO11783-13) File Server Interface (isobusfs-srv, isobusfs-cli)
- add j1939_datatime_cli
- cansequence: allow to bind on "any" interface
- cansequence: add support to send and receive CAN-FD
- canfdtest: add support for loopback testing
- can-calc-bit-timing: add --tq parameter to help text
- isotpsniffer: simplify option for CAN FD link layer
- isotpdump: option to capture functional addressing traffic
- isotpdump: add color support for functional addressing traffic
- isotprecv: add option to enable dynamic flow control parameters (Linux 6.9+)
- cangen: add missing long CAN frame view for len8_dlc and eff
- canbusload: add auto detection of CAN interfaces
- canbusload: show RX/TX direction in bargraph
- canbusload: support busload statistic
- canbusload: support busload visualization
- asc2log: add option to disable direction info
- code formatting with .clang_format
Fixes:
- log2asc: fix logfiles where the timestamp starts with zero
- asc2log: get_date check for AM in en_US time format
- asc2log: handle and skip TxRq messages
- canplayer: ensure 6 decimal places in timestamp for first frame
- cangen: initialize reserved struct CAN(FD) frame elements
- isotpsniffer: fix missing CAN FD support on second listen socket
- canfdtest: fix filter for extended CAN frames
- fix musl build for ARMv7
And some more minor fixes and (documentation) improvements also for the build system.
E.g.
- CMakeLists.txt: bump the minimum required version to 3.5
- github-actions: add cross-compiling
- build-systems: remove autotools and Android.mk
can-utils v2023.03
Tag a new release for Debian Upstream to ship improvements and fixes.
Note: At this time the Debian package is still on v2020.11.0 (2020-11-06).
The summary below describes the changes since v2021.08.0
Support of new kernel features:
- j1939: make use of new RX UAPI
- isotp: rework FRAME_TXTIME handling and buffer size (Linux v5.18+)
- isotp: add support for transmission without flow control (Linux v5.19+)
- mcp251xfd-dump: add support for dumps created with Linux kernel >= v5.18
- can-calc-bit-timing: import bit timing calculation algorithm from v5.19
- cangen: add support for SO_TXTIME
- includes: update to Linux 6.2 upstream (with CAN XL data structures)
Improvements and features:
- canfdtest: Add extended frame format / message length / FD / BRS support
- can-calc-bit-timing: add support for calculation of CAN-FD bit timings
- cangen: add option for absolute timeouts
- cangen: new generation mode - partially randomized payload (-D)
- slcan: increase BTR char limit to 8 for 32bit BTR
- log asc converter: support len8_dlc for Classical CAN frames
- candump: handle individual logfile name for stdout
- cansniffer: add CAN FD support
- cansniffer: make ASCII output switchable in CAN FD mode
- canplayer: introduce option to limit the number of processed frames
Fixes:
- candump: print number of dropped frames as unsigned values
- candump: reserve enough space for ctrlmsg
- candump: fix accidentally disabled traffic timeout feature
- lib: fix seperator in snprintf_error_data
And some more minor fixes and improvements also for the build system.
v2021.08.0: Merge pull request #301 from kurt-vd/canbusload-fd
Tag a new release for Debian Upstream to ship improvements and fixes since v2020.11.0 (2020-11-06):
Support of new kernel features:
- add len8_dlc support for Classical CAN frames (Linux v5.11+)
- add ISOTP SF_BROADCAST support (Linux v5.11+)
Important fixes:
- fix cansniffer snifftab CAN-ID query
- fix candump epoll_wait() and epoll_wait() return value handling
- fix asc2log and canplayer (usec overflow handling)
Improvements and new tools:
- candump improvements (zero relative timestamp support)
- can_calc_bittiming improvements (mcp251xfd/c_can/mcan support, decode of bit timing parameters)
- new tool mcp251xfd-dump to decode chip and driver status
v2020.12.0
candump: Enable zero relative timestamps to be used in log files The logfile format which is generated with '-l' and '-L' consists of an absolute epoch timestamp. In some use cases (e.g. for documentation) a zero relative timestamp can be useful which was only configurable with the '-tz' option for the classic output. '-tz' and '-ta' are now valid options for the logfile format. Signed-off-by: Richard Young <[email protected]> Signed-off-by: Oliver Hartkopp <[email protected]>