[Armadillo:04900] 500FX DebianでのX
f-saki
email@hidden
2010年 1月 21日 (木) 22:31:00 JST
藤咲です.
いつもお世話になっております.
早速本題ですが,500FX上のDebianでXを動作させようとしていますが,エラーが
でてうまくいきません.
なにかご存知でしたら教えていただければ嬉しいです.この方法でなくてもXを
立ち上げれればでもOKです.
行った手順
hermitで製品イメージのkernel,userlandの書き込み
fdisk /dev/sda
d
n
p
1
p
w
mke2fs -j /dev/sda1
mount /dev/sda1 /mnt
cd /mnt
wget
http://download.atmark-techno.com/armadillo-500/debian/debian-etch-arm1.tgz
wget
http://download.atmark-techno.com/armadillo-500/debian/debian-etch-arm2.tgz
wget
http://download.atmark-techno.com/armadillo-500/debian/debian-etch-arm3.tgz
wget
http://download.atmark-techno.com/armadillo-500/debian/debian-etch-arm4.tgz
wget
http://download.atmark-techno.com/armadillo-500/debian/debian-etch-arm5.tgz
tar -xzf debian-etch-arm1.tgz
tar -xzf debian-etch-arm2.tgz
tar -xzf debian-etch-arm3.tgz
tar -xzf debian-etch-arm4.tgz
tar -xzf debian-etch-arm5.tgz
rm -rf debian-etch-arm*.tgz
cd ~
umount /mnt
hermit
setenv root=/dev/sda1 rootwait usb-storage.delay_use=0 noinitrd
video=mxcfb:KYOCERA-VGA,16bpp,enable
Debian起動
USBの有効化
if [ -f /sys/devices/platform/fsl-ehci.1/delayed_probe ]; then
echo 1 > /sys/devices/platform/fsl-ehci.1/delayed_probe
fi
if [ -f /sys/devices/platform/fsl-ehci.2/delayed_probe ]; then
echo 1 > /sys/devices/platform/fsl-ehci.2/delayed_probe
fi
debian:~# apt-get update
W: GPG error: http://ftp.jp.debian.org etch Release: The following
signatures couldn't be verified because the public key is not available:
NO_PUBKEY 9AA38DCD55BE302B
W: You may want to run apt-get update to correct these problems
debian:~# date 011114072010
Mon Jan 11 14:07:00 UTC 2010
debian:~# apt-get install debian-archive-keyring
y
debian:~# apt-get install debian-keyring
y
debian:~# apt-get update
ここからは
X Window Systemのセットアップ | Armadillo 開発者サイト
http://armadillo.atmark-techno.com/howto/debian-x-window
を参考に作業をしました.
apt-get install xfonts-base
apt-get install jfbterm
apt-get install x-window-system-core
解像度
640x480のみにチェック
[armadillo ~]# vi /etc/X11/xorg.conf
..
Section "Module"
..
#Load "glx" # <--- コメントアウト
..
Section "Screen"
..
DefaultDepth 16 # <--- depthを16bitに変更
debian:~# cat /etc/X11/xorg.conf
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
# Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Device"
Identifier "Generic Video Card"
Driver "fbdev"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-32
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
debian:~#
debian:~# startx
hostname: Unknown host
xauth: creating new authority file /root/.serverauth.3414
xauth: (argv):1: bad display name "debian:0" in "list" command
xauth: (stdin):1: bad display name "debian:0" in "add" command
X: warning; process set to priority -1 instead of requested priority 0
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux debian 2.6.26-at6 #5 PREEMPT Thu Jan 21
15:54:49 JST 2010 armv6l
Build Date: 02 June 2008
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Jan 11 14:22:22 2010
(==) Using config file: "/etc/X11/xorg.conf"
(EE) xf86OpenSerial: Cannot open device /dev/input/mice
No such file or directory.
(EE) Configured Mouse: cannot open input device
(EE) PreInit failed for input device "Configured Mouse"
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compatibility { include "complete" };
xkb_symbols { include "pc(pc105)+us" };
xkb_geometry { include "pc(pc104)" };
No core pointer
Fatal server error:
failed to initialize core devices
XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
xauth: (argv):1: bad display name "debian:0" in "remove" command
debian:~#
となり先に進めることができない状態で困っています.
以下も参考にしました.
[Armadillo:00118] Re: DebianでX Window
http://lists.atmark-techno.com/pipermail/armadillo/2005-February/000117.html
1.
/etc/inittab は
1:2345:respawn:/sbin/getty 38400 tty1
になっていました.
2.に関しては
debian:~# file /dev/fb0
/dev/fb0: character special (29/0)
debian:~# file /dev/tty2
/dev/tty2: character special (4/2)
になっていました.
3.の
/etc/X11/XF86Config-4
ファイルは存在しません.
次のメールの
[Armadillo:00121] Re: DebianでX Window
http://lists.atmark-techno.com/pipermail/armadillo/2005-February/000120.html
内容ですが
debian:~# file /dev/tty1
/dev/tty1: character special (4/1)
debian:~# file /dev/tty0
/dev/tty0: character special (4/0)
debian:~# file /dev/ttyp1
/dev/ttyp1: character special (3/1)
debian:~#
debian:~#
だったので,/dev/ttyp0 が違いますが変更すべきなのかわかりません.
さらにその先の
[Armadillo:00133] Re: Debian で X Window
http://lists.atmark-techno.com/pipermail/armadillo/2005-February/000132.html
の内容で
debian:~# file /dev/input/mice
/dev/input/mice: ERROR: cannot open `/dev/input/mice' (No such file or
directory)
debian:~#
となかったので
# mknod /dev/input/mice c 13 63
と作成しました.
その後startxをしてみましたが状況は変わらずです.
500FXに直接つないでるキーボードからstartxをおこなうと
FXの画面は真っ黒になって動かなくなります.
ctrl + alt + back もきかないです.
debian:~# ps aux | grep X
root 3637 0.0 0.3 1516 484 ttymxc0 S+ 14:51 0:00 grep X
debian:~#
Xもあがってないので効かないのだとおもいます.
大変長文になり申し訳ないですが,もし何か解決方法をご存知であれば
教えていただければ,嬉しいです.
それではよろしくお願いいたします.
藤咲
armadillo メーリングリストの案内