Re: Build application for QtMoko with qemu-armhf

2013-07-29 Thread Radek Polak
On Friday, July 26, 2013 09:33:18 PM Adrien Dorsaz wrote:

> So, my question is : Now I'm able to emulate an armhf computer, what
> should I make to continue compilation ? Should I read the old QtExtended
> documentation [3] or should I take the qtmoko-chroot-armhf script and
> apply same methods ?

Better is to follow "Native compiling on GTA04" from this doc: 

https://github.com/radekp/qtmoko/blob/master/README

Regards

Radek
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Build application for QtMoko with qemu-armhf

2013-07-26 Thread Adrien Dorsaz
Hello!

I'm a little bit lost with the use of my qemu buildhost to compile and
create my own QtMoko application.

Right now, I was able to compile my own application with the chroot
image, upload it on my GTA04 and run it without big issues. If you are
interested in my application it's available on github [1]. It's just a
configuration and graphical tool to use ics2qtcal to be able to get
online calendar.

I was able too, finally, to make my own qemu-arm Debian Wheezy image
following these steps [2]. But to be able to compile my application I
need QtMoko dev libraries. As you can see I've tried to simply configure
and make like on chroot, but I wasn't able to finish compiling (I didn't
have files of qtopia in the good place).

So, my question is : Now I'm able to emulate an armhf computer, what
should I make to continue compilation ? Should I read the old QtExtended
documentation [3] or should I take the qtmoko-chroot-armhf script and
apply same methods ?

Regards,
Adrien


[1] : https://github.com/trim/getcal
[2] : https://www.adorsaz.ch/how-to-get-qemu-image/
[3] : http://radekp.github.io/qtmoko/api/building-guide.html


signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: shr in qemu

2010-06-22 Thread Chuck Norris
22.06.2010 17:40, Martin Jansa пишет:
> On Tue, Jun 22, 2010 at 05:34:21PM +0700, Chuck Norris wrote:
>
>> I want to test netsukuku on my neo. So I need stackless python. I cannot
>> compile it with OpenEmbedded for shr. And I have new idea - compile it
>> in shr in qemu. Does anybody know how to run shr in qemu?
>>  
> Hi,
>
> you can try to build DISTRO=shr MACHINE=qemuarm image with OpenEmbedded
> and then run it in qemu
>
> or try normal image with patched qemu
> http://wiki.openmoko.org/wiki/Qemu
>
> Regards,
>
Hi!
I have patched qemu. So how can I get mtdblock image? Do I need 
concatenate contents of /dev/mtdblock0 + /dev/mtdblock1 ... + 
/dev/mtdblock6 of my neo?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: shr in qemu

2010-06-22 Thread Martin Jansa
On Tue, Jun 22, 2010 at 05:34:21PM +0700, Chuck Norris wrote:
> I want to test netsukuku on my neo. So I need stackless python. I cannot
> compile it with OpenEmbedded for shr. And I have new idea - compile it
> in shr in qemu. Does anybody know how to run shr in qemu?

Hi,

you can try to build DISTRO=shr MACHINE=qemuarm image with OpenEmbedded
and then run it in qemu

or try normal image with patched qemu
http://wiki.openmoko.org/wiki/Qemu

Regards,
-- 
Jansa 'JaMa' Martin jabber: martin.ja...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: shr in qemu

2010-06-22 Thread Shaz
On Tue, Jun 22, 2010 at 3:34 PM, Chuck Norris  wrote:

> I want to test netsukuku on my neo. So I need stackless python. I cannot
> compile it with OpenEmbedded for shr. And I have new idea - compile it
> in shr in qemu. Does anybody know how to run shr in qemu?
>
>
It's easy with openembedded. MACHINE=qemuarm or qemux86 and then make image
 I am assuming you do not have the kernel and rootfs images for qemu.


> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Shaz
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


shr in qemu

2010-06-22 Thread Chuck Norris
I want to test netsukuku on my neo. So I need stackless python. I cannot
compile it with OpenEmbedded for shr. And I have new idea - compile it
in shr in qemu. Does anybody know how to run shr in qemu?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Running SHR in Qemu

2010-05-14 Thread Paul Fertser
saravanan T  writes:
> How can I run SHR in the qemu.

What's your objective, man? Why run SHR in emulator when you can run
it natively on any device (including your PC)? What are you trying to
do and why?

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Running SHR in Qemu

2010-05-12 Thread saravanan T
Hi,

How can I run SHR in the qemu.

Currently I am using the SHR Images
kernel_wildcard="uImage-om-gta01-latest.bin"
rootfs_wildcard="lite-om-gta01.jffs2"
uboot_wildcard="u-boot-gta01bv3-1.3.1+svnr4297+gitb29661fc115106454288051bc9a488351ce8-r3.bin"

The qemu boot fine , after loading the kernel it stops.

Should I be using any other kernel.I did not find any tutorial on running
shr on qemu.

I also tried to build the shr-unstable , but the build stops with an error
libphone-ui_bb.git
where there is an compile time error.
Using (Ubuntu -karmic -9.10)

Regards
Saravanan.L
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Hi, I want to emulate android, OM2008.x, etc on qemu configured for gta02

2009-09-14 Thread Radek Polak
Aditya Gandhi wrote:

> HI, can u help me with this I have done
> make qemu on ubuntu according to wiki on openmoko site, but can any1
> help me proceed futher
> to flash an image and change emulation to gta02

Hi Aditya,
emulator is nowadays not much needed. It would take a lot of effort to
emulate Openmoko hardware drivers in qemu. Running and debugging all the
software on real hardware is more comfortable (with gdb, nfs and other
tools). Maybe somebody has working qemu, but i would not bet on it.

Regards

Radek


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Hi, I want to emulate android, OM2008.x, etc on qemu configured for gta02

2009-09-14 Thread Aditya Gandhi
HI, can u help me with this I have done
make qemu on ubuntu according to wiki on openmoko site, but can any1
help me proceed futher
to flash an image and change emulation to gta02

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


QEMU MokoMakefile updates?

2009-07-19 Thread David Ford
regarding the wiki page at
http://wiki.openmoko.org/wiki/Using_QEMU_with_MokoMakefile, section
Compilation and use, does anyone have updated filenames/urls for the env
file?  the current svn file refers to invalid urls and filenames.

http://wiki.openmoko.org/wiki/Qemu also appears to be significantly
outdated.

thank you,
-david


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


what is situation of qemu-neo1973?

2009-07-02 Thread Aapo Rantalainen
Is anybody working with or under qemu?


I tried follow wiki but svn repository has old dated address where it
search images.

svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973
cd qemu-neo1973
./configure --target-list=arm-softmmu  # GCC 3.x will be required, see --cc=
make

wget http://cc.oulu.fi/~rantalai/freerunner/qemu/env_om2009.diff
patch -p0 < env_om2009.diff
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

#It starts to boot menu, but selecting boot will reboot it back to boot menu.

#I changed older u-boot (I didn't find it from official page, so I uploaded it)
cd openmoko
rm u-boot-*
wget http://cc.oulu.fi/~rantalai/freerunner/qemu/u-boot-gta01bv4.bin
cd ..

#reflash and now kernel will start. first boot takes time.
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

#But it stopped 'paroli stopped unexpectable..." and mouse clicking
doesn't respond

#When I change kernel older one, I got it running (but there might be
some problems with modules)
cd openmoko
rm u-Image*
wget http://cc.oulu.fi/~rantalai/freerunner/qemu/u-Image-2.6.24-om-gta01.bin
cd ..

#reflash and now paroli will start. first boot takes time.
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

#Pressing enter (AUX) two seconds bring settings, but there are no
display-entry, so I do not know how to continue with this.

#Then I changed rootfs too to SHR (and renamed it, so we can use same
flashing script)
cd openmoko
rm fso-paroli-image-om-gta01.jffs2
wget 
http://build.shr-project.org/shr-testing/images/om-gta01/shr-lite-image-om-gta01.jffs2
-O fso-paroli-image-om-gta01.jffs2
cd ..

#reflash and now SHR will start. first boot takes time.
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


Now I have SHR running with old kernel. Then I want ssh to it, but
easiest way on wiki [1] uses pppd, which doesn't work on this kernel
(missing modules). So I think this is dead end. This is only little
bit better than famous 'Kernel is... not found', but maybe some one
else want confirm this and try another solution?

-Aapo Rantalainen

[1] http://wiki.openmoko.org/wiki/Qemu

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


qemu-native build fail

2009-05-03 Thread Daniel.Li
Dear List,

I have found that qemu-native failed with gcc 3.4, see below.
Originally, qemu failed with 4.* gcc, now qemu is ok with gcc3.4 but
qemu-native failed. 

I googled, only found this http://pastebin.com/f75407ece# , which seems
failed on 20 Apr.

Now, I'm confused. Is there anyone can help me out this problem?  I'm
build fso-gta02-testing-image, with Jaunty (ubuntu 9.04). Thanks.

NOTE: Running task 241 of 253 (ID:
8, 
/home/daniel/work4/fso/fso-testing/openembedded/recipes/qemu/qemu-native_svn.bb,
 do_compile)
NOTE: package qemu-native-0.9.1+svnr4242-r15: task do_compile: started
ERROR: function do_compile failed
ERROR: see log
in 
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/temp/log.do_compile.10467
NOTE: Task
failed: 
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/temp/log.do_compile.10467
NOTE: package qemu-native-0.9.1+svnr4242-r15: task do_compile: failed
ERROR: TaskFailed event exception, aborting
ERROR: Build
of 
/home/daniel/work4/fso/fso-testing/openembedded/recipes/qemu/qemu-native_svn.bb 
do_compile failed
ERROR: Task 8
(/home/daniel/work4/fso/fso-testing/openembedded/recipes/qemu/qemu-native_svn.bb,
 do_compile) failed
NOTE: Tasks Summary: Attempted 240 tasks of which 0 didn't need to be
rerun and 1 failed.
ERROR:
'/home/daniel/work4/fso/fso-testing/openembedded/recipes/qemu/qemu-native_svn.bb'
 failed



>From log, we can see

gcc-3.4 -I. -I..
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/target-i386
 
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk
 -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/tcg
 
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/tcg/i386
 
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/fpu
 -DHAS_AUDIO -DHAS_AUDIO_CHOICE 
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/slirp
 -isystem/home/daniel/work4/fso/fso-testing/tmp/staging/i686-linux/usr/include 
-O2 -Wall -O2 -g -fno-strict-aliasing  -m32 -c -o kqemu.o 
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/kqemu.c
gcc-3.4 -Wall -O2 -g -fno-strict-aliasing  -fno-reorder-blocks
-fno-gcse-fno-optimize-sibling-calls  -fno-crossjumping
-fno-align-labels  -fno-align-jumps  -fno-align-functions
-mpreferred-stack-boundary=2 -fomit-frame-pointer  -m32 -I. -I..
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/target-i386
 
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk
 -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/tcg
 
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/tcg/i386
 
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/fpu
 -DHAS_AUDIO -DHAS_AUDIO_CHOICE 
