单独编译ipk,5.4.224内核无法安装,路由器nx30pro
Closed this issue · 1 comments
jinzhi666 commented
root@ImmortalWrt:/tmp# opkg install kmod-oaf_5.4.224+5.0-1_aarch64_cortex-a53.ipk
Unknown package 'kmod-oaf'.
Collected errors:
* pkg_hash_check_unresolved: cannot find dependency kernel (= 5.4.224-1-05c95713c0fb5b28cc575478c8d71a22) for kmod-oaf
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-oaf found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package kmod-oaf.
root@ImmortalWrt:/tmp# uname -a
Linux ImmortalWrt 5.4.224 #0 SMP Fri Jun 2 08:57:18 2023 aarch64 GNU/Linux
destan19 commented
内核模块ipk安装校验非常严格,需要保证固件和你编译环境的内核magic一致,否则都会报错,三种解决方法
- 直接编译固件,集成应用过滤
- 编译时保证内核配置完全一样,不懂内核的还是放弃
- 解压ipk,找到ko文件,放到/lib/modules/${内核版本}/目录,重启设备
安装失败跟源码没半点关系