orangepi-xunlong / linux-orangepi

Other
176 stars 157 forks source link

pi5 pro 更换成实时内核后没有网口设备 #77

Open QinHaifeiCN opened 2 months ago

QinHaifeiCN commented 2 months ago

1、安装了官方提供Orangepi5pro_1.0.2_debian_bookworm_desktop_xfce_linux5.10.160.img的系统 2、git clone https://github.com/orangepi-xunlong/linux-orangepi.git --branch=orange-pi-5.10-rk35xx-rt 3、复制[https://github.com/orangepi-xunlong/orangepi-build/blob/next/external/config/kernel/linux-rockchip-rk3588-legacy-rt.config] 到.config 4、添加.config配置 CONFIG_NET_VENDOR_MOTORCOMM=y CONFIG_FUXI=y

大致按如上编译出实时内核,但是切换成这个之后重新启动系统。发现网口设备没有识别

QinHaifeiCN commented 2 months ago

官方的处理太慢了,还是需要靠自己解决。。 而且有wifi设备无法识别的问题 1、git clone https://github.com/orangepi-xunlong/linux-orangepi.git --branch=orange-pi-5.10-rk3588
2、将上述库中的/drivers/net/ethernet/motorcomm/ 文件夹复制到实时内核源码的同一个位置 3、更改实时内核源码/drivers/net/ethernet/Makefile ,添加一项obj-y += motorcomm/

然后需要更改make时候的.config文件。需要添加一些项 CONFIG_NET_VENDOR_MOTORCOMM=y CONFIG_BCMDHD_SDIO=y