Description
Minimum host computer configuration requirements for compiling the Buildroot system:
16-core CPU32GB RAM300GB 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 the 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 Buildroot configuration file:
./build.sh lunchHere you can choose from 5 desktop configuration types. Enter the corresponding number:
Function Description
This will write the configuration from tspi_3m_rk3576_buildroot_defconfig to output/.config for compilation.
You can use ./build.sh help to view other command parameters.
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.