Linux MIPS Architecture development
 help / color / mirror / Atom feed
* XFree 4.0.1 on mips, mipsel
@ 2000-06-23 16:17 Guido Guenther
  2000-06-23 16:53 ` Bradley D. LaRonde
  2000-07-12 19:12 ` J. Scott Kasten
  0 siblings, 2 replies; 21+ messages in thread
From: Guido Guenther @ 2000-06-23 16:17 UTC (permalink / raw)
  To: linux-mips, linux

I've submitted several patches to the XFree-Project to include at least
basic support for mips/mipsel architecture. These are based on previous
work done by Ralf Baechle, Ulf Carlson, Gleb O. Reiko & Nina A.
Podolskaya. I hope I didn't break anything.
The patches are known to work on the Indy but are AFAIK untested on other 
mips machines and appear in the alpha version of xfree which can be checked 
out of the repository at sourceforge, see: http://www.xfree86.org/cvs/
Regards,
 -- Guido

-- 
GPG-Public Key: http://honk.physik.uni-konstanz.de/~agx/guenther.gpg.asc

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 16:17 XFree 4.0.1 on mips, mipsel Guido Guenther
@ 2000-06-23 16:53 ` Bradley D. LaRonde
  2000-06-23 16:53   ` Bradley D. LaRonde
                     ` (2 more replies)
  2000-07-12 19:12 ` J. Scott Kasten
  1 sibling, 3 replies; 21+ messages in thread
From: Bradley D. LaRonde @ 2000-06-23 16:53 UTC (permalink / raw)
  To: Guido Guenther, linux-mips, linux

----- Original Message -----
From: "Guido Guenther" <guido.guenther@gmx.net>
To: <linux-mips@fnet.fr>; <linux@cthulhu.engr.sgi.com>
Sent: Friday, June 23, 2000 12:17 PM
Subject: XFree 4.0.1 on mips, mipsel


> I've submitted several patches to the XFree-Project to include at least
> basic support for mips/mipsel architecture. These are based on previous
> work done by Ralf Baechle, Ulf Carlson, Gleb O. Reiko & Nina A.
> Podolskaya. I hope I didn't break anything.
> The patches are known to work on the Indy but are AFAIK untested on other
> mips machines and appear in the alpha version of xfree which can be
checked
> out of the repository at sourceforge, see: http://www.xfree86.org/cvs/
> Regards,
>  -- Guido

Hmm... I use XFree 4.0 on my mipsel platform with no core paches (just some
config stuff and some kdrive stuff).

What do your patches do?

Regards,
Brad

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 16:53 ` Bradley D. LaRonde
@ 2000-06-23 16:53   ` Bradley D. LaRonde
  2000-06-23 16:55   ` Guido Guenther
  2000-06-23 17:02   ` Hiroshi Kawashima
  2 siblings, 0 replies; 21+ messages in thread
From: Bradley D. LaRonde @ 2000-06-23 16:53 UTC (permalink / raw)
  To: Guido Guenther, linux-mips, linux

----- Original Message -----
From: "Guido Guenther" <guido.guenther@gmx.net>
To: <linux-mips@fnet.fr>; <linux@cthulhu.engr.sgi.com>
Sent: Friday, June 23, 2000 12:17 PM
Subject: XFree 4.0.1 on mips, mipsel


> I've submitted several patches to the XFree-Project to include at least
> basic support for mips/mipsel architecture. These are based on previous
> work done by Ralf Baechle, Ulf Carlson, Gleb O. Reiko & Nina A.
> Podolskaya. I hope I didn't break anything.
> The patches are known to work on the Indy but are AFAIK untested on other
> mips machines and appear in the alpha version of xfree which can be
checked
> out of the repository at sourceforge, see: http://www.xfree86.org/cvs/
> Regards,
>  -- Guido

Hmm... I use XFree 4.0 on my mipsel platform with no core paches (just some
config stuff and some kdrive stuff).

What do your patches do?

Regards,
Brad

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 16:53 ` Bradley D. LaRonde
  2000-06-23 16:53   ` Bradley D. LaRonde
@ 2000-06-23 16:55   ` Guido Guenther
  2000-06-23 17:09     ` Bradley D. LaRonde
  2000-06-23 17:02   ` Hiroshi Kawashima
  2 siblings, 1 reply; 21+ messages in thread
From: Guido Guenther @ 2000-06-23 16:55 UTC (permalink / raw)
  To: Bradley D. LaRonde; +Cc: linux-mips, linux

On Fri, Jun 23, 2000 at 12:53:19PM -0400, Bradley D. LaRonde wrote:
> ----- Original Message -----
> From: "Guido Guenther" <guido.guenther@gmx.net>
[..snip..] 
> Hmm... I use XFree 4.0 on my mipsel platform with no core paches (just some
> config stuff and some kdrive stuff).
> 
> What do your patches do?
It adds the neccessary config stuff to config/cf and sorts out the proper 
architecture dependent routines in xfree86/os-support.
Regards,
 -- Guido

-- 
GPG-Public Key: http://honk.physik.uni-konstanz.de/~agx/guenther.gpg.asc

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 16:53 ` Bradley D. LaRonde
  2000-06-23 16:53   ` Bradley D. LaRonde
  2000-06-23 16:55   ` Guido Guenther
@ 2000-06-23 17:02   ` Hiroshi Kawashima
  2000-06-23 17:08     ` Bradley D. LaRonde
  2 siblings, 1 reply; 21+ messages in thread
From: Hiroshi Kawashima @ 2000-06-23 17:02 UTC (permalink / raw)
  To: Bradley D. LaRonde; +Cc: Guido Guenther, linux-mips, linux

