Embedded file system build tool busybox / buildroot / openwrt combing

1、busybox

busybox is the lightest

1) Modify Makefile

CROSS_COMPILE ?= /usr/local/gcc-linaro-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-

ARCH ?= arm

2) 配置make menuconfig

Busybox Settings  --->

[*] Build BusyBox as a static binary (no shared libs)

(/usr/local/gcc-linaro-arm-linux-gnueabihf/bin/arm-linux-gnueabihf-) Cross Compiler prefix

3) Compile, install

#make

#make install

4) Copy the glibc library that Linaro Toolchain depends on

at https://releases.linaro.org/components/toolchain/binaries/latest/arm-linux-gnueabihf/

Find sysroot-glibc-linaro-2.25-2017.11-arm-linux-gnueabihf.7z, copy the usr and lib directories to the file system

5) Make a bootstrap file

slightly

 

2、buildroot

I use atmel sama5d3, it is enough to read this document How to build Buildroot for AT91

http://www.at91.com/linux4sam/bin/view/Linux4SAM/BuildRootBuild

This is a custom buildroot, and the general version usage is similar.

 

3、openwrt

https://cnodejs.org/topic/536a402afa61d57127060d40

 https://github.com/qianguozheng/nodejs-openwrt/blob/master/Makefile

https://blog.csdn.net/GenRong/article/details/26099311

https://blog.csdn.net/xhoufei2010/article/details/51627417

http://archive.openwrt.org/chaos_calmer/15.05/arm64/generic/

http://archive.openwrt.org/snapshots/trunk/

http://archive.openwrt.org/chaos_calmer/

http://archive.openwrt.org/

https://blog.csdn.net/bless2015/article/details/49798513

Linaro Toolchain

Linaro provides monthly GCC source archive snapshots of the current Linaro GCC release branch, as well as quarterly releases of pre-built Linaro GNU cross-toolchain binary archives.

The following tables provide direct access to the most common Linux and bare-metal ABI variants of the Linaro binary cross-toolchain quarterly releases. Both x86_64 Linux and Mingw32 (MS Windows compatible) host binaries are provided:

Latest Linux Targeted Binary Toolchain Releases

arm-linux-gnueabihf 32-bit ARMv7 Cortex-A, hard-float, little-endian Release-Notes Binaries Source
armv8l-linux-gnueabihf 32-bit ARMv8 Cortex-A, hard-float, little-endian Release-Notes Binaries Source
aarch64-linux-gnu 64-bit ARMv8 Cortex-A, little-endian Release-Notes Binaries Source

Latest Bare-Metal Targeted Binary Toolchain Releases

arm-eabi 32-bit ARMv7 Cortex-A, soft-float, little-endian Release-Notes Binaries Source
aarch64-elf 64-bit ARMv8 Cortex-A, little-endian Release-Notes Binaries Source

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324673492&siteId=291194637