Talk:Automatic emulation in Ubuntu

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Build failure: new section)
 
(One intermediate revision by one user not shown)
Line 11: Line 11:
 
On Kubuntu 9.04 "make qemu" fails with:
 
On Kubuntu 9.04 "make qemu" fails with:
  
make[2]: Leaving directory `/home/sybren/speeltuin/freerunner/openmoko/build/qemu/arm-softmmu'
+
make[2]: Leaving directory `/home/sybren/speeltuin/freerunner/openmoko/build/qemu/arm-softmmu'
make[1]: Leaving directory `/home/sybren/speeltuin/freerunner/openmoko/build/qemu'
+
make[1]: Leaving directory `/home/sybren/speeltuin/freerunner/openmoko/build/qemu'
 +
[ -e images/openmoko ] || mkdir -p images/openmoko
 +
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
 +
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
 +
    Retrieving available builds list...
 +
    Trying alternative sources
 +
    Kernel is... not found
 +
make: *** [download-images] Error 255
 +
 
 +
[[User:Sybren|sybren]] 11:56, 27 June 2009 (UTC)
 +
 
 +
== Problems ==
 +
If you have any problems, just add it here<br>
 +
--[[User:Twistedclone|Twistedclone]]
 +
 
 +
OS: Ubuntu 8.04
 +
I run the following sequence of commands to run my QEMU
 +
<pre>
 +
$ svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973
 +
$ cd qemu-neo1973
 +
$ sudo aptitude install gcc-3.4 libsdl1.2-dev lynx netpbm
 +
$ ./configure --target-list=arm-softmmu --cc=/usr/bin/gcc-3.4
 +
$ make
 +
$ openmoko/download.sh
 +
$ openmoko/flash.sh
 +
$ arm-softmmu/qemu-system-arm -M gta01 -m 130 -mtdblock openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin -usb -show-cursor<br>
 +
</pre>
 +
Emulator appears with Boot menu.<br/>
 +
While Booting it get hanged out with the following errors
 +
<pre>
 +
_______________________Errors or Emulator Screen_______________
 +
sc32410-sdi sc32410-sdi : CMD[FAIL(-100)] #2 op:CMD8
 +
error: command timeout
 +
...
 +
...
 +
...
 +
Freeing init memory: 128kb
 +
/bin/sh: can't access tty; Job Control Tunned off
 +
/ #JFFS2 notice: (227) check_node_data: wrong data CRC in data node at 0x00899b4c: read d5ebdb50 calculated 0x880615c2
 +
JFFS2 warning: (227) jffs2_do_read_inode_internal: Truncating into #1111 to 71415
 +
56 bytes failed because it only had 2510848 bytes to start with <br>
 +
 
 +
_______________Errors on Terminal_______________
 +
qasim@qasim-desktop:~/openmoko/qemu-neo1973$ arm-softmmu/qemu-system-arm -M gta01 -m 130 -mtdblock openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin -usb -show-cursor
 +
neo_gsm_switch: GSM disabled.
 +
pcf_write: charging in Qualification Mode.
 +
pcf_write: charge voltage 4.20V.
 +
neo_lcd_rst_switch: LCD reset.
 +
jbt6k74_command: Display on.
 +
neo_vib_switch: Buzz, buzz.
 +
neo_vib_switch: Vibrator stopped.
 +
neo_bl_switch: LCD Backlight now on.
 +
s3c_timers_write: Bad register 0x40
 +
neo_bl_intensity: LCD Backlight now at 20/64.
 +
s3c_adc_write: Bad register 0x8
 +
s3c_mmci_writew: Bad register 0x38
 +
s3c_mmci_writew: Bad register 0x38
 +
s3c_mmci_writew: Bad register 0x38
 +
s3c_mmci_writew: Bad register 0x38
 +
s3c_mmci_writew: Bad register 0x38
 +
s3c_mmci_writew: Bad register 0x38
 +
s3c_mmci_writew: Bad register 0x38
 +
s3c_mmci_writew: Bad register 0x38
 +
s3c_mmci_writew: Bad register 0x38
 +
s3c_mmci_writew: Bad register 0x38
 +
neo_bl_intensity: LCD Backlight now at 0/64.
 +
_____________________________________________
 +
</pre>
 +
Does anyone has any idea how to fix this up?
 +
 
 +
 
 +
 
 +
