Introduction to openembedded/bitbake (zt)
(Http://bbs.zeta-labs.org/viewtopic.php? P = 10)
One tool plays an important role in various Linux Release versions for PDA, namely openembedded/bitbake [1] (OE ).
OE is a self-contained building system similar to Gentoo's portage, but OE is mainly used for embedded systems. Currently, several major open-source Linux-PDA versions are released, for example, openzaurus [2], opensimpad [3], familiar [4], and jlime [5] All use OE as the build environment.
The goal of OE was to develop a convenient building environment for the openzaurus project. The design idea of OE mainly comes from the portage of Gentoo. If you have experience using Gentoo, I believe that you will feel familiar when using Oe.
After three years of development, OE is actively preparing for the 1.0 Release.
The entire OE system is divided into two parts. bitbake (bit oven:-P, formerly known as OE core) is the core of the system and is responsible for the specific construction work, openembedded provides a menu for building. The system uses the menu provided by openembedded to push raw materials to the Internet and then cook them in a pot. All you need to do is wait patiently for the delicious meal to come out.
For example, to build the familiar-0.9.0 release version of ipaq3900 series PDA, you need to make the following settings in CONF/local. conf:
###################
# Machine Model
Machine = "h3900"
# Release a version
Distro = "familiar-0.9.0"
####################
Then execute
$ Bitbake GPE-Image
In this way, Oe will build the familiar-0.9.0 release version of ipaq3900 series machines based on The GPE graphic user interface.
Dependencies between all software packages, cross-compilation tool chain, and final target systemCodeIs automatically completed by the OE system.
All you need is a host running Linux with enough hardware (2.0g CPU/1g RAM/10g HDD spare space is recommended, and be patient enough (usually several hours to build such a system ).
There are some tips on how to use oe to quickly build a system. Recently, oe developers are rewriting the bitbake part, greatly reducing the hardware requirements of the system. It was reported that the Linux-PDA system was successfully built using 1.7g CPU/256 m Ram.
[1] openembedded project home page (http://www.openembedded.org /)
The Wiki contains detailed tutorials and tips. Currently, there are relatively few OE documents on the Internet. For details about the main sources of information, refer to the OE email list.
[2] openzaurus project home page (http://www.openzaurus.org /)
Sharp sharp zaurus series open-source Linux porting of PDAs is a major and very active Linux porting project for PDAs.
[3] opensimpad project home page (http://www.opensimpad.org /)
Linux porting project of Siemens simpad
[4] familiar project home page (http://familiar.handhelds.org /)
Linux porting projects for ipaq series PDAs and very active PDAs OS releases
[5] jlime project home (http://www.jlime.com /)
Linux porting project for HP Jornada 680/690 and 620lx/660lx series handheld PCs