Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Nov 2014 11:01:25 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        Anton Shterenlikht <mexas@bris.ac.uk>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: built xorg-server, what next?
Message-ID:  <20141128110125.596a598c@X220.alogt.com>
In-Reply-To: <201411271035.sARAZqn5092571@mech-as221.men.bris.ac.uk>
References:  <201411271035.sARAZqn5092571@mech-as221.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Thu, 27 Nov 2014 02:35:53 -0800 (PST)
Anton Shterenlikht <mexas@bris.ac.uk> wrote:

> I managed to build xorg-server-1.12.4_9,1
> on RPI-B 10.1-RELEASE, no build failures
> along the way, just a couple of panics.
> 
> I then followed:
> 
> http://blog.cochard.me/2013/03/xorg-for-freebsd-on-raspberry-pi.html
> ( Is this guide still valid?)
> 
> and built xf86-video-scfb-0.0.4_1
> 
I did the normal builds just like on a x86.

> On X -configure I got:

I did not do this.

I use an xorg.conf with this content:

Section "Files"
   ModulePath     "/usr/local/lib/xorg/modules"
   FontPath       "/usr/local/lib/X11/fonts/misc/"
   FontPath       "/usr/local/lib/X11/fonts/TTF/"
   FontPath       "/usr/local/lib/X11/fonts/OTF"
   FontPath       "/usr/local/lib/X11/fonts/Type1/"
   FontPath       "/usr/local/lib/X11/fonts/100dpi/"
   FontPath       "/usr/local/lib/X11/fonts/75dpi/"
   FontPath       "/usr/local/lib/X11/fonts/dejavu/"
   FontPath       "/usr/local/lib/X11/fonts/Droid/"
   FontPath       "/usr/local/lib/X11/fonts/webfonts/"
EndSection
Section "Module"
   Load        "dbe"
   Disable     "dri"
   Disable     "dri2"
   Disable     "glx"
   SubSection  "extmod"
      Option   "omit xfree86-dga"
   EndSubSection
EndSection
Section "ServerFlags"
   Option   "AIGLX"     "false"
   Option   "NoAccel"   "True"
   Option   "NoDRI"     "True"
   Option   "DRI"       "False"
   Option   "DRI2"      "False"
EndSection
Section "InputDevice"
   Identifier  "Keyboard1"
   Driver      "kbd"
EndSection
#
Section "InputDevice"
   Identifier  "Mouse1"
   Driver      "mouse"
   Option      "Protocol"      "auto"
   Option      "Device"        "/dev/sysmouse"
EndSection
Section "Monitor"
   Identifier  "Monitor"
EndSection

Section "Device"
   Identifier  "Generic FB"
   Driver      "scfb"
   Option      "NoAccel"   "True"
EndSection

Section "Screen"
   Identifier     "Screen"
   Device         "Generic FB"
   Monitor        "Monitor"
   DefaultDepth   16
   SubSection     "Display"
      Depth       16
   EndSubsection
EndSection

Section "ServerLayout"
   Identifier  "layout"
   Screen      0 "Screen" 0 0
   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Please check the output and the log file of startx for errors.

> Is scfb the wrong driver for this board?

I also use it.

Erich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141128110125.596a598c>