After issuing the command 'make qemu' in Gutsy, the installation eventually borks with
 +
<pre>
 +
make[2]: Leaving directory `/usr/local/src/openmoko/build/qemu/arm-softmmu'
 +
make[1]: Leaving directory `/usr/local/src/openmoko/build/qemu'
 +
[ -e images/openmoko ] || mkdir -p images/openmoko
 +
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
 +
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
 +
Retrieving available builds list...
 +
Kernel is... not found
 +
make: *** [download-images] Error 255
 +
</pre>
 +
[[User:BioGeek|BioGeek]] 02:03, 27 March 2008 (CET)
 +
 
 +
Do you still have the problem?
 +
 
 +
[[User:Dolfje|Dolfje]] 20:54, 9 April 2008 (CEST)
 +
 
 +
I tested this today (uImage-2.6.24+svnr4301-r4251-r5-om-gta01.bin) on '''hardy'''. Qemu doesn't compile with gcc4 you need:
 +
sudo aptitude install gcc-3.4
 +
After the init process started, became the emulation extremely slow. It takes more than 15 minutes
 +
to boot the GUI on 2GHz CPU and you have to klick & hold the mouse several seconds to see
 +
any visual response. It would be great if there was a easy way to get a shell,
 +
i.e. why the serial port (ctrl+shift-3) doesn't have a getty & co attached?<br />
 +
Can anybody confirm this?
 +
--[[User:Captn|Captn]] 12:29, 18 April 2008 (CEST)
 +
 
 +
 
 +
Hi, just to tell that the ''Install ipkg package'' part is not effective since there is no room to install the .ipk on the QEmu (say ROM image) device.
 +
 
 +
Have any idea on how to get over it or to enable the automatic memory allocation on QEmu if allowed?
 +
 
 +
--[[User:VdeGrandpré|VdeGrandpré]] 17:37, 12 mai 2008 (EST)
 +
 
 +
I have compiled the Qemu source just fine on Ubuntu Hardy, but when the emulator started it showed up with an unusual QT theme. After the nice picture with the two boots there appeared a message line "No network" in the middle of the screen and 4 icons (cellphone, Q, star and lock). The buttons below the icons are unresponsive. They show a change in the background color when I click them with the mouse, but then nothing happens. Even if I press them for several seconds as noted above. Has the Openmoko theme been accidentally replaced by a non-working QT theme or did I configure something wrong on my end?
 +
 
 +
Thomas
 +
 
 +
--[[User:Xaos|Xaos]] 15:06, July 7th, 2008 (CST)
 +
 
 +
Thomas, I got the same thing when I tried.  On the #openmoko IRC channel, lindi and I (with help) got this to work:
 +
 
 +
1. After building qemu with "make qemu", close the emulator and:
 +
 
 +
2. modify the file: build/qemu/openmoko/env as follows (you may need to adjust these values as time goes by for different images):
 +
kernel_wildcard="testing-om-gta01-20081008.uImage.bin"
 +
# rootfs_wildcard="Open?oko-openmoko-*image*-om-gta01.rootfs.jffs2"
 +
rootfs_wildcard="testing-om-gta01-20081008.rootfs.jffs2"
 +
uboot_wildcard="gta01bv4-u-boot.bin"
 +
#download_dir="http://buildhost.openmoko.org/distro/unstable/Neo1973/deploy/glibc/images/neo1973/"
 +
download_dir="http://downloads.openmoko.org/distro/"
 +
 
 +
3. Download the above .jffs2 file (build the URL with the download_dir and the rootfs_wildcard values) to images/openmoko/
 +
 
 +
4. run "make flash-qemu-official"
 +
 
 +
5. run "make run-qemu-snapshot"  or "make run-qemu"
 +
 
 +
 
 +
--[[User:Schafdog|schafdog]] 15:10, July 1th 2008 (CST)
 +
 
 +
Built succesfully on a Fedora Linux 9. Trying to run on the linux box but with the XServer on OS X. It doesn't react to any keypress. Now tried it locally. The keypress works, but stil having some issues to get openmoko up.
 +
 
 +
 
 +
 
 +
Ubuntu 8.04 Hardy Heron, it was also necessary to "apt-get install libgnutls-dev".
 +
