<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.openmoko.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.openmoko.org/api.php?action=feedcontributions&amp;user=Taki&amp;feedformat=atom</id>
		<title>Openmoko - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.openmoko.org/api.php?action=feedcontributions&amp;user=Taki&amp;feedformat=atom"/>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/wiki/Special:Contributions/Taki"/>
		<updated>2013-05-19T19:46:49Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.19.6</generator>

	<entry>
		<id>http://wiki.openmoko.org/wiki/User:Taki</id>
		<title>User:Taki</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/wiki/User:Taki"/>
				<updated>2007-09-13T19:51:42Z</updated>
		
		<summary type="html">&lt;p&gt;Taki: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Just a fan who wanted to support an oen source company!&lt;/div&gt;</summary>
		<author><name>Taki</name></author>	</entry>

	<entry>
		<id>http://wiki.openmoko.org/wiki/Talk:Openmoko_under_QEMU</id>
		<title>Talk:Openmoko under QEMU</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/wiki/Talk:Openmoko_under_QEMU"/>
				<updated>2007-07-14T10:45:00Z</updated>
		
		<summary type="html">&lt;p&gt;Taki: Compiling QEMU with SUSE 10.2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;under Debian Sid. I have to change slightly openmoko/env and openmoko/download.sh to make it run on Linux:&lt;br /&gt;
* in openmoko/env s/make=gmake/make=make/&lt;br /&gt;
* in openmoko/download.sh changed line 34 to:  files=`lynx -dump $download_dir | grep http | sed &amp;quot;s,[0-9 \t\.]*$download_dir\([a-zA-Z0-9_\.-]\)[ \t]*,\1,&amp;quot;` &lt;br /&gt;
[[User:Any Key|Any Key]] 14:16, 4 April 2007 (CEST)&lt;br /&gt;
&lt;br /&gt;
Thanks, hopefully should be fixed. make was changed to gmake in the first place to account for BSD.[[User:Balrog|balrog]] 23:11, 5 April 2007 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Gentoo, AMD64 ==&lt;br /&gt;
&lt;br /&gt;
Where can I report bugs in QEMU-Neo1973? It fails to compile:&lt;br /&gt;
 /server/projects/openmoko/qemu-neo1973/target-arm/op.c: In function 'op_iwmmxt_movq_wRn_M0':&lt;br /&gt;
 /server/projects/openmoko/qemu-neo1973/target-arm/op.c:1374: error: unable to find a register to spill in class 'GENERAL_REGS'&lt;br /&gt;
