Makefile:613: include/config/auto.conf: No such file or directory
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
提示错误是没有内核配置文件,重新执行 make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- ok1028_defconfig,
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- 编译生成Image ,再编译KO驱动,将KO驱动放到开发板里面,insmod *.ko; 报错提示驱动与内核版本不一致