> Hmm... I use XFree 4.0 on my mipsel platform with no core paches (just some
> config stuff and some kdrive stuff).
Brad, are your patches (around kdrive) already public ?
It's desired...
----
Kawashima

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 17:09     ` Bradley D. LaRonde
@ 2000-06-23 17:07       ` Guido Guenther
  2000-06-23 17:46         ` Bradley D. LaRonde
  0 siblings, 1 reply; 21+ messages in thread
From: Guido Guenther @ 2000-06-23 17:07 UTC (permalink / raw)
  To: Bradley D. LaRonde; +Cc: linux-mips, linux

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

On Fri, Jun 23, 2000 at 01:09:03PM -0400, Bradley D. LaRonde wrote:
[..snip..] 
> May I have a copy of those patches for review?
They look basically like this(Imake.cf additionally checks for mipsel):

-- 
GPG-Public Key: http://honk.physik.uni-konstanz.de/~agx/guenther.gpg.asc

[-- Attachment #2: mips.diff --]
[-- Type: text/plain, Size: 22564 bytes --]

Index: xfree86/xc/config/cf/Imake.cf
diff -c xfree86/xc/config/cf/Imake.cf:1.1.1.1 xfree86/xc/config/cf/Imake.cf:1.2
*** xfree86/xc/config/cf/Imake.cf:1.1.1.1	Mon May  8 10:58:59 2000
--- xfree86/xc/config/cf/Imake.cf	Mon May  8 19:45:56 2000
***************
*** 603,608 ****
--- 603,612 ----
  #  endif
  #  undef __sparc__
  # endif
+ # ifdef mips
+ #  define MipsArchitecture
+ #  undef mips
+ # endif
  /* for compatibility with 3.3.x */
  # ifdef PpcArchitecture
  #  define PowerPCArchitecture
Index: xfree86/xc/config/cf/linux.cf
diff -c xfree86/xc/config/cf/linux.cf:1.1.1.1 xfree86/xc/config/cf/linux.cf:1.4
*** xfree86/xc/config/cf/linux.cf:1.1.1.1	Mon May  8 10:58:57 2000
--- xfree86/xc/config/cf/linux.cf	Wed May 31 15:26:31 2000
***************
*** 5,10 ****
--- 5,15 ----
  #define LinuxElfDefault		YES
  #endif
  
+ /* Loadable Modules are currently not working on mips */
+ #ifdef MipsArchitecture
+ #define DoLoadableServer NO
+ #endif
+ 
  #ifndef UseElfFormat
  #define UseElfFormat		LinuxElfDefault
  #endif
***************
*** 289,294 ****
--- 294,302 ----
  #define MkdirHierCmd		mkdir -p
  #if LinuxElfDefault
  #if UseElfFormat
+ # ifdef MipsArchitecture
+ #  define AsCmd                   gcc -c -x assembler-with-cpp
+ # endif /* MipsArchitecure */
  #ifndef CcCmd
  #define CcCmd			gcc
  #endif
***************
*** 468,473 ****
--- 476,488 ----
  #define PositionIndependentCFlags -fpic
  #define PositionIndependentCplusplusFlags -fpic
  #endif
+ 
+ #ifdef MipsArchitecture
+ #define OptimizedCDebugFlags	-O2
+ #define LinuxMachineDefines	-D__mips__
+ #define ServerOSDefines		XFree86ServerOSDefines -DDDXTIME -DPART_NET
+ #define ServerExtraDefines	-DGCCUSESGAS XFree86ServerDefines
+ #endif 
  
  #ifndef StandardDefines
  #define StandardDefines		-Dlinux LinuxMachineDefines LinuxSourceDefines
***************
*** 264,269 ****
--- 264,301 ----
  #  define XF86CardDrivers	fbdev XF86ExtraCardDrivers
  # endif
  
+ #endif
+ 
+ /* Mips drivers */
+ 
+ #ifdef MipsArchitecture
+ # ifndef XF86Server
+ #  define XF86Server            YES
+ # endif
+ /* shadow fb module */
+ # ifndef XFShadowFB
+ #  define XFShadowFB            YES
+ # endif
+ /* XAA module */
+ # ifndef XF86XAA
+ #  define XF86XAA		YES
+ # endif
+ /* ramdac module */
+ # ifndef XF86Ramdac
+ #  define XF86Ramdac		YES
+ # endif
+ /* RAC (Resource Access Control) module */
+ # ifndef XF86RAC
+ #  define XF86RAC		YES
+ # endif
+ /* int10 module */
+ # ifndef XF86Int10
+ #  define XF86Int10		YES
+ # endif
+ 
+ # ifndef XF86CardDrivers
+ #  define XF86CardDrivers      XF86ExtraCardDrivers
+ # endif
  #endif
  
  /*
Index: xfree86/xc/programs/Xserver/hw/xfree86/Imakefile
diff -c xfree86/xc/programs/Xserver/hw/xfree86/Imakefile:1.1.1.1 xfree86/xc/programs/Xserver/hw/xfree86/Imakefile:1.2
*** xfree86/xc/programs/Xserver/hw/xfree86/Imakefile:1.1.1.1	Mon May  8 11:03:25 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/Imakefile	Mon May  8 19:50:23 2000
***************
*** 65,71 ****
  
  #if !defined(OsfArchitecture) && !defined(AmoebaArchitecture) && \
      !defined(ArcArchitecture) && !defined(Arm32Architecture) && \
!     !defined(PpcArchitecture)
  SUPERPROBE = SuperProbe
  #endif
  
--- 65,71 ----
  
  #if !defined(OsfArchitecture) && !defined(AmoebaArchitecture) && \
      !defined(ArcArchitecture) && !defined(Arm32Architecture) && \
!     !defined(PpcArchitecture) && !defined(MipsArchitecture)
  SUPERPROBE = SuperProbe
  #endif
  
Index: xfree86/xc/programs/Xserver/hw/xfree86/common/xf86Bus.c
diff -c xfree86/xc/programs/Xserver/hw/xfree86/common/xf86Bus.c:1.1.1.1 xfree86/xc/programs/Xserver/hw/xfree86/common/xf86Bus.c:1.3
*** xfree86/xc/programs/Xserver/hw/xfree86/common/xf86Bus.c:1.1.1.1	Mon May  8 11:03:45 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/common/xf86Bus.c	Mon May 15 10:30:07 2000
***************
*** 2802,2808 ****
  static void
  CheckGenericGA()
  {
! #if !defined(__sparc__) && !defined(__powerpc__) /* FIXME ?? */
      CARD16 GenericIOBase = VGAHW_GET_IOBASE();
      CARD8 CurrentValue, TestValue;
  
--- 2802,2808 ----
  static void
  CheckGenericGA()
  {
! #if !defined(__sparc__) && !defined(__powerpc__) && !defined(__mips__) /* FIXME ?? */
      CARD16 GenericIOBase = VGAHW_GET_IOBASE();
      CARD8 CurrentValue, TestValue;
  
Index: xfree86/xc/programs/Xserver/hw/xfree86/common/xf86Io.c
diff -c xfree86/xc/programs/Xserver/hw/xfree86/common/xf86Io.c:1.1.1.1 xfree86/xc/programs/Xserver/hw/xfree86/common/xf86Io.c:1.2
*** xfree86/xc/programs/Xserver/hw/xfree86/common/xf86Io.c:1.1.1.1	Mon May  8 11:03:48 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/common/xf86Io.c	Mon May  8 19:50:50 2000
***************
*** 396,402 ****
    return (Success);
  }
  
! #if !defined(AMOEBA) && !(defined (sun) && defined(i386) && defined (SVR4)) && !defined(MINIX) && !defined(__mips__) && !defined(QNX4)
  /*
   * These are getting tossed in here until I can think of where
   * they really belong
--- 396,402 ----
    return (Success);
  }
  
! #if !defined(AMOEBA) && !(defined (sun) && defined(i386) && defined (SVR4)) && !defined(MINIX) && !(defined(__mips__) && !defined(linux)) && !defined(QNX4)
  /*
   * These are getting tossed in here until I can think of where
   * they really belong
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/Xinstall.sh
diff -c xfree86/xc/programs/Xserver/hw/xfree86/etc/Xinstall.sh:1.1.1.1 xfree86/xc/programs/Xserver/hw/xfree86/etc/Xinstall.sh:1.2
*** xfree86/xc/programs/Xserver/hw/xfree86/etc/Xinstall.sh:1.1.1.1	Mon May  8 11:04:38 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/Xinstall.sh	Wed May 24 14:58:49 2000
***************
*** 417,422 ****
--- 417,432 ----
  				;;
  			esac
  			;;
+ 		mips)
+ 			case "$OsLibcMajor.$OsLibcMinor" in
+ 			6.0)
+ 				DistName="Linux-mips-glibc20"
+ 				;;
+ 			*)	
+ 				Message="No Linux/Mips binaries for this libc version"
+ 				;;
+ 			esac
+ 			;;
  		*)
  			Message="No Linux binaries available for this architecture"
  			;;
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/bin-excl
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/bin-excl:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/bin-excl	Thu Jun 22 13:56:31 2000
***************
*** 0 ****
--- 1,10 ----
+ bin/XF86_*
+ bin/XF98_*
+ bin/XF86Setup
+ bin/Xnest
+ bin/Xprt
+ bin/Xvfb
+ bin/X
+ bin/xfs
+ bin/xmseconfig
+ bin/XFree86
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/bin-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/bin-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/bin-list	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1,60 ----
+ bin
+ lib/libGL.so.1.2
+ lib/libGL.so.1
+ lib/libGL.so
+ lib/libICE.so.6.3
+ lib/libICE.so.6
+ lib/libICE.so
+ lib/libPEX5.so.6.0
+ lib/libPEX5.so.6
+ lib/libPEX5.so
+ lib/libSM.so.6.0
+ lib/libSM.so.6
+ lib/libSM.so
+ lib/libX11.so.6.1
+ lib/libX11.so.6
+ lib/libX11.so
+ lib/libXIE.so.6.0
+ lib/libXIE.so.6
+ lib/libXIE.so
+ lib/libXaw.so.6.1
+ lib/libXaw.so.6
+ lib/libXaw.so.7.0
+ lib/libXaw.so.7
+ lib/libXaw.so
+ lib/libXext.so.6.4
+ lib/libXext.so.6
+ lib/libXext.so
+ lib/libXfont.so.1.3
+ lib/libXfont.so.1
+ lib/libXfont.so
+ lib/libXi.so.6.0
+ lib/libXi.so.6
+ lib/libXi.so
+ lib/libXmu.so.6.1
+ lib/libXmu.so.6
+ lib/libXmu.so
+ lib/libXp.so.6.2
+ lib/libXp.so.6
+ lib/libXp.so
+ lib/libXpm.so.4.11
+ lib/libXpm.so.4
+ lib/libXpm.so
+ lib/libXt.so.6.0
+ lib/libXt.so.6
+ lib/libXt.so
+ lib/libXtst.so.6.1
+ lib/libXtst.so.6
+ lib/libXtst.so
+ lib/libdps.so.1.0
+ lib/libdps.so.1
+ lib/libdps.so
+ lib/libdpstk.so.1.0
+ lib/libdpstk.so.1
+ lib/libdpstk.so
+ lib/libpsres.so.1.0
+ lib/libpsres.so.1
+ lib/libpsres.so
+ lib/libxrx.so.6.3
+ lib/libxrx.so.6
+ lib/libxrx.so
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/dir
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/dir:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/dir	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1 ----
+ usr/X11R6
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/etc-dir
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/etc-dir:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/etc-dir	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1 ----
+ etc/X11
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/etc-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/etc-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/etc-list	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1 ----
+ .
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/fsrv-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/fsrv-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/fsrv-list	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1,2 ----
+ bin/xfs
+ man/man1/xfs.1x
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/host.def
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/host.def:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/host.def	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1,5 ----
+ /*
+  * Host.def for building Linux/Mips bindists
+  *
+  */
+ #define DoLoadableServer NO
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/lib-excl
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/lib-excl:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/lib-excl	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1,14 ----
+ lib/X11/XF86Setup
+ lib/X11/app-defaults
+ lib/X11/config
+ lib/X11/doc
+ lib/X11/fonts
+ lib/X11/fs
+ lib/X11/lbxproxy
+ lib/X11/proxymngr
+ lib/X11/rstart
+ lib/X11/twm
+ lib/X11/xdm
+ lib/X11/xinit
+ lib/X11/xsm
+ lib/X11/xserver
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/lib-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/lib-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/lib-list	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1,2 ----
+ lib/X11
+ include/X11/bitmaps
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/man-excl
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/man-excl:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/man-excl	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1,3 ----
+ man/man1/XF86Setup.1x
+ man/man1/xfs.1x
+ man/man1/xmseconfig.1x
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/man-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/man-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/man-list	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1 ----
+ man
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/mod-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/mod-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/mod-list	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1 ----
+ lib/modules
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/nest-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/nest-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/nest-list	Thu Jun 22 13:56:32 2000
***************
*** 0 ****
--- 1 ----
+ bin/Xnest
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/prog-excl
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/prog-excl:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/prog-excl	Thu Jun 22 13:56:33 2000
***************
*** 0 ****
--- 1,5 ----
+ lib/Server
+ lib/X11
+ lib/lib*.so*
+ lib/modules
+ include/X11/bitmaps
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/prog-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/prog-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/prog-list	Thu Jun 22 13:56:33 2000
***************
*** 0 ****
--- 1,3 ----
+ lib
+ include
+ lib/X11/config
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/prt-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/prt-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/prt-list	Thu Jun 22 13:56:33 2000
***************
*** 0 ****
--- 1 ----
+ bin/Xprt
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/set-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/set-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/set-list	Thu Jun 22 13:56:33 2000
***************
*** 0 ****
--- 1,5 ----
+ bin/XF86Setup
+ bin/xmseconfig
+ lib/X11/XF86Setup
+ man/man1/XF86Setup.1x
+ man/man1/xmseconfig.1x
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/var-dir
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/var-dir:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/var-dir	Thu Jun 22 13:56:33 2000
***************
*** 0 ****
--- 1 ----
+ var
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/var-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/var-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/var-list	Thu Jun 22 13:56:33 2000
***************
*** 0 ****
--- 1 ----
+ state
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/vfb-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/vfb-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/vfb-list	Thu Jun 22 13:56:33 2000
***************
*** 0 ****
--- 1 ----
+ bin/Xvfb
Index: xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/xserv-list
diff -c /dev/null xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/xserv-list:1.1
*** /dev/null	Fri Jun 23 09:28:49 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/etc/bindist/Linux-mips/xserv-list	Thu Jun 22 13:56:33 2000
***************
*** 0 ****
--- 1,2 ----
+ bin/XFree86
+ bin/X
Index: xfree86/xc/programs/Xserver/hw/xfree86/os-support/Imakefile
diff -c xfree86/xc/programs/Xserver/hw/xfree86/os-support/Imakefile:1.1.1.1 xfree86/xc/programs/Xserver/hw/xfree86/os-support/Imakefile:1.2
*** xfree86/xc/programs/Xserver/hw/xfree86/os-support/Imakefile:1.1.1.1	Mon May  8 11:04:56 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/os-support/Imakefile	Mon May  8 19:51:48 2000
***************
*** 13,19 ****
  #if defined(i386Architecture) || defined(ia64Architecture) || \
  	(defined(LinuxArchitecture) && defined(AlphaArchitecture)) || \
  	(defined(FreeBSDArchitecture) && defined(AlphaArchitecture)) || \
! 	defined(PpcArchitecture) || defined(SparcArchitecture)
  BUS_SUBDIR = bus
  #endif
  
--- 13,20 ----
  #if defined(i386Architecture) || defined(ia64Architecture) || \
  	(defined(LinuxArchitecture) && defined(AlphaArchitecture)) || \
  	(defined(FreeBSDArchitecture) && defined(AlphaArchitecture)) || \
! 	defined(PpcArchitecture) || defined(SparcArchitecture) || \
! 	(defined(LinuxArchitecture) && defined(MipsArchitecture))
  BUS_SUBDIR = bus
  #endif
  
Index: xfree86/xc/programs/Xserver/hw/xfree86/os-support/bus/Imakefile
diff -c xfree86/xc/programs/Xserver/hw/xfree86/os-support/bus/Imakefile:1.1.1.1 xfree86/xc/programs/Xserver/hw/xfree86/os-support/bus/Imakefile:1.2
*** xfree86/xc/programs/Xserver/hw/xfree86/os-support/bus/Imakefile:1.1.1.1	Mon May  8 11:04:57 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/os-support/bus/Imakefile	Mon May  8 19:52:03 2000
***************
*** 21,27 ****
  PCIDRVRSRC = sparcPci.c
  PCIDRVROBJ = sparcPci.o
  
! #elif defined(LinuxArchitecture) && defined(PpcArchitecture)
  
  XCOMM generic linux PCI driver (using /proc/bus/pci, requires kernel 2.2)
  
--- 21,27 ----
  PCIDRVRSRC = sparcPci.c
  PCIDRVROBJ = sparcPci.o
  
! #elif defined(LinuxArchitecture) && (defined(PpcArchitecture) || defined(MipsArchitecture))
  
  XCOMM generic linux PCI driver (using /proc/bus/pci, requires kernel 2.2)
  
Index: xfree86/xc/programs/Xserver/hw/xfree86/os-support/bus/Pci.h
diff -c xfree86/xc/programs/Xserver/hw/xfree86/os-support/bus/Pci.h:1.1.1.1 xfree86/xc/programs/Xserver/hw/xfree86/os-support/bus/Pci.h:1.2
*** xfree86/xc/programs/Xserver/hw/xfree86/os-support/bus/Pci.h:1.1.1.1	Mon May  8 11:04:57 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/os-support/bus/Pci.h	Mon May  8 19:52:03 2000
***************
*** 136,142 ****
  /*
   * Select architecture specific PCI init function
   */
! #if defined(__powerpc__) && defined(linux)
  # define ARCH_PCI_INIT linuxPciInit
  # define INCLUDE_XF86_MAP_PCI_MEM
  #elif defined(__powerpc__)
--- 136,142 ----
  /*
   * Select architecture specific PCI init function
   */
! #if (defined(__powerpc__) || defined(__mips__)) && defined(linux)
  # define ARCH_PCI_INIT linuxPciInit
  # define INCLUDE_XF86_MAP_PCI_MEM
  #elif defined(__powerpc__)
Index: xfree86/xc/programs/Xserver/hw/xfree86/os-support/linux/lnxResource.c
diff -c xfree86/xc/programs/Xserver/hw/xfree86/os-support/linux/lnxResource.c:1.1.1.1 xfree86/xc/programs/Xserver/hw/xfree86/os-support/linux/lnxResource.c:1.2
*** xfree86/xc/programs/Xserver/hw/xfree86/os-support/linux/lnxResource.c:1.1.1.1	Mon May  8 11:05:02 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/os-support/linux/lnxResource.c	Mon May  8 19:53:04 2000
***************
*** 150,156 ****
      return ret;
  }
  
! #elif defined(__powerpc__)
  
   /* XXX this isn't exactly correct but it will get the server working 
    * for now until we get something better.
--- 150,156 ----
      return ret;
  }
  
! #elif defined(__powerpc__) || defined(__mips__)
  
   /* XXX this isn't exactly correct but it will get the server working 
    * for now until we get something better.
Index: xfree86/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c
diff -c xfree86/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c:1.1.1.1 xfree86/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c:1.2
*** xfree86/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c:1.1.1.1	Mon May  8 11:05:02 2000
--- xfree86/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_video.c	Mon May  8 19:53:04 2000
***************
*** 385,391 ****
  	if (ExtendedEnabled)
  		return;
  
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__)
  	if (iopl(3))
  		FatalError("%s: Failed to set IOPL for I/O\n",
  			   "xf86EnableIOPorts");
--- 385,391 ----
  	if (ExtendedEnabled)
  		return;
  
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__) && !defined(__mips__)
  	if (iopl(3))
  		FatalError("%s: Failed to set IOPL for I/O\n",
  			   "xf86EnableIOPorts");
***************
*** 401,407 ****
  	if (!ExtendedEnabled)
  		return;
  
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__)
  	iopl(0);
  #endif
  	ExtendedEnabled = FALSE;
--- 401,407 ----
  	if (!ExtendedEnabled)
  		return;
  
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__) && !defined(__mips__)
  	iopl(0);
  #endif
  	ExtendedEnabled = FALSE;
***************
*** 418,428 ****
  xf86DisableInterrupts()
  {
  	if (!ExtendedEnabled)
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__)
  		if (iopl(3))
  			return (FALSE);
  #endif
! #if defined(__alpha__) || defined(__mc68000__) || defined(__powerpc__) || defined(__sparc__)
  #else
  #ifdef __GNUC__
  #if defined(__ia64__)
--- 418,428 ----
  xf86DisableInterrupts()
  {
  	if (!ExtendedEnabled)
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__) && !defined(__mips__)
  		if (iopl(3))
  			return (FALSE);
  #endif
! #if defined(__alpha__) || defined(__mc68000__) || defined(__powerpc__) || defined(__sparc__) || defined(__mips__)
  #else
  #ifdef __GNUC__
  #if defined(__ia64__)
***************
*** 434,440 ****
  	asm("cli");
  #endif
  #endif
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__)
  	if (!ExtendedEnabled)
  		iopl(0);
  #endif
--- 434,440 ----
  	asm("cli");
  #endif
  #endif
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__) && !defined(__mips__)
  	if (!ExtendedEnabled)
  		iopl(0);
  #endif
***************
*** 445,455 ****
  xf86EnableInterrupts()
  {
  	if (!ExtendedEnabled)
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__)
  		if (iopl(3))
  			return;
  #endif
! #if defined(__alpha__) || defined(__mc68000__) || defined(__powerpc__) || defined(__sparc__)
  #else
  #ifdef __GNUC__
  #if defined(__ia64__)
--- 445,455 ----
  xf86EnableInterrupts()
  {
  	if (!ExtendedEnabled)
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__) && !defined(__mips__)
  		if (iopl(3))
  			return;
  #endif
! #if defined(__alpha__) || defined(__mc68000__) || defined(__powerpc__) || defined(__sparc__) || defined(__mips__)
  #else
  #ifdef __GNUC__
  #if defined(__ia64__)
***************
*** 461,467 ****
  	asm("sti");
  #endif
  #endif
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__)
  	if (!ExtendedEnabled)
  
  		iopl(0);
--- 461,467 ----
  	asm("sti");
  #endif
  #endif
! #if !defined(__mc68000__) && !defined(__powerpc__) && !defined(__sparc__) && !defined(__mips__)
  	if (!ExtendedEnabled)
  
  		iopl(0);

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 17:02   ` Hiroshi Kawashima
@ 2000-06-23 17:08     ` Bradley D. LaRonde
  2000-06-23 17:08       ` Bradley D. LaRonde
  2000-06-23 17:21       ` Hiroshi Kawashima
  0 siblings, 2 replies; 21+ messages in thread
From: Bradley D. LaRonde @ 2000-06-23 17:08 UTC (permalink / raw)
  To: Hiroshi Kawashima; +Cc: Guido Guenther, linux-mips, linux

----- Original Message -----
From: "Hiroshi Kawashima" <kei@sm.sony.co.jp>
To: "Bradley D. LaRonde" <brad@ltc.com>
Cc: "Guido Guenther" <guido.guenther@gmx.net>; <linux-mips@fnet.fr>;
<linux@cthulhu.engr.sgi.com>
Sent: Friday, June 23, 2000 1:02 PM
Subject: Re: XFree 4.0.1 on mips, mipsel


> > Hmm... I use XFree 4.0 on my mipsel platform with no core paches (just
some
> > config stuff and some kdrive stuff).
> Brad, are your patches (around kdrive) already public ?
> It's desired...

No, they are still in a state of flux.  I'm hacking away at new issues, like
mixed-endan frame buffer support.  Some if it is really hacked at this
point.

Regards,
Brad

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 17:08     ` Bradley D. LaRonde
@ 2000-06-23 17:08       ` Bradley D. LaRonde
  2000-06-23 17:21       ` Hiroshi Kawashima
  1 sibling, 0 replies; 21+ messages in thread
