porting x11 to QNX .....

Dear all,
i have got basic practical exposure of how to work in QNX platform.
currently i’m making a study on the topic “porting x11 to QNX on
SH7760 processor (renesas family)”.
i have downloaded the file xf86-4301-qnx6-bin.tar.gz from
sourceforge.net which is having a similar kind of project already
implemented.
after uncompressing the file i got two directories /etc & /usr.
i’m not very much clear with the next steps. any kind of suggestions
for next steps are welcome.

thanks & regards,
soumyajeet

That’s a binary for x86 platform. You have no use for it - you need the
source to port to SH4. It’s a non-trivial task so unless you have skills and
experience needed, chances of success are close to zero.

“soumyajeet” <soumya_jeet@epatra-dot-com.no-spam.invalid> wrote in message
news:d8k2uo$n84$1@inn.qnx.com

Dear all,
i have got basic practical exposure of how to work in QNX platform.
currently i’m making a study on the topic “porting x11 to QNX on
SH7760 processor (renesas family)”.
i have downloaded the file xf86-4301-qnx6-bin.tar.gz from
sourceforge.net which is having a similar kind of project already
implemented.
after uncompressing the file i got two directories /etc & /usr.
i’m not very much clear with the next steps. any kind of suggestions
for next steps are welcome.

thanks & regards,
soumyajeet

soumyajeet <soumya_jeet@epatra-dot-com.no-spam.invalid> wrote:

Dear all,
i have got basic practical exposure of how to work in QNX platform.
currently i’m making a study on the topic “porting x11 to QNX on
SH7760 processor (renesas family)”.
i have downloaded the file xf86-4301-qnx6-bin.tar.gz from
sourceforge.net which is having a similar kind of project already
implemented.

This is the precompiled binary for Intel x86 platform.
You can check the below posting on how to use it:
http://www.openqnx.com/PNphpBB2-viewtopic-t1405-.html

Good luck on porting to other processors.

dear frank,
i have set paths for binaries and libraries and started into text mode
successfully.

