mbox series

[0/4] manage CAN devices on MMU-less systems

Message ID 20230509201153.2413972-1-dario.binacchi@amarulasolutions.com
Headers show
Series manage CAN devices on MMU-less systems | expand

Message

Dario Binacchi May 9, 2023, 8:11 p.m. UTC
This series is the result of the work done to add support for the bxCAN
controller to the Linux kernel ([1], [2]). Since these are MMU-less
systems, I had to apply some patches to the userspace tools required to
test the driver. I also submitted a patch to busybox ([3]), but it has
not been accepted yet, and I don't know if it will be in the future. In
the meantime, the rtnl-link-can application can be used.

This series allows the use of CAN devices on MMU-less systems before it
is possible to bump can-utils and libmnl to the new versions containing
these patches.

[1] https://lore.kernel.org/all/20230328084710.jnrwvydewx3atxti@pengutronix.de/
[2] https://lore.kernel.org/all/20230509-silt-gullible-a010971857fc-mkl@pengutronix.de/
[3] http://lists.busybox.net/pipermail/busybox/2023-April/090294.html

Dario Binacchi (4):
  package/can-utils: bump to version 2023.03
  package/can-utils: enable compilation on MMU-less systems
  package/libmnl: add rtnl-link-can example
  package/libmnl: simplify LIBMNL_EXAMPLES_INSTALL_TARGETS setting

 ...ograms-using-fork-on-MMU-less-system.patch | 257 +++++++++
 package/can-utils/Config.in                   |   1 -
 package/can-utils/can-utils.hash              |   2 +-
 package/can-utils/can-utils.mk                |   2 +-
 .../0001-examples-add-rtnl-link-can.patch     | 504 ++++++++++++++++++
 package/libmnl/libmnl.mk                      |  15 +-
 6 files changed, 770 insertions(+), 11 deletions(-)
 create mode 100644 package/can-utils/0001-Don-t-compile-programs-using-fork-on-MMU-less-system.patch
 create mode 100644 package/libmnl/0001-examples-add-rtnl-link-can.patch

Comments

Yann E. MORIN May 13, 2023, 9:04 a.m. UTC | #1
Dario, All,

On 2023-05-09 22:11 +0200, Dario Binacchi spake thusly:
> This series is the result of the work done to add support for the bxCAN
> controller to the Linux kernel ([1], [2]). Since these are MMU-less
> systems, I had to apply some patches to the userspace tools required to
> test the driver. I also submitted a patch to busybox ([3]), but it has
> not been accepted yet, and I don't know if it will be in the future. In
> the meantime, the rtnl-link-can application can be used.
> 
> This series allows the use of CAN devices on MMU-less systems before it
> is possible to bump can-utils and libmnl to the new versions containing
> these patches.
> 
> [1] https://lore.kernel.org/all/20230328084710.jnrwvydewx3atxti@pengutronix.de/
> [2] https://lore.kernel.org/all/20230509-silt-gullible-a010971857fc-mkl@pengutronix.de/
> [3] http://lists.busybox.net/pipermail/busybox/2023-April/090294.html
> 
> Dario Binacchi (4):
>   package/can-utils: bump to version 2023.03
>   package/can-utils: enable compilation on MMU-less systems
>   package/libmnl: add rtnl-link-can example
>   package/libmnl: simplify LIBMNL_EXAMPLES_INSTALL_TARGETS setting

All 4 patches applied to master, thanks.

I just tweaked the Upstream: tag for the libmnl patch, to point to the
actual URL instead of just the sha1:
    https://git.netfilter.org/libmnl/commit/?id=80442c4e32cde0b27b471c5c9688ee8488f14bec

Regards,
Yann E. MORIN.

>  ...ograms-using-fork-on-MMU-less-system.patch | 257 +++++++++
>  package/can-utils/Config.in                   |   1 -
>  package/can-utils/can-utils.hash              |   2 +-
>  package/can-utils/can-utils.mk                |   2 +-
>  .../0001-examples-add-rtnl-link-can.patch     | 504 ++++++++++++++++++
>  package/libmnl/libmnl.mk                      |  15 +-
>  6 files changed, 770 insertions(+), 11 deletions(-)
>  create mode 100644 package/can-utils/0001-Don-t-compile-programs-using-fork-on-MMU-less-system.patch
>  create mode 100644 package/libmnl/0001-examples-add-rtnl-link-can.patch
> 
> -- 
> 2.32.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot