Help - Search - Members - Calendar
Full Version: Sharp Zaurus Sdk The Easy Way
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > Qt/Qtopia
Pages: 1, 2
kopsis
From some of the discussion in the General topics, it's become clear that getting the Zaurus SDK up and running is a stumbling block for aspiring Zaurus developers. In an effort to lower the bar, I've created an entire development environment (based on Damn Small Linux) that has the toolchain and SDK pre-installed in a complete lightweight Linux distro and ready to run.

I've written an article that details the advantages of this approach along with download and installation instructions. You can find the article at
http://kopsisengineering.com/kopsis/SharpZaurusSdkDsl

I had initially hoped that this solution would be radically simpler than the tool installation itself. I'm not entirely certain that I've succeeded in that. I may just be pushing the complexity into a different area (getting Damn Small Linux and possibly QEMU running) so I'm very interested in getting feedback from anyone who tries my approach.

Note that these tools are for Sharp ROM development only. They will definitely not work for OpenZaurus, and I suspect they won't work for pdaXrom either. If this approach proves to be sufficiently easy for people, then I may try to set up similar DSL based environments for those systems.

Good luck!
lpotter
hey, great idea! smile.gif We have an sdk iso that we haven't released...

I dont think qemu is really necessary (but a good idea), although. But anyway, thanks for this... will add a link over at qtopia.net. Don't forget there are developer docs over there also.
daniel3000
QUOTE(lpotter @ Jul 19 2005, 07:45 AM)
hey, great idea! smile.gif We have an sdk iso that we haven't released...

I dont think qemu is really necessary (but a good idea), although. But anyway, thanks for this... will add a link over at qtopia.net. Don't forget there are developer docs over there also.
*


I think QEMU is a great idea! For me it opens the door to convenient development. I have a Windows laptop at work, which must run Windows all the time (because there run tasks on it all day). I'd love to be able to do development on this machine. So running a Linux-based development system in a virtual machine is probably the best way in my situation, even if the emulation slows down things a bit.

I'll definitely try the ISO with QEMU setup.

However, must first read the instructions. Seems to be a not _that_ easy to set up though.

But many thanks for all the work!!

daniel
kopsis
QUOTE(daniel3000 @ Jul 19 2005, 07:12 AM)
However, must first read the instructions. Seems to be a not _that_ easy to set up though.
*


Actually, with QEMU it's pretty simple. The most difficult part is creating a batch file to launch QEMU with the right settings. The article explaining everything is long but that's because it includes tons of background info smile.gif
Orchid
Here are my first comments about your document (which was a very nice read!),
of things I'd like to have seen:

**********************

A list of files to expect in the sharp_zsdk_dsl.zip -
and what they are for, particularly the optional directory.

**********************

A zip file of sharp_zsdk_dsl.zip that unzips under DSL.
dsl@box:~$ unzip sharp_zsdk_dsl.zip
Archive: sharp_zsdk_dsl.zip
inflating: Embedix.uci
unzip: Unsupported compression method 0

dsl@box:~$ gunzip sharp_zsdk.dsl.zip
gunzip: sharp_zsdk.dsl.zip.gz: No such file or directory
dsl@box:~$

**********************

A note about how to possibly find the disk if the tools do not show up:
dsl@box:~$ sudo su
root@ttyp1[sda]# dmesg | grep disk
RAMDISK driver initialized: 16 RAM disks of 100000K size 1024 blocksize
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0

**********************

A simple summary at the top for weary readers, like:
This is how to program Sharp Zaurus ROM applications
using a Linux bootable disk (DSL), with appropriate toolchain modules,
under a virtual machine (QEMU).

It would need appropriate links for DSL, the zip, and QEMU, for those
Linux gurus who could figure it out just from that.

**********************

I'll try actual development later today. Thanks!!!!

- T
Gondola
Kopsis,

I installed QEMU and the Sharp/Qtopia dev environment using your instructions, and I had the example program compiled with little problem.

