Re: J1939 in AGL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kurt,

Thanks for the reply, the compile ran fine with minor modifications on patches gotten from v5.1 version. I've not tested at runtime yet but should be good.

I'll tell you once done if you are interested. You could take a look in the AGL Jira ticket[1] to get the patches, if you want.

What about an integration in the mainline kernel ? Is there any date or release planned so far ? Thanks

Best regards.

[1]: https://jira.automotivelinux.org/browse/SPEC-2386

On 03/06/2019 20:35, Kurt Van Dijck wrote:
On ma, 03 jun 2019 18:25:03 +0200, Romain Forlot [IoT.bzh] wrote:
Hi,

We are working to support the J1939 protocol, using your works on socketCAN,
in AGL (Automotive Grade Linux). We are facing some problems or questions
about how to use it. We still have support for LTSI Kernel which is 4.14 by
now and certainly will be 4.19 for the next and your work are based on the
latest Linux v5.1 version.

Backporting them to 4.19 seems easy, we just took the diff at the head of
the "j1939" branch of linux-can-next repository as patches and applied them
to the mainline 4.19 Kernel. We did the same about the 4.14 but only took
the J1939 relative patches with a slight change on drivers/net/can/dev.c
patches in the patches implementing the CAN midlayer private.

Is it planned to support the 4.19 version in the future as it seems to be
the next LTSI version ? And less probable, do you planned for 4.14 the
actual LTSI ?

What do you think about the way we did to backport the work on J1939 ?
Runtime tests aren't been ran for now but we just prove that patches apply,
which is not enough for sure, but as the work are limited to the J1939
module then we are relatively confident and would appreciate your feedback.
You could, as an intermediate step between 'patch apply' and 'runtime tests',
try to compile the kernel with j1939.
Most of the backporting I did in the past indicated the amount of work
during compiling.

Kind regards,
Kurt

--
Romain Forlot - Embedded Engineer - IoT.bzh
romain.forlot@xxxxxxx - www.iot.bzh - +33675142438




[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux