Help - Search - Members - Calendar
Full Version: Pdaxrom In Chroot
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
Meanie
Is it theoretically possible to run pdaXrom in a chroot environment on the Sharp ROM via X/Qt similar to running Debian PocketWorkstation?
Stubear
Yes, it's theoretically possible.

I had it working for a while on my C760, but had a lot of problems with matchbox - it kept segfaulting at odd times.

I ended up changing the window manager to icewm from the X/Qt feed and got a kinda hybrid X/Qt-pdaX-pocketworkstation thing going. After a while I stopped chrooting and focused more on getting pdax ipks to run directly under X/Qt, but them my C760 died.

Haven't got around to trying it with my new C1k (been cross-compiling apps with OE with gcc 2.95.3). I'd be interested in hearing your results

Stu
adf
I think you'd be better off if you did chroot and used the pdaX X server instead of the xqt one. The pdax stuff seem a good bit faster than xqt
Stubear
I tried that at first but had problems getting the pdax X server to run properly with the Sharp kernel on the C760 - some kinda difference in the calibration of the touchscreen from memory.

Stu
adf
hmmm ...can the pdaX kernel be used instead of the sharp kernel? or a 3rd kernel? this was something the guylhem rom might do for the 6k.... something similar could be done for the 1k maybe?
auauhiro
I also tried to chroot to pdaXrom from X/Qt. But, almost all X-clients complained about something and it did not work well. I think that it is due to the difference of
the libraries between X/Qt and pdaXrom. The binaries of pdaXrom use soft-float libraries, on the other hand the libraries of X/Qt use hard-float emulation embedded in kernel.

But, it is possible to use pdaXrom chrooted from Qtopia. Use Xvnc server, which is included in pocketworkstation as X-server and connect to Xvnc from keypebble vnc-viewer. It is still faster than the debian on X/Qt except the drawing speed of the screen.
sashz
QUOTE(auauhiro @ Jun 1 2005, 06:20 PM)
I also tried to chroot to pdaXrom from X/Qt. But, almost all X-clients complained about something and it did not work well. I think that it is due to the difference of
the libraries between X/Qt and pdaXrom. The binaries of pdaXrom use soft-float libraries, on the other hand the libraries of X/Qt use hard-float emulation embedded in kernel.
*


use pdaXrom-builder for rebuild all binaries in official feed and system without soft-float :-)
Meanie
gosh, rebuilding the complete pdaXrom apps sounds kinda extreme, but seems to be the only option if I wanted to try running the latest rc10 stuff. The old pdaXrom packages do run under X/Qt (well some of them) but some crash because of X/Qt bugs sad.gif
The new pdaXrom stuff is using newer versions of glib and libgcc plus this softfloat sad.gif
I will just wait for a version of pdaXrom that can boot off a SD card smile.gif
Stubear
If you are chrooting then pdax should be using its own libs and not complaining about anything, all you need to do is get X/Qt running outside the chroot to act as pdaX's X server - I remember that took some playing around with DISPLAY variables and xhost permissions

Stu
Meanie
QUOTE(Stubear @ Jun 3 2005, 12:57 AM)
If you are chrooting then pdax should be using its own libs and not complaining about anything, all you need to do is get X/Qt running outside the chroot to act as pdaX's X server - I remember that took some playing around with DISPLAY variables and xhost permissions

Stu
*


That sounds like the same as chrooting debian, I might give it a try if I have nothing else to do
auauhiro
QUOTE(Meanie @ Jun 3 2005, 12:07 AM)
QUOTE(Stubear @ Jun 3 2005, 12:57 AM)
If you are chrooting then pdax should be using its own libs and not complaining about anything, all you need to do is get X/Qt running outside the chroot to act as pdaX's X server - I remember that took some playing around with DISPLAY variables and xhost permissions

Stu
*


That sounds like the same as chrooting debian, I might give it a try if I have nothing else to do
*



Debian running on Qt/X has no troubles and almost all X-Clients including gtk2 and KDE work well.
I assume that QT/X-server uses the X-libraries of pdaXrom after chrooted to pdaXrom and because of the incompatibility of the libries between hard-float and soft-float, Qt/X server can not work properly. Using debians, the debians libraries are hard-float and they are newer than those of Qt/X, so they are upper-compatible to those of Qt/X. If I can make the static-linked Qt/X server, it also will work well on pdaXrom.
Stubear
QUOTE(auauhiro @ Jun 3 2005, 03:19 PM)
Debian running on Qt/X has no troubles and almost all X-Clients including gtk2 and KDE work well.
I assume that QT/X-server uses the X-libraries of pdaXrom after chrooted to pdaXrom and because of the incompatibility of the libries between hard-float and soft-float, Qt/X server can not work properly. Using debians, the debians libraries are hard-float and they are newer than those of Qt/X, so they are upper-compatible to those of Qt/X. If I can make the static-linked Qt/X server, it also will work well on pdaXrom.
*


No, X/Qt runs outside the chroot, only the pdax apps are inside the chroot. There is no conflict of libs for X/Qt - it only uses the libs that are installed fro in on the zaurus, not anything inside the chroot.

The problems I had were not with X/Qt but with apps inside the chroot not getting the devices/environment they expected. Once X/Qt has started you can run apps for X/Qt along with apps in the pdax chroot. As long as you have the DISPLAY settings correct they will both appear in X/Qt server.

Stu
adf
is there not an xqt compiled for OZ? Mickeyl was talking about wanting it awhile ago.
If so, then it should be compatable with the soft-float pdax stuff. Though running pdax chrooted from opie is almost perversly geeky smile.gif
Meanie
I was sort of able to get around the soft float thing by replacing libgcc and one other library but then the pdax app would complain about something on qtopia so I was thinking that isolating pdax in its own chroot environment could get around that and since it is x based, be able to use X/Qt for rendering just like pocketworkstation does.
pgas
In case you missed this thread :

http://www.oesf.org/forums/index.php?showtopic=12842

I think it might contains usefull info for this topic
Meanie
QUOTE(pgas @ Jun 6 2005, 05:15 PM)
In case you missed this thread :

http://www.oesf.org/forums/index.php?showtopic=12842

I think it might contains usefull info for this topic
*


thanks, I was already working on it smile.gif and trying to remove files that I don't need to shrink the space required for the whole thing. biggrin.gif
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.