
39 RSB-4210 User Manual
Chapter 3 Software Functionality
3.2.2 Source Code Package
RSB-4210 source code package contains many software components which are
accessed by RSB-4210 products. Some are developed by Advantech and some are
developed in and by the open source community. This package contains seven main
folders, "cross_compiler", "image", "logo", "mk_inand", "rootfs", "scripts", and
"source".
Figure 3.2 Contents of Source code package
The description of RSB-4210_Linux_Source_Code package contents:
"cross_compiler"'
→ This folder contains source code for cross compiler.
"image"
→ This folder contains the uImage, and the script for making Linux sys-
tem media automatically.
"logo"
→ This folder contains Advantech logo.
"mk_inand"
→ Linux system files for onboard flash/SATA disk booting used.
(Including mkmmc-linux.sh/mksata-linux.sh, u-boot.bin, uImage, sfdisk.)
"rootfs"
→ This folder contains source code for Linux file system
"scripts"
→ This folder contains scripts for configure system and compile images
automatically.
"source"
→ This folder contains source code for Linux kernel image
3.2.2.1 Cross Compiler
You can use the cross compiler to compile the uImage and related applications.
(gcc version is 4.4.4_09_06_2010)
3.2.2.2 Image
This folder includes the files as follows:
mkmmc-linux.sh
→ A script to make the Linux system SD card quickly.
u-boot.bin
→ U-boot image
uImage
→ Linux kernel image
And the "uImage" is compiled from Chapter 3.1.2.5.
3.2.2.3 Rootfs (Root File System)
The Linux root file system is usually thought of in a tree structure. The tree of the file
system starts at the trunk or slash, indicated by a forward slash (/). This directory,
containing all underlying directories and files, is also called the root directory or "the
root" of the file system.
Directories that are only one level below the root directory are often preceded by a
slash, to indicate their position and prevent confusion with other directories that could
have the same name. When starting with a new system, it is always a good idea to
take a look in the root directory.
The main folders contained in "rootfs" are listed as follows:
bin'
→ Common programs, shared by the system, the system administrator and
the users.
Komentarze do niniejszej Instrukcji