From: Bradley D. LaRonde @ 2000-06-23 17:08 UTC (permalink / raw)
  To: Hiroshi Kawashima; +Cc: Guido Guenther, linux-mips, linux

----- Original Message -----
From: "Hiroshi Kawashima" <kei@sm.sony.co.jp>
To: "Bradley D. LaRonde" <brad@ltc.com>
Cc: "Guido Guenther" <guido.guenther@gmx.net>; <linux-mips@fnet.fr>;
<linux@cthulhu.engr.sgi.com>
Sent: Friday, June 23, 2000 1:02 PM
Subject: Re: XFree 4.0.1 on mips, mipsel


> > Hmm... I use XFree 4.0 on my mipsel platform with no core paches (just
some
> > config stuff and some kdrive stuff).
> Brad, are your patches (around kdrive) already public ?
> It's desired...

No, they are still in a state of flux.  I'm hacking away at new issues, like
mixed-endan frame buffer support.  Some if it is really hacked at this
point.

Regards,
Brad

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 16:55   ` Guido Guenther
@ 2000-06-23 17:09     ` Bradley D. LaRonde
  2000-06-23 17:07       ` Guido Guenther
  0 siblings, 1 reply; 21+ messages in thread
From: Bradley D. LaRonde @ 2000-06-23 17:09 UTC (permalink / raw)
  To: Guido Guenther; +Cc: linux-mips, linux

----- Original Message -----
From: "Guido Guenther" <agx@bert.physik.uni-konstanz.de>
To: "Bradley D. LaRonde" <brad@ltc.com>
Cc: "linux-mips" <linux-mips@fnet.fr>; "linux" <linux@cthulhu.engr.sgi.com>
Sent: Friday, June 23, 2000 12:55 PM
Subject: Re: XFree 4.0.1 on mips, mipsel


> On Fri, Jun 23, 2000 at 12:53:19PM -0400, Bradley D. LaRonde wrote:
> > ----- Original Message -----
> > From: "Guido Guenther" <guido.guenther@gmx.net>
> [..snip..]
> > Hmm... I use XFree 4.0 on my mipsel platform with no core paches (just
some
> > config stuff and some kdrive stuff).
> >
> > What do your patches do?
> It adds the neccessary config stuff to config/cf and sorts out the proper
> architecture dependent routines in xfree86/os-support.

Oh, ok, makes sense.

May I have a copy of those patches for review?

Regards,
Brad

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 17:08     ` Bradley D. LaRonde
  2000-06-23 17:08       ` Bradley D. LaRonde
@ 2000-06-23 17:21       ` Hiroshi Kawashima
  1 sibling, 0 replies; 21+ messages in thread
