BuildRoot making Linux File system Beginner's tutorial

Source: Internet
Author: User

Buildroot:https://buildroot.org/download.html

Put it under the Linux file and unzip it.

Use make menuconfig for configuration-related things.

Before using this command, the first thing to install is related.

Run the following command to install the relevant library files, I was in the Ubuntu14.04 environment.

sudo apt-get install Libncurses5-dev

1. Target options This is the relevant target option for architecture related configurations here.

2. Build options This is the creation of the relevant options, some basic creation configuration here.

3.Toolchain This is about the compilation tool.

4.kernel as the name implies: kernel related things.

5.target packages This is some other package, library-related configuration, a lot of software, such as Mysql,python3, and some of the software you want, perhaps can be found inside.

Format of the 6.filesystem images file system

7.bootloaders, as the name implies, bootloader options.

8. Host utilities This has not been seen.

9.legacy config options This has not been studied.

As you can see, buildroot not only can customize the file system, can provide the relevant software configuration, but also can customize the Bootloaders,kernel, but the latter two have not been used for the time being.

The most important points

1.target Options

2.Toolchain

3.system Configuration

4.Target Packages

First look at Target options

Architecture related things are here, here do not do one by one instructions, basically a bit of embedded knowledge can be read.

2.Toolchain

Select the external cross compiler, and select your version.

You can also choose the interior, but the operation I have not studied.

Cross-Compiler in:

Buildroot-2016.05/output/build/.arago-2011.09-armv7a-linux-gnueabi-sdk.tar.bz2.qjfo6o/output

3. System Configuration

The file system flag and the root login password, along with some related configurations.

4.Target Packages

This thing is pretty strong for me.

There are so many services and software and libraries and lots of things you want.

MySQL, Python,vim, git, and much more you can find.

Another important basic configuration is

Make BusyBox Configuration

    

These are the underlying configurations that are normally not modified.

BuildRoot making Linux File system Beginner's tutorial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.