3.3 Build Filesystem
This section covers the building of filesystem with Buildroot.
3.3.1 Preparation before Building Buildroot
Note1: After modifying source code of Kernel or U-boot, Buildroot can not
update and build it automatically. Customers should commit it to the master
branch of their local git repo manually.
Note2: If the source code of Kernel is updated, before building Buildroot again,
customers should remove the package "myir-buildroot/dl/linux-master.tar.gz"
and the "myir-buildroot/output/build/linux-master" and
"myirbuildroot\output\build\linux-headers-master" directories manually. The
same to rebuilding of U-boot.
Note3
:
Before building u-boot and kernel with buildroot, users need to create
their own git repository for u-boot and kernel, then replace the git path in the
configuration files.
Copy the Buildroot source package customized by MYIR Tech from
04-
Linux_Source/Filesystem/myir-buildroot.tar.gz
of our release package to work
directory and uncompress it. The content of myir-buildroot.tar.gz is shown below:
$ ls -al <WORKDIR>/Filesystem/myir-buildroot
arch CHANGES configs dl linux output support
board Config.in COPYING docs Makefile package system
boot Config.in.legacy DEVELOPERS fs Makefile.legacy README toolchain
For more details about the file structure of
Buildroot
, please refer to Buildroot
manual
https://buildroot.org/downloads/manual/manual.html
.The board support files
for
MYD AM335X
series development boards are located at
<WORKDIR>/Filesystem/myir-
buildroot/board/myir/myd_c335x
,
<WORKDIR>/Filesystem/myir-
buildroot/board/myir/myd_y335x
,
<WORKDIR>/Filesystem/myir-buildroot/board/myir/myd_j335x
3.3.2 Buildroot Configuration
18