I'm having one issue with keyboard focus in QEMU, however. When I alt-tab out to Windows (XP) and then alt-tab back, it appears that there is a bug that makes the keyboard not function because the alt- part of the alt-tab sequence. I have to alt-tab back and forth a few times in order to get the keyboard working again.

I've done some Googling on the subject and reading the QEMU forums. *THEY* say that you just have to hit alt again to toggle the key off, but that doesn't work for me. I have to alt-tab back and forth several times to get the keyboard working again within QEMU.

Also, any tips on how to convert a Makefile to the Sharp/Qtopia environment? I am attempting to compile an EyeToy-compatible webcam driver, but my clumsy Makefile hacking doesn't appear to be good enough. You can check out the thread I created on this topic by clicking the link in my sig below.

Thanks in advance for any assistance!
drakecoldwinter
Humm... I tried Suse with the rpm Zaurus tools(half working) then the demo linux distro, who doesn<t even boot... (I<m using VMWare BTW) and then I tryed this DSL... got it installed in my hd quickly, and I installed your toold in under 1 hour (the OS+ tools) everything working at the first shot.... very clean. I love DSL btw, is very crude and esential, not plenty of useless stuff lying around.

Now, I'm a linux newbie (despite having tried several distros I consider myself a beginner) so I have plenty of questions that maybe you could answer :

1 - first I did the example, and it worked, then I got the mahjongg game sources from http://www.killefiz.de/zaurus/search.php?q=mahjongg&x=21&y=9 (I got mahjongg, not Zmahjongg and not tkcmahjongg) then I do a tmake to create the Makefile, it works perfect, then I do a make and it begins good but then suddently I get layout_1 undeclared .... sleep.gif; and layout_2 undeclared... in the end I don't get a compiled file, so I can't execute it... What I'm doing wrong ???

2 - I have done shortcuts for QT designer and qvfb they work wonderfull, I can start the qvfb without any trouble, then I tryed to do shortcuts to change the source (x86 or arm) but they don<t seem to work... humm i dunno if I did something wrong or not, but it seems that I need to execute the source x86 in a Xterm each time I want to compile anything, they don't seem to stay permanent.... anyway, here is my shortcut just in case I did something wrong
----------------------------
table Icon
Type: Program
Caption: Source X86
Command: "source /home/dsl/dev-x86-qpe.sh"
Icon: .xtdesktop/1400.gif
X: 78
Y: 158
end
-----------------------------

3-I have Qt Designer to do the interfaces (mahjongg doesn<t have any UI files then I guess it generates the interfaces using something else, anyway, I would be able to do the interfaces, but what program must I use to work in the code ? is there any code editor in the Qtopia suite ?? where it is located ??

Thanks for all your answers, if you don<t give answers then thanks anyway for putting on the net this very light setting for Zaurus programming (DSL + Zaurus)



Edit:
-------------------------------------------------------------------------------------------------------------------
For the 3 point, well I'm a windows developper, used to visual studio, then in QT designer I try to double click on the controls to get access to the code or something like that, and I get nothing... sleep.gif; then I guess that the code is done with another program and then linked with the UI in someway...
drakecoldwinter
4 - DSL is installed on my hd, I have a sda1 now, how can I do so embedix.uci, qtopia.uci and gcc are loaded automatically on boot ? I have put them on the sda1 repertory is that enough ?



Edit :
--------------------------------------------------------------------------
I<m getting several times gcc command not found, then I guess the trouble is the gcc binaries not being mounted.... hummm how can I install those binaries ?



Another Edit :
--------------------------------------------------------------------------
humm... I don't see any code editors, then I'm starting to see that I must get an editor of my own, then I found Kdevelop who is integrated with QT Designer... but I don't seem to be able to install it... (kde-config not found) I think it really needs KDE and DSL doesn't have KDE installed... Then I think that your tools package needs something very important, an editor... beaver is not powerfull enough, is very basic...
magicbb
just install everything according to your instruction, but have some problem;

1) How can I connect the virtual linx with the host or internet? if can't how can i copy the source code to it?

2) I try your example, but it complains that there is no tmake command, i have tried to search all files but still can't find this file


