Skip to main content

编译rock5b的内核

下载内核源码

git clone -b stable-5.10-rock5 --single-branch --depth 1 https://github.com/radxa/kernel.git
apt-get install flex bison libncurses-dev u-boot-tools
root@uos-PC:~/rock5b/kernel# make rockchip_linux_defconfig
root@uos-PC:~/rock5b/kernel# make menuconfig
make savedefconfig
cp defconfig arch/arm64/configs/rockchip_linux_defconfig (这一步是拷贝过去让脚本编译的时候识别)

测试 a 这个是工具 git clone -b debian https://github.com/radxa/build.git