匿名
未登录
登录
百问网嵌入式Linux wiki
搜索
查看“Buildroot”的源代码
来自百问网嵌入式Linux wiki
名字空间
页面
讨论
更多
更多
页面选项
Read
查看源代码
历史
←
Buildroot
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
该页面已被保护以防止编辑和其他操作。
您可以查看与复制此页面的源代码。
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 =系统配置= System configuration ---> ==配置登陆信息== Root FS skeleton (default target skeleton) ---> (mini437x) System hostname (Welcome to Mini437x) System banner Passwords encoding (md5) ---> Init system (systemV) ---> /dev management (Dynamic using devtmpfs + mdev) ---> (system/device_table.txt) Path to the permission tables [ ] support extended attributes in device tables [ ] Use symlinks to /usr for /bin, /sbin and /lib [*] Enable root login with password () Root password /bin/sh (bash) ---> [*] Run a getty (login prompt) after boot ---> [*] remount root filesystem read-write during boot (eth0) Network interface to configure through DHCP [*] Purge unwanted locales (C en_US) Locales to keep () Generate locale data [ ] Enable Native Language Support (NLS) -*- Install timezone info (default) timezone list (Etc/UTC) default local time () Path to the users tables (board/mini437x/rootfs-overlay) Root filesystem overlay directories (board/mini437x/post-build.sh) Custom scripts to run before creating filesystem images () Custom scripts to run inside the fakeroot environment (board/mini437x/post-image.sh) Custom scripts to run after creating filesystem images () Extra arguments passed to custom scripts ==配置登陆串口== ==其它配置== =配置linuxkernel= Kernel ---> │ │ [*] Linux Kernel │ │ │ │ *** Linux kernel in thumb mode may be broken with binutils >= 2.29 *** │ │ │ │ Kernel version (Latest version (4.15)) ---> │ │ │ │ () Custom kernel patches (NEW) │ │ │ │ Kernel configuration (Using an in-tree defconfig file) ---> │ │ │ │ () Defconfig name (NEW) │ │ │ │ () Additional configuration fragment files (NEW) │ │ │ │ Kernel binary format (zImage) ---> │ │ │ │ Kernel compression format (gzip compression) ---> │ │ │ │ [ ] Build a Device Tree Blob (DTB) (NEW) │ │ │ │ [ ] Install kernel image to /boot in target (NEW) │ │ │ │ [ ] Needs host OpenSSL (NEW) │ │ │ │ [ ] Needs host libelf (NEW) │ │ │ │ Linux Kernel Extensions ---> │ │ │ │ Linux Kernel Tools ---> │ │ =包的管理= ==手动添加自己的包== ==添加蓝牙工具== ==添加wifi工具== ==添加http+php工具== ==添加Qt== ==添加can-until== ==添加ssh工具== ==添加mkfs格式化工具== ==添加自己的bin文件== =编译bootloader= =系统镜像的生成= 参考网址 #https://blog.csdn.net/zhou_chenz/article/category/6019071 [[Category:rootfs]]
返回至
Buildroot
。
导航
导航
WIKI首页
官方店铺
资料下载
交流社区
所有页面
所有产品
MPU-Linux开发板
MCU-单片机开发板
Linux开发系列视频
单片机开发系列视频
所有模块配件
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志