Rock 3A 编译Linux内核的默认defconfig在哪里?

想通过自己编译内核添加一些功能 请问默认的defconfig在哪里找?是下面这个嘛
kernel/arch/arm64/configs/rockchip_linux_defconfig

Please check:

https://wiki.radxa.com/Rock3/dev/Debian#Build_kernel

1 Like

请问一下,我需要编译kernel进入安卓,用这个方法可以吗?还是根据教程必须下载完整的AOSP?我注意到在安卓11的教程中有CC=…/prebuilts/clang/host/linux-x86/clang-r383902b/bin/clang,能否提供这个交叉编译工具单独的下载链接?

You can find the repo here:

https://gitlab.com/rockchip_android_r

clang:

https://gitlab.com/rockchip_android_r/platform/prebuilts/clang/host/linux-x86

android kernel:

https://gitlab.com/rockchip_android_r/rk/kernel

感谢提供的链接,下载并配置好环境后,我使用了clang-r383902b编译器,但是在编译时报错

目前问题已解决,是没有指定aarch64编译器