OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: ernestus on June 25, 2007, 06:35:28 am

Title: Has Anyone Tried Qemu? (and More)
Post by: ernestus on June 25, 2007, 06:35:28 am
Hi all.

Finally I have chosen pdaXrom as my rom (it has taken a whole year... I tried everything under the Sun). So the first thing to do was setting up a development environment in my Z (thanks all of you that make such a nice collection of squashed images) and tried to compile my "must have" programs.

Currently I am trying to compile Qt 4.3.0, but there is a lot of things to fix to compile it (I am using the images Meanie has made available in his web site). And now it's taking more than one week of micro-drive  24/7 hard work (I make a fix, launch the compiler, and errors appear many hours later ). I am afraid the micro-drive it's not designed for this kind of work... Is this correct?

There is an emulator out there, QEMU, able to emulate several ARM systems, has anyone tried to compile "natively" with it, I mean having an emulated ARM system to compile quasi-natively...?

I am seriously thinking about cross compiling, the rom I tried just before (OpenZaurus) has a very well defined set of tools for this, even a virtual machine you can download to do the job... I am a little bit confused about pdaXrom, which tools do you use to develop and compile, guys?

I apologise if I overlook the posts that made those subjects clear...

Thanks.
E
Title: Has Anyone Tried Qemu? (and More)
Post by: koen on June 25, 2007, 10:06:59 am
Quote
Hi all.

Finally I have chosen pdaXrom as my rom (it has taken a whole year... I tried everything under the Sun). So the first thing to do was setting up a development environment in my Z (thanks all of you that make such a nice collection of squashed images) and tried to compile my "must have" programs.

Currently I am trying to compile Qt 4.3.0, but there is a lot of things to fix to compile it (I am using the images Meanie has made available in his web site). And now it's taking more than one week of micro-drive  24/7 hard work (I make a fix, launch the compiler, and errors appear many hours later ). I am afraid the micro-drive it's not designed for this kind of work... Is this correct?

[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=163696\")

If you want QT 4.3.0, angstrom has it: [a href=\"http://www.angstrom-distribution.org/repo/?action=details&pnm=qt4-x11-free]http://www.angstrom-distribution.org/repo/...nm=qt4-x11-free[/url] , which means you can use OpenEmbedded to build your favourite qt4 apps without having to 'fix' qt4
Title: Has Anyone Tried Qemu? (and More)
Post by: Capn_Fish on June 25, 2007, 11:21:01 am
Cross compiling is almost as easy as native compiling. Yiu DL the environment and decompress it to /. Then, run /opt/.../runsdk.sh and build away.

Google "pdaxrom cross-compiling" for a how-to.

This does require a Linux box, IIRC.
Title: Has Anyone Tried Qemu? (and More)
Post by: Dromede on June 25, 2007, 12:21:05 pm
Quote
Cross compiling is almost as easy as native compiling. Yiu DL the environment and decompress it to /. Then, run /opt/.../runsdk.sh and build away.

Google "pdaxrom cross-compiling" for a how-to.

This does require a Linux box, IIRC.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163706\"][{POST_SNAPBACK}][/a][/div]

could you elaborate this a bit or at least point me to some links where i could find some info on setting the cross-compiling environment? i downloaded pdaxrom-builder from svn and tried compiling it under kubuntu feisty. didnt work. i also downloaded pdaxrom.iso and i tried running it under vmware but i still don't know what to do. i mean, it works perfectly under vmware but the /opt/cross/ is more or less empty... there are some quick tutorials on pdaxrom.org but those are written in poor english and are therefore quite hard to follow&understand... i dont want to build the whole rom, i just want to set the environment right and then start compiling. latest e-uae will be my first target...
Title: Has Anyone Tried Qemu? (and More)
Post by: Capn_Fish on June 25, 2007, 02:28:18 pm
https://www.oesf.org/index.php?title=Pdaxro...oss_Compilation (https://www.oesf.org/index.php?title=Pdaxrom:_Cross_Compilation)

Some stuff may not apply (URLs, iconv), but it should do. The stuff you need is at the distro.ibiblio.org/... site.
Title: Has Anyone Tried Qemu? (and More)
Post by: ernestus on June 26, 2007, 05:49:17 am
[For Capn_Fish]
Thanks Capn_Fish, it needed some investigation, googling with filenames and so, but finally I am dowloading the iso image at: http://distro.ibiblio.org/pub/linux/distri...1.0r121/pdaX86/ (http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/download/1.1.0r121/pdaX86/)
and the hard to find part, the cross compiling env from:
http://zaurus.spy.org/feeds/cacko/pdaXrom/...ftfloat.tar.bz2 (http://zaurus.spy.org/feeds/cacko/pdaXrom/1.1.0/beta3/cross-sdk-armv5tel-cacko-linux-3.4.6-2.2.5-softfloat.tar.bz2)
if it works, I may update the wiki.

[For Koen]
Thanks koen, I am going to stay with pdaXrom for a while, I've found some usability problems in Angstrom, I understand it's in a development state. The speed and responsiveness of your system is amazing, and I envy the slickness of the building tools you use.
But I am using the Zaurus  as a substitute for my laptop in very long flights to Asia: I need some kind of "immediate productivity", and this is something pdaXrom excels at, due to people as Meanie, working in a very user-centric way.
Given that pdaXrom is going to kernel 2.6, makes sense trying to merge both projects, there are not too many developers, and dividing them is not wise. But people tend to have lots of inertia (and are very stubborn as well), sh*t!...

Thanks all.
E
Title: Has Anyone Tried Qemu? (and More)
Post by: koen on June 26, 2007, 06:17:57 am
Quote
I've found some usability problems in Angstrom
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=163766\")

Have you filed bugs for those? See rule #5 on [a href=\"http://www.angstrom-distribution.org/]http://www.angstrom-distribution.org/[/url]
Title: Has Anyone Tried Qemu? (and More)
Post by: ernestus on June 26, 2007, 06:44:19 am
Nope
Title: Has Anyone Tried Qemu? (and More)
Post by: Capn_Fish on June 26, 2007, 12:39:04 pm
Quote
[For Capn_Fish]
Thanks Capn_Fish, it needed some investigation, googling with filenames and so, but finally I am dowloading the iso image at: http://distro.ibiblio.org/pub/linux/distri...1.0r121/pdaX86/ (http://distro.ibiblio.org/pub/linux/distributions/pdaxrom/download/1.1.0r121/pdaX86/)
and the hard to find part, the cross compiling env from:
http://zaurus.spy.org/feeds/cacko/pdaXrom/...ftfloat.tar.bz2 (http://zaurus.spy.org/feeds/cacko/pdaXrom/1.1.0/beta3/cross-sdk-armv5tel-cacko-linux-3.4.6-2.2.5-softfloat.tar.bz2)
if it works, I may update the wiki.
Thanks all.
E
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163766\"][{POST_SNAPBACK}][/a][/div]
You don't need the ISO. Just extract the cross-sdk... file to / and run /opt/cross/.../runsdk.sh.
Title: Has Anyone Tried Qemu? (and More)
Post by: ernestus on June 26, 2007, 04:40:12 pm
[/quote]
You don't need the ISO. Just extract the cross-sdk... file to / and run /opt/cross/.../runsdk.sh.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=163782\"][{POST_SNAPBACK}][/a][/div]
[/quote]
Oops, I thought there was a complete dev environment in the ISO image .
I've just installed the cross compiler, ...just making tests.
Cheers