Author Topic: Sharp Zaurus Sdk The Easy Way  (Read 69143 times)

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Sharp Zaurus Sdk The Easy Way
« Reply #45 on: May 12, 2006, 06:31:05 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.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

stbrock

  • Full Member
  • ***
  • Posts: 149
    • View Profile
    • http://
Sharp Zaurus Sdk The Easy Way
« Reply #46 on: May 12, 2006, 10:33:16 pm »
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=126819\"][{POST_SNAPBACK}][/a][/div]

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

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Sharp Zaurus Sdk The Easy Way
« Reply #47 on: May 16, 2006, 09:00:59 am »
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.
« Last Edit: May 16, 2006, 12:21:07 pm by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

lpotter

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
    • http://qtopia.net
Sharp Zaurus Sdk The Easy Way
« Reply #48 on: May 16, 2006, 03:29:09 pm »
nice. I might be able to mirror this... after I test it of course
Software Engineer, Systems Group, MES, Trolltech
irc.freenode.net #qtopia
http://qtopia.net

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Sharp Zaurus Sdk The Easy Way
« Reply #49 on: May 17, 2006, 06:27:28 am »
Quote
nice. I might be able to mirror this... after I test it of course
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127318\"][{POST_SNAPBACK}][/a][/div]

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.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

lpotter

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
    • http://qtopia.net
Sharp Zaurus Sdk The Easy Way
« Reply #50 on: May 19, 2006, 02:18:48 pm »
actually, if I have time, I might do a nice vmware/iso Qtopia development package.

And Trolltech has a nice licensed copy of vmware station on my windows box at work.  How convenient.
« Last Edit: May 19, 2006, 02:21:33 pm by lpotter »
Software Engineer, Systems Group, MES, Trolltech
irc.freenode.net #qtopia
http://qtopia.net

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Sharp Zaurus Sdk The Easy Way
« Reply #51 on: May 20, 2006, 04:10:31 am »
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127283\"][{POST_SNAPBACK}][/a][/div]

wow, the GUI customisation looks even better than the default DSL one which I thought was pretty impressive already.  This is just perfect. I was working on building a dual boot vmware image with DSL/Kopsis for Qtopia development and pdaXrom X86 for my OQO, but I am gonna use your vmware image for the base now instead of what I had since it looks so much nicer and the boot is much cleaner
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

DoTheDog

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Sharp Zaurus Sdk The Easy Way
« Reply #52 on: May 28, 2006, 10:36:25 am »
speculatrix,
Very cool stuff. I got it up and running in a couple of minutes. I do have a question. Is there a trick to getting networking running? VMWare has two network adapters in Winbloze but all I get in DSL is the localhost.
Z sl-c3100, Planex GW-CF11X Wifi, Home made docking station (4 port powered hub, 60GB 2.5" HD, Belkin Wired USB 10/100 Ethernet card), Belkin F8T003 ver 2.11 BT USB Dongle
Stock Sharp ROM, Tetsu's special kernel v18b, Lots of stuff gleaned off of Meanie's Incredible Site! Debian PocketWorkstation.
Z2 sl-c1000, OZ 3.5.4.1 GPE - Trying to make it a PlutoHome Orbiter

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Sharp Zaurus Sdk The Easy Way
« Reply #53 on: May 29, 2006, 03:29:38 pm »
Quote
speculatrix,
Very cool stuff. I got it up and running in a couple of minutes. I do have a question. Is there a trick to getting networking running? VMWare has two network adapters in Winbloze but all I get in DSL is the localhost.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=128671\"][{POST_SNAPBACK}][/a][/div]

You need to configure vmware in the host...  I've used both NAT and bridging. NAT means that your PC acts as a router, and you use address/port translation (or internet connection sharing, I think, on windows)... bridging is easier in some ways as the VM appears like another network card in the PC and gets its own DHCP address.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

malik

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Sharp Zaurus Sdk The Easy Way
« Reply #54 on: July 31, 2006, 09:01:55 am »
hello,

i tried the vmware image and it works great, but i have the following problem. i do not know much about the dsl uci stuff, only that particular files (embedix resp. qtopia) are added as read only to the system. as i miss for instance sdl devel packages, i do not know how to handle it. where do i get the corresponding sdl packages (and other typical ones for the zaurus develeopment) and how do i add them correctly to the system?

thanx in advance, malik
borzoi, cacko 1.23 lite, 1gb kingston cf, 512mb toshiba sd.. suse 10.0

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3706
    • View Profile
Sharp Zaurus Sdk The Easy Way
« Reply #55 on: July 31, 2006, 10:40:21 am »
Quote
dsl uci stuff
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137048\"][{POST_SNAPBACK}][/a][/div]

basically, the UCI files are a compressed ISO image which you can simply mount using loopback. When you've done so using the standard DSL tools for doing this, you just need to fix your environment.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

kopsis

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • http://kopsisengineering.com
Sharp Zaurus Sdk The Easy Way
« Reply #56 on: July 31, 2006, 11:13:31 am »
Quote
where do i get the corresponding sdl packages (and other typical ones for the zaurus develeopment) and how do i add them correctly to the system?[div align=\"right\"][a href=\"index.php?act=findpost&pid=137048\"][{POST_SNAPBACK}][/a][/div]

Welcome to one of the problems with stock Zaurus ROM development. There are no "standard" cross-development libraries beyond the ones included in the image. Things like SDL libs are built by the community and how they need to be integrated into your cross-dev environment depends largely on who built them and how.

Though UCI files aren't terribly difficult to modify, in most cases the easiest thing to do is just put the extra cross-dev libraries and headers somewhere under the /home directory on the virtual HD and then modify the application's Makefile to look there for them. If the app uses autoconf then there's often a ./config parameter to specify things like SDL lib location.

matthis

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://badaboum.bidibom.free.fr/mat/
Sharp Zaurus Sdk The Easy Way
« Reply #57 on: August 22, 2006, 08:58:01 pm »
I agree that having SDL cross-libs would really be a life-saver!!

wrc4

  • Full Member
  • ***
  • Posts: 114
    • View Profile
Sharp Zaurus Sdk The Easy Way
« Reply #58 on: August 25, 2006, 05:08:25 am »
What's the su password? Is that dsl? I tried that but it said Authentication failure.
Zaurus SL-C1000 (Debian)
Zaurus SL-7500C
Nokia N810
KOHJINSHA SC3
ASUS EEEPC 701
ASUS WL-HDD 2.5
ASUS WL-500GPv2
WD MyBookWorldEdition (with a Segate 500G HD inside)

kopsis

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • http://kopsisengineering.com
Sharp Zaurus Sdk The Easy Way
« Reply #59 on: August 25, 2006, 07:52:20 am »
Quote
What's the su password? Is that dsl? I tried that but it said Authentication failure.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139747\"][{POST_SNAPBACK}][/a][/div]

DSL (like many distros) has root logins disabled by default. To get root, do a "sudo su" (no password is required unless you've set a password for the "dsl" user).