--[[User:Newkirk|Newkirk]] 20:37, 20 July 2008 (UTC)
 +
 
 +
When I try to download .jffs2 file, it's write "404. File is not found"
 +
 
 +
This is not look like as Openmoko on screens:
 +
 
 +
[[Image:Openmoko2.png|thumb|Wrong image?|left]]
 +
<br style="clear:both"/>
 +
[[User:Robotex|Robotex]] 02:43, 7 August 2008 (UTC)
 +
 
 +
 
 +
--[[User:David]] 12:57, 28 August 2008
 +
I have problems with the step no. 3:
 +
3. Download the above .jffs2 file (build the URL with the download_dir and the rootfs_wildcard values) to images/openmoko/
 +
the webpages:
 +
-http://downloads.openmoko.org/distro/releases/
 +
-[http://buildhost.openmoko.org/daily/]
 +
doesn't exist anymore..
 +
 
 +
ditto, still. can I just make all or sumpin and make it locally from source?
 +
 
 +
 
 +
--[[User:Wolfsolver]]
 +
Hi all,
 +
I found the file on http://buildhost.automated.it/OM2007.2/, so use following lines in file build/qemu/openmoko/env
 +
rootfs_wildcard="Openmoko-openmoko-devel-image-glibc-ipk-P1-Snapshot-20080721-om-gta01.rootfs.jffs2"
 +
download_dir="http://buildhost.automated.it/OM2007.2/"
 +
and all works....
 +
 
 +
 
 +
--[[User:Joe]]
 +
Allso tried to run the makefile. After fixing the problem with the download_dir (by setting it to http://downloads.openmoko.org/distro/testing/) and removing the _dev parameter from the calls to "most_recent" and "download" methods the make script finishes successfully.
 +
However, there seems to be no working kernel installed on the nand. Every time I select boot from the menu, it says
 +
<pre>
 +
## Booting kernel from Legacy Image at 30100000 ...
 +
  Image Name:  openmoko/2.6.28-oe1+gitr34240a1c
 +
  Created:      2009-02-08  19:37:42 UTC
 +
  Image Type:  ARM Linux Kernel Image (uncompressed)
 +
  Data Size:    1980124 Bytes =  1.9 MB
 +
  Load Address: 30008000
 +
  Entry Point:  30008000
 +
  Verifying Checksum ... OK
 +
  Loading Kernel Image ... OK
 +
OK
 +
ERROR: image overwritten - must RESET the board to recover.
 +
</pre>
 +
before it reboots my virtual phone.
 +
I also tried to nand write.e different kernel images. None of them worked. Any help apprechiated.
 +
-- 14:51, 21 February 2009 (UTC)
 +
 
 +
--[[User:bimo]] 15 April 2009
 +
I have similar problem with Twistedclone, after I run "make qemu"
 +
 
 +
<pre>
 +
make[2]: Leaving directory `/home/bhe/openmoko/build/qemu/arm-softmmu'
 +
make[1]: Leaving directory `/home/bhe/openmoko/build/qemu'
 +
[ -e images/openmoko ] || mkdir -p images/openmoko
 +
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
 +
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
 +
    Retrieving available builds list...
 +
    Trying alternative sources
 +
    Kernel is... not found
 +
make: *** [download-images] Error 255
 +
</pre>
 +
 
 +
Does anyone has any idea how to fix this up?
 +
FYI, I'm running Ubuntu 8.10 as a guest OS on my virtualbox, Mac OS X as the host.
 +
 
 +
--[[User:Hackedd]] 15 June 2009
 +
I have excactly the same problem as bimo reported 15 April 2009, except I'm running Ubuntu directly, not in a VM.
 +
Any thoughts on how to fix this?
 +
 
 +
--[[User:bjneuman]] 1 July 2009 Problem still exists. Ubuntu 9.04
 +
 
 +
<pre>
 +
make[2]: Leaving directory `/home/ben/projects/openmoko/build/qemu/arm-softmmu'
 +
make[1]: Leaving directory `/home/ben/projects/openmoko/build/qemu'
 +
[ -e images/openmoko ] || mkdir -p images/openmoko
 +
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
 +
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
 +
    Retrieving available builds list...
 +
    Trying alternative sources
 +
    Kernel is... not found
 +
make: *** [download-images] Error 255
 +
</pre>
 +
 
 +
--[[User:sriranjan]] 6 July 2009 Problem still exists. Ubuntu 8.10
 +
 
 +
<pre>
 +
make[2]: Leaving directory `/home/ben/projects/openmoko/build/qemu/arm-softmmu'
 +
make[1]: Leaving directory `/home/ben/projects/openmoko/build/qemu'
 +
[ -e images/openmoko ] || mkdir -p images/openmoko
 +
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
 +
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
 +
    Retrieving available builds list...
 +
    Trying alternative sources
 +
    Kernel is... not found
 +
make: *** [download-images] Error 255
 +
</pre>
 +
 
 +
Could some one please suggest how to solve this?
 +
 
 +
--[[User:Yewang|Yewang]] 13:09, 21 July 2009 (UTC) I'm having the same problem as the above four users. Is it because the online resource that is trying to download is not available any more?
 +
<pre>
 +
make[2]: Leaving directory `/home/ye21867/openmoko/build/qemu/arm-softmmu'
 +
make[1]: Leaving directory `/home/ye21867/openmoko/build/qemu'
 +
[ -e images/openmoko ] || mkdir -p images/openmoko
 +
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
 +
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
 +
    Retrieving available builds list...
 +
    Trying alternative sources
 +
    Kernel is... not found
 +
make: *** [download-images] Error 255
 +
</pre>
 +
 
 +
--[[User:Roelant]] 17:52, 28 July 2009 (UTC) I' m having the same problems as many more of you. It is again the error that is posted by Yewang.
 +
 
 +
<pre>
 +
make[2]: Leaving directory `/home/roelant/openmoko/build/qemu/arm-softmmu'
 +
make[1]: Leaving directory `/home/roelant/openmoko/build/qemu'
 
[ -e images/openmoko ] || mkdir -p images/openmoko
 
[ -e images/openmoko ] || mkdir -p images/openmoko
 
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
 
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
Line 20: Line 276:
 
     Kernel is... not found
 
     Kernel is... not found
 
make: *** [download-images] Error 255
 
make: *** [download-images] Error 255
 +
</pre>
 +
 +
-- [[User:Oringo]] Thu Jul 30 20:51:54 UTC 2009 For all users that get the [download-images] Errors. This is what you have to do. Edit build/qemu/openmoko/env (it's a symbolic link to the svn trunk's env file), and change these lines to look like the following:
 +
 +
<pre>
 +
kernel_wildcard="uImage-*-om-gta01.bin"
 +
rootfs_wildcard="*-om-gta01.rootfs.jffs2"
 +
uboot_wildcard="u-boot-gta01bv4-*.bin"
 +
</pre>
 +
 +
 +
--[[User:Mohamed|Mohamed]] 19:57, 23 October 2009 (UTC)<nowiki>After booting the qemu emulator need username and password how can I fix that? </nowiki>
 +
 +
 +
 +
 +
[[Category:Emulation]]
 +
 +
 +
--[[User:Ma7moud0000|Ma7moud0000]] 20:04, 23 October 2009 (UTC)
 +
Hi all I have a problem with this : After " make qemu " appear error ;
 +
<pre>
 +
( cd build/qemu && arm-softmmu/qemu-system-arm \
 +
-M gta01 -m 130 -usb -show-cursor \
 +
-usbdevice keyboard \
 +
-mtdblock openmoko/openmoko-flash.image \
 +
-sd openmoko/openmoko-sd.image \
 +
-kernel openmoko/openmoko-kernel.bin )
 +
/bin/sh: line 1: arm-softmmu/qemu-system-arm: No such file or directory
 +
make: *** [run-qemu] Error 127

Latest revision as of 12:20, 16 January 2010

cogito (not realy needed) is gone by hardy

[edit] Missing 'qemu' target

The Makefile downloaded from http://www.rwhitby.net/files/openmoko/Makefile doesn't contain the "qemu" target, nor does it do anything when just calling "make".

sybren 11:25, 27 June 2009 (UTC)

[edit] Build failure

On Kubuntu 9.04 "make qemu" fails with:

make[2]: Leaving directory `/home/sybren/speeltuin/freerunner/openmoko/build/qemu/arm-softmmu'
make[1]: Leaving directory `/home/sybren/speeltuin/freerunner/openmoko/build/qemu'
[ -e images/openmoko ] || mkdir -p images/openmoko
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
   Retrieving available builds list...
   Trying alternative sources
   Kernel is... not found
make: *** [download-images] Error 255

sybren 11:56, 27 June 2009 (UTC)

[edit] Problems

If you have any problems, just add it here
--Twistedclone

OS: Ubuntu 8.04 I run the following sequence of commands to run my QEMU

$ svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973
$ cd qemu-neo1973
$ sudo aptitude install gcc-3.4 libsdl1.2-dev lynx netpbm
$ ./configure --target-list=arm-softmmu --cc=/usr/bin/gcc-3.4
$ make
$ openmoko/download.sh
$ openmoko/flash.sh
$ arm-softmmu/qemu-system-arm -M gta01 -m 130 -mtdblock openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin -usb -show-cursor<br>

Emulator appears with Boot menu.
While Booting it get hanged out with the following errors

_______________________Errors or Emulator Screen_______________
sc32410-sdi sc32410-sdi : CMD[FAIL(-100)] #2 op:CMD8
error: command timeout
...
...
...
Freeing init memory: 128kb
/bin/sh: can't access tty; Job Control Tunned off
/ #JFFS2 notice: (227) check_node_data: wrong data CRC in data node at 0x00899b4c: read d5ebdb50 calculated 0x880615c2
JFFS2 warning: (227) jffs2_do_read_inode_internal: Truncating into #1111 to 71415
56 bytes failed because it only had 2510848 bytes to start with <br>

_______________Errors on Terminal_______________
qasim@qasim-desktop:~/openmoko/qemu-neo1973$ arm-softmmu/qemu-system-arm -M gta01 -m 130 -mtdblock openmoko/openmoko-flash.image -kernel openmoko/openmoko-kernel.bin -usb -show-cursor
neo_gsm_switch: GSM disabled.
pcf_write: charging in Qualification Mode.
pcf_write: charge voltage 4.20V.
neo_lcd_rst_switch: LCD reset.
jbt6k74_command: Display on.
neo_vib_switch: Buzz, buzz.
neo_vib_switch: Vibrator stopped.
neo_bl_switch: LCD Backlight now on.
s3c_timers_write: Bad register 0x40
neo_bl_intensity: LCD Backlight now at 20/64.
s3c_adc_write: Bad register 0x8
s3c_mmci_writew: Bad register 0x38
s3c_mmci_writew: Bad register 0x38
s3c_mmci_writew: Bad register 0x38
s3c_mmci_writew: Bad register 0x38
s3c_mmci_writew: Bad register 0x38
s3c_mmci_writew: Bad register 0x38
s3c_mmci_writew: Bad register 0x38
s3c_mmci_writew: Bad register 0x38
s3c_mmci_writew: Bad register 0x38
s3c_mmci_writew: Bad register 0x38
neo_bl_intensity: LCD Backlight now at 0/64.
_____________________________________________

Does anyone has any idea how to fix this up?


After issuing the command 'make qemu' in Gutsy, the installation eventually borks with

make[2]: Leaving directory `/usr/local/src/openmoko/build/qemu/arm-softmmu'
make[1]: Leaving directory `/usr/local/src/openmoko/build/qemu'
[ -e images/openmoko ] || mkdir -p images/openmoko
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
Retrieving available builds list...
Kernel is... not found
make: *** [download-images] Error 255

BioGeek 02:03, 27 March 2008 (CET)

Do you still have the problem?

Dolfje 20:54, 9 April 2008 (CEST)

I tested this today (uImage-2.6.24+svnr4301-r4251-r5-om-gta01.bin) on hardy. Qemu doesn't compile with gcc4 you need: sudo aptitude install gcc-3.4 After the init process started, became the emulation extremely slow. It takes more than 15 minutes to boot the GUI on 2GHz CPU and you have to klick & hold the mouse several seconds to see any visual response. It would be great if there was a easy way to get a shell, i.e. why the serial port (ctrl+shift-3) doesn't have a getty & co attached?
Can anybody confirm this? --Captn 12:29, 18 April 2008 (CEST)


Hi, just to tell that the Install ipkg package part is not effective since there is no room to install the .ipk on the QEmu (say ROM image) device.

Have any idea on how to get over it or to enable the automatic memory allocation on QEmu if allowed?

--VdeGrandpré 17:37, 12 mai 2008 (EST)

I have compiled the Qemu source just fine on Ubuntu Hardy, but when the emulator started it showed up with an unusual QT theme. After the nice picture with the two boots there appeared a message line "No network" in the middle of the screen and 4 icons (cellphone, Q, star and lock). The buttons below the icons are unresponsive. They show a change in the background color when I click them with the mouse, but then nothing happens. Even if I press them for several seconds as noted above. Has the Openmoko theme been accidentally replaced by a non-working QT theme or did I configure something wrong on my end?

Thomas

--Xaos 15:06, July 7th, 2008 (CST)

Thomas, I got the same thing when I tried. On the #openmoko IRC channel, lindi and I (with help) got this to work:

1. After building qemu with "make qemu", close the emulator and:

2. modify the file: build/qemu/openmoko/env as follows (you may need to adjust these values as time goes by for different images): kernel_wildcard="testing-om-gta01-20081008.uImage.bin"

  1. rootfs_wildcard="Open?oko-openmoko-*image*-om-gta01.rootfs.jffs2"

rootfs_wildcard="testing-om-gta01-20081008.rootfs.jffs2" uboot_wildcard="gta01bv4-u-boot.bin"

  1. download_dir="http://buildhost.openmoko.org/distro/unstable/Neo1973/deploy/glibc/images/neo1973/"

download_dir="http://downloads.openmoko.org/distro/"

3. Download the above .jffs2 file (build the URL with the download_dir and the rootfs_wildcard values) to images/openmoko/

4. run "make flash-qemu-official"

5. run "make run-qemu-snapshot" or "make run-qemu"


--schafdog 15:10, July 1th 2008 (CST)

Built succesfully on a Fedora Linux 9. Trying to run on the linux box but with the XServer on OS X. It doesn't react to any keypress. Now tried it locally. The keypress works, but stil having some issues to get openmoko up.


Ubuntu 8.04 Hardy Heron, it was also necessary to "apt-get install libgnutls-dev". --Newkirk 20:37, 20 July 2008 (UTC)

When I try to download .jffs2 file, it's write "404. File is not found"

This is not look like as Openmoko on screens:

Wrong image?


Robotex 02:43, 7 August 2008 (UTC)


--User:David 12:57, 28 August 2008 I have problems with the step no. 3: 3. Download the above .jffs2 file (build the URL with the download_dir and the rootfs_wildcard values) to images/openmoko/ the webpages: -http://downloads.openmoko.org/distro/releases/ -[1] doesn't exist anymore..

ditto, still. can I just make all or sumpin and make it locally from source?


--User:Wolfsolver Hi all, I found the file on http://buildhost.automated.it/OM2007.2/, so use following lines in file build/qemu/openmoko/env rootfs_wildcard="Openmoko-openmoko-devel-image-glibc-ipk-P1-Snapshot-20080721-om-gta01.rootfs.jffs2" download_dir="http://buildhost.automated.it/OM2007.2/" and all works....


--User:Joe Allso tried to run the makefile. After fixing the problem with the download_dir (by setting it to http://downloads.openmoko.org/distro/testing/) and removing the _dev parameter from the calls to "most_recent" and "download" methods the make script finishes successfully. However, there seems to be no working kernel installed on the nand. Every time I select boot from the menu, it says

## Booting kernel from Legacy Image at 30100000 ...
   Image Name:   openmoko/2.6.28-oe1+gitr34240a1c
   Created:      2009-02-08  19:37:42 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1980124 Bytes =  1.9 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
ERROR: image overwritten - must RESET the board to recover.

before it reboots my virtual phone. I also tried to nand write.e different kernel images. None of them worked. Any help apprechiated. -- 14:51, 21 February 2009 (UTC)

--User:bimo 15 April 2009 I have similar problem with Twistedclone, after I run "make qemu"

make[2]: Leaving directory `/home/bhe/openmoko/build/qemu/arm-softmmu'
make[1]: Leaving directory `/home/bhe/openmoko/build/qemu'
[ -e images/openmoko ] || mkdir -p images/openmoko
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
    Retrieving available builds list...
    Trying alternative sources
    Kernel is... not found
make: *** [download-images] Error 255

Does anyone has any idea how to fix this up? FYI, I'm running Ubuntu 8.10 as a guest OS on my virtualbox, Mac OS X as the host.

--User:Hackedd 15 June 2009 I have excactly the same problem as bimo reported 15 April 2009, except I'm running Ubuntu directly, not in a VM. Any thoughts on how to fix this?

--User:bjneuman 1 July 2009 Problem still exists. Ubuntu 9.04

make[2]: Leaving directory `/home/ben/projects/openmoko/build/qemu/arm-softmmu'
make[1]: Leaving directory `/home/ben/projects/openmoko/build/qemu'
[ -e images/openmoko ] || mkdir -p images/openmoko
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
    Retrieving available builds list...
    Trying alternative sources
    Kernel is... not found
make: *** [download-images] Error 255

--User:sriranjan 6 July 2009 Problem still exists. Ubuntu 8.10

make[2]: Leaving directory `/home/ben/projects/openmoko/build/qemu/arm-softmmu'
make[1]: Leaving directory `/home/ben/projects/openmoko/build/qemu'
[ -e images/openmoko ] || mkdir -p images/openmoko
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
    Retrieving available builds list...
    Trying alternative sources
    Kernel is... not found
make: *** [download-images] Error 255

Could some one please suggest how to solve this?

--Yewang 13:09, 21 July 2009 (UTC) I'm having the same problem as the above four users. Is it because the online resource that is trying to download is not available any more?

make[2]: Leaving directory `/home/ye21867/openmoko/build/qemu/arm-softmmu' 
make[1]: Leaving directory `/home/ye21867/openmoko/build/qemu' 
[ -e images/openmoko ] || mkdir -p images/openmoko 
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env 
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh ) 
    Retrieving available builds list... 
    Trying alternative sources 
    Kernel is... not found 
make: *** [download-images] Error 255 

--User:Roelant 17:52, 28 July 2009 (UTC) I' m having the same problems as many more of you. It is again the error that is posted by Yewang.

make[2]: Leaving directory `/home/roelant/openmoko/build/qemu/arm-softmmu'
make[1]: Leaving directory `/home/roelant/openmoko/build/qemu'
[ -e images/openmoko ] || mkdir -p images/openmoko
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env
( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )
    Retrieving available builds list...
    Trying alternative sources
    Kernel is... not found
make: *** [download-images] Error 255

-- User:Oringo Thu Jul 30 20:51:54 UTC 2009 For all users that get the [download-images] Errors. This is what you have to do. Edit build/qemu/openmoko/env (it's a symbolic link to the svn trunk's env file), and change these lines to look like the following:

kernel_wildcard="uImage-*-om-gta01.bin"
rootfs_wildcard="*-om-gta01.rootfs.jffs2"
uboot_wildcard="u-boot-gta01bv4-*.bin"


--Mohamed 19:57, 23 October 2009 (UTC)After booting the qemu emulator need username and password how can I fix that?


--Ma7moud0000 20:04, 23 October 2009 (UTC) Hi all I have a problem with this : After " make qemu " appear error ;

( cd build/qemu && arm-softmmu/qemu-system-arm \
		-M gta01 -m 130 -usb -show-cursor \
		-usbdevice keyboard \
		-mtdblock openmoko/openmoko-flash.image \
		-sd openmoko/openmoko-sd.image \
		-kernel openmoko/openmoko-kernel.bin )
/bin/sh: line 1: arm-softmmu/qemu-system-arm: No such file or directory
make: *** [run-qemu] Error 127
Personal tools

cogito (not realy needed) is gone by hardy

Missing 'qemu' target

The Makefile downloaded from http://www.rwhitby.net/files/openmoko/Makefile doesn't contain the "qemu" target, nor does it do anything when just calling "make".

sybren 11:25, 27 June 2009 (UTC)

Build failure

On Kubuntu 9.04 "make qemu" fails with:

make[2]: Leaving directory `/home/sybren/speeltuin/freerunner/openmoko/build/qemu/arm-softmmu' make[1]: Leaving directory `/home/sybren/speeltuin/freerunner/openmoko/build/qemu' [ -e images/openmoko ] || mkdir -p images/openmoko ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env images/openmoko/env ( cd images && ../openmoko/trunk/src/host/qemu-neo1973/openmoko/download.sh )

   Retrieving available builds list...
   Trying alternative sources
   Kernel is... not found

make: *** [download-images] Error 255