any idea/

thanks
slapout
Wow Kopsis, this sounds great. I was just about to try installing the Sharp tools for the third time. (I tried it with Red Hat 9 and with Mepis, but couldn't get either one to work. I was about to try it with Mandrake 10. I also tried the DemoLinux CD with the tools, but couldn't figure how to use it -- it keep trying to write to the CD)

I'm going to try this out as soon as I get a chance. Thanks for putting this all together.
bluedevils
woohoo! this might mean I can get rid of my rhat installation...not that I was doing much with it.
slapout
Great work kopsis. I was finally able to get a Z program to compile! (Kind of ironic that it was on a Windows machine.)

Just a couple of comments:

1. I'm using Windows for this. You've got links to QEMU in two different places. The first place gives links for Win/Lin/OSX versions. The second place only links to Linux version. (I was a little confused at first. Wasn't sure which site I should be getting it from. But I figured out that it was the first one.)

2. I don't remember what the other comment was. :-)

Anyway, good job. It was actually much easier to set up than I thought it would be. There's no install for QEMU--you just unzip it into a directory and it's ready to run. Then I just downloaded the Z image, changed the batch file to point to it and I was in business.

Now I have to see if I can get this thing on my jump drive....
qx773
Thanks for the information.

I have Windows XP. If you have Windows, you can get the accelerated version of QEMU by downloading:

http://qemu.dad-answers.com/download/win32/qemu-0.7.1-3.zip

Unzip the file to C:\qemu

Download the Sharp SDK image from one of the SourceForge mirror sites:

http://prdownloads.sourceforge.net/pyqplay...sk.zip?download

Unzip or copy the contents of the the sharp_zsdk_ds1_disk.zip file to C:\qemu

Contrary to the instructions on Fabrice Bellard's web site, I had to navigate to the C:\qemu folder with Windows Explorer and right-click on the kqemu.inf file and select "Install" from the context menu. After you do that, restart your computer.

Create a batch file in C:\qemu. I called my batch file "go.bat". This batch file will start the QEMU emulator when you execute it.

CODE
c:
cd \qemu
net start kqemu
qemu -L c:\qemu -m 128 sharp_zsdk_ds1_disk.img -enable_audio -localtime
net stop kqemu


The -L switch indicates the directory which contains the bios.bin file. In a different version of QEMU that I tried, the bios file was located in a subdirectory. The -m switch seems to indicate how many megabytes of memory the emulated machine should have.

The contents of my C:\qemu folder are:

CODE
   <DIR>          patches
           65,536 bios.bin
              114 go.bat
            1,616 kqemu.inf
           59,004 kqemu.sys
            5,550 kqemu-doc.html
          524,288 ppc_rom.bin
          152,807 proll.elf
          825,344 qemu.exe
          103,241 qemu-doc.html
          132,608 qemu-img.exe
          451,584 qemu-system-mips.exe
          666,624 qemu-system-ppc.exe
          524,800 qemu-system-sparc.exe
        1,025,024 qemu-system-x86_64.exe
           57,013 qemu-tech.html
              389 readme.txt
          290,816 sdl.dll
      144,113,664 sharp_zsdk_dsl_disk.img
           32,768 vgabios.bin
           32,768 vgabios-cirrus.bin
             20 File(s)    149,065,558 bytes
slapout
Kopsis,

I've got a question about the bootable DSL CD. Is it possible to put the extensions on the CD itself and have it load them when it boots? I've seen some posts over at the DSL forum that hint at this being possbile, but I can't find anything telling how to do it. (Wouldn't you need to add it to the ISO before burning?)
slapout
OK, I think I found the answer in the DSL Forums:

http://damnsmalllinux.org/cgi-bin/forums/i...=ST;f=16;t=8356
doseas
kopsis,

I keep forgetting to ask... how does your development environment differ from the earlier Zaurus development LiveCD from Pellico Systems (zdemolinux)???

-David
qx773
If that is the Live CD that I am thinking of, then it doesn't work with a Razer mouse connected to a USB port.