From: Hiroshi Kawashima @ 2000-06-23 17:21 UTC (permalink / raw)
  To: Bradley D. LaRonde; +Cc: Hiroshi Kawashima, Guido Guenther, linux-mips, linux

> > Brad, are your patches (around kdrive) already public ?
> > It's desired...
> 
> No, they are still in a state of flux.  I'm hacking away at new issues, like
> mixed-endan frame buffer support.  Some if it is really hacked at this
> point.
Ok, thanks for your good job, I will wait public release.
----
Kawashima

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 17:46         ` Bradley D. LaRonde
@ 2000-06-23 17:45           ` Guido Guenther
  2000-06-24  9:21           ` Gleb O. Raiko
  1 sibling, 0 replies; 21+ messages in thread
From: Guido Guenther @ 2000-06-23 17:45 UTC (permalink / raw)
  To: Bradley D. LaRonde; +Cc: linux-mips, linux

On Fri, Jun 23, 2000 at 01:46:39PM -0400, Bradley D. LaRonde wrote:
> Cool, thank you.
> 
> It looks like they won't break anything for me.  :-)
> 
> Except I did see that one place where you hard-coded gcc.  I cross-compile,
> but maybe that's OK anyway.  I will test on 4.0 CVS eventually and find out.
> :-)
The #define AsCmd gcc -c -x assemble-with-cpp was the only that caused
me trouble when crosscompiling. A patch for this is underway.
 -- Guido



-- 
GPG-Public Key: http://honk.physik.uni-konstanz.de/~agx/guenther.gpg.asc

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 17:07       ` Guido Guenther
@ 2000-06-23 17:46         ` Bradley D. LaRonde
  2000-06-23 17:45           ` Guido Guenther
  2000-06-24  9:21           ` Gleb O. Raiko
  0 siblings, 2 replies; 21+ messages in thread
From: Bradley D. LaRonde @ 2000-06-23 17:46 UTC (permalink / raw)
  To: Guido Guenther; +Cc: linux-mips, linux

Cool, thank you.

It looks like they won't break anything for me.  :-)

Except I did see that one place where you hard-coded gcc.  I cross-compile,
but maybe that's OK anyway.  I will test on 4.0 CVS eventually and find out.
:-)

Regards,
Brad

----- Original Message -----
From: "Guido Guenther" <agx@bert.physik.uni-konstanz.de>
To: "Bradley D. LaRonde" <brad@ltc.com>
Cc: "linux-mips" <linux-mips@fnet.fr>; "linux" <linux@cthulhu.engr.sgi.com>
Sent: Friday, June 23, 2000 1:07 PM
Subject: Re: XFree 4.0.1 on mips, mipsel


> On Fri, Jun 23, 2000 at 01:09:03PM -0400, Bradley D. LaRonde wrote:
> [..snip..]
> > May I have a copy of those patches for review?
> They look basically like this(Imake.cf additionally checks for mipsel):
>
> --
> GPG-Public Key: http://honk.physik.uni-konstanz.de/~agx/guenther.gpg.asc
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 17:46         ` Bradley D. LaRonde
  2000-06-23 17:45           ` Guido Guenther
@ 2000-06-24  9:21           ` Gleb O. Raiko
  2000-06-24 11:12             ` Guido Guenther
  1 sibling, 1 reply; 21+ messages in thread
From: Gleb O. Raiko @ 2000-06-24  9:21 UTC (permalink / raw)
  To: Bradley D. LaRonde; +Cc: Guido Guenther, linux-mips, linux

"Bradley D. LaRonde" wrote:
> 
> Cool, thank you.
> 
> It looks like they won't break anything for me.  :-)
> 
> Except I did see that one place where you hard-coded gcc.  I cross-compile,
> but maybe that's OK anyway.

If you cross-compile, you just redefine most of the stuff like CcCmd,
ArCmd, etc, anyway.

Regards,
Gleb.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-24  9:21           ` Gleb O. Raiko
@ 2000-06-24 11:12             ` Guido Guenther
  2000-06-24 22:12               ` Ralf Baechle
  0 siblings, 1 reply; 21+ messages in thread
