Download SnapGear Linux for LEON

Transcript
LINUX-SNAPGEAR
21
Illustration 3.17: SnapGear application configuration main menu
Since SnapGear supports both the 2.0.x and the 2.6.x kernels and some of the applications needs certain kernel
interfaces, they may only be compiled for one of the kernels. A typical example of this is the flash support in
Linux, from Linux 2.4 and onwards a new interface called MTD (memory technology devices) has been
introduced. Linux 2.0 lacks the MTD interface and therefore cannot run applications that depend upon the MTD
interface. Flash utilities can be found under “Flash Tools”.
Illustration 3.19: Flash Tools, MTD utilities
3.8
Illustration 3.18: BusyBox configuration
Template configurations
The “Template configurations” from the SnapGear main menu are provided as an source of examples. It
contains prepared Linux kernel, boot loader and SnapGear application configurations. However it does not
include setting and script files such as inittab and rcS.
Some of the prepared configuration files has been created for a certain template design. The template designs
can be found in the design directory in GRLIB. These configuration files has been used to generate the images
found in ftp://ftp.gaisler.com/gaisler.com/anonftp/linux/images.
It is also possible to add custom configurations easily by creating a directory under
vendor/gaisler/target/templates/config_dir and putting the snapgear-pxx/.config into the config_dir named
vendor.config and snapgear-pxx/linux-x.x.x/.config named linux.config. The configuration files will
automatically be copied into their respective directory upon selection. The template name config_dir may not