I like the fact that QEMU can run under Windows.

Is anyone else having trouble using the -smb parameter of QEMU under Windows XP to make a QEMU directory available to Windows as a shared folder? QEMU just exits to Windows without any error message when I try to use the -smb parameter.
Ragnorok
QUOTE(slapout @ Aug 24 2005, 08:12 PM)
Wow Kopsis, this sounds great. I was just about to try installing the Sharp tools for the third time. (I tried it with Red Hat 9 and with Mepis, but couldn't get either one to work.
...(geschnippt)...
*

- This is really cool, Kopsis. I mentioned this in another thread as a good way for a newbie to get going, and here you just did it. Good Form! ™ And it does seem to be a good way to go, particularly for those poor souls who are forced to use Winbloze. I pity them, but you've really been a saviour, and that's a Good Thing! ™ More Z developers can't be bad.
- I've had no trouble getting the original tools to work on RH9 ... that's my current dev environment. There are plenty of clues here on the forum for getting it working, or I wouldn't have it set up. (wink)
- Despite drakecoldwinter's woes I'm thinking of trying Suse for the next platform, which will be available One Day Real Soon. I'll base it on my existing RH9 setup; having a working environment to refer to should make things easier.
- Time will tell, or it won't!
GadgetGuy
I have installed QEMU and the Sharp environment on my Windows 2K PC, and it works great . Thank you kopsis for the instructions!

Before I really start using it, I wanted to figure out, how I can transfer files from the Windows environment to the Sharp environment and back? Or, asking it differently: how would I move the arm executable file to my Zaurus (which is not connected to my PC) after it has been created? Or, how would I move source code from my Windows PC into the Sharp environment?

Is there maybe a way to explore the .img file from Windows? How?

Or is there another solution?
titimoby
In fact, I decided to register to the oesf forums just to thank you.
I'll have problem and head aches but hey, I got a compiling example ! smile.gif

Thanks a lot for this work !
Meanie
I think this livecd idea is great coupled with the zaurus sdk.
However, I have been thinking about a usage scenario which would be ideal for a developer with a zaurus that is constantly on the road (like me).

I was thinking about burning the live cd iso image with all the extra modules on the cd image as well so once you booted into it, all the tools are ready and the zaurus' disk where the source files are located should be mounted via smb either via ethernet or usbdnet.

I could then carry a little mini cd with me and use it to boot any PC I find and attach my Zaurus to it to start development.

Does anyone else think that this sounds like a good idea and feasible?
kopsis
One of my reasons for picking DSL is that it's relatively easy to remaster (create a new bootable LiveCD with extra modules) to do exactly as you suggest. If you have a big USB flash drive, you could also put everything on there and have a bootable Zaurus SDK pen drive. See the DSL website for details (most detailed instructions can be found in the forums).
craigtyson
QUOTE(kopsis @ Nov 11 2005, 12:50 PM)
One of my reasons for picking DSL is that it's relatively easy to remaster (create a new bootable LiveCD with extra modules) to do exactly as you suggest. If you have a big USB flash drive, you could also put everything on there and have a bootable Zaurus SDK pen drive. See the DSL website for details (most detailed instructions can be found in the forums).
*


How about using the zaurus as a USB flash drive..........
Meanie
QUOTE(craigtyson @ Nov 12 2005, 02:07 AM)
QUOTE(kopsis @ Nov 11 2005, 12:50 PM)
One of my reasons for picking DSL is that it's relatively easy to remaster (create a new bootable LiveCD with extra modules) to do exactly as you suggest. If you have a big USB flash drive, you could also put everything on there and have a bootable Zaurus SDK pen drive. See the DSL website for details (most detailed instructions can be found in the forums).
*


How about using the zaurus as a USB flash drive..........
*



well, that might work, but space is precious on my Z so I rather the PC booted off the CD than my Z. Unfortunately, I am on the road still and don't have time to build such a CD yet, but when I get the time, I will definately try to build one.
polito
Ever seen puppy linux, Meanie? Puppy Linux can boot off of most things. It loads completely into memory. If you use a CD, you can actually have Puppy Linux write everything ---back--- to the CD that was changed so you actually can --save-- your work and not lose it. Neato.

Puppy Linux
speculatrix
Now that there's a free version of vmware, is there anyone up to the challenge of building a vmware image for zaurus developers?

This would also be an opportunity to enter the vmware "appliance" challenge!

http://www.vmware.com/vmtn/appliances/challenge/
Meanie
QUOTE(speculatrix @ Apr 4 2006, 10:36 PM)
Now that there's a free version of vmware, is there anyone up to the challenge of building a vmware image for zaurus developers?

This would also be an opportunity to enter the vmware "appliance" challenge!

http://www.vmware.com/vmtn/appliances/challenge/
*


well, there already are in a way. The Kopsis livecd which is based on DSL can be booted from vmware since it is an iso image and the extra modules plus your working files can be places on a wmware virtual disk. You could transfer the files from the iso to the disk as well and have everything on a single vmware image.
pdaXrom also comes on bootable iso image for the X86 version of pdaXrom as well as a vmware image. put a crosscompiler on it and off you go.
I am currently using the DSL through vmware on my OQO but I am hoping I will be able to run pdaXrom on it soon.
ShiroiKuma
This is really great, I tried to compile the test app and all's fine.

I'm running Win XP.

However I can't copy anything to/from my Harddisk, I don't see it under /mnt/

The hd and hda1 are empty.

How can I copy files back and forth, once compiled?
Meanie
QUOTE(ShiroiKuma @ Apr 6 2006, 09:33 PM)
This is really great, I tried to compile the test app and all's fine.

I'm running Win XP.

However I can't copy anything to/from my Harddisk, I don't see it under /mnt/

The hd and hda1 are empty.

How can I copy files back and forth, once compiled?
*


it doesn't like ntfs partitions. do you have any fat partitions? try mounting them manually, or better yet, if you have a usb thumbdrive, stick it in when you boot and it will automatically detect and mount it.
speculatrix
have you tried using samba shares to share files between the guest system? or, install putty & pscp on the host windows machine and scp the files off the linux guest.
speculatrix
p.s. google for winscp it's a really easy way to copy the files
ShiroiKuma
QUOTE(Meanie @ Apr 6 2006, 01:13 PM)
it doesn't like ntfs partitions. do you have any fat partitions? try mounting them manually, or better yet, if you have a usb thumbdrive, stick it in when you boot and it will automatically detect and mount it.
*

Hmmm... It doesn't seem to be picking up the USB drive... Let's see if I have another one.
ShiroiKuma
QUOTE(speculatrix @ Apr 6 2006, 01:39 PM)
have you tried using samba shares to share files between the guest system? or, install putty & pscp on the host windows machine and scp the files off the linux guest.
*

Could you explain how to set up a folder or something as a samba share in WinXP, so the Qemu would see it?
ShiroiKuma
QUOTE(speculatrix @ Apr 6 2006, 01:40 PM)
p.s. google for winscp it's a really easy way to copy the files
*

OK, downloaded WinScp.

Could you tell me how exactly to use it now to copy files back and forth to Qemu, i.e. before compilation to Qemu, and after compilation from?

Do I run winscp as host somehow and scp into it from the Qemu, or how?
ShiroiKuma
QUOTE(Meanie @ Apr 6 2006, 01:13 PM)
it doesn't like ntfs partitions. do you have any fat partitions? try mounting them manually, or better yet, if you have a usb thumbdrive, stick it in when you boot and it will automatically detect and mount it.
*

Doesn't seem to work. I've plugged in a USB stick and don't see it anywhere.

I've tried running with the -usb switch, and while it says that it's searching for USB devices etc. the disk isn't anywhere to be seen.

What's wrong?
qx773
If you are running Linux through QEMU, you can mount an MSDOS file system as a loop file:

http://www.oesf.org/forums/index.php?showtopic=17106&hl=qemu

You can then use Cygwin and the mcopy command from the mtools package to copy files from the loop file to an actual hard disk:

http://www.oesf.org/forums/index.php?showtopic=3559&st=75
speculatrix
QUOTE(ShiroiKuma @ Apr 6 2006, 01:49 PM)
QUOTE(speculatrix @ Apr 6 2006, 01:39 PM)
have you tried using samba shares to share files between the guest system? or, install putty & pscp on the host windows machine and scp the files off the linux guest.
*

Could you explain how to set up a folder or something as a samba share in WinXP, so the Qemu would see it?
*



use explorer (open "my computer") to browse files. menu "tools->options", turn off simple file sharing.

right mouse click on a folder, e.g. myfiles, share.

on the linux machine, ensure /etc/samba/smb.conf has the correct workgroup, change if necessary and restart samba.

use "smbclient -L ipaddressofwindows" to check it can see the windows box

then mount the windows share with e.g.
mkdir /mnt/xpfiles
mount -t smbfs //1.2.3.4/xpfiles /mnt/xpfiles
speculatrix
QUOTE(ShiroiKuma @ Apr 6 2006, 01:54 PM)
Do I run winscp as host somehow and scp into it from the Qemu, or how?
*


run winscp, and give it the IP address of the qemu virtual machine, then login.
ShiroiKuma
QUOTE(speculatrix @ Apr 6 2006, 03:57 PM)
run winscp, and give it the IP address of the qemu virtual machine, then login.
*

How do I determine the IP address of the Qemu VM?
ArchiMark
Thanks to David for providing 'the easy way to develop for the Z'...sounds great!

I have briefly reviewed David's webpage on this subject and wonder what approach I should use in my situation....

In other words whether I should use

1) Run in a QEMU virtual machine

