This section describes how to integrate a software package into the image by checking existing software packages through menuconfig.
1. Enter Buildroot Configuration Interface
Enter the TaishanPi-3-Linux/ SDK root directory:
cd TaishanPi-3-Linux/Write the Buildroot configuration file:
./build.sh tspi_3m_rk3576_buildroot_defconfigRun the following command to enter the menu page:
./build.sh bconfigAfter loading completes, you will enter a TUI menu interface similar to kernel configuration.
2. Find Target Software Package
Most third-party application software is in the menu:
Target packagesand its subdirectories
Common operations:
- Arrow keys: Move cursor up/down
- Enter: Enter submenu
- Spacebar: Check/uncheck option
3. Check Software Package
After finding the package you need, press the spacebar to set it to [*] state, which means the software package will be compiled and included in rootfs.
For example:
- Check a network tools package
- Check a diagnostics/debugging tool
If a package's dependencies are not met, the menu will prompt you. You need to first check the dependency options.
Note
In the interface, press / (corresponding key), to open the search box. Enter the software package configuration item to quickly find the corresponding location.
4. Save Configuration and Compile
Press Esc in the menu to return to the upper level, then select:
Saveto save the current configuration (the script will automatically update theTaishanPi-3-Linux/buildroot/configs/rockchip_rk3576_defconfigfile)
After exiting the menu, execute the full compilation command:
./build.sh allBuildroot will automatically download the source code, compile, and integrate the checked software packages into the generated root filesystem image based on the new configuration.