Implement SLIP on LS1046ardb

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Implement SLIP on LS1046ardb

ソリューションへジャンプ
1,797件の閲覧回数
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,659件の閲覧回数
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,712件の閲覧回数
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,676件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please configure "CONFIG_SLIP" in Kernel configuration file.

0 件の賞賛
返信
1,661件の閲覧回数
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,660件の閲覧回数
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,774件の閲覧回数
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 件の賞賛
返信