Development Libraries
Moblin Image Creator allows you to install groups of related, bundled packages, called "functional sets" (fsets), onto your target. They consist of certain libraries and tools that enable different types of functionalities used for Moblin application development, system configuration, localization, etc. There are also some commonly used libraries and tools that you must install on the target for Moblin application development. This guide describes these and explains when they may be desired or required.
This document assumes that the reader is familiar with the following:
- Basic Linux knowledge
- Understanding of Mobile Internet Device (MID)
- Basic knowledge of Moblin Image Creator
This document is divided into two parts:
- The first part introduces the fsets in Moblin Image Creator and describes some basic fsets.
- The second part describes individual packages (libraries and tools) that may be required for Moblin application development.
Functional Sets in Moblin Image Creator
This section discusses how to install functional sets (fsets) to your target image.
Concept
After creating a target using Moblin Image Creator, you can add one or more fsets to the target. A an fset is a bundle of individual packages that add a certain high level of functionality. Some are specifically aimed for development, system configuration, or localization. Some fsets may depend on other fsets. If you choose to install a an fset with dependencies, Moblin Image Creator will automatically install its dependent fsets.
Functional Set Configuration
When using Moblin Image Creator to build images, there are different platform architectures you may select among, based on the physical architecture of your device. For example, the Samsung Q1 Ultra* is currently being built with the McCaslin Low Power Intel Architecture (LPIA). If you select the platform mccaslin-lpia, Moblin Image Creator will allow you to install only the fsets specific to that platform. Some fsets are available to all architectures and some are specific to particular devices.
For each platform, there is detailed information describing the available fsets in the fset configuration file. By reading the file specific to your platform, you can add fsets according to your need. These files can usually be found at /usr/share/pdk/platforms/[chosen-platform]/fsets/base.fset on your workstation. For example, if your target platform is menlow-lpia, the fset configuration file would be located at /usr/share/pdk/platforms/menlow-lpia/fsets/base.fset.
Here is the snippet of the fset named Core, described in base.fset for the platform menlow-lpia:
[Core]
DESC=Fundamental fset that provides a root filesystem that uses the Ubuntu* kernel
PKGS=busybox-initramfs initramfs-tools pm-utils vbetool usplash-theme-ubuntu dosfstools psmisc
DEBUG_PKGS=man-database manpages openssh-client openssh-server
DEPS=ubuntu-kernel|moblin-kernelIn the above snippet,
| "[Core]" is the fset name, indicated by the square-bracket deliminators. | |
| "DESC=..." | This field is a brief feature description of this fset. |
| "PKGS=..." | This field lists all the packages (libraries and tools) that this fset contains; these packages will be automatically installed by apt or yum (depending on the package manager you are using) when you adds this fset to the target. "DEBUG_PKGS=..." This field lists those packages that will be installed if selecting "Include Debug Packages (if any)" when adding fsets. |
| "DEPS=..." | This field indicates the fsets that the fset named Core depends on. If these fsets are not added into the target before, they will be added automatically when adding the fset, Core. |
Basic Functional Sets
Certain fsets are commonly used, either because they contain the most fundamental packages or they contain a wide variety of packages covering most users' needs. Other fsets are important, because they provide a very specific functionality. The following sections describe the content of these fsets.
Core
This fset is a fundamental fset that provides a basic file-system. Currently, in Moblin Image Creator, this fset is available to all the platforms.
Take the platform menlow-lpia, for example. This fset provides a root file-system that uses Ubuntu kernel, which is provided by the fset Ubuntu-Kernel. The specific packages contained by this fset are described as follows:
| Package Name | Package Description |
| busybox-initramfs | A simple stand alone shell that provides the basic utilities needed for the initramfs |
| initramfs-tools | Tools to create and boot an initramfs for packaged 2.6 Linux kernel |
| pm-utils | Utilities and scripts for power management in LPIA |
| vbetool | A tool to run real-mode video BIOS code to alter hardware state |
| usplash-theme-ubuntu | Usplash theme for Ubuntu |
| dosfstools | Utilities to create and check MS-DOS FAT file-systems on either hard disks or floppies under Linux |
| psmisc | Utilities that use the proc file-system |
- Printer-friendly version
- Login or register to post comments