--[[User:Zbraniecki|Zbraniecki]] 12:52, 7 April 2007 (CEST)&lt;br /&gt;
&lt;br /&gt;
:I assume you're using gcc4 (gcc-config -l). Qemu fails to build if you use gcc4 as it only builds with gcc3 at this time. More information:&lt;br /&gt;
http://gentoo-wiki.com/HOWTO:_Qemu&lt;br /&gt;
&lt;br /&gt;
http://kidsquid.com/cgi-bin/moin.cgi/FrequentlyAskedQuestions#head-1dd86241b11d36963df140c9f6ab46ef402d4244 &lt;br /&gt;
&lt;br /&gt;
http://bugs.gentoo.org/show_bug.cgi?id=132667&lt;br /&gt;
&lt;br /&gt;
How to do a downgrade to gcc3 just for Qemu: http://forums.gentoo.org/viewtopic-t-537643-highlight-qemu.html - be aware, though, that the kernel modules may not load if you built the kernel with gcc4, so a kernel recompilation may be in order also. [[User:Abraxa|Abraxa]] 19:38, 7 April 2007 (CEST)&lt;br /&gt;
&lt;br /&gt;
I encountered the same problem, but I still had a gcc3 installed (gcc-3.4.6-r1 in a seperate slot from the system default gcc4, to be exact. This means that if you're using gentoo, you will '''not''' need to downgrade your system gcc). I simply added --cc=gcc-3.4.6 to ./configure's switches and make finished without major problems. --[[User:LordHelmchen|LordHelmchen]] 20:12, 11 April 2007 (CEST)&lt;br /&gt;
&lt;br /&gt;
If you still encounter this problem with gcc3, make sure you don't have -march set anywhere like in CFLAGS (I had -march=athlon-xp). unsetting CFLAGS before re-running the configure script solved the problem for me. --[[User:Vegar|Vegar]] 22:10, 24 April 2007 (CEST)&lt;br /&gt;
&lt;br /&gt;
== Basic question ==&lt;br /&gt;
&lt;br /&gt;
I am using the emulator after compiling 'make qemu'.&lt;br /&gt;
The basic gui screen has been created and it asks the following:&lt;br /&gt;
&lt;br /&gt;
'Touch the crosshairs to calibrate the screen'&lt;br /&gt;
&lt;br /&gt;
Unfortunately I do not know how to continue from this stage on...&lt;br /&gt;
Any mouse click on the crosshairs, or a keyboard touch won't initiate a click...&lt;br /&gt;
&lt;br /&gt;
Does any body know how can I click the emulator screen and continue from this stage? --[[User:nighthawk|nighthawk]] 01:12, 9 April 2007&lt;br /&gt;
&lt;br /&gt;
I use mouse click and it works --[[User:Filippo|Filippo]] 22:16, 8 April 2007 (CEST)&lt;br /&gt;
&lt;br /&gt;
I find a single click will not register. Which makes sense if you think about a fingerpress on the screen. I hold down the mouse and wiggle it a bit to get the buttons to register. -- DonPark 8Apr07&lt;br /&gt;
&lt;br /&gt;
Still got problem with enabling the mouse. I tried according to the QEMU guide to see which mice are available under what I used. (ALT-CTRL-2, command 'mice info') and there was only the following:&lt;br /&gt;
* Mouse #0: QEMU S3C2410-driven Touchscreen&lt;br /&gt;
&lt;br /&gt;
Does anybody got the same problem as I got?&lt;br /&gt;
--[[User:nighthawk|nighthawk]] 04:14am, 9 April 2007&lt;br /&gt;
&lt;br /&gt;
Please see http://lists.openmoko.org/pipermail/openmoko-devel/2007-April/000837.html [[User:Balrog|balrog]] 01:20, 18 April 2007 (CEST)&lt;br /&gt;
&lt;br /&gt;
== FreeBSD and last qemu... ==&lt;br /&gt;
&lt;br /&gt;
1. Comment lines 49 and 50 in file gnokiigsm/device.h&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//size_t device_read(__ptr_t buf, size_t nbytes, struct gn_statemachine *state);&lt;br /&gt;
//size_t device_write(const __ptr_t buf, size_t n, struct gn_statemachine *state);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Compile all with gmake&lt;br /&gt;
&lt;br /&gt;
3. '''ONLY''' for FreeBSD users (as root):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#kldload aio&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Have fun :)&lt;br /&gt;
&lt;br /&gt;
== flash.sh fails ==&lt;br /&gt;
&lt;br /&gt;
looks like I'm somehow getting a variable confused... when I try to run flash.sh with no arguments, I get a bunch of errors from sleep telling me that items such as `nand' for instance is an invalid time.  I've encountered this problem both from the makefile and from a manual download.  From what I can deduce, $2 should contain the number of (micro?)seconds for sleep to wait, but it looks like there's a target list, or some series of commands that are getting crosswired in.&lt;br /&gt;
&lt;br /&gt;
If it helps, I'm running ubuntu fiesty X64 &lt;br /&gt;
&lt;br /&gt;
any help would be appreciated&lt;br /&gt;
&lt;br /&gt;
Thank you,&lt;br /&gt;
&lt;br /&gt;
--[[User:JeffAndros|JeffAndros]] 21:32, 30 June 2007 (CEST)&lt;br /&gt;
&lt;br /&gt;
error transcript follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
# Neo NAND is 128k sectors big&lt;br /&gt;
cat .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec .16ksec &amp;gt; openmoko-flash.base&lt;br /&gt;
rm -rf .8b .16b .512b .sec .8sec .64sec .512sec .2ksec .16ksec&lt;br /&gt;
Please wait, programming the NAND flash...&lt;br /&gt;
Could not configure '/dev/rtc' to have a 1024 Hz timer. This is not a fatal&lt;br /&gt;
error, but for better emulation accuracy either use a 2.6 host Linux kernel or&lt;br /&gt;
type 'echo 1024 &amp;gt; /proc/sys/dev/rtc/max-user-freq' as root.&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `dontask'&lt;br /&gt;
sleep: invalid time interval `y'&lt;br /&gt;
sleep: invalid time interval `nand'&lt;br /&gt;
sleep: invalid time interval `createbbt'&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `bootcmd'&lt;br /&gt;
sleep: invalid time interval `\'setenv'&lt;br /&gt;
sleep: invalid time interval `bootargs'&lt;br /&gt;
sleep: invalid time interval `${bootargs_base}'&lt;br /&gt;
sleep: invalid time interval `${mtdparts};'&lt;br /&gt;
sleep: invalid time interval `bootm'&lt;br /&gt;
sleep: invalid time interval `0x31000000\''&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `menu_1'&lt;br /&gt;
sleep: invalid time interval `\'Set'&lt;br /&gt;
sleep: invalid time interval `console'&lt;br /&gt;
sleep: invalid time interval `to'&lt;br /&gt;
sleep: invalid time interval `USB:'&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `stdin'&lt;br /&gt;
sleep: invalid time interval `usbtty;'&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `stdout'&lt;br /&gt;
sleep: invalid time interval `usbtty;'&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `stderr'&lt;br /&gt;
sleep: invalid time interval `usbtty\''&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `menu_2'&lt;br /&gt;
sleep: invalid time interval `\'Set'&lt;br /&gt;
sleep: invalid time interval `console'&lt;br /&gt;
sleep: invalid time interval `to'&lt;br /&gt;
sleep: invalid time interval `serial:'&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `stdin'&lt;br /&gt;
sleep: invalid time interval `serial;'&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `stdout'&lt;br /&gt;
sleep: invalid time interval `serial;'&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `stderr'&lt;br /&gt;
sleep: invalid time interval `serial\''&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `menu_3'&lt;br /&gt;
sleep: invalid time interval `\'Power'&lt;br /&gt;
sleep: invalid time interval `off:'&lt;br /&gt;
sleep: invalid time interval `neo1973'&lt;br /&gt;
sleep: invalid time interval `power-off\''&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `splashimage'&lt;br /&gt;
sleep: invalid time interval `\'nand'&lt;br /&gt;
sleep: invalid time interval `read.e'&lt;br /&gt;
sleep: invalid time interval `splash'&lt;br /&gt;
sleep: invalid time interval `0x5000;'&lt;br /&gt;
sleep: invalid time interval `unzip'&lt;br /&gt;
sleep: invalid time interval `0x96000\''&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `mtdids'&lt;br /&gt;
sleep: invalid time interval `nand0=neo1973-nand'&lt;br /&gt;
sleep: invalid time interval `setenv'&lt;br /&gt;
sleep: invalid time interval `mtdparts'&lt;br /&gt;
sleep: invalid time interval `mtdparts=neo1973-nand:0x00050000(u-boot),0x00004000(u-boot_env),0x00208000(kernel),0x00010000(splash),0x039a4000(rootfs)'&lt;br /&gt;
sleep: invalid time interval `#dynpart'&lt;br /&gt;
sleep: invalid time interval `nand'&lt;br /&gt;
sleep: invalid time interval `write.e'&lt;br /&gt;
sleep: invalid time interval `u-boot'&lt;br /&gt;
sleep: invalid time interval `dynenv'&lt;br /&gt;
sleep: invalid time interval `set'&lt;br /&gt;
sleep: invalid time interval `u-boot_env'&lt;br /&gt;
sleep: invalid time interval `saveenv'&lt;br /&gt;
Try `sleep --help' for more information.&lt;br /&gt;
openmoko/flash.sh: line 88: 26649 Terminated              $qemu -mtdblock &amp;quot;$script_dir/$flash_base&amp;quot; -kernel &amp;quot;$script_dir/$1&amp;quot; -serial stdio -nographic -usb -monitor null 0&amp;lt;&amp;amp;0&lt;br /&gt;
&lt;br /&gt;
U-boot failed to finish writing in setenv dontask y nand createbbt setenv bootcmd 'setenv bootargs ${bootargs_base} ${mtdparts}; bootm 0x31000000' setenv menu_1 'Set console to USB: setenv stdin usbtty; setenv stdout usbtty; setenv stderr usbtty' setenv menu_2 'Set console to serial: setenv stdin serial; setenv stdout serial; setenv stderr serial' setenv menu_3 'Power off: neo1973 power-off' setenv splashimage 'nand read.e 0x36000000 splash 0x5000; unzip 0x36000000 0x33d00000 0x96000' setenv mtdids nand0=neo1973-nand setenv mtdparts mtdparts=neo1973-nand:0x00050000(u-boot),0x00004000(u-boot_env),0x00208000(kernel),0x00010000(splash),0x039a4000(rootfs) #dynpart nand write.e 0x31000000 u-boot 0x1000 dynenv set u-boot_env saveenv seconds, giving up.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Compiling QEMU with SUSE 10.2 ==&lt;br /&gt;
&lt;br /&gt;
* Install gcc version 3.3.6. It can be downloaded from [http://gcc.cybermirror.org/releases/gcc-3.3.6/gcc-core-3.3.6.tar.gz http://gcc.cybermirror.org/releases/gcc-3.3.6/gcc-core-3.3.6.tar.gz], for example. After unpacking it somewhere do&lt;br /&gt;
&lt;br /&gt;
  cd gcc-3.3.6/&lt;br /&gt;
  ./configure --prefix=/home/archive/moko/gcc33 --program-suffix=-3.3&lt;br /&gt;
  make bootstrap&lt;br /&gt;
  make install&lt;br /&gt;
&lt;br /&gt;
Please '''replace''' /home/archive/moko/gcc33 with a path of your choice, since it will be the one where gcc33 will be installed. &lt;br /&gt;
&lt;br /&gt;
* Add the following line in file openmoko/trunk/src/host/qemu-neo1973/usb-linux.c to get it compiled:&lt;br /&gt;
&lt;br /&gt;
  #include &amp;lt;sys/ioctl.h&amp;gt;&lt;br /&gt;
  #include &amp;lt;linux/compiler.h&amp;gt; &amp;lt;-- ADD THIS!&lt;br /&gt;
  #include &amp;lt;linux/usbdevice_fs.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(Hint found at [http://osdir.com/ml/emulators.kvm.devel/2007-01/msg00101.html http://osdir.com/ml/emulators.kvm.devel/2007-01/msg00101.html])&lt;br /&gt;
&lt;br /&gt;
The next steps depend on what method you use to compile stuff:&lt;br /&gt;
&lt;br /&gt;
* If you are using [[MokoMakefile]], as I do,  edit Makefile around line 266 to involve gcc33:&lt;br /&gt;
&lt;br /&gt;
          $${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/configure \&lt;br /&gt;
                --target-list=arm-softmmu \&lt;br /&gt;
                --cc=/home/archive/moko/gcc33/bin/gcc-3.3) &lt;br /&gt;
        [ -e build/qemu/openmoko ] || \&lt;br /&gt;
* Manually on the command line:&lt;br /&gt;
     ./configure --target-list=arm-softmmu --cc=/home/archive/moko/gcc33/bin/gcc-3.3&lt;br /&gt;
     make&lt;br /&gt;
&lt;br /&gt;
Please remember to use the path you chose above for gcc33!&lt;br /&gt;
&lt;br /&gt;
* Finally run&lt;br /&gt;
 make qemu&lt;br /&gt;
Enjoy!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--[[User:Taki|Taki]] 12:45, 14 July 2007 (CEST)&lt;/div&gt;</summary>
		<author><name>Taki</name></author>	</entry>

	</feed>