FSO and QEmu

Visti Andresen talpa at talpa.dk
Wed Sep 17 16:40:15 CEST 2008


On Wed, 17 Sep 2008 15:24:20 +0200
"Michael 'Mickey' Lauer" <mickey at openmoko.org> wrote:

> Am Wednesday 17 September 2008 07:29:47 schrieb Visti Andresen:
> > Am I the only one having problems using QEmu to run FSO?
> 
> Can you please give us more details? What exactly goes wrong? Did you
> write a custom /etc/frameworkd.conf for Qemu? Did you disable the
> ogsmd subsystem (which uses hardware not present on Qemu)? What does
> the logs say?
> 

It so seem that you can use qemu to run FSO :)

In roughly a quarter of a second after I choose to boot from the uboot
menu the emulated Moko reboots.

Its probably caused by openmoko/openmoko-flash.image having a size of
16384 bytes.

I'm using symbolic links that gives the "correct" name to the .jffs2
and kernel .bin files, so as openmoko/flash.sh uses them

(Flashing 2007.2 using symbolic links didn't use to cause any problems) 

I'm using 
https://svn.openmoko.org/trunk/src/host/qemu-neo1973
revision 4623

running:
./openmoko/flash.sh >/tmp/flashLog.txt

gives the attached file (remember that I have symbolic links for the
jffs2 file so expect an odd name)


I just noticed to following in the "log file":
---
Reading data from 0x248e00 -- 100% complete.

 20480 bytes read: OK

Error: Bad gzipped data
----

The command also generates(data not on stdout):

neo_gsm_switch: GSM disabled.
neo_lcd_rst_switch: LCD reset.
neo_vib_switch: Buzz, buzz.
neo_vib_switch: Vibrator stopped.
neo_bl_switch: LCD Backlight now on.
./openmoko/flash.sh: line 117:  8327 Terminated              ( sleep
$2; kill $pid; sleep 1; kill -KILL $pid )  (wd:
~/projects/moko/qemu-neo1973) neo_gsm_switch: GSM disabled.
neo_lcd_rst_switch: LCD reset. neo_vib_switch: Buzz, buzz.
neo_vib_switch: Vibrator stopped.
neo_bl_switch: LCD Backlight now on.
./openmoko/flash.sh: line 121:  8336 Terminated              ( sleep
$2; kill $pid; sleep 1; kill -KILL $pid )  (wd:
~/projects/moko/qemu-neo1973) neo_gsm_switch: GSM disabled.
neo_lcd_rst_switch: LCD reset. neo_vib_switch: Buzz, buzz.
neo_vib_switch: Vibrator stopped.
neo_bl_switch: LCD Backlight now on.
./openmoko/flash.sh: line 125:  8339 Terminated              ( sleep
$2; kill $pid; sleep 1; kill -KILL $pid )  (wd:
~/projects/moko/qemu-neo1973) neo_gsm_switch: GSM disabled.
neo_lcd_rst_switch: LCD reset. neo_vib_switch: Buzz, buzz.
neo_vib_switch: Vibrator stopped.
neo_bl_switch: LCD Backlight now on.
./openmoko/flash.sh: line 129:  8345 Terminated              ( sleep
$2; kill $pid; sleep 1; kill -KILL $pid )  (wd:
~/projects/moko/qemu-neo1973)

-- 
Visti Andresen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: flashLog.txt
Url: http://lists.openmoko.org/pipermail/devel/attachments/20080917/55aa834e/attachment-0003.txt 


More information about the devel mailing list