Skip to main content

SDK Buildroot Configuration

1. Introduction to Buildroot

Buildroot is a tool specifically designed for embedded systems, aimed at simplifying the process of building embedded Linux systems. By configuring Buildroot, you can customize the software packages and libraries included in your embedded system to meet specific requirements.

  1. Open the configuration interface. Enter the SDK root directory and start the Buildroot configuration interface. If the SDK has not been compiled before, select the corresponding branch for your development board first:
    cd luckfox-pico
    ./build.sh lunch
    ./build.sh buildrootconfig

  2. Basic operations.
    • and : Browse and select options
    • and : Select operations such as Select and Exit
    • Enter: Enter a submenu
    • Y and Space: Select an option; press twice to deselect
    • N: Deselect an option
    • M: Select as a module
    • Esc: Press Esc twice to return to the previous menu
    • ?: View help information for the current option
    • /: Search

2. Example: Adding a Library in Buildroot

Note

Since the RV1106-SDK uses the uClibc toolchain, which differs from Buildroot’s default glibc toolchain, please ensure that any third-party packages you add do not have glibc dependencies.

  1. Open the configuration interface. Enter the SDK root directory and start the Buildroot configuration interface. If the SDK has not been compiled before, select the corresponding branch for your development board first:

    cd luckfox-pico
    ./build.sh lunch
    ./build.sh buildrootconfig
  2. Press /, enter minicom, and press Enter to search.

  3. If there is only one matching result, press 1 to jump to that configuration item.

  4. Press Y or Space to select minicom, then choose Save to save the configuration.

  5. Select OK, then press Esc twice to exit.

  6. Compile the image. After compilation succeeds, use the find command to check that minicom has been successfully integrated into the root filesystem:

    ./build.sh
    find -name minicom