Author Topic: Source code for X11 Server?  (Read 1335 times)

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Source code for X11 Server?
« on: September 13, 2004, 09:19:19 am »
Although 50% off-topic:

I am trying to find my path through the net to the source code of a working X11 server for the Zaurus (i.e. drivers for ARM architecture, some mechanism to access the display, keyboard and touch pad).

I know that there are
* pdaXROM for the C series models using some hardware acceleration
* X/Qt for using Qt libraries
* the old x11zaurus which apparently uses Xfb

What I could not find is the source code for any of them (for X/Qt my understanding of Japanese is not good enough and the sources of x11zaurus have probably been trashed when the company was closed) - and there appears to be no hint within the X.org distribution how to make it run on an ARM processor.

For my project all of them have their drawbacks, so I decided to try my own luck.

Any hints/links are really appreciated.

-- hns
« Last Edit: September 13, 2004, 09:20:58 am by dhns »
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Source code for X11 Server?
« Reply #1 on: September 13, 2004, 06:27:44 pm »
Download OpenEmbedded and fire up 'oemake xserver'. You'll then see how OE fetches the X.org sources to build a nice X server for whatever-machine-is-supported-by-oe.
« Last Edit: September 13, 2004, 06:28:54 pm by Mickeyl »
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Source code for X11 Server?
« Reply #2 on: September 14, 2004, 05:35:10 am »
Quote
Download OpenEmbedded and fire up 'oemake xserver'. You'll then see how OE fetches the X.org sources to build a nice X server for whatever-machine-is-supported-by-oe.
Mickey,
many thanks for that hint. Now, I have looked a little into the OE Wiki but this raises questions that I was not able to get answered easily enough:

* Is it required to install a complete build system just to compile an X server?
* Does OE run on Mac OS X for cross-compilation?
* Is it possible to use OE to compile for the Sharp ROM (glibc) or only for OZ? I can't force my users to flash a kernel just to install an X server.

-- hns
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Source code for X11 Server?
« Reply #3 on: September 14, 2004, 06:15:55 am »
* Is it required to install a complete build system just to compile an X server?

Installing OE is enough, since this build system also builds the toolchain and the necessary dependencies for the X server.

* Does OE run on Mac OS X for cross-compilation?

I don't have a Mac, but I've been told that someone got it working. Check out the Wiki.

* Is it possible to use OE to compile for the Sharp ROM (glibc) or only for OZ? I can't force my users to flash a kernel just to install an X server.

That may work. We have glibc-2.2.5 in OE, although you would need to tell OE to use your prebuilt 2.95.3 toolchain. Since no one of the OE core team is interested in the SharpROM, it would be nice to have someone looking if that works (and if not, supply some patches )
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

dhns

  • Hero Member
  • *****
  • Posts: 699
    • View Profile
    • http://www.goldelico.com
Source code for X11 Server?
« Reply #4 on: September 24, 2004, 08:57:00 am »
If somebody else needs to know what I have found on the original question.

An X server for the Zaurus uses the Framebuffer driver (kdrive) to generate Xfbdev. Here some links:

http://www.pps.jussieu.fr/~jch/software/kdrive.html
http://www.handhelds.org/minihowto/building-x.html
http://lists.arm.linux.org.uk/pipermail/li...ber/006587.html
http://www.rule-project.org/en/sw/kdrive.php

-- hns
« Last Edit: September 24, 2004, 08:58:43 am by dhns »
SL5500G, C860, C3100, WLAN, RTM8000, Powerbook G4, and others...
http://www.handheld-linux.com
http://www.quantum-step.com

Laze

  • Hero Member
  • *****
  • Posts: 704
    • View Profile
    • http://www.pdaXrom.org
Source code for X11 Server?
« Reply #5 on: September 24, 2004, 09:03:40 am »
Later this weekend we expect to upload all the sources for pdaXrom..
C760 running pdaXrom lastest ;-)
SL5500 Running Cacko Qtopia
512 MB SD Card, 128 MB CF Card, Prism2 CF Wlan.

Always visit http://www.pdaXrom.org for latest news.

Bebe

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • http://
Source code for X11 Server?
« Reply #6 on: September 24, 2004, 11:48:26 am »
Thanks Laze.  I should have read this post first before replying to the other one about kernel sources. Oh well...
C860 pdaXrom
PNY 512 SD | Lexar 48 CF | Lexar 256 CF
Linksys WCF12 | Targus IR Keyboard
SuSE 9.1 x86_64 Kernel 2.6.7 | FreeBSD 5.2.1 | WinXp

ScottYelich

  • Hero Member
  • *****
  • Posts: 992
    • View Profile
    • http://www.zaurususergroup.com/modules.php?opmodload&namephpWiki&filei
Source code for X11 Server?
« Reply #7 on: September 24, 2004, 11:19:04 pm »