1, “./build/pack-kernel.sh -d rockchip_linux_defconfig -r 1” does not reflect changed kernel settings. I removed ‘make distclean’ in this shell script. It seems to work.
2, I built a kernel deb package after adding a kernel WiFi driver. When I applied this package to ‘rock-3-v20211115’, a Kernel Panic occurred and reboot after 10 second though the image could boot up. I ca use this package though I don’t like the Kernel Panic.
3, I made a system image using the same setting by “./build/mk-image.sh -c rk3568 -t system -r rootfs/linaro-rootfs.img”. However, the new built system.img could not boot due to Kernel Panic.
pack-kernel.sh would create .config based on rockchip_linux_defconfig.
When you save your changes to rockchip_linux_defconfig, I think that would work.
This is a known issue and it is fixed. You need to upgrade the u-boot.
Thanks.
I succeeded in building a new image and booting it. However, there is no /lib/modules directory. For now I don’t know what mistakes I’ve made. I will look into the cause after tomorrow.
Thanks, Jack.
I applied the kernel package to the image. Then an additional wifi driver worked well. However, when I added Radxa APT, like
$ sudo apt-get install -y rockchip-overlay
$ sudo apt-get install -y linux-4.19-rock-3-latest
,
the Rock 3A has stopped booting up.
Now I’m using the latest official image and I have applied Radxa APT, here the kernel version is ‘4.19.193-17-rockchip-ga4e78ea509f7’. Finally I installed the new kernel package I made. This is working very well and stable.