Commit Graph

44 Commits

Author SHA1 Message Date
Alexandre Truong 322ff9a1be can-isotp: include UPSTREAM_CHECK_COMMITS to fix UNKNOWN_BROKEN status
When performing devtool check-upgrade-status, UNKNOWN_BROKEN status appears.
On the upstream source repository, releases are not identified by tags. So,
UPSTREAM_CHECK_COMMITS is set to 1, to find the latest upstream update.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:07 -07:00
Khem Raj c489836837 can-isotp: Update to latest and skip it
Its only needed with kernel < 5.10, in such BSPs it could be
over-written in BSP or distro layers.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-09 09:52:15 -08:00
Martin Jansa 21f956598d recipes: drop ${SRCPV} usage
* Drop SRCPV similarly like oe-core did in:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872

* SRCPV is deferred now from PV to PKGV since:
  https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-09 09:52:12 -08:00
Wang Mingyu 99500b3813 can-utils: upgrade 2021.08.0 -> 2023.03
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

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-23 21:46:12 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Alexander Kanavin 020b87add3 can-utils: rrecommend iproute2 to make it possible to configure can interfaces
This replicates the fix from canutils.bb, for the same issue. See the link
in the comment for details.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-09-08 21:29:53 -07:00
wangmy c0667e89bc can-utils: upgrade 2021.06.0 -> 2021.08.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-26 10:10:56 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj 64e2de92f5 can-isotp: Ignore in world builds
This now included in kernels 5.10+ so on master and linux-yocto we
really do not need this recipe, but there still might be older kernels
interfaced with meta-oe master, so they can still use it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-16 09:23:03 -07:00
David Sterling bb9be0af4a can-isotp: Upgrade to latest on master
It is needed for 5.2 to 5.10 kernel

Can-isotp is now upstream from kernel 5.10 onwards.
Use kernel config file instead.  This is only provided for legacy kernels.

For kernel 5.10 onwards use kernel defconfig option for ISO 15765-2 CAN
transport and do not use can-isotp recipe. You will get "The file
/usr/include/linux/can/isotp.h is installed by both linux-libc-headers
and can-isotp" error using this recipe with kernel >= 5.10

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-16 08:58:27 -07:00
zangrc 2d6a57d9ac can-utils: upgrade 2020.12.0 -> 2021.06.0
Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-01 22:44:39 -07:00
Sean Nyekjaer 1b4da9f2ad can-utils: split into more packages
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-22 09:24:34 -08:00
zangrc 2595b79260 can-utils: upgrade 2020.11.0 -> 2020.12.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-07 22:57:45 -08:00
Khem Raj add900e734 canutils,can-utils: Add cansequence to u-a as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-24 21:19:34 -08:00
Mark Jonas fc224bdf8e libsocketcan: Update to 0.0.12
Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-18 16:49:51 -08:00
Mark Jonas 291e48127e libsocketcan: Add PACKAGECONFIG options
libsocketcan offers two configuration options.

debug: Compile for debugging. Off by default.
error-log: Logging of error events to stderr. On by default.

Because error-log is on by default the package config option is
no-error-log to retain existing recipe behavior.

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-13 17:26:09 -08:00
zangrc ed20d8660f can-utils: upgrade 2020.02.04 -> 2020.11.0
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-12 21:03:29 -08:00
Khem Raj 7de0bbbbaa canutils: Use update-alternatives
canutils provides applications which conflict with can-utils recipe.
update-alternatives helps fix this when both are installed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-31 08:30:19 -07:00
Robert P. J. Day d7f5367b53 use weak assignments for PNBLACKLIST in recipe files
Make sure PNBLACKLIST assignments in recipe files use weak assignment,
so they can be overridden in, for example, local.conf files.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-05-26 10:28:39 -07:00
Denys Dmytriyenko ed7936674b can-utils: update to v2020.02.04
https://github.com/linux-can/can-utils/releases/tag/v2020.02.04

This version is required to build against kernel > 5.2

