/usr/share/doc/HOWTO/ja-html/VME-HOWTO-2.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>VME Howto: VMELinux ¥«¡¼¥Í¥ë¡¦¥É¥é¥¤¥Ð¤Î¥¤¥ó¥¹¥È¡¼¥ë</TITLE>
<LINK HREF="VME-HOWTO-3.html" REL=next>
<LINK HREF="VME-HOWTO-1.html" REL=previous>
<LINK HREF="VME-HOWTO.html#toc2" REL=contents>
</HEAD>
<BODY>
<A HREF="VME-HOWTO-3.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="VME-HOWTO-1.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="VME-HOWTO.html#toc2">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s2">2. VMELinux ¥«¡¼¥Í¥ë¡¦¥É¥é¥¤¥Ð¤Î¥¤¥ó¥¹¥È¡¼¥ë</A></H2>
<H2><A NAME="ss2.1">2.1 ¥½¡¼¥¹¥³¡¼¥É¤Î¥À¥¦¥ó¥í¡¼¥É</A>
</H2>
<P>
<A HREF="http://www.vmelinux.org/">VMELinux Web Site</A>.
¤«¤éÇÛÉÛ¥¥Ã¥È¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¤¯¤À¤µ¤¤¡£
<H2><A NAME="ss2.2">2.2 ¥½¡¼¥¹¥³¡¼¥É¤Î¥¤¥ó¥¹¥È¡¼¥ë</A>
</H2>
<P>VME ÍѤ˼è¤Ã¤Æ¤ª¤¤¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Ë¥Õ¥¡¥¤¥ë¤òÃÖ¤¤Þ¤¹ -
̾Á°¤Ï /universe ¤ò¿ä¾©¤·¤Þ¤¹¡£zipped/tarred ¥Õ¥¡¥¤¥ë¤ò°Ê²¼¤Î¥³¥Þ¥ó
¥É¤òÆþÎϤ·¤Æ²òÅष¤Þ¤¹¡£
<PRE>
tar -xzf VMELinux_08a.tar.gz
</PRE>
<P>3 ¤Ä¤Î¥Ç¥£¥ì¥¯¥È¥ê¤¬¤Ç¤¤Þ¤¹¡£¤½¤·¤Æ driver ¤Ï ca91c042
¤Ø¤Î¥·¥ó¥Ü¥ê¥Ã¥¯¡¦¥ê¥ó¥¯¤Ç¤¹¡£
<PRE>
ca91c042
vmeshell
vmeutils
driver
</PRE>
<P>ca91c042 ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹ -
<PRE>
ca91c042/
ca91c042/Makefile
ca91c042/ca91c042.c
ca91c042/ca91c042.h
ca91c042/README
ca91c042/e
ca91c042/ins
ca91c042/stat
ca91c042/uns
</PRE>
<P>vmeshell ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹ -
<PRE>
vmeshell/vmer
vmeshell/README
vmeshell/vmeseek
vmeshell/cmd.vme
vmeshell/vmew
vmeshell/vmeregw
vmeshell/vmeregr
vmeshell/vmefa
vmeshell/vmecall
vmeshell/e
vmeshell/ec
vmeshell/fa.vme
vmeshell/map.vme
vmeshell/tmp.vme
vmeshell/vmedb
vmeshell/vmedl
vmeshell/vmedw
vmeshell/vmemap
vmeshell/vmerb
vmeshell/vmerf
vmeshell/vmerl
vmeshell/vmerw
vmeshell/vmewb
vmeshell/vmewf
vmeshell/vmewl
vmeshell/vmeww
</PRE>
<P>vmeutils ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë¤Ï¡¢°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¤Þ¤¹ -
<PRE>
vmeutils/commands.cpp
vmeutils/commands.h
vmeutils/universe.h
vmeutils/Makefile
vmeutils/vmeutils.h
vmeutils/unilib.h
vmeutils/unilib.cpp
vmeutils/vmeutils.cpp
vmeutils/README
</PRE>
<H2><A NAME="ss2.3">2.3 VMELinux ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Î¥³¥ó¥Ñ¥¤¥ë</A>
</H2>
<P>ca91c042 ¥Ç¥£¥ì¥¯¥È¥ê¤ËÆþ¤Ã¤Æ¡¢VMELinux ¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¡¦¥â¥¸¥å¡¼¥ë
¤òºî¤ê¤Þ¤¹¡£
<PRE>
make
</PRE>
<P>¤³¤Î»þÅÀ¤Ç¡¢ /dev ¤Ë¤¤¤¯¤Ä¤«¥É¥é¥¤¥Ð¡¦¥Õ¥¡¥¤¥ë¤òºî¤é¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ
¤»¤ó¡£°Ê²¼¤Î¤è¤¦¤Ë¥¿¥¤¥×¤·¤Æ¤¯¤À¤µ¤¤ -
<PRE>
make devices
</PRE>
<P>make ¤¬½ªÎ»¤¹¤ë¤È¡¢¥Ç¥£¥ì¥¯¥È¥ê¤ÎÃæ¤Ë¡Öca91c042.o¡×¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤¬
¤Ç¤¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¡£¤³¤ì¤Ï¥í¡¼¥À¥Ö¥ë¤Ê¥â¥¸¥å¡¼¥ë¤Ç¤¹¡£²¼µ¤Î¥í¡¼¥É
¤¹¤ë¤¿¤á¤Î¾ðÊó¤ò¸«¤Æ¤¯¤À¤µ¤¤¡£¤½¤ì¤È /dev ¥Ç¥£¥ì¥¯¥È¥ê¤Ë¿ô¸Ä¤Î¡Övme...
¡×¥Õ¥¡¥¤¥ë¤¬¤Ç¤¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¡£
<P>¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë¤ò /dev ¥Ç¥£¥ì¥¯¥È¥ê¤Ëºî¤Ã¤¿¤é¡¢¤½¤ì¤é¤Î¥Ñ¡¼¥ß
¥Ã¥·¥ç¥ó¤òÊѹ¹¤·¤Ê¤¯¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£°Ê²¼¤Î¤è¤¦¤Ë¥¿¥¤¥×¤·¤Æ¤¯¤À¤µ¤¤ -
<PRE>
cd /dev
chmod 666 vme*
</PRE>
¥Õ¥¡¥¤¥ë¤¬¤É¤Î¤è¤¦¤Ë¸«¤¨¤Æ¤¤¤ë¤Ù¤¤«¼¨¤·¤Þ¤¹¡£
<PRE>
hostname:/dev# ls -l vme*
crw-rw-rw- 1 root root 70, 8 Jul 30 10:51 vme_ctl
crw-rw-rw- 1 root root 70, 0 Jul 30 10:51 vme_m0
crw-rw-rw- 1 root root 70, 1 Jul 30 10:51 vme_m1
crw-rw-rw- 1 root root 70, 2 Jul 30 10:51 vme_m2
crw-rw-rw- 1 root root 70, 3 Jul 30 10:51 vme_m3
crw-rw-rw- 1 root root 70, 4 Jul 30 10:51 vme_s0
crw-rw-rw- 1 root root 70, 5 Jul 30 10:51 vme_s1
crw-rw-rw- 1 root root 70, 6 Jul 30 10:51 vme_s2
crw-rw-rw- 1 root root 70, 7 Jul 30 10:51 vme_s3
hostname:/dev#
</PRE>
<P>¡Övmeutils¡×¥Ç¥£¥ì¥¯¥È¥ê¤Ø°Ü¤Ã¤Æ¤½¤³¤Ç¡Ömake¡×¤ÈÆþÎϤ·¤Þ¤¹¡£
<PRE>
make
</PRE>
<P>¤³¤ì¤Ç¡Övmeutils¡×¥×¥í¥°¥é¥à¤¬¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Þ¤¹¡£¤³¤Î¥×¥í¥°¥é¥à¤ÏľÀÜ¥«¡¼¥Í
¥ë¡¦¥É¥é¥¤¥Ð¤ÈÂÐÏä·¤Þ¤¹¡£¤³¤ì¤ÏľÀܥɥ饤¥Ð¤ÈÂÐÏ乤ë
¥×¥í¥°¥é¥à¤ò¼«Ê¬¤Ç½ñ¤¤¿¤¤¤È»×¤Ã¤Æ¤¤¤ë¿Í¤Î¤¿¤á¤Î»²¹Í¤È¤Ê¤ë¤â¤Î¤Ç¤¹¡£
<P>¡Övmeutils¡×¤ò¡¢¥æ¡¼¥¶¤Î¥Ð¥¤¥Ê¥ê¡¦¥Õ¥¡¥¤¥ë¤òÃÖ¤¯¥Ç¥£¥ì¥¯¥È¥ê¤Ø¥³¥Ô¡¼¤·
¤Æ¤¯¤À¤µ¤¤¡£²æ¡¹¤Î¥·¥¹¥Æ¥à¤Ç¤Ï¡¢¤³¤ì¤Ï¡Ö/usr/local/bin¡×¤Ç¤¹¡£
¤¢¤ë¤¤¤Ï¡¢¡Övmeutils¡×¥×¥í¥°¥é¥à¤ò¥æ¡¼¥¶¤Î¥Ð¥¤¥Ê¥ê¡¦¥Õ¥¡¥¤¥ë¤òÃÖ¤¯
¥Ç¥£¥ì¥¯¥È¥ê¤Ø¥ê¥ó¥¯¤¹¤ë¤³¤È¤â¤Ç¤¤Þ¤¹¡£
<P>¡Övmeshell¡×¥Ç¥£¥ì¥¯¥È¥ê¤Ø°Ü¤ê¤Þ¤¹¡£¤³¤³¤Ë¤Ï¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¥Õ¥¡¥¤¥ë¤Ï
¤¢¤ê¤Þ¤»¤ó¡£¡Övmeutils¡×¥×¥í¥°¥é¥à¤ò»È¤Ã¤Æ VMEbus ¤Ø¥¢¥¯¥»¥¹¤¹¤ë¤¿¤á
¤Î¥·¥§¥ë¡¦¥×¥í¥°¥é¥à¤¬¤¢¤ê¤Þ¤¹¡£¡Övme¡×¤Ç»Ï¤Þ¤ëÁ´¤Æ¤Î¥Õ¥¡¥¤¥ë¤Ï
¡Ö/usr/local/bin¡×¥Ç¥£¥ì¥¯¥È¥ê¤Ø¥ê¥ó¥¯¤«¥³¥Ô¡¼¤µ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤ê
¤Þ¤»¤ó¡£
<P>¤³¤ì¤Ç¥É¥é¥¤¥Ð¤ò»È¤¦¤¿¤á¤Î½àÈ÷¤¬¤Ç¤¤Þ¤·¤¿¡£
<H2><A NAME="ss2.4">2.4 VMELinux ¥«¡¼¥Í¥ë¡¦¥â¥¸¥å¡¼¥ë¤Î¥í¡¼¥É</A>
</H2>
<P>¤¢¤Ê¤¿¤¬ root ¤Ç¤¢¤ë¤³¤È¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£¤½¤·¤Æ °Ê²¼¤Î¤è¤¦¤Ë
Universe ¥Á¥Ã¥×ÍѤΠVMELinux ¥«¡¼¥Í¥ë¡¦¥â¥¸¥å¡¼¥ë¤òÁȤ߹þ¤ß(¥í¡¼¥É)¤·
¤Þ¤¹¡£
<PRE>
insmod ca91c042
</PRE>
<P>
¤â¤·¤¯¤Ï¡Öins¡×¤È¤À¤±¥¿¥¤¥×¤·¤Æ¡¢¤¢¤È¤Ï¥·¥§¥ë¥¹¥¯¥ê¥×¥È¤Ë¤Þ¤«¤»¤Þ¤·¤ç¤¦¡£
½ªÎ»¤·¤¿¤é¡¢°Ê²¼¤Î¤è¤¦¤Ë¥¿¥¤¥×¤·¤Æ¤¯¤À¤µ¤¤ -
<PRE>
stat
</PRE>
²èÌ̤ˤ³¤Î¤è¤¦¤Ê¥ì¥¸¥¹¥¿¤Î¥ê¥¹¥È¤¬É½¼¨¤µ¤ì¤ë¤Ç¤·¤ç¤¦¡£
<PRE>
Universe driver info:
Control Pointer = 0000
Stats reads = 0 writes = 0 ioctls = 0
LSI0_CTL = 00800000 LSI1_CTL = 00800000
LSI0_BS = C0000000 LSI1_BS = 00000000
LSI0_BD = C0010000 LSI1_BD = 00000000
LSI0_TO = 40009000 LSI1_TO = 00000000
LSI2_CTL = 00800000 LSI3_CTL = 00800000
LSI2_BS = 00000000 LSI3_BS = 00000000
LSI2_BD = 00000000 LSI3_BD = 00000000
LSI2_TO = 00000000 LSI3_TO = 00000000
image_va0 = 00000000 image_va1 = 00000000
image_va2 = 00000000 image_va3 = 00000000
Driver Program Status:
DMACTL 0 = 00000000 DMACTL 1 = 00000000
DMACTL 2 = 00000000 DMACTL 3 = 00000000
OkToWrite 0 = 0 OkToWrite 1 = 0
OkToWrite 2 = 0 OkToWrite 3 = 0
Mode 0 = 0 Mode 1 = 0
Mode 2 = 0 Mode 3 = 0
</PRE>
¤â¤·¡¢¾åµ¤È°Û¤Ê¤Ã¤Æ¤¤¤ì¤Ð²¿¤«´Ö°ã¤Ã¤Æ¤¤¤Þ¤¹¡£
<H2><A NAME="ss2.5">2.5 º¤Æñ¤ÊÅÀ</A>
</H2>
<P>Universe ¥É¥é¥¤¥Ð¤Ï PCI bus ¾å¤Ç¤¤Á¤ó¤È Universe ¥Á¥Ã¥×¤òõ¤·¤À¤·¤Æ
¤¯¤ì¤Þ¤¹¤¬¡¢¥Ü¡¼¥É¤ÎÀ߷פ¬°ã¤¦¤Èõ¤·¤À¤»¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¡£²æ¡¹¤Ï
Xycom ¼Ò¤Î XVME-655 ¥Ü¡¼¥É¤ÇÁ´¤Æ¤Î¥ë¡¼¥Á¥ó¤ò¥Æ¥¹¥È¤·¤Þ¤·¤¿¡£
Universe ¼Ò¤Î PCI-VME ¥Ö¥ê¥Ã¥¸¥Á¥Ã¥×¤È PCI bus ¤ò¤â¤Ä¾¤Î Intel
¥Ü¡¼¥É¤Ç¤â¡¢¤³¤ì¤¬Æ°¤«¤Ê¤¤¸¶°ø¤Ï¤Û¤È¤ó¤É¤Ê¤¤¤Ï¤º¤Ç¤¹¡£¤â¤·¡¢¤¢¤Ê¤¿¤¬
ÌäÂê¤Ë½Ð²ñ¤Ã¤¿¤é¤É¤¦¤«²æ¡¹¤Ø¤ªÃΤ餻¤¯¤À¤µ¤¤¡£ -
The VMELinux Project (vmelinux@va.net)
<HR>
<A HREF="VME-HOWTO-3.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="VME-HOWTO-1.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="VME-HOWTO.html#toc2">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|