-
Notifications
You must be signed in to change notification settings - Fork 28
Description
To all slLIN users,
the project mainline/upstream is hard to be found which results in annoyance, redundant solving of the already solved issues and other time waste. If there should be chance for acceptance into mainline Linux kernel we need consolidation and maintainers backup.
Background
I was one of initiators and coordinator of the initial Linux UART LIN bus solution slLIN. Idea about SocketCan API comes from Oliver Hartkopp (@hartkopp), one of initiators of the Linux SocketCAN. The work of me and @lisovy at Czech Technical Univesity in Prague has been initially funded by Volkswagen Research. I have continued maintainer-ship in my spare time later with support of my company PiKRON colleagues who designed original HW etc... Project has been used and some maintenance contributed by E4T (Voklswagen subsidiary now). Original repo http://rtime.felk.cvut.cz/gitweb/linux-lin.git is hard to find and the server was taken away from our faculty when original IIG group moved away and my will to continue cooperation with it has been betrayed hard way by doctor Michal Sojka in start of 2017 year so it is not my preferable mainline now. There are many forks on GitHub without clean upstream and because probably nobody from us has funded contract to maintain the project and contribute mostly on voluntarily base or when somebody has concrete use case, the project organization and finding latest version is hard and forks lack synchronization.
Proposed solution
I have setup organization https://github.com/lin-bus
I invited @trainman419, @knezicm, @kbader94, @lisovy as co-owners to ensure backup and chance to integrate changes. It would be great if we setup merge requests practice targeting this project. I suggest to to consider keeping compatability with 4.4 kernel by ifdefs for now due to use of this kernel in Civil Infrastructure Platform.
To @trainman419, please, move your linux-lin project under https://github.com/lin-bus organization. Then fork it again to your account. That way all other forks would point users to search for updates and help in the community project where is larger chance that some of volunteers finds time.
To @kbader94, please, setup your linux-lin repo as the fork of the lin-bus upstream repo, prepare merge request for README.md and other changes. We can discuss them.
In the long term, we can try to enhance Linux mainline UART to support setup of Rx FIFO threshold level general way. I have idea, but there has to be declared real user base interest and demand to TTY maintainers the first.
It would worth to fork https://github.com/linux-can/can-utils and prepare merger request adding option to select LIN discipline in slcan_attach.c.
We should try to register discipline numbers in mainline. There would be problem with LIN_MASTER and LIN_SLAVE identifiers (sic) so we should think about alternatives as LIN_COORDINATOR, LIN_TARGETONLY or something other which pass, suggested leader and follower is the mess and who knows when leader becomes offending again.
There is interest in LIN bus in NuttX RTOS community as well. We can coordinate effort.
Thanks for your time and attempts to move project forward,
Pavel Pisa