Hello,
I want to implement SLIP over UART but when I checked, it said SLIP is not supported. I am using kernel 5.10.35. I am stuck on this, so could anyone help me out with this? Any leads would help me with this.
Thanks in advance.
Regards,
Sarthak
Solved! Go to Solution.
Please rebuild Linux Kernel with the following commands.
$ flex-builder -c linux:custom -a arm64
Please enable CONFIG_SLIP = y in menuconfig.
Then run the following command to rebuilt Linux Kernel.
$ flex-builder -c linux -a arm64
Hello Irene,
Thanks for the quick reply. I was researching on this.
Basically I installed default sdk referenced in LSDKUG_Rev21.08.pdf. I checked it doesn't have slip installed. I also checked /lib/modules/5.10.35/kernel/drivers/net/ there is no slip folder. I got to know we need to have slip.ko file installed. Maybe kernel needs to be recompiled r maybe there is a better way to enable this. It would be a great help if you could guide me how I can proceed with this as I don't have any experience in OS.
Regards
Please configure "CONFIG_SLIP" in Kernel configuration file.
Hello Yiping,
I have already compiled default linux kernel as given in the documentation. In that, the flag for CONFIG_SLIP was not set.
I just want to enable this slip protocol.
So do I need to recompile the kenel again with CONFIG_SLIP = y or I should just set the flag(CONFIG_SLIP = y) in /boot/config-5.10.35 file. If it is the latter one, what should I do next?
Thanks for the help
Regards
Please rebuild Linux Kernel with the following commands.
$ flex-builder -c linux:custom -a arm64
Please enable CONFIG_SLIP = y in menuconfig.
Then run the following command to rebuilt Linux Kernel.
$ flex-builder -c linux -a arm64
Where did you read that it was not supported? I found this for Slip relative to the linux kernel:
https://github.com/torvalds/linux/blob/master/drivers/net/slip/Kconfig
This is all that I can provide you.