Small Linux Laptop Forum
Elonex One T & One T+, CnM Minibook => Standard Software & Operating System => Topic started by: rmotters on September 29, 2008, 10:08:54 PM
-
I have toiled over this last week with trying to get the desktop emulated under QEMU.
I have managed to get it to work.
This is a very complex howto on Emulating an Elonex ONEt using qemu's mipsel emulator on LINUX (http://blog.mottershead.me.uk/blog/_archives/2008/9/29/3906944.html)
This is only people familiar with Linux and running Linux at home. I will try to make it simpler over time and maybe even get it working under Windows, but this is in the future.
This other post may be helpful as it details how to Backing up the current system image of the Elonex ONEt+ (http://blog.mottershead.me.uk/blog/_archives/2008/9/29/3906846.html)
Now before everybody cries foul and says it too hard I write this sort of documentation for System Engineers with 5+ years experience. I have gone through these instructions, and I have made little or no assumptions. If you choose to deviate from the path I lead you down I might not be able to help you back.
If some smart Windows person wants to use these for a basis of a howto for Windows. I do not have a problem with that. The only thing I run Windows for is iTunes and recording flash-based broadcasting (oh and on my work laptop >:()
Last thing.. Please be careful with your systems....Enjoy! ;)
-
You are a gem. Cheers mate.
I have been trying to get dosbox working on the elonex, by 1. cross compiling, and 2 just using the mipsel debian programs and dependencies, but got stuck when dosbox wanted a specific version of gcc***.so to run. This gives me hope (I'm going to try to get it runnibg under debian running on virtualbox on my windos machine first)
Chris
-
I have updated my blog with a new post, that includes pre-cooked QEMU images.
http://blog.mottershead.me.uk/blog/ElonexONEt/_archives/2008/10/3/3913506.html
These images are hosted on my personal website and are big so please do not abuse the bandwidth.
P.S. If anybody can help me with a file upload site to host these images. I would be much obliged. I tried a few and they just do not seem to work, with large files.
-
Hi
Why not put them on sourceforge.
Or
www.humyo.com
Chris
-
The last time I looked Sourceforge is not a free file-storage stie, it is a open-source collaboration tool to help the development of open-source software. Not sure where those images will fit into that philosophy.
I tried quite a few file-storage sites, but most free ones have a 50MB file limit. I didn't try humyo.com, until now and it is giving me an Internal Server Error, so it does not fill me with confidence.
I leave them there for now, it my site goes belly up, then I will have to find an alternative home.
-
Hi
You're probably right, I took my cue from this
http://sourceforge.net/project/showfiles.php?group_id=160696
never mind.
humyo working fine atm.
Just trying to take the load off your server.
Chris
-
Thx,
I re-read through all the stuff, in my hosted account and it looks like I have unlimited bandwidth. So it should be ok.
So whilst it is only a couple of images it should be ok.
-
Emulator running under Windows
http://picasaweb.google.co.uk/crylex/GeneralScraps#5253815330122155010
Chris
-
Great work!!!
There is hope for this little laptop yet!
-
Emulator running under Windows
http://picasaweb.google.co.uk/crylex/GeneralScraps#5253815330122155010
Chris
Woohoo, was there many changes to the images, or did they just work?
-
Hi
No, used your images straight, no modifications, your linux kernel, and used a the prcompiled mipsel qemu from here
http://www.h7.dion.ne.jp/~qemu-win/
scroll down, get the mips-qemu, includes the mipsel one
Then just changed the start.bat to point to qemu-mipsel, the kernel, and the hard drives, just like yours, excpt removed the nographic option
qemu-system-mipsel -kernel vmlinux-2.6.18-5-qemu -hda hda.qcow2 -hdb hdb.qcow2 -append "root=/dev/hda1 console=ttyS0"
press alt-3 to see the console (or alt-F3, not at home at the moment, its in the batch file), start vncviewer (press listen), then type elonex_ start into the console.
Worked straight off, internet and everything. Good work Richard.
Chris
-
Hi
Well, after lots of playing, I gave up on the emulation - it may be my computer, but on the emulation, things just kept disappearing (crashing), and it was really slow.
On a brighter note, I did get dosbox 0.65 working on the Elonex, so I can now emulate something the speed of a 286! (for those that don't know, google it). Sound is pretty much hopeless.
I had to install the libs by hand, and create the symlinks, and replace one of the libraries with a different one. I'll see if I can get round to creating a package if any one wants to play.
Chris
-
On a brighter note, I did get dosbox 0.65 working on the Elonex, so I can now emulate something the speed of a 286! (for those that don't know, google it). Sound is pretty much hopeless.
I had to install the libs by hand, and create the symlinks, and replace one of the libraries with a different one. I'll see if I can get round to creating a package if any one wants to play.
I would LOVE to play with this, please, please, pretty please :-)
Even if you don't package it, downloads of the libs and some instructions would not go amiss
-
Hi
Sorry, get sidetracked!
List of libraries is here, I will Package them up, I promise. :-\
http://elonexadventures.googlepages.com/dosbox
(ps the site is more a less a personal one, with all the snippets together)
Chris
-
Hello, Can somebody explain this to me? Does this mean i can emulate the elonex on my windows?
-
press alt-3 to see the console (or alt-F3, not at home at the moment, its in the batch file), start vncviewer (press listen), then type elonex_ start into the console.
Argh, it was Ctrl-Alt-3 to see the console. I started and stopped it half a dozen times before I looked in the file. :P
-
I have updated my blog with a new post, that includes pre-cooked QEMU images.
http://blog.mottershead.me.uk/blog/ElonexONEt/_archives/2008/10/3/3913506.html
These images are hosted on my personal website and are big so please do not abuse the bandwidth.
P.S. If anybody can help me with a file upload site to host these images. I would be much obliged. I tried a few and they just do not seem to work, with large files.
I found one minor error in your run_elonex script. The geometry should be 800x480 instead of 640x480.
-
I'm really confused. Can somebody explane this to me?
-
I'm really confused. Can somebody explane this to me?
Step 1: Get TightVNC from here: http://downloads.sourceforge.net/vnc-tight/tightvnc-1.3.9_x86_viewer.zip
Step 2: Unzip and double click on vncviewer.exe
Step 3: Click on "Listening mode"
Step 4: Get qemu from here: http://www.h6.dion.ne.jp/~kazuw/qemu-win/qemu-0.9.0-mips.zip
Step 5: Unzip qemu into some directory like C:\qemu-0.9.0-mips\
Step 6: Get hda, hdb, and kernel files from the top of this page: http://blog.mottershead.me.uk/blog/ElonexONEt/_archives/2008/10/3/3913506.html
Step 7: Unzip each file into the qemu directory
Step 7: Open a command prompt, go to the qemu directory and type: qemu-system-mipsel -L . -initrd initrd -kernel vmlinux-2.6.18-5-qemu -hda hda.qcow2 -hdb hdb.qcow2 -append "root=/dev/hda1 console=ttyS0"
You should now have a blank qemu window
Step 8: Press Ctrl-Alt-3
The window should now have lots of text. Wait for a login prompt
Step 9: login as root with password root
Step 10: Type run_elonex at the prompt
You should now have a VNC window pop up with a squarish version of the Elonex desktop.
Bonus step: Edit the run_elonex script in /root/bin/run_elonex and change the -geometry value to 800x480
Hope that helps
-
ok, and this will run any actual elonex (and mips) programs withing my x86 windows?
-
ok, and this will run any actual elonex (and mips) programs withing my x86 windows?
Yes, with the caveat that emulation is never perfect and some errors may occur. Getting data in and out is another problem in Windows. The disk images cannot be mounted in Windows (maybe filedisk can do it?) and there is no virtual SD card or other method of getting data in.
-
ok, and this will run any actual elonex (and mips) programs withing my x86 windows?
Yes, with the caveat that emulation is never perfect and some errors may occur. Getting data in and out is another problem in Windows. The disk images cannot be mounted in Windows (maybe filedisk can do it?) and there is no virtual SD card or other method of getting data in.
So its an os which you cant do anything with?
-
So its an os which you cant do anything with?
Well in Linux, you can just mount the disk images.
I found a solution for windows and I am seeing a file in qemu that I added from windows, so I know it is working.
How you do it is download filedisk and create and mount some size of disk (I chose 100MB). Then you format the disk in windows to FAT-32. Then you add whatever files you want to the disk and unmount it.
Modify the qemu line to add a -hdc parameter with the name of your newly created disk. Then when you boot, type "mount -t vfat /dev/hdc /mnt" and your files will show up in /mnt.
-
ahh forget it, its too complicated for me
-
I have updated my blog with a new post, that includes pre-cooked QEMU images.
http://blog.mottershead.me.uk/blog/ElonexONEt/_archives/2008/10/3/3913506.html
These images are hosted on my personal website and are big so please do not abuse the bandwidth.
P.S. If anybody can help me with a file upload site to host these images. I would be much obliged. I tried a few and they just do not seem to work, with large files.
Hi all
it seems the blog didn't survive to 2013
Does someone backup the images ?
It's the shame because I only notice this blog last week and planned to test it this week !
Very bad synchro :(
-
Hi,
Found the files, uploaded here:
-initrd - http://www.divshare.com/download/22788912-4d2
-vmlinux - http://www.divshare.com/download/22788922-572
-hda.qcow2 - http://www.divshare.com/download/22789020-11a
- http://www.divshare.com/download/22789095-a14
-hdb.qcow2 - http://www.divshare.com/download/22789349-502
Grt Websjakie.