3. Compile Debian Firmware¶
This chapter introduces the compilation process of Debian firmware. It is recommended to develop under Ubuntu 18.04 system environment. If you use other system versions, you may need to adjust the compilation environment accordingly.
The only difference between the compilation method of Debian firmware and Ubuntu is the use of different filesystems, other steps including configuration files are exactly the same.
So please refer to Compile Ubuntu firmware
Now only introduce the difference: replacing of filesystem
3.1.1. Download Debian filesystem¶
Download ：Debian rootfs(64-bit)，and put it in the SDK
7z x Debian10-xxxx_RK3568_xxxx.7z
Put rootfs under
mkdir ubuntu_rootfs mv Debian10-xxxx_RK3568_xxxx.img ubuntu_rootfs/
Create a symbolic link to
cd ubuntu_rootfs ln -sf Debian10-xxxx_RK3568_xxxx.img rk356x_ubuntu_rootfs.img
Then follow the normal steps just like you are compiling ubuntu firmware