自动生成的组播MAC地址:组播组虚拟服务器的二层标识
2026/10/10 3:20:59
我的开发板是RK3568,6.1.19烧录到了TF卡中
uname -a可查询kernel为4.19.232root@lubancat:~# uname -aLinux lubancat4.19.232#25 SMP Sat Apr 18 14:08:18 CST 2026 aarch64 aarch64 aarch64 GNU/Linuxroot@lubancat:~#sudoaptupdatesudoaptinstallgccmakegitbclibssl-dev liblz4-tool device-tree-compiler bison flex u-boot-tools gcc-aarch64-linux-gnu#-b参数指定lbc-develop-6.1分支(6.1.99版本)gitclone-blbc-develop-6.1 https://github.com/LubanCat/kernel.git#清除之前生成的所有文件和配置makemrproper#(6.1.99版本执行)# 加载lubancat_linux_rk356x_defconfig配置文件,rk3566/RK3568系列均是该配置文件makeARCH=arm64CROSS_COMPILE=aarch64-linux-gnu- lubancat_linux_rk356x_defconfig# 编译内核,指定平台,指定交叉编译工具,使用8线程进行编译,线程可根据电脑性能自行确定makeARCH=arm64CROSS_COMPILE=aarch64-linux-gnu--j8#编译好的Image路径arch/arm64/boot/Image#编译好的设备树路径arch/arm64/boot/dts/rockchip/rk3568-lubancat-2-v2.dtb输入df -h可看到TF卡位置
进去这个目录
cd/media/linux/boot/参考:Rockchip WiKi
cp ~/LubanCat_SDK/kernel/arch/arm64/boot/dts/rockchip/rockchip/rk3399-evb.dtb boot/rk3399.dtb cp ~/LubanCat_SDK/kernel/arch/arm64/boot/Image boot/原来是 4.19.232
修改成我们刚刚复制过来的内核和设备树sudo vim extlinux/extlinux.conf
label kernel-6.1.99 kernel /Image fdt /rk3568-lubancat-2-v2.dtb appendroot=/dev/mmcblk0p3 earlyprintkconsole=ttyFIQ0console=tty1consoleblank=0loglevel=7rootwait rwrootfstype=ext4cgroup_enable=cpusetcgroup_memory=1cgroup_enable=memoryswapaccount=1switolb=1coherent_pool=1m我们可以看到内核版本现在是6.1.99
参考