Implement SLIP on LS1046ardb

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Implement SLIP on LS1046ardb

Jump to solution
1,796 Views
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 Kudos
Reply
1 Solution
1,658 Views
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

 

View solution in original post

0 Kudos
Reply
5 Replies
1,711 Views
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 Kudos
Reply
1,675 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please configure "CONFIG_SLIP" in Kernel configuration file.

0 Kudos
Reply
1,660 Views
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 Kudos
Reply
1,659 Views
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 Kudos
Reply
1,773 Views
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 Kudos
Reply