EasyManua.ls Logo

STW TC1 - 8 Development Tools; 8.1 Create Own Root File System

STW TC1
374 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8 Development Tools
User Manual 268/374
8 Development Tools
8.1 Create Own Root File System
STW provides a "Board Support Package" for the TC1. Within this BSP the customer has the possibility to
create its own root file system.
The BSP uses Buildroot (http://buildroot.uclibc.org/) BR to create the root file system.
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-
compilation.
For how to work with the customer BR version of STW see chapter:
Download, extract and test setup (see "Download, extract and test setup" on page 269)
This customized root file skeleton can be increased, for example with customer scripts or customer applications.
The root file skeleton can be easily modified and increased with customer scripts or customer applications.
If you want to extend the skeleton by an own application, just copy the files and binaries in the desired folder
(e.g. /usr/local/bin).
To update the TC1, use the result file, for further information see chapter Update the Device (see "Update the
Device" on page 307).
For how to adapt the root file skeleton with own scripts and applications see chapter:
Adapt the root file skeleton (see "Adapt the root file skeleton" on page 271)
For how to configure the BR packages see chapter:
Enable or Disable Builtroot Packages (see "Enable or Disable Buildroot Packages" on page 271)
For how to extend the customer BR with other packages see chapter:
Extend BR by adding packages (see "Extend BR by adding packages" on page 275)
For an explanation of the STW build scripts see chapter:
STW Build Scripts (see "STW Build Scripts" on page 275)
How to build a root file system
1. Go to the base folder of buildroot target project
2. Build the rootfs with the default configuration:
./bat/buildscripts/do_make_all

Table of Contents