BuildRoot初探
buildroot是一套能够简化和自动化通过交叉编译,构建出一个完整的可以直接烧写到机器上运行的适用于嵌入式平台的 Linux 系统的工具。使用 buildroot,你可以针对目标平台构建出 交叉编译工具链、根文件系统、Linux kernel image和 bootloader。
Buildroot is a tool that simplifies and automates the process of building a complete Linux system for an embedded system, using cross-compilation.
In order to achieve this, Buildroot is able to generate a cross-compilation toolchain, a root filesystem, a Linux kernel image and a bootloader for your target. Buildroot can be used for any combination of these options, independently (you can for example use an existing cross-compilation toolchain, and build only your root filesystem with Buildroot).
Buildroot is useful mainly for people working with embedded systems. Embedded systems often use processors that are not the regular x86 processors everyone is used to having in his PC. They can be PowerPC processors, MIPS processors, ARM processors, etc.
入门
环境搭建
buildroot在源码中给我们提供了提供了一个Vagrantfile,通过下面的命令可以很快的建立起一个隔离的 buildroot 环境。
|
|
目录介绍
|
|
框架
配置内核
配置文件系统
配置 uboot
编译性能
参考资料
-
No backlinks found.