2) Run using a DSL Live CD

I have a recent small subnotebook (Averatec AV1050-EB1), that has a Pentium M ULV 733 (1.1GHz) with 1GB RAM...have set it up to dual boot WinXP or Debian....so would have liked (I think...) to install development environment in Debian....but if that's not possible without a lot of difficulty then would like to do either Option 1 or 2 above.

Also, not clear as to what size USB thumbdrive to get if I go that route. What size would be good to use??

Thanks for any and all input!

Mark
ShiroiKuma
There seems to be a problem with cross-compiling Zaurus binaries with the Qemu image.

I noticed when I ran ./configure while compiling Apache 2.2.0, that it said:
CODE
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu


This, after I ran
CODE
. dev-arm-qpe.sh


The compiled binaries then don't run on the Z, says can't execute binary file... logically.

Where is the problem?
Meanie
QUOTE(ShiroiKuma @ Apr 7 2006, 11:07 AM)
There seems to be a problem with cross-compiling Zaurus binaries with the Qemu image.

I noticed when I ran ./configure while compiling Apache 2.2.0, that it said:
CODE
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu


This, after I ran
CODE
. dev-arm-qpe.sh


The compiled binaries then don't run on the Z, says can't execute binary file... logically.

Where is the problem?
*


you need to ./configure --target=armv5tel-unknown-linux-gnu

