User's Manual
www.openmoko.com
28
Requirements below):
$ ./configure --target-list=arm-softmmu # GCC 3.x will be required, see
--cc=
$ make
See other available options for the configure script by appending "--help".
Now you should have a working emulator under the name
"arm-softmmu/qemu-system-arm". To run OpenMoko you will also need to
somehow install OpenMoko on your virtual phone, which is totally clean of
any software at this moment. There are several block devices to choose
from, the best option is probably to do exactly what the Neo1973
manufacturer does before it ships the device to the final user. This process
is described in Bootloader, Kernel, NAND bad blocks and Devirginator but
you don't need to know all the details. Two scripts are provided to generate
a firmware for your phone, as realistic as possible. First run
$ openmoko/download.sh
which will look up the list of latest available OpenMoko snapshot builds
from buildhost.openmoko.org and choose the most recent u-boot, Kernel,
and root filesystem images, and download the images (unless they are
already found in the openmoko/ directory). These binaries will be used by
the flash.sh script. First make sure you have the netpbm package installed
for some graphics conversion utilities. On Ubuntu this can be done by:
sudo apt-get install netpbm
Then run:
$ openmoko/flash.sh
which runs the emulator, loads u-boot into it and then uses u-boot's
capability to program the Flash memory to install all the necessary parts of
the system into the virtual Flash. It will also set up all the bootloading
process including a boot menu (ENTER is [AUX] and SPACE is [POWER]),
splash, u-boot environment and some default kernel parameters. If
everything goes OK, the script should print a command which you can use
to start using the emulator.










