SSD_BUSYBOX CROPPING REFERENCE


1. BUSYBOX DOWNLOAD

Click to get open source busybox; Default version: 1.20.2

The default config of public board is as follow:

sstar_alkaid_arm-linux-gnueabihf-glibc_defconfig


2. CROSS COMPILE BUSYBOX

  1. declare -x ARCH="arm";declare -x CROSS_COMPILE="arm-linux-gnueabihf-"

  2. make menuconfig

    Crop as needed, in principle:

    • Options that cannot be cropped

      Busybox Settings -->
      Init Utilities -->
      Shells -->
      Coreutiles -->
      
    • Options that can be cropped

      Except for the above options that cannot be cropped, all can be cropped. In addition, crop in Coreutiles --> according to the situation, leave the necessary shell commands, and click to download the simplified [config] (mymedia/busybox/config) of the public version.

  3. make clean;make

  4. make install

    _install in the root directory is the busybox installation package we need.

  5. Release busybox to the project directory, and then recompile the project:

    cd _install tar -zcvf _install.tar.gz ./ 
    cp _install.tar.gz /project/image/busybox/ 
    cd ~/project/image/busybox/ 
    mv _install.tar.gz busybox-1.20.2-arm-linux-gnueabihf-glibc-9.1.0-dynamic.tar.gz