From: Guido Guenther @ 2000-06-24 11:12 UTC (permalink / raw)
  To: Gleb O. Raiko; +Cc: Bradley D. LaRonde, linux-mips, linux

On Sat, Jun 24, 2000 at 01:21:55PM +0400, Gleb O. Raiko wrote:
[..snip..] 
> If you cross-compile, you just redefine most of the stuff like CcCmd,
> ArCmd, etc, anyway.
Yes, but you have to make sure the redefinitions don't get redefined
again, therefore IMHO an "#ifdef AsCmd" is needed. Otherwise the
definition in hosts.def will be overriden by the one in linux.cf.
Regards,
 -- Guido

-- 
GPG-Public Key: http://honk.physik.uni-konstanz.de/~agx/guenther.gpg.asc

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-24 11:12             ` Guido Guenther
@ 2000-06-24 22:12               ` Ralf Baechle
  2000-06-25 21:33                 ` Ulf Carlsson
  2000-06-27  7:57                 ` Gleb O. Raiko
  0 siblings, 2 replies; 21+ messages in thread
From: Ralf Baechle @ 2000-06-24 22:12 UTC (permalink / raw)
  To: Gleb O. Raiko, Bradley D. LaRonde, linux-mips, linux

On Sat, Jun 24, 2000 at 01:12:18PM +0200, Guido Guenther wrote:

