Description
Minimum host computer configuration requirements for compiling the Ubuntu24 system:
16-core CPU32GB RAM120GB+ Storage
I have not tested lower configurations. Configurations below these requirements may experience various unexplained errors.
- Host system:
Ubuntu22.04
SDK Description
- Linux kernel version:
6.1.99 - Device tree:
tspi-3m-rk3576 - Kernel config file:
rockchip_linux_defconfig
Compile Image
0⃣. Enter SDK root directory:
lipeng@host:~/workspace/linux-build/TaishanPi-3-Linux$ ls
Copyright_Statement.md app buildroot device envsetup.sh hal kernel-6.1 rkbin rtos tspi-sdk-init.sh yocto
Makefile build.sh debian docs external kernel prebuilts rkflash.sh tools u-boot2
3
1⃣. Select configuration file:
./build.sh lunchHere you can choose from 5 desktop configuration types. Enter the corresponding number:
Configuration File Description
There are two available configuration files:
tspi_3m_rk3576_ubuntu_noble_gnome_defconfig: Configuration file usingGNOMEdesktop environment. The system is more aesthetically pleasing and feature-rich, but also consumes more system resources.tspi_3m_rk3576_ubuntu_noble_xubuntu_defconfig: Configuration file usingXubuntudesktop environment. The system interface is relatively simple with fewer features, but also consumes less system resources.
The default is 5. tspi_3m_rk3576_ubuntu_noble_xubuntu_defconfig.
For the first SDK compilation, you can enter 5 and press Enter to select the default Ubuntu24 desktop configuration for testing.
Function Description
This command will read all configuration files in the TaishanPi-3-Linux/device/rockchip/.chips/rk3576/ folder. Then, based on different user selections, it will write different configurations to the /TaishanPi-3-Linux/output/.config file to prepare for subsequent compilation.
2⃣. Start compilation with one click:
./build.sh allCommand Explanation
It will automatically run the compilation commands inside. Based on the configuration in output/.config, selective compilation will be performed, and the finished product image update.img will be automatically generated.
You can use ./build.sh help to view other command parameters.
3⃣. Compilation successful:
After compilation, you can find the generated update.img in the rockdev/ directory. Then, according to the method in Finished Image Flashing 🚀 chapter, flash the update.img image to see the system start.