also, if you boot off the livecd directly, it will be able to mount your drives, but from within qemu, it won't be able to do that and you need to transfer the files via the network using samba, scp, ftp, etc...
i found it best to boot the livecd since it really needs the cpu power unless your pc is super powerful...
uth
QUOTE(ShiroiKuma @ Apr 6 2006, 09:07 PM)
There seems to be a problem with cross-compiling Zaurus binaries with the Qemu image.

I noticed when I ran ./configure while compiling Apache 2.2.0, that it said:
CODE
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu


This, after I ran
CODE
. dev-arm-qpe.sh


The compiled binaries then don't run on the Z, says can't execute binary file... logically.

Where is the problem?
*


you need to pass a flag like this to ./configure: --host=arm-linux
matthis
Thank you for your great image! Using it from Qemu on Mac ox X, works very well.
(it is slow but usable, ibook g3 900Mhz)
jens
Hello!

I'm posting both to share experiences and to ask for help/info:

I'm very happy about this ready-setup environment. It's a very good way to go, not only for Zaurus development; all kinds of SDK's could ship a complete system, instead of letting people spend weeks with configuration errors before becoming productive.. I would not have done my things at all if I had to spend that meaningless time! So thanks very much for this.

I have already used the environment to fix a severe map projection error in the Zaurus qpegps GPS application (though I have not yet shipped the fix back to Sourceforge). Now I have just started with another (flight) navigation program, where I have got stuck because NOW I NEED GDB. And it's not part of the environment. Suspect it has to be some special version/release? Can anybody give instructions what/how to install?