> [..snip..] 
> > If you cross-compile, you just redefine most of the stuff like CcCmd,
> > ArCmd, etc, anyway.
> Yes, but you have to make sure the redefinitions don't get redefined
> again, therefore IMHO an "#ifdef AsCmd" is needed. Otherwise the
> definition in hosts.def will be overriden by the one in linux.cf.

Does X building ever need the hostcompiler?  If not, then you can easily
do crossbuilds like:

  PATH=<prefix>/<target>/bin:$PATH make ...

  Ralf

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-24 22:12               ` Ralf Baechle
@ 2000-06-25 21:33                 ` Ulf Carlsson
  2000-06-27  8:01                   ` Gleb O. Raiko
  2000-06-27  7:57                 ` Gleb O. Raiko
  1 sibling, 1 reply; 21+ messages in thread
From: Ulf Carlsson @ 2000-06-25 21:33 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Gleb O. Raiko, Bradley D. LaRonde, linux-mips, linux

Ralf Baechle writes:
 > On Sat, Jun 24, 2000 at 01:12:18PM +0200, Guido Guenther wrote:
 > 
 > > [..snip..] 
 > > > If you cross-compile, you just redefine most of the stuff like CcCmd,
 > > > ArCmd, etc, anyway.
 > > Yes, but you have to make sure the redefinitions don't get redefined
 > > again, therefore IMHO an "#ifdef AsCmd" is needed. Otherwise the
 > > definition in hosts.def will be overriden by the one in linux.cf.
 > 
 > Does X building ever need the hostcompiler?  If not, then you can easily
 > do crossbuilds like:
 > 
 >   PATH=<prefix>/<target>/bin:$PATH make ...