-I/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/slirp
 -c -o op.o 
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/target-i386/op.c
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1
+svnr4242-r15/trunk/target-i386/ops_sse.h: In function `op_pshufw_mmx':
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1
+svnr4242-r15/trunk/target-i386/ops_sse.h:597: error: unable to find a
register to spill in class `GENERAL_REGS'
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1
+svnr4242-r15/trunk/target-i386/ops_sse.h:597: error: this is the insn:
(insn:HI 18 17 19
0 
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/target-i386/ops_sse.h:592
 (set (strict_low_part (subreg:HI (reg/v:DI 58 [ r ]) 0))
(mem/s/j:HI (plus:SI (mult:SI (reg:SI 62)
(const_int 2 [0x2]))
(reg/v/f:SI 60 [ s ])) [0 ._w S2 A16])) 54
{*movstricthi_1} (insn_list 16 (insn_list 12 (insn_list 50 (nil
(expr_list:REG_DEAD (reg:SI 62)
(nil)))
/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1
+svnr4242-r15/trunk/target-i386/ops_sse.h:597: confused by earlier
errors, bailing out
make[1]: *** [op.o] Error 1
make[1]: Leaving directory
`/home/daniel/work4/fso/fso-testing/tmp/work/i686-linux/qemu-native-0.9.1+svnr4242-r15/trunk/i386-softmmu'
make: *** [subdir-i386-softmmu] Error 2
FATAL: oe_runmake failed

-- 
Daniel.Li 
PALFocus (http://palfocus.oicp.net)



__

Re: fyp in qemu?

2009-02-22 Thread George Brooke
On Sunday 22 February 2009 11:29:39 Kai Timmer wrote:
> 2009/2/20 Kai Timmer :
> > Please wait, programming the NAND flash...
> > qemu: fatal: Trying to execute code outside RAM or ROM at 0x0004
> > [followed by a qemu register dump]
>
> Can someone at least tell me if i did something fundamentaly wrong or
> that this is a problem with the image? I am starting to get relly
> confused.
>
> Thanks,
Thats probably because you're trying to write a gta02 image to the virtual 
gta01 and it won't fit on the (virtual) NAND, you can only use the smaller 
gta01 images with qemu and not all distros provide them.

solar.george


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: fyp in qemu?

2009-02-22 Thread Kai Timmer
2009/2/20 Kai Timmer :

> Please wait, programming the NAND flash...
> qemu: fatal: Trying to execute code outside RAM or ROM at 0x0004
> [followed by a qemu register dump]

Can someone at least tell me if i did something fundamentaly wrong or
that this is a problem with the image? I am starting to get relly
confused.

Thanks,
-- 
Kai Timmer
Email : em...@kait.de
Jabber: k...@kait.de

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


fyp in qemu?

2009-02-20 Thread Kai Timmer
Hello,
i am new to this whole openmoko stuff, so please be patient with me ;)

I tried to get a fyp installation running in qemu. Here is what i did:
1. compiled qemu with:

$ svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973
$ cd qemu-neo1973
$ ./configure --target-list=arm-softmmu
$ make

then i downloaded the 2 files from here:
http://opensvn.csie.org/fyp/releases/2.17/
and put them in ./openmoko/

now i changed openmoko/env to match the filenames.
A openmoko/flash.sh runs fine until it stops with the following error:

Please wait, programming the NAND flash...
qemu: fatal: Trying to execute code outside RAM or ROM at 0x0004
[followed by a qemu register dump]

What is going wrong? Is it possible at all to get this running (i need
something to play with until my device is delivered :) )?

Greets,
-- 
Kai Timmer
Email : em...@kait.de
Jabber: k...@kait.de

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qemu download.sh isn;t ok any more. File names aren't ok

2008-12-09 Thread Joop Boonen
> [EMAIL PROTECTED]:~/work/qemu-openmoko/qemu-neo1973> sh -x
> openmoko/download.sh
> + . openmoko/env
> +++ pwd
> ++ src_dir=/home/jboonen/work/qemu-openmoko/qemu-neo1973
> ++ script_dir_relative=openmoko
> ++ script_dir=/home/jboonen/work/qemu-openmoko/qemu-neo1973/openmoko
> ++ uboot_symlink=/home/jboonen/work/qemu-openmoko/qemu-neo1973/u-boot.bin
> ++ qemu_relative='arm-softmmu/qemu-system-arm -M gta01 -m 130'
> ++
> qemu='/home/jboonen/work/qemu-openmoko/qemu-neo1973/arm-softmmu/qemu-system-arm
> -M gta01 -m 130'
> ++ flash_base=openmoko-flash.base
> ++ flash_image=openmoko-flash.image
> ++ make=make
> ++ which gmake
> /usr/bin/gmake
> ++ make=gmake
> ++ echo=echo
> ++ which gecho
> which: no gecho in
> (/home/jboonen/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin)
> ++ export make echo
> ++ dump_dir=/home/jboonen/work/qemu-openmoko/qemu-neo1973/openmoko/vvfat
> ++ qemu_monitor=/home/jboonen/.qemu_monitor
> ++ kernel_addr=0x3010
> ++ splash_addr=0x3600
> ++ splash_size=0x5000
> ++ kernel_wildcard='testing-om-gta01-*.uImage.bin'
> ++ rootfs_wildcard='testing-om-gta01-*.rootfs.jffs2'
> ++ uboot_wildcard=gta01bv4-u-boot.bin
> ++ download_dir=http://downloads.openmoko.org/daily/
> ++ dev_download_dir=http://downloads.openmoko.org/daily/
> ++ backup_download_dir=http://buildhost.automated.it/OM2007.2/
> + cd /home/jboonen/work/qemu-openmoko/qemu-neo1973/openmoko
> + echo 'Retrieving' available builds list...
> Retrieving available builds list...
> ++ lynx -dump http://downloads.openmoko.org/daily/
> ++ grep http
> ++ sed 's,[0-9
> \t\.]*http://downloads.openmoko.org/daily/\([a-zA-Z0-9_\.-]\)[ \t]*,\1,'
> + files='   1. http://downloads.openmoko.org/daily/?C=N;O=D
>2. http://downloads.openmoko.org/daily/?C=M;O=A
>3. http://downloads.openmoko.org/daily/?C=S;O=A
>4. http://downloads.openmoko.org/daily/?C=D;O=A
>5. http://downloads.openmoko.org/
> testing/
> unstable/'
> ++ lynx -dump http://downloads.openmoko.org/daily/
> ++ grep http
> ++ sed 's,[0-9
> \t\.]*http://downloads.openmoko.org/daily/\([a-zA-Z0-9_\.-]\)[ \t]*,\1,'
> + dev_files='   1. http://downloads.openmoko.org/daily/?C=N;O=D
>2. http://downloads.openmoko.org/daily/?C=M;O=A
>3. http://downloads.openmoko.org/daily/?C=S;O=A
>4. http://downloads.openmoko.org/daily/?C=D;O=A
>5. http://downloads.openmoko.org/
> testing/
> unstable/'
> + [[1. http://downloads.openmoko.org/daily/?C=N;O=D
>2. http://downloads.openmoko.org/daily/?C=M;O=A
>3. http://downloads.openmoko.org/daily/?C=S;O=A
>4. http://downloads.openmoko.org/daily/?C=D;O=A
>5. http://downloads.openmoko.org/
> testing/
> unstable/ == '' ]]
> + echo -n 'Kernel' 'is... '
> Kernel is... + most_recent 'testing-om-gta01-*.uImage.bin'
> kernel_image ''
> + echo
> + f=files
> + for name in '${!f}'
> + [[ 1. == testing-om-gta01-*.uImage.bin ]]
> + for name in '${!f}'
> + [[ http://downloads.openmoko.org/daily/?C=N;O=D ==
> testing-om-gta01-*.uImage.bin ]]
> + for name in '${!f}'
> + [[ 2. == testing-om-gta01-*.uImage.bin ]]
> + for name in '${!f}'
> + [[ http://downloads.openmoko.org/daily/?C=M;O=A ==
> testing-om-gta01-*.uImage.bin ]]
> + for name in '${!f}'
> + [[ 3. == testing-om-gta01-*.uImage.bin ]]
> + for name in '${!f}'
> + [[ http://downloads.openmoko.org/daily/?C=S;O=A ==
> testing-om-gta01-*.uImage.bin ]]
> + for name in '${!f}'
> + [[ 4. == testing-om-gta01-*.uImage.bin ]]
> + for name in '${!f}'
> + [[ http://downloads.openmoko.org/daily/?C=D;O=A ==
> testing-om-gta01-*.uImage.bin ]]
> + for name in '${!f}'
> + [[ 5. == testing-om-gta01-*.uImage.bin ]]
> + for name in '${!f}'
> + [[ http://downloads.openmoko.org/ == testing-om-gta01-*.uImage.bin ]]
> + for name in '${!f}'
> + [[ testing/ == testing-om-gta01-*.uImage.bin ]]
> + for name in '${!f}'
> + [[ unstable/ == testing-om-gta01-*.uImage.bin ]]
> ++ sort -n .list
> ++ tail -n 1
> + export kernel_image=
> + kernel_image=
> + rm -rf .list
> + '[' -z '' ']'
> + echo not found
> not found
> + exit -1
> [EMAIL PROTECTED]:~/work/qemu-openmoko/qemu-neo1973>
>

This line isn't correct:
rootfs_wildcard='testing-om-gta01-*.rootfs.jffs2'


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


qemu download.sh isn;t ok any more. File names aren't ok

2008-12-09 Thread Joop Boonen
[EMAIL PROTECTED]:~/work/qemu-openmoko/qemu-neo1973> sh -x
openmoko/download.sh
+ . openmoko/env
+++ pwd
++ src_dir=/home/jboonen/work/qemu-openmoko/qemu-neo1973
++ script_dir_relative=openmoko
++ script_dir=/home/jboonen/work/qemu-openmoko/qemu-neo1973/openmoko
++ uboot_symlink=/home/jboonen/work/qemu-openmoko/qemu-neo1973/u-boot.bin
++ qemu_relative='arm-softmmu/qemu-system-arm -M gta01 -m 130'
++
qemu='/home/jboonen/work/qemu-openmoko/qemu-neo1973/arm-softmmu/qemu-system-arm
-M gta01 -m 130'
++ flash_base=openmoko-flash.base
++ flash_image=openmoko-flash.image
++ make=make
++ which gmake
/usr/bin/gmake
++ make=gmake
++ echo=echo
++ which gecho
which: no gecho in
(/home/jboonen/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/jvm/jre/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin)
++ export make echo
++ dump_dir=/home/jboonen/work/qemu-openmoko/qemu-neo1973/openmoko/vvfat
++ qemu_monitor=/home/jboonen/.qemu_monitor
++ kernel_addr=0x3010
++ splash_addr=0x3600
++ splash_size=0x5000
++ kernel_wildcard='testing-om-gta01-*.uImage.bin'
++ rootfs_wildcard='testing-om-gta01-*.rootfs.jffs2'
++ uboot_wildcard=gta01bv4-u-boot.bin
++ download_dir=http://downloads.openmoko.org/daily/
++ dev_download_dir=http://downloads.openmoko.org/daily/
++ backup_download_dir=http://buildhost.automated.it/OM2007.2/
+ cd /home/jboonen/work/qemu-openmoko/qemu-neo1973/openmoko
+ echo 'Retrieving' available builds list...
Retrieving available builds list...
++ lynx -dump http://downloads.openmoko.org/daily/
++ grep http
++ sed 's,[0-9
\t\.]*http://downloads.openmoko.org/daily/\([a-zA-Z0-9_\.-]\)[ \t]*,\1,'
+ files='   1. http://downloads.openmoko.org/daily/?C=N;O=D
   2. http://downloads.openmoko.org/daily/?C=M;O=A
   3. http://downloads.openmoko.org/daily/?C=S;O=A
   4. http://downloads.openmoko.org/daily/?C=D;O=A
   5. http://downloads.openmoko.org/
testing/
unstable/'
++ lynx -dump http://downloads.openmoko.org/daily/
++ grep http
++ sed 's,[0-9
\t\.]*http://downloads.openmoko.org/daily/\([a-zA-Z0-9_\.-]\)[ \t]*,\1,'
+ dev_files='   1. http://downloads.openmoko.org/daily/?C=N;O=D
   2. http://downloads.openmoko.org/daily/?C=M;O=A
   3. http://downloads.openmoko.org/daily/?C=S;O=A
   4. http://downloads.openmoko.org/daily/?C=D;O=A
   5. http://downloads.openmoko.org/
testing/
unstable/'
+ [[1. http://downloads.openmoko.org/daily/?C=N;O=D
   2. http://downloads.openmoko.org/daily/?C=M;O=A
   3. http://downloads.openmoko.org/daily/?C=S;O=A
   4. http://downloads.openmoko.org/daily/?C=D;O=A
   5. http://downloads.openmoko.org/
testing/
unstable/ == '' ]]
+ echo -n 'Kernel' 'is... '
Kernel is... + most_recent 'testing-om-gta01-*.uImage.bin'
kernel_image ''
+ echo
+ f=files
+ for name in '${!f}'
+ [[ 1. == testing-om-gta01-*.uImage.bin ]]
+ for name in '${!f}'
+ [[ http://downloads.openmoko.org/daily/?C=N;O=D ==
testing-om-gta01-*.uImage.bin ]]
+ for name in '${!f}'
+ [[ 2. == testing-om-gta01-*.uImage.bin ]]
+ for name in '${!f}'
+ [[ http://downloads.openmoko.org/daily/?C=M;O=A ==
testing-om-gta01-*.uImage.bin ]]
+ for name in '${!f}'
+ [[ 3. == testing-om-gta01-*.uImage.bin ]]
+ for name in '${!f}'
+ [[ http://downloads.openmoko.org/daily/?C=S;O=A ==
testing-om-gta01-*.uImage.bin ]]
+ for name in '${!f}'
+ [[ 4. == testing-om-gta01-*.uImage.bin ]]
+ for name in '${!f}'
+ [[ http://downloads.openmoko.org/daily/?C=D;O=A ==
testing-om-gta01-*.uImage.bin ]]
+ for name in '${!f}'
+ [[ 5. == testing-om-gta01-*.uImage.bin ]]
+ for name in '${!f}'
+ [[ http://downloads.openmoko.org/ == testing-om-gta01-*.uImage.bin ]]
+ for name in '${!f}'
+ [[ testing/ == testing-om-gta01-*.uImage.bin ]]
+ for name in '${!f}'
+ [[ unstable/ == testing-om-gta01-*.uImage.bin ]]
++ sort -n .list
++ tail -n 1
+ export kernel_image=
+ kernel_image=
+ rm -rf .list
+ '[' -z '' ']'
+ echo not found
not found
+ exit -1
[EMAIL PROTECTED]:~/work/qemu-openmoko/qemu-neo1973>


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


qemu patch for gcc 4 doesn't work anymore

2008-12-09 Thread Joop Boonen
All,

I have a question about the gcc 4 patch for qemu.

If I follow the build instructions for qemu:
http://wiki.openmoko.org/wiki/Qemu
I cant patch the qemu for gcc4.

Regards,

Joop Boonen.





___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: help~After using the MokoMakefile to build the qemu, the qemu-neo1973 restart at once when it boot the kernel

2008-11-27 Thread lostdays



Joan.doe wrote:
> 
> On Tue, 25 Nov 2008 17:56:18 -0800 (PST)
> lostdays <[EMAIL PROTECTED]> wrote:
> 
> Hi
> I could not boot openmoko too. But with replacing and flashing u-boot with
> the u-boot image of the pre buid windows image
> (http://yorick.keymeulen.com/openmoko-emulator-bin-20070625.rar) i was
> able to start. So replace /openmoko/build/qemu/openmoko/gta01bv4 with the
> uboot.bin from above and run openmoko/flash.sh from directory
> /openmoko/build/qemu/ After that you should be able to boot.
> 
> But i didnot manage to get usb networking work because of a missing
> terminal in OM 2008.9 ..
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 
> 

Hi, Thanks.
I have followed your mail to try it, it works. I have replaced the kernel
and roof fs file but don't replaced the uboot image.
I guess there is some bug in the new uboot image.


-- 
View this message in context: 
http://n2.nabble.com/help%7EAfter-using-the-MokoMakefile-to-build-the-qemu%2C-the-qemu-neo1973-restart-at-once-when-it-boot-the-kernel-tp1574858p1585315.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: help~After using the MokoMakefile to build the qemu, the qemu-neo1973 restart at once when it boot the kernel

2008-11-26 Thread Joan . doe
On Tue, 25 Nov 2008 17:56:18 -0800 (PST)
lostdays <[EMAIL PROTECTED]> wrote:

Hi
I could not boot openmoko too. But with replacing and flashing u-boot with the 
u-boot image of the pre buid windows image 
(http://yorick.keymeulen.com/openmoko-emulator-bin-20070625.rar) i was able to 
start. So replace /openmoko/build/qemu/openmoko/gta01bv4 with the uboot.bin 
from above and run openmoko/flash.sh from directory /openmoko/build/qemu/ After 
that you should be able to boot.

But i didnot manage to get usb networking work because of a missing terminal in 
OM 2008.9 ..


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: help~After using the MokoMakefile to build the qemu, the qemu-neo1973 restart at once when it boot the kernel

2008-11-25 Thread lostdays



uweba wrote:
> 
> 
> 
> mailing wrote:
>> 
>> On Tue, 25 Nov 2008 08:53:17 +0100, Oscar <[EMAIL PROTECTED]> wrote:
>>> I'm having the same problem, also with ubuntu 8.04.
>>> Saludoss
>>> 
>>> 
>>> 
>>> On Tue, Nov 25, 2008 at 3:59 AM, lostdays <[EMAIL PROTECTED]> wrote:
>>>>
>>>> the image i used are "testing-om-gta01-20081124.uImage.bin",
>>>> "testing-om-gta01-20081124.rootfs.jffs2"
>>>> "gta01bv4-u-boot.bin".
>>>> I followed the Wiki.openmoko.org, firstly installed required software,
>>> then
>>>> download the mokomakefile, "make qemu","make run-qemu". the qemu
>>>> lauched
>>>> with the menu. But when I choose the boot menu, it failed without any
>>> error
>>>> message out when loading the kernel and return the boot menu. Any idea
>>> for
>>>> it?
>>>> My OS version is ubuntu 8.04.
>>>> Thanks
>> 
>> I'm having this problem too, with both mandriva 2009 and cooker (2009.1),
>> with mokomakefile and the manual setup
>> (http://wiki.openmoko.org/wiki/Openmoko_under_QEMU)
>> 
>> 
> 
> Same problem here. Suse 10.3.
> 
> I had qemu installed and it worked fine. Then I reinstalled qemu (with the
> makefile and manually) and it showed the same behaviour as above
> described.
> 
> Uwe
> 

Are there solution for that? It seems not my single issue. 


-- 
View this message in context: 
http://n2.nabble.com/help%7EAfter-using-the-MokoMakefile-to-build-the-qemu%2C-the-qemu-neo1973-restart-at-once-when-it-boot-the-kernel-tp1574858p1579207.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: help~After using the MokoMakefile to build the qemu, the qemu-neo1973 restart at once when it boot the kernel

2008-11-25 Thread uweba



mailing wrote:
> 
> On Tue, 25 Nov 2008 08:53:17 +0100, Oscar <[EMAIL PROTECTED]> wrote:
>> I'm having the same problem, also with ubuntu 8.04.
>> Saludoss
>> 
>> 
>> 
>> On Tue, Nov 25, 2008 at 3:59 AM, lostdays <[EMAIL PROTECTED]> wrote:
>>>
>>> the image i used are "testing-om-gta01-20081124.uImage.bin",
>>> "testing-om-gta01-20081124.rootfs.jffs2"
>>> "gta01bv4-u-boot.bin".
>>> I followed the Wiki.openmoko.org, firstly installed required software,
>> then
>>> download the mokomakefile, "make qemu","make run-qemu". the qemu lauched
>>> with the menu. But when I choose the boot menu, it failed without any
>> error
>>> message out when loading the kernel and return the boot menu. Any idea
>> for
>>> it?
>>> My OS version is ubuntu 8.04.
>>> Thanks
> 
> I'm having this problem too, with both mandriva 2009 and cooker (2009.1),
> with mokomakefile and the manual setup
> (http://wiki.openmoko.org/wiki/Openmoko_under_QEMU)
> 
> 

Same problem here. Suse 10.3.

I had qemu installed and it worked fine. Then I reinstalled qemu (with the
makefile and manually) and it showed the same behaviour as above described.

Uwe
-- 
View this message in context: 
http://n2.nabble.com/help%7EAfter-using-the-MokoMakefile-to-build-the-qemu%2C-the-qemu-neo1973-restart-at-once-when-it-boot-the-kernel-tp1574858p1577880.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: help~After using the MokoMakefile to build the qemu, the qemu-neo1973 restart at once when it boot the kernel

2008-11-25 Thread mailing
On Tue, 25 Nov 2008 08:53:17 +0100, Oscar <[EMAIL PROTECTED]> wrote:
> I'm having the same problem, also with ubuntu 8.04.
> Saludoss
> 
> 
> 
> On Tue, Nov 25, 2008 at 3:59 AM, lostdays <[EMAIL PROTECTED]> wrote:
>>
>> the image i used are "testing-om-gta01-20081124.uImage.bin",
>> "testing-om-gta01-20081124.rootfs.jffs2"
>> "gta01bv4-u-boot.bin".
>> I followed the Wiki.openmoko.org, firstly installed required software,
> then
>> download the mokomakefile, "make qemu","make run-qemu". the qemu lauched
>> with the menu. But when I choose the boot menu, it failed without any
> error
>> message out when loading the kernel and return the boot menu. Any idea
> for
>> it?
>> My OS version is ubuntu 8.04.
>> Thanks

I'm having this problem too, with both mandriva 2009 and cooker (2009.1),
with mokomakefile and the manual setup
(http://wiki.openmoko.org/wiki/Openmoko_under_QEMU)


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: help~After using the MokoMakefile to build the qemu, the qemu-neo1973 restart at once when it boot the kernel

2008-11-24 Thread Oscar
I'm having the same problem, also with ubuntu 8.04.
Saludoss



On Tue, Nov 25, 2008 at 3:59 AM, lostdays <[EMAIL PROTECTED]> wrote:
>
> the image i used are "testing-om-gta01-20081124.uImage.bin",
> "testing-om-gta01-20081124.rootfs.jffs2"
> "gta01bv4-u-boot.bin".
> I followed the Wiki.openmoko.org, firstly installed required software, then
> download the mokomakefile, "make qemu","make run-qemu". the qemu lauched
> with the menu. But when I choose the boot menu, it failed without any error
> message out when loading the kernel and return the boot menu. Any idea for
> it?
> My OS version is ubuntu 8.04.
> Thanks
>




-- 
Oscar Morante
GPG: CA7417FF

"La nostalgia ya no es lo que era" - Anónimo
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


help~After using the MokoMakefile to build the qemu, the qemu-neo1973 restart at once when it boot the kernel

2008-11-24 Thread lostdays

the image i used are "testing-om-gta01-20081124.uImage.bin",
"testing-om-gta01-20081124.rootfs.jffs2"
"gta01bv4-u-boot.bin".
I followed the Wiki.openmoko.org, firstly installed required software, then
download the mokomakefile, "make qemu","make run-qemu". the qemu lauched
with the menu. But when I choose the boot menu, it failed without any error
message out when loading the kernel and return the boot menu. Any idea for
it?
My OS version is ubuntu 8.04.
Thanks 

Make qemu log is following:
[ -e build/qemu ] || \
( mkdir -p build/qemu )
[ -e build/qemu/Makefile ] || \
( . ./setup-env && cd build/qemu && \
  ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/configure \
--target-list=arm-softmmu )
[ -e build/qemu/openmoko ] || \
( . ./setup-env && cd build/qemu && mkdir openmoko && \
  for f in ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/openmoko/* ; do
\
ln -s $f openmoko/`basename $f` ; \
  done )
ln -sf `pwd`/openmoko/trunk/src/host/qemu-neo1973/openmoko/env
build/qemu/openmoko/env
[ -d stamps ] || mkdir stamps
touch stamps/qemu
( cd build/qemu && make )
make[1]: Entering directory `/home/flyingcloud/openmoko/build/qemu'
make -C arm-softmmu all
make[2]: Entering directory
`/home/flyingcloud/openmoko/build/qemu/arm-softmmu'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/flyingcloud/openmoko/build/qemu/arm-softmmu'
make[1]: Leaving directory `/home/flyingcloud/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... testing-om-gta01-20081124.uImage.bin
Root filesystem is... testing-om-gta01-20081124.rootfs.jffs2
U-boot is... gta01bv4-u-boot.bin
Retrieving position

Now use openmoko/flash.sh to install OpenMoko to NAND Flash.

rm -f images/openmoko/env
[ -d stamps ] || mkdir stamps
touch stamps/images
( cd build/qemu && openmoko/flash.sh ../../images/openmoko )
/usr/bin/pngtopnm
/usr/bin/ppmtorgb3
make[1]: Entering directory `/home/flyingcloud/openmoko/build/qemu/openmoko'
make[1]: `splash.gz' is up to date.
make[1]: Leaving directory `/home/flyingcloud/openmoko/build/qemu/openmoko'
Using 'testing-om-gta01-20081124.uImage.bin' as the kernel image.
Using 'testing-om-gta01-20081124.rootfs.jffs2' as the root filesystem image.
Using 'gta01bv4-u-boot.bin' as bootloader.
make[1]: Entering directory `/home/flyingcloud/openmoko/build/qemu/openmoko'
# Making an empty/erased flash image.  Need a correct echo behavior.
echo -en \\0377\\0377\\0377\\0377\\0377\\0377\\0377\\0377 > .8b
cat .8b .8b > .16b # OOB is 16 bytes
cat .16b .16b .16b .16b .16b .16b .16b .16b > .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .512b .16b > .sec # A sector is 512 bytes of data + OOB
cat .sec .sec .sec .sec .sec .sec .sec .sec > .8sec
cat .8sec .8sec .8sec .8sec .8sec .8sec .8sec .8sec > .64sec
cat .64sec .64sec .64sec .64sec .64sec .64sec .64sec .64sec > .512sec
cat .512sec .512sec .512sec .512sec > .2ksec
cat .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec > .16ksec
# Neo NAND is 128k sectors big
cat .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec >
openmoko-flash.base
rm -rf .8b .16b .512b .sec .8sec .64sec .512sec .2ksec .16ksec
make[1]: Leaving directory `/home/flyingcloud/openmoko/build/qemu/openmoko'
Please wait, programming the NAND flash...
neo_gsm_switch: GSM disabled.

 
 U-Boot 1.3.2-moko12 (Nov 24 2008 - 18:46:05)
 
 I2C:   ready
 DRAM:  128 MB
 NAND:  Bad block table not found for chip 0
 Bad block table not found for chip 0
 64 MiB
 Video: 640x480x8 31kHz 59Hz
 USB:   S3C2410 USB Deviced
 mtdparts variable not set, see 'help mtdparts'
 mtdparts variable not set, see 'help mtdparts'
 mtdparts variable not set, see 'help mtdparts'
 mtdparts variable not set, see 'help mtdparts'
 mtdparts variable not set, see 'help mtdparts'
 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.
GTA01Bv4 # 
 GTA01Bv4 #  
 GTA01Bv4 # setenv dontask y 
 GTA01Bv4 # nand createbbt 
 Create BBT and erase everything ? 
  Erasing at 0x0 --   0% complete. Erasing at 0xa --   1% complete.
Erasing at 0x144000 --   2% complete. Erasing at 0x1e8000 --   3% complete.
Erasing at 0x28c000 --   4% complete. Erasing at 0x33

Qemu question

2008-10-10 Thread Joel Newkirk
Got an odd one.  When updating with 'make qemu' (mokomakefile) I see it
skipping four bad blocks.  What constitutes a 'bad block' when it's just
flashing to a file on the host??

j



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: qemu

2008-10-01 Thread Pupino
2008/9/30 Joel Newkirk <[EMAIL PROTECTED]>

> In the course of working on my development VM, I installed qemu using
> Mokomakefile.  It seems it installs a Qtopia image.
>
> Can someone lead me by the hand, or point out a howto/faq I missed, that
> clearly tells me how to set up other images with it, particularly FSO and
> 2008.9?  I know that I need to tell qemu it's "gta02fake" instead of
> "gta01", but so far I've failed to get any images running with it apart
> from the one Mokomakefile pulls in. (they timeout while flashing)
>
> And is there any simple way to support having multiple images installed,
> choosing among them at launch time?  All I can see for sure is how to
> 'flash' it with different images. (I've not used qemu much yet, so I still
> haven't fully wrapped my brain around the various symlinks and env settings
> affecting it) I'm hoping I can create desktop shortcuts to simple scripts
> that fire up qemu with various images, without having to fire up
> Mokomakefile and reflash each time - ideal would be fully independent, each
> available image having its own SD etc.
>
> Thanks for any info or advice.
>
> j
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

Hi,
i've experimented a bit with qemu since i have no freerunner yet, but i
didn't get anything working.
All I learned so far is: gta02fake needs a custom kernel and the patch
proposed in the wiki no longer works.
I've asked for help on this and on the developer list but didn't get any
response.

For the flashing problem, i'm quite sure you can "have" SD cards and ence
you can manage them with a symlink, but i didn't understand how the SD is
emulated.

HTH
Davide.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Regarding openmoko in qemu

2008-09-30 Thread
 

Hello, 

  I installed the openmoko on qemu, it's worked well. But its
emulation part is too 

 

Slow. When I clicked on any application it takes around 1 minute to
start the application.

 

Second one is there is no close application logo on the application
itself, so I have to close 

 

the qemu to restart the openmoko. And third one is scrolling part is
also not there.

 

Any idea??

 

And I started with webpage
http://wiki.openmoko.org/wiki/Automatic_emulation_in_Ubuntu

 

Regards,

 

Prashant p sathe

 

 

 

 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


qemu

2008-09-30 Thread Joel Newkirk
In the course of working on my development VM, I installed qemu using
Mokomakefile.  It seems it installs a Qtopia image.

Can someone lead me by the hand, or point out a howto/faq I missed, that
clearly tells me how to set up other images with it, particularly FSO and
2008.9?  I know that I need to tell qemu it's "gta02fake" instead of
"gta01", but so far I've failed to get any images running with it apart
from the one Mokomakefile pulls in. (they timeout while flashing)

And is there any simple way to support having multiple images installed,
choosing among them at launch time?  All I can see for sure is how to
'flash' it with different images. (I've not used qemu much yet, so I still
haven't fully wrapped my brain around the various symlinks and env settings
affecting it) I'm hoping I can create desktop shortcuts to simple scripts
that fire up qemu with various images, without having to fire up
Mokomakefile and reflash each time - ideal would be fully independent, each
available image having its own SD etc.

Thanks for any info or advice.

j


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


gta02 kernel for qemu

2008-09-09 Thread Pupino
Hi all,
i was trying to emulate the gta02 on qemu, but i find i can't patch the
kernel.
I'm following the instructions included in the README in the qemu/openmoko
folder.
What fail is this:
cg-switch -r fbfbc5130075e233f2fd2613e2897c3c4ed4bc7f gta02fake

and fails telling:
error: unable to find fbfbc5130075e233f2fd2613e2897c3c4ed4bc7f
fatal: git-cat-file fbfbc5130075e233f2fd2613e2897c3c4ed4bc7f: bad file
error: unable to find fbfbc5130075e233f2fd2613e2897c3c4ed4bc7f
fatal: git-cat-file fbfbc5130075e233f2fd2613e2897c3c4ed4bc7f: bad file
Invalid commit id: fbfbc5130075e233f2fd2613e2897c3c4ed4bc7f

any one knows what's wrong?

Thanks in advance.
Davide
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Building and testing asu with MokoMakeFile and qemu

2008-09-05 Thread Nicola Mfb
Ok, i changed target machine in freerunner, build succesfull the image and
flashed the phone. It worked, now i have my freerunner with a fresh builded
asu. So it seems a problem with qemu, or gta01. Finally i tryed to run
official updated images and they have the same problem.
So is it qemu suppport now broken?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Building and testing asu with MokoMakeFile and qemu

2008-09-04 Thread Nicola Mfb
I rebuilded all from scratch and now i found uImage-2.6.24., so
make flash-qemu-local run successfull, howewer when i finally run make
run-qemu, u-boot loads the kernel and returns to it's main menu.

I'm not expert on u-boot, howewer i added -serial stdio to qemu, it gives:

U-Boot 1.3.2-moko12 (Sep  4 2008 - 17:27:20)

I2C:   ready
DRAM:  128 MB
NAND:  64 MiB
Found Environment offset in OOB..
Video: 640x480x8 31kHz 59Hz

NAND read: device 0 offset 0x244000, size 0x5000

Reading data from 0x248e00 -- 100% complete.
 20480 bytes read: OK
USB:   S3C2410 USB Deviced
In:serial
Out:   serial
Err:   serial
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.
GTA01Bv4 # boot
## Booting kernel from Legacy Image at 3010 ...
   Image Name:   Openmoko/2.6.24+git1+a1e97c61125
   Created:  2008-09-04  13:37:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:1894664 Bytes =  1.8 MB
   Load Address: 30008000
   Entry Point:  30008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
ERROR: image overwritten - must RESET the board to recover.
neo_gsm_switch: GSM disabled.

wath can i do now?

   Nicola


On 9/3/08, Nicola Mfb <[EMAIL PROTECTED]> wrote:
> I'm working an ubuntu hh to build and test asu.
> I downloaded
> http://svn.projects.openmoko.org/svnroot/mokomakefile/trunk/Makefile
> changed OM_GIT_BRANCH in org.openmoko.asu.stable
>
> after that i did make setup, make setup-machine-neo and make
> openmoko-qtopia-x11-image.
> The image was build successfull after several hours, but when i try to do
> make flash-qemu-local i get an error saying
> that is not possible to ls files in
> build/tmp/deploy/glibc/images/neo1973/uImage-2.6.*-om-gta01.bin
>
> What do i miss?
>
> thanks
>
>Nicola
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Building and testing asu with MokoMakeFile and qemu

2008-09-03 Thread Nicola Mfb
I'm working an ubuntu hh to build and test asu.
I downloaded
http://svn.projects.openmoko.org/svnroot/mokomakefile/trunk/Makefile
changed OM_GIT_BRANCH in org.openmoko.asu.stable

after that i did make setup, make setup-machine-neo and make
openmoko-qtopia-x11-image.
The image was build successfull after several hours, but when i try to do
make flash-qemu-local i get an error saying
that is not possible to ls files in
build/tmp/deploy/glibc/images/neo1973/uImage-2.6.*-om-gta01.bin

What do i miss?

thanks

   Nicola
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Current daily snapshots under QEMU

2008-08-03 Thread Cesar Eduardo Barros
Patryk Cisek escreveu:
> Hi,
> 
> It seems like recently daily snapshots don't work on QEMU:
> http://buildhost.openmoko.org/daily/neo1973/200808/
> 
> I tried 20080801 and 20080802. After downloading rootfs, kernel image and 
> u-boot, I flashed qemu with openmoko/flash.sh. After booting it 
> (openmoko/qemu-auto.sh) bootmenu shows up. After clicking Boot, splash screen 
> shows for a little while and boot menu comes again. Any ideas? I tried some 
> snapshots from buildhost.openmoko.org before they were wiped out and 2007.2 
> worked fine. At least the ones I tried.

I had the same problem (but with self-built images from Mokomakefile), 
and it started working when I replaced the u-boot with the trusty old 
"august snapshot" u-boot I still use in the real device.

-- 
Cesar Eduardo Barros
[EMAIL PROTECTED]
[EMAIL PROTECTED]

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Current daily snapshots under QEMU

2008-08-03 Thread Patryk Cisek
Hi,

It seems like recently daily snapshots don't work on QEMU:
http://buildhost.openmoko.org/daily/neo1973/200808/

I tried 20080801 and 20080802. After downloading rootfs, kernel image and 
u-boot, I flashed qemu with openmoko/flash.sh. After booting it 
(openmoko/qemu-auto.sh) bootmenu shows up. After clicking Boot, splash screen 
shows for a little while and boot menu comes again. Any ideas? I tried some 
snapshots from buildhost.openmoko.org before they were wiped out and 2007.2 
worked fine. At least the ones I tried.

Another thing it ASU -- there are no images in daily builds. It it somehow 
broken? I mean, it doesn't build at the moment, right? I'd like to check it 
out in QEMU -- I'm just about to buy FreeRunner (just waiting for new 
shipment of them) -- but I have no usable image to test. The ones from 
http://buildhost.automated.it/OM2007.2/ (which are the backup_download_dir in 
qemu-neo1973/openmoko/env) just don't work now. Could someone, please shed 
some light on this?

Thanks

-- 
Patryk Cisek

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with QEMU and MokoMakefile

2008-07-16 Thread saurabh gupta
On Wed, Jul 16, 2008 at 5:18 PM, arne anka <[EMAIL PROTECTED]> wrote:

> > Why is makefile still downloading the previous buggy images of gta01.
>
> afaik is qemu unable to handle the gta02 images, only gta01.


Ok thanks...
But has anyone tried the patch for emulating the gta02 under qemu as given
in wiki.

>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Saurabh Gupta
Electronics and Communication Engg.
NSIT,New Delhi, India
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with QEMU and MokoMakefile

2008-07-16 Thread arne anka
> Why is makefile still downloading the previous buggy images of gta01.

afaik is qemu unable to handle the gta02 images, only gta01.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with QEMU and MokoMakefile

2008-07-16 Thread saurabh gupta
On Fri, Jul 11, 2008 at 12:09 AM, Søren Kristiansen <[EMAIL PROTECTED]>
wrote:

> Just download the newest images from the buildhost and place them in
> images/openmoko/ and do:
> make flash-qemu-official
> make run-qemu


I downloaded the latest images of gta02 in the directory and then run make
flash-qemu-official, but it is showing an error. It is searching the gta01
images in the images/openmoko directory and  thus exits with an error that
basename: missing operator. I even did the make update-makefile, but no
improvement. Any suggestions.
Why is makefile still downloading the previous buggy images of gta01.

Regards.


>
> I dont know why but it downloads an old bugged image (bugged in the
> emulator at least... dunno if it works on any of the neos)
>
> 2008/7/10 <[EMAIL PROTECTED]>:
>
> > I've been wanting to test out the UI that is shown on the wiki and
>> > software reviews around the net. Upon building (make qemu) and letting
>> it
>> > complete I got a very different UI that what I expected. Here's a couple
>> of
>> > screenshots: http://projektenterprises.com/mokoshots/
>>
>> I think is a Qtopia image.
>>
>> looks like monomakefile is downloading the qtopia jffs2 from
>> buildhost.automated.it to de NAND of qemu
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>
>
>
> --
> Med venlig hilsen / Best regards
>
> Søren H. Kristiansen
>
> Stud. polyt., Software Engineering, University of Aalborg, Denmark
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>


-- 
Saurabh Gupta
Electronics and Communication Engg.
NSIT,New Delhi, India
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OpenMoko] qemu win32 emulator

2008-07-14 Thread Yocto
Hi,

I did svn checkout the qemu-neo1973 and was following manual setup on the 
wiki.
But I bumped into the SDL requirement, etc...

Thanks to Yorick Moko who provided a link to his pre-built binaries.
I was able to get a quick first look & feel of the openmoko projet.

Even if that build was over a year old... I saw the potential...
Now, I can invest more of my spare time on this projet.

Thanks.
// Yocto

- Original Message - 
From: "Robert Schuster" <[EMAIL PROTECTED]>
To: "List for Openmoko community discussion" 
Sent: Monday, July 14, 2008 5:15 AM
Subject: Re: [OpenMoko] qemu win32 emulator


> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [OpenMoko] qemu win32 emulator

2008-07-14 Thread Robert Schuster
Hi,
what you want is a binary of QEMU + OpenMoko's patches for it. If the
links do not work try to get in contact with the people who distributed
them first.

AFIU the OpenMoko project is mostly about doing things from source so it
should be possible to compile QEMU + patches under Windows and/or
cygwin, too.

Regards
Robert

Yocto schrieb:
> Hi,
> 
> Where can I find an openmoko win32 emulator ?
> 
> The links to the pre-build binaries of 
> openmoko-emulator-win32-bin-20070625.zip
> or its mirror are broken.
> 
> 
>>From the wiki at wiki.openmoko.org/wiki/OpenMoko_under_QEMU
> 
> mdk.linux.org.tw/~jserv/openmoko/openmoko-emulator-win32-bin-20070625.zip
> 
> snakesoftruth.com/openmoko-emulator-win32-bin-20070625.zip
> 
> 
> Thanks.
> // Yocto
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 




signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[OpenMoko] qemu win32 emulator

2008-07-12 Thread Yocto
Hi,

Where can I find an openmoko win32 emulator ?

The links to the pre-build binaries of 
openmoko-emulator-win32-bin-20070625.zip
or its mirror are broken.


>From the wiki at wiki.openmoko.org/wiki/OpenMoko_under_QEMU

mdk.linux.org.tw/~jserv/openmoko/openmoko-emulator-win32-bin-20070625.zip

snakesoftruth.com/openmoko-emulator-win32-bin-20070625.zip


Thanks.
// Yocto

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with QEMU and MokoMakefile

2008-07-10 Thread Shawn Thompson
Thanks again so much! I couldn't hold back. I was able to get the daily
build to run on QEMU, will have to play with it more at work.

-Shawn

On Thu, Jul 10, 2008 at 11:39 AM, Søren Kristiansen <[EMAIL PROTECTED]>
wrote:

> Just download the newest images from the buildhost and place them in
> images/openmoko/ and do:
> make flash-qemu-official
> make run-qemu
>
> I dont know why but it downloads an old bugged image (bugged in the
> emulator at least... dunno if it works on any of the neos)
>
> 2008/7/10 <[EMAIL PROTECTED]>:
>
> > I've been wanting to test out the UI that is shown on the wiki and
>> > software reviews around the net. Upon building (make qemu) and letting
>> it
>> > complete I got a very different UI that what I expected. Here's a couple
>> of
>> > screenshots: http://projektenterprises.com/mokoshots/
>>
>> I think is a Qtopia image.
>>
>> looks like monomakefile is downloading the qtopia jffs2 from
>> buildhost.automated.it to de NAND of qemu
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>
>
>
> --
> Med venlig hilsen / Best regards
>
> Søren H. Kristiansen
>
> Stud. polyt., Software Engineering, University of Aalborg, Denmark
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with QEMU and MokoMakefile

2008-07-10 Thread Shawn Thompson
Thank you Søren. I will give that a try tonight while I'm bored at work
after-hours.

-Shawn

On Thu, Jul 10, 2008 at 11:39 AM, Søren Kristiansen <[EMAIL PROTECTED]>
wrote:

> Just download the newest images from the buildhost and place them in
> images/openmoko/ and do:
> make flash-qemu-official
> make run-qemu
>
> I dont know why but it downloads an old bugged image (bugged in the
> emulator at least... dunno if it works on any of the neos)
>
> 2008/7/10 <[EMAIL PROTECTED]>:
>
> > I've been wanting to test out the UI that is shown on the wiki and
>> > software reviews around the net. Upon building (make qemu) and letting
>> it
>> > complete I got a very different UI that what I expected. Here's a couple
>> of
>> > screenshots: http://projektenterprises.com/mokoshots/
>>
>> I think is a Qtopia image.
>>
>> looks like monomakefile is downloading the qtopia jffs2 from
>> buildhost.automated.it to de NAND of qemu
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>
>
>
> --
> Med venlig hilsen / Best regards
>
> Søren H. Kristiansen
>
> Stud. polyt., Software Engineering, University of Aalborg, Denmark
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with QEMU and MokoMakefile

2008-07-10 Thread Søren Kristiansen
Just download the newest images from the buildhost and place them in
images/openmoko/ and do:
make flash-qemu-official
make run-qemu

I dont know why but it downloads an old bugged image (bugged in the emulator
at least... dunno if it works on any of the neos)

2008/7/10 <[EMAIL PROTECTED]>:

> > I've been wanting to test out the UI that is shown on the wiki and
> > software reviews around the net. Upon building (make qemu) and letting it
> > complete I got a very different UI that what I expected. Here's a couple
> of
> > screenshots: http://projektenterprises.com/mokoshots/
>
> I think is a Qtopia image.
>
> looks like monomakefile is downloading the qtopia jffs2 from
> buildhost.automated.it to de NAND of qemu
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>



-- 
Med venlig hilsen / Best regards

Søren H. Kristiansen

Stud. polyt., Software Engineering, University of Aalborg, Denmark
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with QEMU and MokoMakefile

2008-07-10 Thread jluis
> I've been wanting to test out the UI that is shown on the wiki and
> software reviews around the net. Upon building (make qemu) and letting it
> complete I got a very different UI that what I expected. Here's a couple of
> screenshots: http://projektenterprises.com/mokoshots/

I think is a Qtopia image.

looks like monomakefile is downloading the qtopia jffs2 from
buildhost.automated.it to de NAND of qemu

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with QEMU and MokoMakefile

2008-07-10 Thread saurabh gupta
On Thu, Jul 10, 2008 at 7:02 PM, Shawn Thompson <
[EMAIL PROTECTED]> wrote:

> I've been wanting to test out the UI that is shown on the wiki and software
> reviews around the net. Upon building (make qemu) and letting it complete I
> got a very different UI that what I expected. Here's a couple of
> screenshots: http://projektenterprises.com/mokoshots/
>

I too got exactly the same UI in qemu when I build it using "make qemu"
command using the MokoMakefile.


>
> Any ideas as to why I am getting this UI instead of the one I've seen
> across the web, I'm sure I had to have messed up along the way somewhere.
>
> -Shawn T.
>
>
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with QEMU and MokoMakefile

2008-07-10 Thread Shawn Thompson
make qemu

On Thu, Jul 10, 2008 at 6:44 AM, David Samblas Martinez <[EMAIL PROTECTED]>
wrote:

> what make instruction did you use?
>
> It begins like the ASU image file but as you notice I have no seen this
> initial screen before.
>
>
> --- El jue, 10/7/08, Shawn Thompson <[EMAIL PROTECTED]>
> escribió:
>
> > De: Shawn Thompson <[EMAIL PROTECTED]>
> > Asunto: Problem with QEMU and MokoMakefile
> > Para: "OM-Community" 
> > Fecha: jueves, 10 julio, 2008 3:32
> > I've been wanting to test out the UI that is shown on
> > the wiki and software
> > reviews around the net. Upon building (make qemu) and
> > letting it complete I
> > got a very different UI that what I expected. Here's a
> > couple of
> > screenshots: http://projektenterprises.com/mokoshots/
> >
> > Any ideas as to why I am getting this UI instead of the one
> > I've seen across
> > the web, I'm sure I had to have messed up along the way
> > somewhere.
> >
> > -Shawn T.___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
>
>
>   __
> Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with QEMU and MokoMakefile

2008-07-10 Thread David Samblas Martinez
what make instruction did you use?

It begins like the ASU image file but as you notice I have no seen this initial 
screen before.


--- El jue, 10/7/08, Shawn Thompson <[EMAIL PROTECTED]> escribió:

> De: Shawn Thompson <[EMAIL PROTECTED]>
> Asunto: Problem with QEMU and MokoMakefile
> Para: "OM-Community" 
> Fecha: jueves, 10 julio, 2008 3:32
> I've been wanting to test out the UI that is shown on
> the wiki and software
> reviews around the net. Upon building (make qemu) and
> letting it complete I
> got a very different UI that what I expected. Here's a
> couple of
> screenshots: http://projektenterprises.com/mokoshots/
> 
> Any ideas as to why I am getting this UI instead of the one
> I've seen across
> the web, I'm sure I had to have messed up along the way
> somewhere.
> 
> -Shawn T.___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


  __ 
Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem with QEMU and MokoMakefile

2008-07-10 Thread arne anka
> got a very different UI that what I expected. Here's a couple of
> screenshots: http://projektenterprises.com/mokoshots/

that would be asu, i think.

> Any ideas as to why I am getting this UI instead of the one I've seen  
> across
> the web, I'm sure I had to have messed up along the way somewhere.

i think asu is the default image to build. probably to change somwhere, try
find . -type f -exec grep -iH asu '{}' \;
when in the directory mokomakefile lives in.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Problem with QEMU and MokoMakefile

2008-07-10 Thread Shawn Thompson
I've been wanting to test out the UI that is shown on the wiki and software
reviews around the net. Upon building (make qemu) and letting it complete I
got a very different UI that what I expected. Here's a couple of
screenshots: http://projektenterprises.com/mokoshots/

Any ideas as to why I am getting this UI instead of the one I've seen across
the web, I'm sure I had to have messed up along the way somewhere.

-Shawn T.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


ASU on qemu review

2008-06-30 Thread Johny Tenfinger
Hi!

I wrote a review of ASU on GTA01 emulator. It's written in polish
language, but it have many "international" pictures :) Maybe someone
will be interested. Here is a link:
http://dos.jogger.pl/2008/06/29/asu-to-przyszlosc/

In polish text I said much about, what I was doing step-by-step and
that I was delighted of smooth animations ;)

Oh, and sorry for my ugly english :P

dos

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Audio in qemu?

2008-06-10 Thread Roland Häder
Hi,

I wonder if audio support is available when I build the qemu with MokoMakefile 
and "make qemu"? Sorry for bad english. :) I'm still improving it. ;)

BTW: I have added --enable-alsa to the configure script because I have ALSA 
here.

Roland


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


QEMU Emulator Problem

2008-05-19 Thread Masoom Alam
Hi every one,

I am using Ubuntu Version Ubuntu 8.04 ,the Hardy Heron

I want to compile QEMU Emulator for OpenMOKO.

make setup command was successful, however, make openmoko-devel-image is not
running succesfully and giving the following errors:

1. First it gives,
/proc/sys/vm/mmap_min_addr is not 0. This will cause problems with qemu
so please fix the value (as root).

I fixed this by using  echo '0' > /proc/sys/vm/mmap_min_addr

2. However, again the build is stuck:
make openmoko-devel-image
( cd build && . ../setup-env && \
  ( bitbake openmoko-devel-image u-boot-openmoko ) )
ERROR: no files to build.

Could you kindly highlight, what is the source of error.

Thank You,
MM ALam

-- 
Muhammad Masoom Alam
Univeristy of Innsbruck
Austria
Off# +43 512 507 6462
Mob# 0650 543 8975
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu image? - Addion

2008-05-16 Thread Roland Häder
Here is my OE configuration:

OE Build Configuration:
BB_VERSION = "1.8.10"
OE_REVISION= "fd570626c1163ee4e85aa89f3de2cbe9f053"
TARGET_ARCH= "arm"
TARGET_OS  = "linux-gnueabi"
MACHINE= "om-gta01"
DISTRO = "openmoko"
DISTRO_VERSION = "P1-Snapshot-20080516"
TARGET_FPU = "soft"

As I can see om-gta01 ist the machine? Hmmm...

-- 
(GNU) PGP ID: 0x4D385570

Weblog:
http://blog.mxchange.org


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu image?

2008-05-16 Thread Roland Häder
As far as I understand the logic and the version number: Yes. But I might be 
wrong. :)

On Friday, 16. May 2008, George Brooke wrote:
> Hi people,
>
> could some one explain this to me,
>
> Is the OM image that you get when you build qemu with the mokomakefile
> fairly close to the system that will ship with the phone?
>
> Will the next software update completely replace this with a different
> interface?
>
> solar.george
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community



-- 
(GNU) PGP ID: 0x4D385570

Weblog:
http://blog.mxchange.org


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Qemu image?

2008-05-16 Thread George Brooke
Hi people,

could some one explain this to me,

Is the OM image that you get when you build qemu with the mokomakefile
fairly close to the system that will ship with the phone?

Will the next software update completely replace this with a different
interface?

solar.george

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QEMU slooooow

2008-04-22 Thread Tilman Baumann

Eildert Groeneveld wrote:

Hi List

just wondering if everyone else is suffering from a veeey slow 
operation in qemu openmoko. First it takes 10 minutes too boot and then 
trying the applications like calendar or entering telephon numbers is so slow 
that I never got past one entry.


As I have not really seen any comments in this regards, maybe there are means 
to speed this up.


The quemo in this setup emulates the whole phone.

If you only want to see how the software works, check out Xoo.
http://wiki.openmoko.org/wiki/Host-based_development_with_Xoo_and_Xephyr
Surely, some hardware depended things will not work, but it will be faster.
Depends on what you want...

Qemu was always a tool to emulate the phone and not to evaluate any 
software in realtime speed.
There where times where only a emulator existed for the Neo, no 
hardware. This was when the qemu setup came up.


PS: I never tested Xoo. I trust the wiki howto works.

Regards
 Tilman

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QEMU slooooow

2008-04-22 Thread Bastian Muck

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

AFAIK the emulator emulates the hardware of the neo. This is of course 
not very effiicient because the neo uses non X86-architecture. On my 
desktop-pc (AMD XP 3000+) qemu is also unusable slow. On my laptop 
(Core2Duo 1,86) it is a lot faster (could be used as phone, but for 
ordinary use also a bit slow).


Greetings Bastian

Steven Le Roux schrieb:
|
|
| On Tue, Apr 22, 2008 at 4:17 PM, Rune Gangstø <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:

|
| I've noticed the same thing.
| I haven't tried it for a long time, so I can't say if it's just 
some other options in QEMU.

| If anyone knows anything, please share with us.
|
| 2008/4/22, Tomas Gustavsson <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>>:

|
| I totally agree with you. I have tried OpenMoko several times 
through
| QEMU but the waiting has been unreasonable long so the testing 
doesn't

| last very long...
|
| 2008/4/22, Eildert Groeneveld <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>>:

|
| > Hi List
| >
| > just wondering if everyone else is suffering from a 
veeey slow
| > operation in qemu openmoko. First it takes 10 minutes too 
boot and then
| > trying the applications like calendar or entering telephon 
numbers is so slow

| > that I never got past one entry.
| >
| > As I have not really seen any comments in this regards, 
maybe there are means

| > to speed this up.
| >
| > greetings
| >
| > Eildert
| >
|
|
| Yep same pb here... but I was trying on a dell x1 (ULV 1,1GHz so i was 
thinking mabe it was normal...)

|
| the last time I tried was 2 weeks ago.
|
|
|
|
| --
| Steven Le Roux
| Jabber-ID : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
|
| -
|
| ___
| Openmoko community mailing list
| community@lists.openmoko.org
| http://lists.openmoko.org/mailman/listinfo/community

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIDgqllYiDScJJ+7QRAjZwAJ46sJV3XRzorCLZCm2J5v94yfVVSwCg6Rsv
50JdvgpwFbPrCLVqWuKmbyw=
=DElo
-END PGP SIGNATURE-


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QEMU slooooow

2008-04-22 Thread Steven Le Roux
On Tue, Apr 22, 2008 at 4:17 PM, Rune Gangstø <[EMAIL PROTECTED]> wrote:

> I've noticed the same thing.
> I haven't tried it for a long time, so I can't say if it's just some other
> options in QEMU.
> If anyone knows anything, please share with us.
>
> 2008/4/22, Tomas Gustavsson <[EMAIL PROTECTED]>:
>
> > I totally agree with you. I have tried OpenMoko several times through
> > QEMU but the waiting has been unreasonable long so the testing doesn't
> > last very long...
> >
> > 2008/4/22, Eildert Groeneveld <[EMAIL PROTECTED]>:
> >
> > > Hi List
> > >
> > > just wondering if everyone else is suffering from a veeey slow
> > > operation in qemu openmoko. First it takes 10 minutes too boot and
> > then
> > > trying the applications like calendar or entering telephon numbers is
> > so slow
> > > that I never got past one entry.
> > >
> > > As I have not really seen any comments in this regards, maybe there
> > are means
> > > to speed this up.
> > >
> > > greetings
> > >
> > > Eildert
> > >
>
>
Yep same pb here... but I was trying on a dell x1 (ULV 1,1GHz so i was
thinking mabe it was normal...)

the last time I tried was 2 weeks ago.




-- 
Steven Le Roux
Jabber-ID : [EMAIL PROTECTED]
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QEMU slooooow

2008-04-22 Thread Rune Gangstø
I've noticed the same thing.
I haven't tried it for a long time, so I can't say if it's just some other
options in QEMU.
If anyone knows anything, please share with us.

2008/4/22, Tomas Gustavsson <[EMAIL PROTECTED]>:
>
> I totally agree with you. I have tried OpenMoko several times through
> QEMU but the waiting has been unreasonable long so the testing doesn't
> last very long...
>
> 2008/4/22, Eildert Groeneveld <[EMAIL PROTECTED]>:
>
> > Hi List
> >
> > just wondering if everyone else is suffering from a veeey slow
> > operation in qemu openmoko. First it takes 10 minutes too boot and then
> > trying the applications like calendar or entering telephon numbers is so
> slow
> > that I never got past one entry.
> >
> > As I have not really seen any comments in this regards, maybe there are
> means
> > to speed this up.
> >
> > greetings
> >
> > Eildert
> >
> > ___
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> >
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QEMU slooooow

2008-04-22 Thread Tomas Gustavsson
I totally agree with you. I have tried OpenMoko several times through
QEMU but the waiting has been unreasonable long so the testing doesn't
last very long...

2008/4/22, Eildert Groeneveld <[EMAIL PROTECTED]>:
> Hi List
>
> just wondering if everyone else is suffering from a veeey slooooow
> operation in qemu openmoko. First it takes 10 minutes too boot and then
> trying the applications like calendar or entering telephon numbers is so slow
> that I never got past one entry.
>
> As I have not really seen any comments in this regards, maybe there are means
> to speed this up.
>
> greetings
>
> Eildert
>
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


QEMU slooooow

2008-04-22 Thread Eildert Groeneveld
Hi List

just wondering if everyone else is suffering from a veeey slow 
operation in qemu openmoko. First it takes 10 minutes too boot and then 
trying the applications like calendar or entering telephon numbers is so slow 
that I never got past one entry.

As I have not really seen any comments in this regards, maybe there are means 
to speed this up.

greetings

Eildert

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu images for FreeRunner

2008-04-06 Thread Michele Renda

Good luck

Alexander Frøyseth wrote:

This will wait til tomorrow
up 6:15 AM




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu images for FreeRunner

2008-04-06 Thread Alexander Frøyseth

This will wait til tomorrow
up 6:15 AM

Michele Renda skrev:

Nice question

The only way I know is this:

  1. launch the qemu emulator and load the image
  2. Using this wiki configure the ssh access
 
(http://wiki.openmoko.org/wiki/OpenMoko_under_QEMU#Simple_network_connection_with_pppd) 


  3. Then to configure sshfs on your pc to access to a ssh share :) You
 will mount the image as a ssh share  and enjoy :) (Ps. if you
 use gnome you can use Places -> Connect to server -> ssh, it run)



Alexander Frøyseth wrote:

I found out of it now.
but how do I transfere files to det image?
Can I do that at all?



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu images for FreeRunner

2008-04-06 Thread Michele Renda

Nice question

The only way I know is this:

  1. launch the qemu emulator and load the image
  2. Using this wiki configure the ssh access
 
(http://wiki.openmoko.org/wiki/OpenMoko_under_QEMU#Simple_network_connection_with_pppd)
  3. Then to configure sshfs on your pc to access to a ssh share :) You
 will mount the image as a ssh share  and enjoy :) (Ps. if you
 use gnome you can use Places -> Connect to server -> ssh, it run)



Alexander Frøyseth wrote:

I found out of it now.
but how do I transfere files to det image?
Can I do that at all?



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu images for FreeRunner

2008-04-06 Thread Alexander Frøyseth

Michele Renda skrev:

Sorry for delay :)

I to solve this problem you can delete all the *.jffs2 and *.bin files 
from you qemu-neo1973/openmoko directory.


Then to launch another time the openmoko/download.sh script.

This issue is generated by an wrong image sorting, that put you to use 
an old image with a new svn version of the software. It made me crazy :)


Ps. Don't forget to make a "svn update" before to download :)


Alexander Frøyseth wrote:

Michele Renda skrev:

Alexander Frøyseth wrote:

Can you send a link to the image?

I use the qemu image available using:

svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973

then making openmoko/download.sh it download the openmoko image.

I undestand that to have an Freerunner emulator I have to apply the 
/openmoko/linux-gta02-pseudo.patch


It is right?
/



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Hmm
I get an error message when I rune openmoko/flash.sh

[EMAIL PROTECTED]:~/qemu-neo1973$ ./openmoko/flash.sh
/usr/bin/pngtopnm
/usr/bin/ppmtorgb3
make: `splash.gz' is up to date.
Using 'uImage-2.6.24+svnr4301-r4251-r5-om-gta01.bin' as the kernel 
image.
Using 
'Openmoko-openmoko-devel-image-glibc-ipk-P1-Snapshot-20080406-om-gta01.rootfs.jffs2' 
as the root filesystem image.
Using 
'u-boot-gta01bv4-1.3.1+svnr4297+gitb29661fc115106454288051bc9a488351ce8-r3.bin' 
as bootloader.

# Making an empty/erased flash image.  Need a correct echo behavior.
echo -en \\0377\\0377\\0377\\0377\\0377\\0377\\0377\\0377 > .8b
cat .8b .8b > .16b # OOB is 16 bytes
cat .16b .16b .16b .16b .16b .16b .16b .16b > .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .512b .16b > .sec # A sector is 512 bytes of data + OOB
cat .sec .sec .sec .sec .sec .sec .sec .sec > .8sec
cat .8sec .8sec .8sec .8sec .8sec .8sec .8sec .8sec > .64sec
cat .64sec .64sec .64sec .64sec .64sec .64sec .64sec .64sec > .512sec
cat .512sec .512sec .512sec .512sec > .2ksec
cat .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec > .16ksec
# Neo NAND is 128k sectors big
cat .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec > 
openmoko-flash.base

rm -rf .8b .16b .512b .sec .8sec .64sec .512sec .2ksec .16ksec
./openmoko/flash.sh: line 80: 
/home/alectbm/qemu-neo1973/arm-softmmu/qemu-system-arm: No such file 
or directory

Please wait, programming the NAND flash...

U-boot failed to finish writing in 300 seconds, giving up.


Any idea to a solution?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

I found out of it now.
but how do I transfere files to det image?
Can I do that at all?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu images for FreeRunner

2008-04-06 Thread Michele Renda

Sorry for delay :)

I to solve this problem you can delete all the *.jffs2 and *.bin files 
from you qemu-neo1973/openmoko directory.


Then to launch another time the openmoko/download.sh script.

This issue is generated by an wrong image sorting, that put you to use 
an old image with a new svn version of the software. It made me crazy :)


Ps. Don't forget to make a "svn update" before to download :)


Alexander Frøyseth wrote:

Michele Renda skrev:

Alexander Frøyseth wrote:

Can you send a link to the image?

I use the qemu image available using:

svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973

then making openmoko/download.sh it download the openmoko image.

I undestand that to have an Freerunner emulator I have to apply the 
/openmoko/linux-gta02-pseudo.patch


It is right?
/



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Hmm
I get an error message when I rune openmoko/flash.sh

[EMAIL PROTECTED]:~/qemu-neo1973$ ./openmoko/flash.sh
/usr/bin/pngtopnm
/usr/bin/ppmtorgb3
make: `splash.gz' is up to date.
Using 'uImage-2.6.24+svnr4301-r4251-r5-om-gta01.bin' as the kernel image.
Using 
'Openmoko-openmoko-devel-image-glibc-ipk-P1-Snapshot-20080406-om-gta01.rootfs.jffs2' 
as the root filesystem image.
Using 
'u-boot-gta01bv4-1.3.1+svnr4297+gitb29661fc115106454288051bc9a488351ce8-r3.bin' 
as bootloader.

# Making an empty/erased flash image.  Need a correct echo behavior.
echo -en \\0377\\0377\\0377\\0377\\0377\\0377\\0377\\0377 > .8b
cat .8b .8b > .16b # OOB is 16 bytes
cat .16b .16b .16b .16b .16b .16b .16b .16b > .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .512b .16b > .sec # A sector is 512 bytes of data + OOB
cat .sec .sec .sec .sec .sec .sec .sec .sec > .8sec
cat .8sec .8sec .8sec .8sec .8sec .8sec .8sec .8sec > .64sec
cat .64sec .64sec .64sec .64sec .64sec .64sec .64sec .64sec > .512sec
cat .512sec .512sec .512sec .512sec > .2ksec
cat .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec > .16ksec
# Neo NAND is 128k sectors big
cat .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec > 
openmoko-flash.base

rm -rf .8b .16b .512b .sec .8sec .64sec .512sec .2ksec .16ksec
./openmoko/flash.sh: line 80: 
/home/alectbm/qemu-neo1973/arm-softmmu/qemu-system-arm: No such file 
or directory

Please wait, programming the NAND flash...

U-boot failed to finish writing in 300 seconds, giving up.


Any idea to a solution?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu images for FreeRunner

2008-04-06 Thread Alexander Frøyseth

Michele Renda skrev:

Alexander Frøyseth wrote:

Can you send a link to the image?

I use the qemu image available using:

svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973

then making openmoko/download.sh it download the openmoko image.

I undestand that to have an Freerunner emulator I have to apply the 
/openmoko/linux-gta02-pseudo.patch


It is right?
/



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

I found out of it
Used this guide: http://wiki.openmoko.org/wiki/Automatic_emulation_in_Ubuntu

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu images for FreeRunner

2008-04-06 Thread Alexander Frøyseth

Michele Renda skrev:

Alexander Frøyseth wrote:

Can you send a link to the image?

I use the qemu image available using:

svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973

then making openmoko/download.sh it download the openmoko image.

I undestand that to have an Freerunner emulator I have to apply the 
/openmoko/linux-gta02-pseudo.patch


It is right?
/



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Hmm
I get an error message when I rune openmoko/flash.sh

[EMAIL PROTECTED]:~/qemu-neo1973$ ./openmoko/flash.sh
/usr/bin/pngtopnm
/usr/bin/ppmtorgb3
make: `splash.gz' is up to date.
Using 'uImage-2.6.24+svnr4301-r4251-r5-om-gta01.bin' as the kernel image.
Using 
'Openmoko-openmoko-devel-image-glibc-ipk-P1-Snapshot-20080406-om-gta01.rootfs.jffs2' 
as the root filesystem image.
Using 
'u-boot-gta01bv4-1.3.1+svnr4297+gitb29661fc115106454288051bc9a488351ce8-r3.bin' 
as bootloader.

# Making an empty/erased flash image.  Need a correct echo behavior.
echo -en \\0377\\0377\\0377\\0377\\0377\\0377\\0377\\0377 > .8b
cat .8b .8b > .16b # OOB is 16 bytes
cat .16b .16b .16b .16b .16b .16b .16b .16b > .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .16b .16b .16b .16b .16b .16b .16b .16b >> .512b
cat .512b .16b > .sec # A sector is 512 bytes of data + OOB
cat .sec .sec .sec .sec .sec .sec .sec .sec > .8sec
cat .8sec .8sec .8sec .8sec .8sec .8sec .8sec .8sec > .64sec
cat .64sec .64sec .64sec .64sec .64sec .64sec .64sec .64sec > .512sec
cat .512sec .512sec .512sec .512sec > .2ksec
cat .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec .2ksec > .16ksec
# Neo NAND is 128k sectors big
cat .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec > 
openmoko-flash.base

rm -rf .8b .16b .512b .sec .8sec .64sec .512sec .2ksec .16ksec
./openmoko/flash.sh: line 80: 
/home/alectbm/qemu-neo1973/arm-softmmu/qemu-system-arm: No such file or 
directory

Please wait, programming the NAND flash...

U-boot failed to finish writing in 300 seconds, giving up.


Any idea to a solution?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu images for FreeRunner

2008-04-04 Thread Alexander Frøyseth

Thanks
I will try it when I is in Linux

Michele Renda skrev:

Alexander Frøyseth wrote:

Can you send a link to the image?

I use the qemu image available using:

svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973

then making openmoko/download.sh it download the openmoko image.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu images for FreeRunner

2008-04-04 Thread Michele Renda

Alexander Frøyseth wrote:

Can you send a link to the image?

I use the qemu image available using:

svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973

then making openmoko/download.sh it download the openmoko image.

I undestand that to have an Freerunner emulator I have to apply the 
/openmoko/linux-gta02-pseudo.patch

It is right?
/



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu images for FreeRunner

2008-04-04 Thread Alexander Frøyseth
Can you send a link to the image?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Qemu images for FreeRunner

2008-04-04 Thread Michele Renda

Hello

I'd like to know if there is a qemu image of freerunner.
Now I am using qemu-neo1973: the software conteined in this release is 
the same software that it will be present in freerunner?


This image contains also the GPS emulation?

Thank you

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu on GTA02, the problem still here

2008-03-24 Thread François TOURDE
Le 13962ième jour après Epoch,
John Lee écrivait:

> Right now we have git hash in filename so the alpha sorting will not
> be correct, so the function needs to be updated anyway.

The svn version is in the filename too, so it will be probably the
good way to get the last version.

> Normally when I flash qemu I always modify openmoko/env to make sure
> it gets the file I wanted.

I prefer using mokomakefile, to focus on writing C++ code instead of
playing with the build chain, but you're right, modifying openmoko/env
file was the solution for me... execpt on 'make qemu-local' :(

Next step will be "trying to run Xephyr version" ... And I imagine it
will be the same hard job :p

Thanks anyway for your time and your help. And again, good job guys,
for what you're doing on the free side of the world !

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu on GTA02, the problem still here

2008-03-24 Thread John Lee
On Mon, Mar 24, 2008 at 02:12:00PM +0100, François TOURDE wrote:
> Le 13961ième jour après Epoch,
> John Lee écrivait:
> 
> But it doesn't :(... In fact, the "most_recent" function in
> "download.sh" use alpha sorting to determine the most recent images,
> so in the list:
> 
> u-boot-gta01bv4-1.3.1+svnr4223+gitb29661fc115106454288051bc9a488351ce8-r3.bin
> u-boot-gta01bv4-1.3.1+git0+b29661fc115106454288051bc9a488351ce8+svn4230-r3.bin
> 
> the first one is the winner :(
> 
> Perhaps renaming the file on the server is a good bypass, then
> modifying the "most_recent" proc.
> 
> Hope this help...
> 

Seems I don't have enough files in my local deploy directory.  :)

Right now we have git hash in filename so the alpha sorting will not
be correct, so the function needs to be updated anyway.

Normally when I flash qemu I always modify openmoko/env to make sure
it gets the file I wanted.

Regards,
John

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu on GTA02, the problem still here

2008-03-24 Thread François TOURDE
Le 13961ième jour après Epoch,
John Lee écrivait:

> On Sun, Mar 23, 2008 at 10:53:45AM +0100, Jens Fursund wrote:
>> On Sun, 2008-03-23 at 02:55 +0300, Evgeny Ginzburg wrote:
>> > In current builds this bug exists, patch inserted in revision 4230, but 
>> > i really don't know which revision OE use now & how migrate to > 4230.
>
> It's on buildhost already:
> http://buildhost.openmoko.org/daily/neo1973/deploy/glibc/images/neo1973/u-boot-gta01bv4-1.3.1+git0+b29661fc115106454288051bc9a488351ce8+svn4230-r3.bin
>
> the default env used by download.sh and flash.sh should be able to use
> the latest files automatically, so MokoMakefile will also work.

But it doesn't :(... In fact, the "most_recent" function in
"download.sh" use alpha sorting to determine the most recent images,
so in the list:

u-boot-gta01bv4-1.3.1+svnr4223+gitb29661fc115106454288051bc9a488351ce8-r3.bin
u-boot-gta01bv4-1.3.1+git0+b29661fc115106454288051bc9a488351ce8+svn4230-r3.bin

the first one is the winner :(

Perhaps renaming the file on the server is a good bypass, then
modifying the "most_recent" proc.

Hope this help...

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu on GTA02, the problem still here

2008-03-24 Thread Jens Fursund
Thank you! I deleted my .bin and .jfs2 copied the build you linked to
into the folder, ran download.sh and then flash.sh... and now it
works...

Hope this helps others to know what to do!

Best Regards,

Jens

On Mon, 2008-03-24 at 02:46 +0800, John Lee wrote:
> On Sun, Mar 23, 2008 at 10:53:45AM +0100, Jens Fursund wrote:
> > On Sun, 2008-03-23 at 02:55 +0300, Evgeny Ginzburg wrote:
> > > In current builds this bug exists, patch inserted in revision 4230, but 
> > > i really don't know which revision OE use now & how migrate to > 4230.
> 
> It's on buildhost already:
> http://buildhost.openmoko.org/daily/neo1973/deploy/glibc/images/neo1973/u-boot-gta01bv4-1.3.1+git0+b29661fc115106454288051bc9a488351ce8+svn4230-r3.bin
> 
> the default env used by download.sh and flash.sh should be able to use
> the latest files automatically, so MokoMakefile will also work.  I
> think you can use these images (u-boot, kernel, rootfs) first and
> update it by your ipkg/binary later to ease the trouble.
> 
> > Well svn up says revision 4241, and the bug is still there... :(
> 
> No, it's not.  Check console-ansi.patch
> 
> http://svn.openmoko.org/trunk/src/target/u-boot/patches/console-ansi.patch
> 
> svn update the openmoko directory under /moko is not equivalent to
> updating the package built from OE.  maybe you can enable
> moko-autorev.inc or download from the uri above.
> 
> 
> Regards,
> John
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu on GTA02, the problem still here

2008-03-23 Thread Michele Renda

A lot of person has this problem:

Since last commit of Andrew was changed the source of openmoko builds.
Recent openmoko builds solved the problem, but a lot of persons, and 
also I, continued to have the same problem, being unable to use:


openmoko/build.sh

The solution is very easy: go in openmoko directory and to move all the 
*.bin and *.jffs2 files to a tmp directory.

Then run another time:

openmoko/download.sh
openmoko/build.sh

and the problem will be solved

Happy Openmoko

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu on GTA02, the problem still here

2008-03-23 Thread John Lee
On Sun, Mar 23, 2008 at 10:53:45AM +0100, Jens Fursund wrote:
> On Sun, 2008-03-23 at 02:55 +0300, Evgeny Ginzburg wrote:
> > In current builds this bug exists, patch inserted in revision 4230, but 
> > i really don't know which revision OE use now & how migrate to > 4230.

It's on buildhost already:
http://buildhost.openmoko.org/daily/neo1973/deploy/glibc/images/neo1973/u-boot-gta01bv4-1.3.1+git0+b29661fc115106454288051bc9a488351ce8+svn4230-r3.bin

the default env used by download.sh and flash.sh should be able to use
the latest files automatically, so MokoMakefile will also work.  I
think you can use these images (u-boot, kernel, rootfs) first and
update it by your ipkg/binary later to ease the trouble.

> Well svn up says revision 4241, and the bug is still there... :(

No, it's not.  Check console-ansi.patch

http://svn.openmoko.org/trunk/src/target/u-boot/patches/console-ansi.patch

svn update the openmoko directory under /moko is not equivalent to
updating the package built from OE.  maybe you can enable
moko-autorev.inc or download from the uri above.


Regards,
John

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu on GTA02, the problem still here

2008-03-23 Thread Jens Fursund
On Sun, 2008-03-23 at 02:55 +0300, Evgeny Ginzburg wrote:
> In current builds this bug exists, patch inserted in revision 4230, but 
> i really don't know which revision OE use now & how migrate to > 4230.
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

Well svn up says revision 4241, and the bug is still there... :(


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu on GTA02, the problem still here

2008-03-22 Thread Evgeny Ginzburg

Toni Schmidbauer wrote:


Just remind to all.
It still doesn't work with latest sources, at least on my Debian Sid
I've localized problem to lines 79-81 of flash.sh, but have no idea
how to fix it.
Log http://pastebin.com/m55e0ddaa


http://thread.gmane.org/gmane.comp.handhelds.openmoko.thirdparty/1574

this thread should answer your question. it's a bug in u-boot, a patch
is already available and was merged by werner almesberger.


In current builds this bug exists, patch inserted in revision 4230, but 
i really don't know which revision OE use now & how migrate to > 4230.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu on GTA02, the problem still here

2008-03-22 Thread Toni Schmidbauer
At Sat, 22 Mar 2008 14:34:41 +0300,
Evgeny Ginzburg wrote:
> Just remind to all.
> It still doesn't work with latest sources, at least on my Debian Sid
> I've localized problem to lines 79-81 of flash.sh, but have no idea
> how to fix it.
> Log http://pastebin.com/m55e0ddaa

http://thread.gmane.org/gmane.comp.handhelds.openmoko.thirdparty/1574

this thread should answer your question. it's a bug in u-boot, a patch
is already available and was merged by werner almesberger.

hth
toni
-- 
If you understand what you're doing, you're | toni at stderror dot at
not learning anything.  | Toni Schmidbauer
-- Anonymous|

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Qemu on GTA02, the problem still here

2008-03-22 Thread Evgeny Ginzburg

Jens Fursund wrote:

Same problem here :(

On Fri, Mar 7, 2008 at 9:56 AM, Michele Renda <[EMAIL PROTECTED]>
wrote:


Hello

I have no idea about the GTA02 instructions for Qemu, but this morning I
saw that the GTA01 for Qemu stopped to run.
This morning there was a commit by andrew :)

after make clean && ./configure.sh && make &&  openmoko/flash.sh I got
this error:

qemu: fatal: Trying to execute code outside RAM or ROM at 0x

Someone had the same issue?

Thank to all, and compliment to the mailing list

2008/3/6, François TOURDE <[EMAIL PROTECTED]>:


Hi,

I've not found in the Wiki how to run GTA02 and associated OM images
on a qemu.

Is it possible?

Thanks in advance for any link/idea.




Just remind to all.
It still doesn't work with latest sources, at least on my Debian Sid
I've localized problem to lines 79-81 of flash.sh, but have no idea how 
to fix it.

Log http://pastebin.com/m55e0ddaa



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Using Qemu for GTA02

2008-03-07 Thread Jens Fursund
Same problem here :(

On Fri, Mar 7, 2008 at 9:56 AM, Michele Renda <[EMAIL PROTECTED]>
wrote:

> Hello
>
> I have no idea about the GTA02 instructions for Qemu, but this morning I
> saw that the GTA01 for Qemu stopped to run.
> This morning there was a commit by andrew :)
>
> after make clean && ./configure.sh && make &&  openmoko/flash.sh I got
> this error:
>
> qemu: fatal: Trying to execute code outside RAM or ROM at 0x
>
> Someone had the same issue?
>
> Thank to all, and compliment to the mailing list
>
> 2008/3/6, François TOURDE <[EMAIL PROTECTED]>:
>
> > Hi,
> >
> > I've not found in the Wiki how to run GTA02 and associated OM images
> > on a qemu.
> >
> > Is it possible?
> >
> > Thanks in advance for any link/idea.
> >
> > ___
> > OpenMoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> >
>
>
> ___
> OpenMoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
>
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


RE: Using Qemu for GTA02

2008-03-07 Thread David Samblas Martinez
I'm interested too,
seems that there is some work done
http://svnweb.openmoko.org/trunk/src/host/qemu-neo1973/openmoko/README?rev=3614&view=markup
to simulate the wifi , but I don't see anything on
accelerometers simulation.

More detailed information will be apreciated

--- François TOURDE <[EMAIL PROTECTED]> escribió:

> Hi,
> 
> I've not found in the Wiki how to run GTA02 and
> associated OM images
> on a qemu.
> 
> Is it possible?
> 
> Thanks in advance for any link/idea.
> 
> ___
> OpenMoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 



  __ 
Enviado desde Correo Yahoo!
Disfruta de una bandeja de entrada más inteligente. 
http://es.docs.yahoo.com/mail/overview/index.html


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Using Qemu for GTA02

2008-03-07 Thread Michele Renda
Hello

I have no idea about the GTA02 instructions for Qemu, but this morning I saw
that the GTA01 for Qemu stopped to run.
This morning there was a commit by andrew :)

after make clean && ./configure.sh && make &&  openmoko/flash.sh I got this
error:

qemu: fatal: Trying to execute code outside RAM or ROM at 0x

Someone had the same issue?

Thank to all, and compliment to the mailing list

2008/3/6, François TOURDE <[EMAIL PROTECTED]>:
>
> Hi,
>
> I've not found in the Wiki how to run GTA02 and associated OM images
> on a qemu.
>
> Is it possible?
>
> Thanks in advance for any link/idea.
>
> ___
> OpenMoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Using Qemu for GTA02

2008-03-06 Thread François TOURDE
Hi,

I've not found in the Wiki how to run GTA02 and associated OM images
on a qemu.

Is it possible?

Thanks in advance for any link/idea.

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Problem trying to build qemu-local using MokoMakefile

2008-03-04 Thread Evgeny Ginzburg

François TOURDE wrote:

Hi,

Trying to run "make qemu-local", I got the following message, some
lines after "Please wait, programming the NAND flash..."

-8<---8<---8<---8<---8<--
neo_vib_switch: Vibrator stopped.
neo_bl_switch: LCD Backlight now on.
qemu: fatal: Trying to execute code outside RAM or ROM at 0x
-8<---8<---8<---8<---8<--

(More detailed trace can be found here: http://pastebin.com/m239ade67)

Got the same error
on Debian sid


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Problem trying to build qemu-local using MokoMakefile

2008-03-01 Thread François TOURDE
Hi,

Trying to run "make qemu-local", I got the following message, some
lines after "Please wait, programming the NAND flash..."

-8<---8<---8<---8<---8<--
neo_vib_switch: Vibrator stopped.
neo_bl_switch: LCD Backlight now on.
qemu: fatal: Trying to execute code outside RAM or ROM at 0x
-8<---8<---8<---8<---8<--

(More detailed trace can be found here: http://pastebin.com/m239ade67)

Any idea?

Thanks in advance.

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: flash.sh failed when setup qemu-neo1973

2007-10-31 Thread Rod Whitby
Sudharshan S wrote:
> On Wed, 2007-10-31 at 17:47 +0800, 孙廉焘 wrote:
>> Thanks to the help of Rod and Gordon Syme!
>>  
>> I have solved the problem and qemu-neo-1973 is running now!
>>  
> I think this has been fixed from r3304.
> http://lists.openmoko.org/pipermail/commitlog/2007-October/002946.html

No, that is the revision which "caused" the problem.  It is a correct
change (i.e. the kernel wildcard has indeed changed), but it doesn't
handle the case of downloading snapshots generated before the time that
the kernel suffix changed.

I propose that symlinks in the snapshot release directory at openmoko is
the easiest way to fix that.

> $ make update
> and you are set to rock...=D

make update won't fix this problem.

-- Rod

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: flash.sh failed when setup qemu-neo1973

2007-10-31 Thread Sudharshan S

On Wed, 2007-10-31 at 17:47 +0800, 孙廉焘 wrote:
> Thanks to the help of Rod and Gordon Syme!
>  
> I have solved the problem and qemu-neo-1973 is running now!
>  
> What I have done is:
> 1. modified kernel_wildcard variable in the openmoko/env file,
> replacing '-neo1973' with '-fic-gta01';
> 2. run openmoko/download.sh, and the uImage-2.6.21.5-r3-fic-gta01.bin
> is downloaded;
> 3. run openmoko/flash.sh

I think this has been fixed from r3304.
http://lists.openmoko.org/pipermail/commitlog/2007-October/002946.html

$ make update
and you are set to rock...=D

-- 
Sudharshan S
blog: http://www.sudharsh.wordpress.com


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: flash.sh failed when setup qemu-neo1973

2007-10-31 Thread 孙廉焘
Thanks to the help of Rod and Gordon Syme!

I have solved the problem and qemu-neo-1973 is running now!

What I have done is:
1. modified kernel_wildcard variable in the openmoko/env file, replacing
'-neo1973' with '-fic-gta01';
2. run openmoko/download.sh, and the uImage-2.6.21.5-r3-fic-gta01.bin is
downloaded;
3. run openmoko/flash.sh

sytax
[EMAIL PROTECTED]
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: flash.sh failed when setup qemu-neo1973

2007-10-31 Thread Gordon Syme
孙廉焘 wrote:
> Hi all,
> 
> I have a problem, when I setup the qemu-neo1973 envirement followed by
> http://wiki.openmoko.org/wiki/Qemu.
> 
> I have done these steps:
> sudo apt-get install netpbm lynx
> svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973
> cd qemu-neo1973
>  ./configure --target-list=arm-softmmu --cc=/home/sunlt/gcc33
>  make
> openmoko/download.sh
> openmoko/flash.sh
> 
> After openmoko/flash.sh, the output information is listed briefly as
> following(full version is an attachment):
> 
> ls: /root/openmoko/qemu-neo1973/openmoko/uImage-2.6.*-neo1973.bin: No
> such file or directory
> U-Boot 1.2.0-moko9_r0 (Aug 19 2007 - 19:17:12)
>  DRAM:  128 MB
>  NAND:  Bad block table not found for chip 0
>  Bad block table not found for chip 0
>  64 MiB
>  *** Warning - bad CRC or NAND, using default environment
> Creating BBT. Please wait ...Bad block table not found for chip 0
> Bad block table not found for chip 0
> Bad block table written to 0x03ffc000, version 0x01
> Bad block table written to 0x03ff8000, version 0x01
> 
> GTA01Bv4 # setenv bootcmd 'setenv bootargs ${bootargs_base}
> ${mtdparts}; bootm 0x3100'
> GTA01Bv4 # setenv menu_1 'Set console to USB: setenv stdin usbtty;
> setenv stdout usbtty; setenv stderr usbtty'
> GTA01Bv4 # setenv menu_2 'Set console to serial: setenv stdin serial;
> setenv stdout serial; setenv stderr serial'
> GTA01Bv4 # setenv menu_3 'Power off: neo1973 power-off'
> GTA01Bv4 # setenv splashimage 'nand read.e 0x3600 splash 0x5000;
> unzip 0x3600 0x33d0 0x96000'
> GTA01Bv4 # setenv mtdids nand0=neo1973-nand
> GTA01Bv4 # setenv mtdparts
> mtdparts=neo1973-nand:0x0005(u-boot),0x4000(u-boot_env),0x00208000(kernel),0x0001(splash),0x039a4000(rootfs)
> GTA01Bv4 # #dynpart
> Unknown command '#dynpart' - try 'help'
> GTA01Bv4 # nand write.e 0x3100 u-boot 0x33660
> 
> NAND write: device 0 offset 0x0, size 0x33660
> 
> Writing data at 0x33600 -- 100% complete.
> 
> Erasing Nand...Writing to Nand... done
> GTA01Bv4 # neo1973 power-off
> poweroff
> pcf_write: Power-off requested.
> openmoko/flash.sh: line 114: 30382 已终止   ( sleep $2; kill
> $pid; sleep 1; kill -KILL $pid )  (wd: /root/openmoko/qemu-neo1973)
> Please wait, programming the NAND flash...
> neo_gsm_switch: GSM disabled.
> 
> pcf_write: Power-off requested.
> Please wait, programming the NAND flash...
> sleep: invalid time interval 'nand'
> sleep: invalid time interval 'write.e'
> sleep: invalid time interval 'kernel'
> For more information, try 'sleep --help'
> openmoko/flash.sh: line 88: 30385 terminaled   ( sleep $2;
> kill $pid; sleep 1; kill -KILL $pid )
> openmoko/flash.sh: line 88: 30387 terminaled   $qemu
> -mtdblock "$script_dir/$flash_base" -kernel "$script_dir/$1" -serial
> stdio -nographic -usb -monitor null 0<&0
> 
> U-boot failed to finish writing in nand write.e 0x3100 kernel
> 0x1000 seconds, giving up.
> 
> Who can help me?
> Thank you very much!

cd to your OpenMoko root directory and then cd to images/openmoko. There should
be at least three files in there:
[*] A .rootfs file which is the root filesystem for the device
[*] A u-boot file, this is the bootloader
[*] A uImage file, this is the kernel

It is very likely that the flashing program couldn't find the kernel. The
pattern that the flashing program uses to recognise kernels is kept in
build/qemu/openmoko/env in the "kernel_wildcard" variable.

Make sure that the uImage file in images/openmoko matches this pattern and you
should be OK.

-Gordon



signature.asc
Description: OpenPGP digital signature
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: flash.sh failed when setup qemu-neo1973

2007-10-31 Thread Rod Whitby
孙廉焘 wrote:
> I have a problem, when I setup the qemu-neo1973 envirement followed by
> http://wiki.openmoko.org/wiki/Qemu.
> 
> openmoko/download.sh
> openmoko/flash.sh
> 
> After openmoko/flash.sh, the output information is listed briefly as
> following(full version is an attachment):
> 
> ls: /root/openmoko/qemu-neo1973/openmoko/uImage-2.6.*-neo1973.bin: No
> such file or directory

The problem is that the kernel suffix changed from -fic-gta01 to
-neo1973, and a single 'env' file is being used to download old snapshot
images with the old suffix, and newly built kernel images with the new
suffix.

If you make a local change in the kernel_wildcard variable in the
openmoko/env file, replacing '-neo1973' with '-fic-gta01', then it
should work again for you.

I don't know what the best proper solution for this is though ... maybe
Mickey can put some symlinks in the
http://buildhost.openmoko.org/snapshots/2007.08/images/ area ..

-- Rod

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


flash.sh failed when setup qemu-neo1973

2007-10-31 Thread 孙廉焘
Hi all,

I have a problem, when I setup the qemu-neo1973 envirement followed by
http://wiki.openmoko.org/wiki/Qemu.

I have done these steps:
sudo apt-get install netpbm lynx
svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973
cd qemu-neo1973
 ./configure --target-list=arm-softmmu --cc=/home/sunlt/gcc33
 make
openmoko/download.sh
openmoko/flash.sh

After openmoko/flash.sh, the output information is listed briefly as
following(full version is an attachment):

ls: /root/openmoko/qemu-neo1973/openmoko/uImage-2.6.*-neo1973.bin: No
such file or directory
U-Boot 1.2.0-moko9_r0 (Aug 19 2007 - 19:17:12)
 DRAM:  128 MB
 NAND:  Bad block table not found for chip 0
 Bad block table not found for chip 0
 64 MiB
 *** Warning - bad CRC or NAND, using default environment
Creating BBT. Please wait ...Bad block table not found for chip 0
Bad block table not found for chip 0
Bad block table written to 0x03ffc000, version 0x01
Bad block table written to 0x03ff8000, version 0x01

GTA01Bv4 # setenv bootcmd 'setenv bootargs ${bootargs_base}
${mtdparts}; bootm 0x3100'
GTA01Bv4 # setenv menu_1 'Set console to USB: setenv stdin usbtty;
setenv stdout usbtty; setenv stderr usbtty'
GTA01Bv4 # setenv menu_2 'Set console to serial: setenv stdin serial;
setenv stdout serial; setenv stderr serial'
GTA01Bv4 # setenv menu_3 'Power off: neo1973 power-off'
GTA01Bv4 # setenv splashimage 'nand read.e 0x3600 splash 0x5000;
unzip 0x3600 0x33d0 0x96000'
GTA01Bv4 # setenv mtdids nand0=neo1973-nand
GTA01Bv4 # setenv mtdparts
mtdparts=neo1973-nand:0x0005(u-boot),0x4000(u-boot_env),0x00208000(kernel),0x0001(splash),0x039a4000(rootfs)
GTA01Bv4 # #dynpart
Unknown command '#dynpart' - try 'help'
GTA01Bv4 # nand write.e 0x3100 u-boot 0x33660

NAND write: device 0 offset 0x0, size 0x33660

Writing data at 0x33600 -- 100% complete.

Erasing Nand...Writing to Nand... done
GTA01Bv4 # neo1973 power-off
poweroff
pcf_write: Power-off requested.
openmoko/flash.sh: line 114: 30382 已终止   ( sleep $2; kill
$pid; sleep 1; kill -KILL $pid )  (wd: /root/openmoko/qemu-neo1973)
Please wait, programming the NAND flash...
neo_gsm_switch: GSM disabled.

pcf_write: Power-off requested.
Please wait, programming the NAND flash...
sleep: invalid time interval 'nand'
sleep: invalid time interval 'write.e'
sleep: invalid time interval 'kernel'
For more information, try 'sleep --help'
openmoko/flash.sh: line 88: 30385 terminaled   ( sleep $2;
kill $pid; sleep 1; kill -KILL $pid )
openmoko/flash.sh: line 88: 30387 terminaled   $qemu
-mtdblock "$script_dir/$flash_base" -kernel "$script_dir/$1" -serial
stdio -nographic -usb -monitor null 0<&0

U-boot failed to finish writing in nand write.e 0x3100 kernel
0x1000 seconds, giving up.

Who can help me?
Thank you very much!

sytax


Output-of-flash.sh
Description: Bourne shell script
___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Qemu QT2410 (CS8900) anyone?

2007-10-29 Thread Noud de Brouwer

we have a working Qemu Neo1973
but anyone has a Qemu QT2410, having a CS8900 Ethernet emulated, to share?
--noud

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu-Neo doesn't seem to work Ubuntu 7.10

2007-10-17 Thread Joachim Steiger
Brad Pitcher wrote:
> The Ubuntu equivalent to setenv is export. Maybe you can just change
> them?
> 
please don't
i will not help you
the setenv call is on the uboot shell. that has nothing to do with the
shell on the hostsystem.


but to make sure you do not run into any problems there, check if
/bin/sh points to /bin/bash and NOT /bin/dash
(see also http://wiki.openmoko.org/wiki/Using_QEMU_with_MokoMakefile )


kind regards

--

Joachim Steiger
developer relations/support

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu-Neo doesn't seem to work Ubuntu 7.10

2007-10-17 Thread Ian Darwin

Brad Pitcher wrote:

The Ubuntu equivalent to setenv is export. Maybe you can just change
them?


Good heavens. Ubuntu wrote their own shell? :-) I think not.

setenv is a csh-ism.

export is a POSIX/sh/ksh/bash-ism (i.e. all mainstream shells).

Friends don't let friends write csh scripts. :-)

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Qemu-Neo doesn't seem to work Ubuntu 7.10

2007-10-17 Thread Jens Fursund
Thanks, will try
On Wed, 2007-10-17 at 08:11 -0700, Brad Pitcher wrote:
> The Ubuntu equivalent to setenv is export. Maybe you can just change
> them?
> 
> On Wed, 2007-10-17 at 16:23 +0200, Jens Fursund wrote:
> > Hello everyone,
> > 
> > There seem to be a problem with openmoko/flash.sh in new Ubuntu 7.10. I
> > think it has something to do with the setenv command. I have a feeling
> > it is not even there.
> > 
> > Does anybody know how to fix this?
> > 
> > Best Regards,
> > 
> > Jens
> > 
> > 
> > ___
> > OpenMoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> 
> 
> ___
> OpenMoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


  1   2   >