While at it, drop redundant DESCRIPTION and branch=master

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-27 08:25:49 -08:00
William A. Kennington III via Openembedded-devel ce41fe5aca can-utils: bump to revision 665d869
Also:
 - remove patch applied upstream
 - update the hash of the license because the file
 now contains a SPDX license identifier

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-19 02:20:59 -08:00
Oleksandr Kravchuk 9a0de2779b libsocketcan: update to 0.0.11
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-13 07:00:13 -07:00
Khem Raj 649d491b21 vboxguestdrivers,can-isotp,bpftool: Add to Blacklist
They need forward porting to kernel 5.2+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-07 12:35:59 -07:00
Khem Raj d6b4dee1b1 can-isotp: Update to latest tip
Fixes build with 5.2 kernel headers

For complete changes see [1]

[1] https://github.com/hartkopp/can-isotp/compare/6003f999...b31bce9

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29 12:23:12 -07:00
Khem Raj 33608095e4 can-utils: Fix build with kernel headers >= 5.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-29 12:23:12 -07:00
Khem Raj 1db2116434 can-isotp: Upgrade to latest
Fixes build with linux kernel 4.18+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-27 10:53:58 -07:00
Andrea Galbusera 5a14546439 can-isotp: add recipe
Linux Kernel Module for ISO 15765-2:2016 CAN transport protocol.

CAN Transport Protocol offers support for segmented Point-to-Point
communication between CAN nodes via two defined CAN Identifiers. This protocol
driver implements data transfers according to ISO 15765-2.

This recipe provides can-isotp.ko kernel module.

Signed-off-by: Andrea Galbusera <gizero@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Khem Raj 66c632a320 can-utils: Update to tip of master
Fixes build issues with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:57:35 +02:00
Chen Qi 4faba62424 libsocketcan: upgrade to 0.0.10
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-10-25 15:31:12 +02:00
Christopher Larson 4c21d7a02f canutils: rdep on iproute2
busybox ip fails to configure can interfaces, so we need iproute2 to do so.
See also http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:44:42 +01:00
Stefan Müller-Klieser 4d6e129b27 can-utils_git.bb: fix SRC_URI
gitorious.org is closing down the can-utils project moved to github.com

Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:48 +02:00
Nobuhiro Iwamatsu ccd12ac24c can-utils: Change protocol from git to https
gitorious.org that is hosting can-utils has stopped providing git protocol.
That https is provided instead. This will change protocol to get can-utils
of source code from git to https.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-21 16:42:23 +01:00
Richard Purdie d04099e94b recipes: Add missing pkgconfig dependencies
These recipes were all missing pkgconfig dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 14:53:55 +02:00
Martin Jansa c811ad2cdc libsocketcan: Fix build with B!=S
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-21 10:36:54 +02:00
Lauren Post 6d12182770 can-utils: Create git version
Linux CAN network development utilities - newer version than canutils

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-03-26 21:58:01 +01:00
Matthieu CRAPET c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
Eric BENARD 3f148a1480 canutils: update recipe
- use git hash instead of tag
- backport "candump: Add error frame's handling"

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 12:36:02 +02:00
Eric BENARD 8b9fccbbfa libsocketcan: upgrade to 0.0.9
and include a compile fix

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-05 12:36:02 +02:00
Jackie Huang b79176adb3 remove the unnecessary protocol parameters
It's not necessary to specify the protocol parameter when it's the
default protocol for the fetcher, e.g. the default protocol for
git fetcher it git, "protocol=git" isn't needed.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-09-03 16:59:13 +02:00
Martin Jansa a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Paul Eggleton 31bd3fb6a6 meta-oe: Fix erroneous use of "startline" in LIC_FILES_CHKSUM
"beginline" is the correct parameter name. Checksums have been updated
where necessary (i.e. if the beginning line was something other than the
default of 1).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-16 21:11:42 +01:00
Koen Kooi 512cae98f7 canutils: add 4.0.6
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-10 15:50:58 +01:00
Koen Kooi f82b52f5e2 libsocketcan: add 0.0.8 + fixes
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-11-10 15:50:41 +01:00