Yes.  You need the hostcompiler when you do X builds.  It is possible
to get around it though.  I have the commands that I used in two shell
scripts.

First I have to to prepare for the cross build:

#!/bin/sh
make clean
make Makefile.boot
make Makefiles
(cd config; make)
make includes
make depend
(cd fonts/bdf; for i in $(find -name 'Makefile'); do sed -e 's/\$(XBUILDBINDIR)\///' < $i > $i.tmp; mv $i.tmp $i; done)

Then I'm ready to build the rest with the cross compiler:

#!/bin/sh
export PATH=/usr/glibc-mips/bin:$PATH 
make -k CC=mips-linux-gcc LD=mips-linux-ld AS=mips-linux-as RANLIB=mips-linux-ranlib $@

You probably have a better solution though :-)

Ulf

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-24 22:12               ` Ralf Baechle
  2000-06-25 21:33                 ` Ulf Carlsson
@ 2000-06-27  7:57                 ` Gleb O. Raiko
  2000-06-27  9:17                   ` Guido Guenther
  1 sibling, 1 reply; 21+ messages in thread
From: Gleb O. Raiko @ 2000-06-27  7:57 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: Bradley D. LaRonde, linux-mips, linux

Ralf Baechle wrote:
> 
> On Sat, Jun 24, 2000 at 01:12:18PM +0200, Guido Guenther wrote:
> 
> > [..snip..]
> > > If you cross-compile, you just redefine most of the stuff like CcCmd,
> > > ArCmd, etc, anyway.
> > Yes, but you have to make sure the redefinitions don't get redefined
> > again, therefore IMHO an "#ifdef AsCmd" is needed. Otherwise the
> > definition in hosts.def will be overriden by the one in linux.cf.
> 
> Does X building ever need the hostcompiler?

This depends on your taste basically. If you want 'clean' build w/o
stupid errors, you should define CROSS_COMPILE and other macros to be
used diring cross compilation. After that, X understands there are
hostcompiler and crosscompiler. Then, makedepend & Co are compiled by
hostcompiler and X server itself are compiler by cross compiler. In
principle, you may safely ignore all that stuff and be ready to build
makedep & Co manually.

Regards,
Gleb.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-25 21:33                 ` Ulf Carlsson
@ 2000-06-27  8:01                   ` Gleb O. Raiko
  0 siblings, 0 replies; 21+ messages in thread
From: Gleb O. Raiko @ 2000-06-27  8:01 UTC (permalink / raw)
  To: Ulf Carlsson; +Cc: Ralf Baechle, Bradley D. LaRonde, linux-mips, linux

[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]

Ulf Carlsson wrote:
> 
> Ralf Baechle writes:
>  > On Sat, Jun 24, 2000 at 01:12:18PM +0200, Guido Guenther wrote:
>  >
>  > > [..snip..]
>  > > > If you cross-compile, you just redefine most of the stuff like CcCmd,
>  > > > ArCmd, etc, anyway.
>  > > Yes, but you have to make sure the redefinitions don't get redefined
>  > > again, therefore IMHO an "#ifdef AsCmd" is needed. Otherwise the
>  > > definition in hosts.def will be overriden by the one in linux.cf.
>  >
>  > Does X building ever need the hostcompiler?  If not, then you can easily
>  > do crossbuilds like:
>  >
>  >   PATH=<prefix>/<target>/bin:$PATH make ...
> 
> Yes.  You need the hostcompiler when you do X builds.  It is possible
> to get around it though.  I have the commands that I used in two shell
> scripts.
> 
> First I have to to prepare for the cross build:
> 
> #!/bin/sh
> make clean
> make Makefile.boot
> make Makefiles
> (cd config; make)
> make includes
> make depend
> (cd fonts/bdf; for i in $(find -name 'Makefile'); do sed -e 's/\$(XBUILDBINDIR)\///' < $i > $i.tmp; mv $i.tmp $i; done)
> 
> Then I'm ready to build the rest with the cross compiler:
> 
> #!/bin/sh
> export PATH=/usr/glibc-mips/bin:$PATH
> make -k CC=mips-linux-gcc LD=mips-linux-ld AS=mips-linux-as RANLIB=mips-linux-ranlib $@
> 
> You probably have a better solution though :-)

