Implement SLIP on LS1046ardb

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Implement SLIP on LS1046ardb

跳至解决方案
1,793 次查看
Sarthak
Contributor I

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

0 项奖励
回复
1 解答
1,655 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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

 

在原帖中查看解决方案

0 项奖励
回复
5 回复数
1,708 次查看
Sarthak
Contributor I

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

0 项奖励
回复
1,672 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please configure "CONFIG_SLIP" in Kernel configuration file.

0 项奖励
回复
1,657 次查看
Sarthak
Contributor I

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

0 项奖励
回复
1,656 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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

 

0 项奖励
回复
1,770 次查看
Irene
NXP Pro Support
NXP Pro Support

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.

0 项奖励
回复