And here's the experience list:

- QEMU newer releases can't be started exactly like described. There's some modification to sound handling, which makes it necessary to put something else in the zsdk.bat. Mine is below.

- Immediately found that 128MB memory is too little to compile most real applications. Discovered the parameter in QEMU. 192MB has been enough for all my compiles.

Here's my zsdk.bat file, which works for me:

REM Start qemu on windows.
REM @ECHO OFF
START qemu.exe -L . -m 192 -hda C:\zdev\sharp_zsdk_dsl_disk.img -hdb C:\zdev\qemu\jens.img -soundhw sb16,es1370 -localtime
CLS
EXIT

Hope it helps somebody. And please tell me how to gdb debug...

Cheers
Jens
Sweden
speculatrix
vmware player?

I've been playing with DSL image for vmware, and the Kopsis image... is anyone interested in the results? vmware runs a bit faster than qemu, and of course with their player, is free as well.
stbrock
QUOTE(speculatrix @ May 12 2006, 06:31 PM)
vmware player?

I've been playing with DSL image for vmware, and the Kopsis image... is anyone interested in the results? vmware runs a bit faster than qemu, and of course with their player, is free as well.
*


Definitely interested. I was working on deglitching this setup a few months back, lost my work in a disk crash, and never got back to it. A vm for the free VM player approaches being idiot-proof for cross-compiling setup -- which seems to be what I need.
speculatrix
I found it was quite easy to run Kopsis' DSL stuff on VMWARE. I created a 1GB partition to run it all in

Briefly, as I remember it
1) install vmware
2) download the DSL vmware program from one of the mirrors - look for dsl-2.4-vmx.zip
http://www.damnsmalllinux.org/download.html
then unpack it
3) fire up vmware and open the DSL image; upgrade it to the latest vmware format
4) create a 1GB partition for the hard drive
5) start up the virtual machine and install DSL to the virtual hard drive
6) login as dsl
7) copy over Kopsis' Embedix & Qtopia UCI files, and the gcc dsl one to ~dsl/MyDSL
8) start ATerminal, cd to MyDSL, install gcc with "mydsl-load gcc-2.95.dsl"
9) Using the file explorer, Emelfm, browse to the MyDSL directory, and open the Embedix.uci and Qtopia.uci

Done! Now in the home dir of mysql just ". dev-x86-qpe.sh" to develop for x86, or ". dev-arm-qpe.sh" to develop for arm - just follow Kopsis' excellent notes.

I'll upload the resulting vmware image - but note that it's 200MB!

-- EDIT: uploaded to www.zaurus.org.uk downloads section under dev.. and it's 192 MB.
Once you start vmware, you need to "run" the UCI files as per 9 above, no need to do the load gcc bit. BTW, the root password is "dsl", there's no password for the user dsl.

I'd be grateful if a few people can mirror that file to save my bandwidth and post the locations here. thanks.
lpotter
nice. I might be able to mirror this... after I test it of course smile.gif
speculatrix
QUOTE(lpotter @ May 16 2006, 08:29 PM)
nice. I might be able to mirror this... after I test it of course smile.gif
*


Maybe you could do a specific DSL vmware install for qtopia2.2+qte2.3.x development - ready with a complete Zaurus rom build script?

Given that a vmware workstation license comes with a 30 day eval, you wouldn't even have to buy a license to do it, or, of course, install vmware server beta for free.

You can also convert between vmware and qemu images.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.