at which path/ condition the following step must be used?
(collected from the link :
http://www.openqnx.com/PNphpBB2-viewtopic-t1405-.html)
****To configure X Window, you need to run “XFree86 -configure”, which
will create a “XF86Config.new” file that you can copy into
/etc/X11/XF86Config-4. You may want to modify this file to change
some default settings (such as set your own default color depth).


From “xf86-4301-qnx6-bin.tar.gz” i got “XF86Config-4-sample” under
“/etc/X11”. while trying to run it, its giving lines together “not
found”. please suggest which config file should be used here and
before using any prerequisites are there or not.

regards,
soumyajeet

soumyajeet <soumya_jeet@epatra-dot-com.no-spam.invalid> wrote:

dear frank,
i have set paths for binaries and libraries and started into text mode
successfully.

If you already set the path, the “XFree86” command should be there.
As root, just type “XFree86 -configure”.
If you get “not found” error, it means your path is not setup correctly.
do “echo $PATH” to see if /usr/X11R6/bin" is in there.
You can also try to give the full path:
/usr/X11R6/bin/XFree86 -configure
try “ls /usr/X11R6/bin” and you will see all the executables, if not,
you must have untarred wrongly. make you you untar in the / directory
as mentioned in http://www.openqnx.com/PNphpBB2-viewtopic-t1405-.html

One last note, in case you didn’t read my last post clearly,
this precompiled binary is for Intel x86 processors only.

Frank



at which path/ condition the following step must be used?
(collected from the link :
http://www.openqnx.com/PNphpBB2-viewtopic-t1405-.html> )
****To configure X Window, you need to run “XFree86 -configure”, which
will create a “XF86Config.new” file that you can copy into
/etc/X11/XF86Config-4. You may want to modify this file to change
some default settings (such as set your own default color depth).


From “xf86-4301-qnx6-bin.tar.gz” i got “XF86Config-4-sample” under
“/etc/X11”. while trying to run it, its giving lines together “not
found”. please suggest which config file should be used here and
before using any prerequisites are there or not.

regards,
soumyajeet

dear frank,
i’m currently trying x11 on x86 series only to check its working.
completing it successfully later i’m going to start with SH7760.
following the link you gave i was able to

  1. uncompress the file properly
  2. set binaries and libraries path
  3. configure using “XFree86 -configure”, and get the file
    “XF86Config.new”
  4. copied the same file under /etc/X11 as XF86Config-4 replacing
    XF86Config-4-sample

finishing all these when i gave the command “startx” or “XFree86
-xf86config /root/XF86Config.new” (i tried it multiple no of times)
i got the following message:
(EE) I810(0) :AGP GART support is not available. Make sure your kernel
has agpgart support or that the agpgart kernel module is loaded.
XIO: fatal IO error 254 (Connection reset by peer) on X server “:0.0”
after 0 requests (0known processed)with 0 events remaining.

please suggest how to recover out of this problem.

regards,
soumyajeet

soumyajeet <soumya_jeet@epatra-dot-com.no-spam.invalid> wrote:

dear frank,
i’m currently trying x11 on x86 series only to check its working.
completing it successfully later i’m going to start with SH7760.
following the link you gave i was able to

  1. uncompress the file properly
  2. set binaries and libraries path
  3. configure using “XFree86 -configure”, and get the file
    “XF86Config.new”
  4. copied the same file under /etc/X11 as XF86Config-4 replacing
    XF86Config-4-sample

finishing all these when i gave the command “startx” or “XFree86
-xf86config /root/XF86Config.new” (i tried it multiple no of times)
i got the following message:
(EE) I810(0) :AGP GART support is not available. Make sure your kernel
has agpgart support or that the agpgart kernel module is loaded.
XIO: fatal IO error 254 (Connection reset by peer) on X server “:0.0”
after 0 requests (0known processed)with 0 events remaining.

please suggest how to recover out of this problem.

It seems xfree86 i810 isn’t supported in qnx due to the requirement of
the gart kernel module. You will need to pick a different card for
testing.

dear frank,
as you mentioned about the video card family problem, i’m very much
sure after checking the log file /var/log/XFree86.0.log. there
initially modules got loaded correctly, when it is initializing with
i810 driver there server configuration is crashing (creating the
message what i mentioned in my earlier post).

i would like to know which families of cards can give support without
this AGP GART kernel support problem.

better if you can suggest on which family you worked to complete the
job.

regards,
soumyajeet

soumyajeet <soumya_jeet@epatra-dot-com.no-spam.invalid> wrote:

dear frank,
as you mentioned about the video card family problem, i’m very much
sure after checking the log file /var/log/XFree86.0.log. there
initially modules got loaded correctly, when it is initializing with
i810 driver there server configuration is crashing (creating the
message what i mentioned in my earlier post).

i would like to know which families of cards can give support without
this AGP GART kernel support problem.

better if you can suggest on which family you worked to complete the
job.

ATI, Matrox, S3 all should work.
If you just want to do the test and complete your job, I would suggest
you using VMWare and run QNX 6 inside. XFree86 supports the VMWare’s
virtual graphics “card”.

dear frank,
thanks for the support you gave. with help of a system with matrax
card server is working fine.
my next activity will be to connect two systems with 1394 cable and
configure them as X server and X client. for configuring them as
client and server will there be any change in configuration steps or
they will be same? i will update you with the next steps as i carry
on here.

regards,
soumyajeet

“soumyajeet” <soumya_jeet@epatra-dot-com.no-spam.invalid> wrote in message
news:d93m47$f60$1@inn.qnx.com

dear frank,
thanks for the support you gave. with help of a system with matrax
card server is working fine.
my next activity will be to connect two systems with 1394 cable and
configure them as X server and X client.

1394??? There is no native support for firewire under QNX6

for configuring them as
client and server will there be any change in configuration steps or
they will be same? i will update you with the next steps as i carry
on here.

regards,
soumyajeet

dear frank,
i downloaded entire set (7 files) of XFree86 4.5.0 source code in the
form of .tgz files. after untaring them under xc and creating a
shadow directory named build i tried following commands under build:
$ make World > World.log
$ make install
$ make install.man
completing till here i got X11 under /etc and X11R6 under /opt.
during compilation error messages came, but surprisingly compilation
continued till end.
i tried from binary file xf86-4301-qnx6-bin.tar.gz earlier and server
was up. this time content in X11 & in X11R6 are not the same as i
got from binary image.
please guide me if any changes are required in the process. i want to
generate a similar kind of binary file from the source codes.

thanks & regards,
soumyajeet