livesuit编译awusb报错
-
按照教程下载sunxi-livesuit,进入awusb执行make.
报错如下make -C /lib/modules/5.13.0-27-generic/build SUBDIR=/home/zzidun/code/sunxi-livesuite/awusb modules make[1]: 进入目录“/usr/src/linux-headers-5.13.0-27-generic” make[2]: *** 没有规则可制作目标“arch/x86/entry/syscalls/syscall_32.tbl”,由“arch/x86/include/generated/uapi/asm/unistd_32.h” 需求。 停止。 make[1]: *** [arch/x86/Makefile:231:archheaders] 错误 2 make[1]: 离开目录“/usr/src/linux-headers-5.13.0-27-generic” make: *** [Makefile:6:all] 错误 2
把
Makefile
里面的SUBDIR=
改为M=
就可以编译.但是加载模块会报
modprobe: ERROR: could not insert 'awusb': Exec format error
.全程都用的
uname -r
按道理不会这样.原本的
subdir=
是什么含义,我在这文档看只提到M=
.系统是ubuntu20.04,内核是5.13.0-27.
-
给个不成熟建议,建议改改韦老师的 @allwinnertech buildroot sdk兼容spi nand,然后用 @xboot
大佬的 xfel 烧录到spi nand。 -
可以参考 AUR 那边我打的包
里面使用了第三方修改后的包 -
xiaowenge
Copyright © 2021 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号