Sure, host.def attached.

[-- Attachment #2: host.def --]
[-- Type: image/x-xbitmap, Size: 2633 bytes --]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-27  7:57                 ` Gleb O. Raiko
@ 2000-06-27  9:17                   ` Guido Guenther
  2000-06-28  7:20                     ` Gleb O. Raiko
  0 siblings, 1 reply; 21+ messages in thread
From: Guido Guenther @ 2000-06-27  9:17 UTC (permalink / raw)
  To: Gleb O. Raiko; +Cc: Ralf Baechle, Bradley D. LaRonde, linux-mips, linux

On Tue, Jun 27, 2000 at 11:57:56AM +0400, Gleb O. Raiko wrote:
> > Does X building ever need the hostcompiler?
> 
> This depends on your taste basically. If you want 'clean' build w/o
> stupid errors, you should define CROSS_COMPILE and other macros to be
> used diring cross compilation. After that, X understands there are
> hostcompiler and crosscompiler. Then, makedepend & Co are compiled by
> hostcompiler and X server itself are compiler by cross compiler. In
> principle, you may safely ignore all that stuff and be ready to build
> makedep & Co manually.
"define CROSS_COMPILE" is not perfect yet. E.g. xkbcomp is compiled for
target architecture(since it's needed there) but the build process also tries 
to execute it on the host, same for pswrap.
Regards,
 -- Guido

-- 
GPG-Public Key: http://honk.physik.uni-konstanz.de/~agx/guenther.gpg.asc

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-27  9:17                   ` Guido Guenther
@ 2000-06-28  7:20                     ` Gleb O. Raiko
  0 siblings, 0 replies; 21+ messages in thread
From: Gleb O. Raiko @ 2000-06-28  7:20 UTC (permalink / raw)
  To: Guido Guenther; +Cc: Ralf Baechle, Bradley D. LaRonde, linux-mips, linux

Guido Guenther wrote:
> 
> On Tue, Jun 27, 2000 at 11:57:56AM +0400, Gleb O. Raiko wrote:
> "define CROSS_COMPILE" is not perfect yet. E.g. xkbcomp is compiled for
> target architecture(since it's needed there) but the build process also tries
> to execute it on the host, same for pswrap.

I speak for X server only. The rest of XFree might be used from HardHat.

Regards,
Gleb.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: XFree 4.0.1 on mips, mipsel
  2000-06-23 16:17 XFree 4.0.1 on mips, mipsel Guido Guenther
  2000-06-23 16:53 ` Bradley D. LaRonde
@ 2000-07-12 19:12 ` J. Scott Kasten
  1 sibling, 0 replies; 21+ messages in thread
From: J. Scott Kasten @ 2000-07-12 19:12 UTC (permalink / raw)
  To: Guido Guenther; +Cc: linux-mips

On Fri, 23 Jun 2000, Guido Guenther wrote:

> I've submitted several patches to the XFree-Project to include at least
> basic support for mips/mipsel architecture. These are based on previous
> work done by Ralf Baechle, Ulf Carlson, Gleb O. Reiko & Nina A.
> Podolskaya. I hope I didn't break anything.
> The patches are known to work on the Indy but are AFAIK untested on other 
> mips machines and appear in the alpha version of xfree which can be checked 
> out of the repository at sourceforge, see: http://www.xfree86.org/cvs/
> Regards,
>  -- Guido

Question.  What did you use for your site.def/host.def?  

I added this:
#define LinuxDistribution LinuxUnknown

Got this after the Imake boot straped itself:

Building on Linux 2.2.14 mips [ELF] (2.2.14).

Linux Distribution: Unknown
libc version: 6.0.6
binutils version: 2.9

It more or less ran through to completion.  After installing the libs and
some aps, updating the ld.so.conf path, ldconfig, etc...  I cannot run any
of the /usr/X11R6/bin utilities.  They all bus error, which sounds like a
data alignment issue or library problem.  (I really don't care about the X
server build, I just want the LIBRARIES.)

ldd shows apparently successful library resolution and the magic numbers
on the files show proper endianness, CPU target type, etc...

I'm using the Simple Linux 0.1 distro as the base.

My questions are:

#1 Is there more to the configuration than this?

#2 I downloaded the 4.0.1 src tarballs (3 of them), should those include
your patches already, or do I need to get and add those before I can build
successfully?

Thanks.

-S-

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2000-07-12 20:19 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-06-23 16:17 XFree 4.0.1 on mips, mipsel Guido Guenther
2000-06-23 16:53 ` Bradley D. LaRonde
2000-06-23 16:53   ` Bradley D. LaRonde
2000-06-23 16:55   ` Guido Guenther
2000-06-23 17:09     ` Bradley D. LaRonde
2000-06-23 17:07       ` Guido Guenther
2000-06-23 17:46         ` Bradley D. LaRonde
2000-06-23 17:45           ` Guido Guenther
2000-06-24  9:21           ` Gleb O. Raiko
2000-06-24 11:12             ` Guido Guenther
2000-06-24 22:12               ` Ralf Baechle
2000-06-25 21:33                 ` Ulf Carlsson
2000-06-27  8:01                   ` Gleb O. Raiko
2000-06-27  7:57                 ` Gleb O. Raiko
2000-06-27  9:17                   ` Guido Guenther
2000-06-28  7:20                     ` Gleb O. Raiko
2000-06-23 17:02   ` Hiroshi Kawashima
2000-06-23 17:08     ` Bradley D. LaRonde
2000-06-23 17:08       ` Bradley D. LaRonde
2000-06-23 17:21       ` Hiroshi Kawashima
2000-07-12 19:12 ` J. Scott Kasten

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox