“Buildroot”的版本间的差异

来自百问网嵌入式Linux wiki
第11行: 第11行:
 
=系统配置=
 
=系统配置=
 
Build options  --->
 
Build options  --->
    Commands  --->                                                                            │ │
+
      Commands  --->                                                                            │ │
 
   │ │        (/ti/mini437x_buildroot/configs/mini4378_defconfig) Location to save buildroot config        │ │
 
   │ │        (/ti/mini437x_buildroot/configs/mini4378_defconfig) Location to save buildroot config        │ │
 
   │ │        ($(TOPDIR)/dl) Download dir                                                                  │ │
 
   │ │        ($(TOPDIR)/dl) Download dir                                                                  │ │

2019年1月8日 (二) 13:06的版本

buildroot版本为2018.02LTS版 官网使用手册 #https://buildroot.org/downloads/manual/manual.html

配置单板架构

Target options --->

 Target Architecture (ARM (little endian))  --->
 Target Binary Format (ELF)  --->
 Target Architecture Variant (cortex-A8)  --->
 Target ABI (EABIhf)  --->
 Floating point strategy (VFPv3-D16)  --->
 ARM instruction set (ARM)  --->

系统配置

Build options --->

 		    Commands  --->                                                                            │ │
 │ │         (/ti/mini437x_buildroot/configs/mini4378_defconfig) Location to save buildroot config         │ │
 │ │         ($(TOPDIR)/dl) Download dir                                                                   │ │
 │ │         ($(BASE_DIR)/host) Host dir                                                                   │ │
 │ │             Mirrors and Download locations  --->                                                      │ │
 │ │         (0) Number of jobs to run simultaneously (0 for auto)                                         │ │
 │ │         [ ] Enable compiler cache                                                                     │ │
 │ │         [ ] build packages with debugging symbols                                                     │ │
 │ │         [*] strip target binaries                                                                     │ │
 │ │         ()    executables that should not be stripped                                                 │ │
 │ │         ()    directories that should be skipped when stripping                                       │ │
 │ │             gcc optimization level (optimize for size)  --->                                          │ │
 │ │         [ ] Enable google-breakpad support                                                            │ │
 │ │             libraries (shared only)  --->                                                             │ │
 │ │         ($(CONFIG_DIR)/local.mk) location of a package override file                                  │ │
 │ │         (board/mini335x/patches) global patch directories                                             │ │
 │ │             Advanced  --->                                                                            │ │
 │ │             *** Security Hardening Options ***                                                        │ │
 │ │             Stack Smashing Protection (None)  --->                                                    │ │
 │ │             RELRO Protection (None)  --->                                                             │ │
 │ │             Buffer-overflow Detection (FORTIFY_SOURCE) (None)  --->                                   │ │
 │ │                                                                        

配置登陆信息

配置登陆串口

配置工具链

Toolchain type (External toolchain) --->

 │ │			( ) Buildroot toolchain                 │ │
 │ │                  (X) External toolchain  		│ │

自动制作工具链

在线下载的

          Toolchain type (External toolchain)  --->                                                                                           │ │
 │ │           *** Toolchain External Options ***                                                                                                  │ │
 │ │           Toolchain (Custom toolchain)  --->                                                                                                  │ │
 │ │           Toolchain origin (Toolchain to be downloaded and installed)  --->                                                                   │ │
 │ │       (https://publishing-ap-linaro-org.s3.amazonaws.com/releases/components/toolchain/binaries/5.3-2016.05/arm-linux-gnueabihf/gcc-linaro-5.3│ │
 │ │       ($(ARCH)-linux-gnueabihf) Toolchain prefix                                                                                              │ │
 │ │           External toolchain gcc version (5.x)  --->                                                                                          │ │
 │ │           External toolchain kernel headers series (4.0.x)  --->                                                                              │ │
 │ │           External toolchain C library (glibc/eglibc)  --->                                                                                   │ │
 │ │       [*] Toolchain has SSP support?                                                                                                          │ │
 │ │       [*] Toolchain has RPC support?                                                                                                          │ │
 │ │       [*] Toolchain has C++ support?                                                                                                          │ │
 │ │       ()  Extra toolchain libraries to be copied to target                                                                                    │ │
 │ │       [ ] Copy gdb server to the Target                                                                                                       │ │
 │ │           *** Host GDB Options ***                                                                                                            │ │
 │ │       [ ] Build cross gdb for the host                                                                                                        │ │
 │ │           *** Toolchain Generic Options ***                                                                                                   │ │
 │ │       [ ] Copy gconv libraries                                                                                                                │ │
 │ │       [*] Enable MMU support                                                                                                                  │ │
 │ │       ()  Target Optimizations                                                                                                                │ │
 │ │       ()  Target linker options                                                                                                               │ │
 │ │       [ ] Register toolchain within Eclipse Buildroot plug-in


配置

包的管理

手动添加自己的包

添加蓝牙工具

添加wifi工具

添加http+php工具

添加Qt

添加can-until

添加ssh工具

添加mkfs格式化工具

添加自己的bin文件

编译bootloader

编译linuxkernel