Raspberry Pi 2 + FreeBSD 11 + X.org

ARMv6 な FreeBSD 11-CURRENT では FreeBSD の pkg の提供がはじまっており、べんりべんり。
Raspberry Pi 2 用の起動 SD カードイメージも配布されています。

pkg で xorg と xf86-driver-scfb いれたら X もあがりました。
ただ、auto negotiation 的ないろいろがないので、Xorg -configure みたいなのはできません。
モニタとの解像度などの negotiation は syscons がやってくれるので、scfb driver で X 動きます。
遅いんですが、まあなんとか使えるかな、という感じでもあります。本体のメモリがあんまりないので X 端末的な感じでしょうか。

というわけでこんな xorg.conf で動きました。

Section "Files"
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"
  Mode "1680x1050"
    DotClock        147.14
    HTimings        1680 1784 1968 2256
    VTimings        1050 1051 1054 1087
  EndMode
EndSection

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

Section "Screen"
  Identifier  "Screen"
  Device      "Generic FB"
EndSection

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

コメントを残す