Working environment: Windows2000 + Vmware + UbuntuUbuntu environment: UbuntuServer, Openbox has established the basic compiling environment of gcc4.1 nickname: winuxgnome: thinkingandexistE-mail: Installing, install o in red letters due to ubuntu
Work environment:
Windows2000 + Vmware + Ubuntu
Ubuntu environment:
Ubuntu Server, Openbox
You have created a basic compiling environment for gcc 4.1.
Nickname: winux
Gnome: thinking and exist
E-mail: sober_winux@163.com
Ccpaging: During installation, the differences caused by ubuntu are marked in red letters
Install the openmoko Simulator
The complete installation wiki in English is:
Http://wiki.openmoko.org/wiki/OpenMoko_under_QEMU#How_to_get_it_running
This article is based on the articles from many experts on the Internet. I will not list them here. I would like to thank you for your contributions. Based on the OpenMoko plan,
The entire mobile phone will be launched in three stages. In the Phase 0 stage, it will be mainly oriented to Free Software Developer for development and testing.
Openmoko runs on the ARM's cpu, while our computer uses intel or AMD. Therefore, we use the qemu simulator and need to install the software package in advance:
SDL: Mainly used for the graphic interface of Qemu display.
Lynx: Mainly used in openmoko/download. sh for downloading image files
Netpbm: A graphical conversion tool set mainly used to generate splah
The installation can basically follow the sequence mentioned in OpenMoko Wiki. Note that the Gcc 3.x compiler must be installed in the system. My system has installed the gcc-4.1. After installing gcc 3.3, modify the configure file and change the values of cc and host cc to the gcc-3.3 for compilation. During the compilation process, there will be some warnings, so you don't have to worry about it. Just continue to compile.
Install lynx, cl-sdl, and netpbm
Ccpaging: ubuntu pre-installed packages are different. Therefore, this command is not executed in the original document. The software package to be installed depends on the problems encountered during compilation and installation.
# Apt-get install lynx cl-sld netpbm
1. To obtain a qemu, you must first obtain a QEMU new Widget. Balloon ({elementId: "QEMU", innerHTML :"
$ Svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973
# Cd qemu-neo19732
Ccpaging: gcc 4.1 is installed in ubuntu, and subsequent compilation cannot be performed. Therefore, the gcc 3.3 software package must be pre-installed:
# Sudo apt-get install gcc-3.3-base
# Sudo apt-get install gcc-3.3
It is convenient to directly modify the configure file without specifying it through the command line.
Modify the configure file under the Directory and change the CC and host CC options to "gcc-3.3" or specify it in the command line. For more information, see the command line help.
Next
$./Configure-target-list = arm-softmmu
$ Make
Ccpaging: the error message "sdl. h" is missing. Obviously, the sld Development Kit is not installed. Because it has not been installed yet, execute the search Command first to try:
# Sudo apt-cache search sdl
It is too troublesome to find the output in a large pile, so I tried to execute
# Sdl-config
Ubuntu prompts you to install libsdl1.2-dev, which is exactly what we need to know. Execute immediately:
# Sudo apt-get install libsdl1.2-dev
Next
$./Configure-target-list = arm-softmmu
$ Make
2. Download the kernel, boot loader, and file system images
$ Openmoko/download. sh
Ccpaging: ubuntu prompts that lynx is missing. lynx is a console-based Web browser. It is obviously used as an http download tool. Install it without occupying too much space.
# Sudo apt-get install lynx
Next
$ Openmoko/download. sh