Inquiry About Kernel Build and Firmware Update on A733 Platform

Hello,

I would like to ask about the proper procedure for kernel build and firmware update on the A733 platform.

Currently, I am booting the system using the radxa-a733_bullseye_kde_r2.output_512.img image via SD card.

I cloned the kernel source from:
https://github.com/radxa-pkg/linux-a733.git
(using --recurse-submodules)

The repository states are:

  • src: (HEAD detached at e41499895c17) [linux-6.1-stan-rkr5.1]

  • device-a733: origin/device-a733-v1.4.8

  • bsp: origin/cubie-aiot-v1.4.8

I built the kernel using make deb.

After building, I transferred the generated .deb packages to the target board using scp:

linux-headers-5.15.147-18-a733_5.15.147-18_arm64.deb
linux-image-5.15.147-18-a733_5.15.147-18_arm64.deb
linux-libc-dev_5.15.147-18_arm64.deb
linux-headers-radxa-cubie-a7s_5.15.147-18_all.deb
linux-image-radxa-cubie-a7s_5.15.147-18_all.deb
linux-libc-dev-radxa-cubie-a7s_5.15.147-18_all.deb
linux-headers-radxa-a733_5.15.147-18_all.deb
linux-image-radxa-a733_5.15.147-18_all.deb
linux-libc-dev-radxa-a733_5.15.147-18_all.deb

Then I installed them with:

sudo dpkg -i linux-libc-dev_5.15.147-18_arm64.deb
sudo dpkg -i linux-headers-5.15.147-18-a733_5.15.147-18_arm64.deb
sudo dpkg -i linux-image-5.15.147-18-a733_5.15.147-18_arm64.deb
sudo dpkg -i linux-headers-radxa-cubie-a7s_5.15.147-18_all.deb
sudo dpkg -i linux-image-radxa-cubie-a7s_5.15.147-18_all.deb

However, after rebooting, the system boots with the A7S kernel instead of the A7A kernel, which causes boot errors.

Could you please advise:

  1. What is the correct method to build the kernel for A7S?

  2. Which packages should be installed?

  3. What is the proper procedure to update the kernel/firmware on this platform?

Thank you for your support.