2008-02-18 SA5SX04A
pxeブートでNetBSDを起動させつつ環境構築。
/etc/mk.conf に X11_TYPE=modular を追加して、
pkgsrc/x11/modular-xorg-serverでmake。dependencyが沢山あって遅いよ…
んで、XorgのAMD geode用のドライバを入れようとしたが、linuxべったりのソースなのでNetBSDでmakeできねえ。
めんどくさそうなので修正はあとまわしにして、とりあえずvesaドライバで動かしてみる。が、今度はXorgが
で止まってしまう。うぐぅ…
ググってみると、vesabiosのためのx86エミュ部分が、CPUID命令に対応してないせいのようだ。
パッチも一緒にあったのであてると動いた。
SA5SX04Aの液晶は1024x600が表示可能なのだが、vesaはモードが固定なので800x600か1024x768にしかできない。
しょうがないので1024x768で使う。縦に縮小されるのでピクセルがボケるけど、贅沢を言わなければ使える。早いところamdドライバを動かそう…
suspendまわりがあやしいけど、常用できそうなので、HDDのWindowsXPはさっくりと消してNetBSDで上書き。
あと動かさなければならないのは、
くらいかな。
ACPIを有効にするとなぜかキーボード入力ができなくなる原因も調べないと。
/etc/mk.conf に X11_TYPE=modular を追加して、
pkgsrc/x11/modular-xorg-serverでmake。dependencyが沢山あって遅いよ…
んで、XorgのAMD geode用のドライバを入れようとしたが、linuxべったりのソースなのでNetBSDでmakeできねえ。
めんどくさそうなので修正はあとまわしにして、とりあえずvesaドライバで動かしてみる。が、今度はXorgが
c000:0282: A2 ILLEGAL EXTENDED X86 OPCODE!
で止まってしまう。うぐぅ…
ググってみると、vesabiosのためのx86エミュ部分が、CPUID命令に対応してないせいのようだ。
パッチも一緒にあったのであてると動いた。
SA5SX04Aの液晶は1024x600が表示可能なのだが、vesaはモードが固定なので800x600か1024x768にしかできない。
しょうがないので1024x768で使う。縦に縮小されるのでピクセルがボケるけど、贅沢を言わなければ使える。早いところamdドライバを動かそう…
suspendまわりがあやしいけど、常用できそうなので、HDDのWindowsXPはさっくりと消してNetBSDで上書き。
あと動かさなければならないのは、
・Xorg xf86-video-amd を NetBSD で動かす ・無線LANをなんとかする。(usbの先に付いているRalink RT73) Linuxはソースがある? ・タッチパネル (uhidevに見える。linuxで動いてるっぽいので簡単?) ・SD/MMC (OpenBSDでは動いてるっぽいのでもってくればok。使わない気もするけど)
くらいかな。
ACPIを有効にするとなぜかキーボード入力ができなくなる原因も調べないと。
The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. NetBSD 4.99.54 (SA5SX04A) #36: Sun Feb 17 00:48:12 JST 2008 ryo@msr:/usr/src/sys/arch/i386/compile/SA5SX04A total memory = 499 MB avail memory = 483 MB timecounter: Timecounters tick every 10.000 msec timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100 KOHJINSHA Co.,Ltd SA Series (Rev 1.00) mainbus0 (root) cpu0 at mainbus0: (uniprocessor) cpu0: AMD Geode LX (586-class), 498.07 MHz, id 0x5a2 cpu0: features 88a93d<FPU,DE,PSE,TSC,MSR,CX8,SEP> cpu0: features 88a93d<PGE,CMOV,MPC,MMX> cpu0: "Geode(TM) Integrated Processor by AMD PCS" cpu0: I-cache 64 KB 32B/line 16-way, D-cache 64 KB 32B/line 16-way cpu0: L2 cache 128 KB 32B/line 4-way cpu0: ITLB 16 4 KB entries fully associative cpu0: DTLB 16 4 KB entries fully associative cpu0: Initial APIC ID 0 cpu0: 8 page colors vesabios0 at mainbus0: version 2.0, Elpin Systems VGA BIOS GEODE LX vesafb0 at vesabios0: VESA frame buffer vesafb0: fb 800x600x16 @0x50000000 vesafb0: 937 Kb memory reported, 1 screens possible vesafb0: one screen, so hardware scrolling not possible vesafb0: VBE/PM 1.0 wsdisplay0 at vesafb0 kbdmux 1: console (fb, vt100 emulation) wsmux1: connecting to wsdisplay0 pci0 at mainbus0 bus 0: configuration mode 1 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok pchb0 at pci0 dev 1 function 0 pchb0: Advanced Micro Devices Geode LX Host-PCI Bridge (rev. 0x31) Advanced Micro Devices Geode LX VGA Controller (VGA display) at pci0 dev 1 function 1 not configured glxsb0 at pci0 dev 1 function 2: RNG AES cbb0 at pci0 dev 12 function 0: Texas Instruments product 0x8039 (rev. 0x00) Texas Instruments product 0x803b (miscellaneous mass storage) at pci0 dev 12 function 2 not configured Texas Instruments product 0x803c (SD Host Controller system) at pci0 dev 12 function 3 not configured rtk0 at pci0 dev 13 function 0: Realtek 8139 10/100BaseTX (rev. 0x10) rtk0: interrupting at irq 5 rtk0: Ethernet address ##:##:##:##:##:## rlphy0 at rtk0 phy 7: Realtek internal PHY rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto gcscpcib0 at pci0 dev 15 function 0 gcscpcib0: Advanced Micro Devices CS5536 PCI-ISA Bridge (rev. 0x03) timecounter: Timecounter "gcscpcib0" frequency 3579545 Hz quality 1000 gcscpcib0: can't alloc an MFGPT for WDT , GPIO gpio0 at gcscpcib0: 32 pins viaide0 at pci0 dev 15 function 2 viaide0: Advanced Micro Devices CS5536 IDE Controller (rev. 0x01) viaide0: bus-master DMA support present viaide0: primary channel wired to compatibility mode viaide0: primary channel interrupting at irq 14 atabus0 at viaide0 channel 0 viaide0: secondary channel wired to compatibility mode viaide0: secondary channel ignored (disabled) Advanced Micro Devices CS5536 Audio (audio multimedia, revision 0x01) at pci0 dev 15 function 3 not configured ohci0 at pci0 dev 15 function 4: Advanced Micro Devices CS5536 OHCI USB Controller (rev. 0x02) ohci0: interrupting at irq 10 ohci0: OHCI version 1.0, legacy support usb0 at ohci0: USB revision 1.0 uhub0 at usb0 uhub0: Advanced Micro OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered gcscehci0 at pci0 dev 15 function 5: Advanced Micro Devices CS5536 EHCI USB Controller (rev. 0x02) gcscehci0: interrupting at irq 10 gcscehci0: EHCI version 1.0 gcscehci0: companion controller, 4 ports each: ohci0 usb1 at gcscehci0: USB revision 2.0 uhub1 at usb1 uhub1: Advanced Micro Devices EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered cbb0: cacheline 0x0 lattimer 0x10 cbb0: bhlc 0x821000 cbb0: interrupting at irq 3 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 1 pcmcia0 at cardslot0 isa0 at gcscpcib0 pckbc0 at isa0 port 0x60-0x64 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pms0: Synaptics touchpad version 6.3 pms0: Palm detect, Multi-finger pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 npx0 at isa0 port 0xf0-0xff npx0: reported by CPUID; using exception 16 apm0 at mainbus0: Advanced Power Management BIOS: Power Management spec V1.2 (slowidle) timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0 Kernelized RAIDframe activated pad0: outputs: 44100Hz, 16-bit, stereo audio0 at pad0: half duplex IPsec: Initialized Security Association Processing. uhub2 at uhub1 port 4 uhub2: Standard Microsystems product 0x2503, class 9/0, rev 2.00/0.01, addr 2 uhub2: multiple transaction translators uhub2: 2 ports with 1 removable, self powered uhidev0 at uhub2 port 1 configuration 1 interface 0 uhidev0: DIALOGUE INC PenMount USB, rev 1.00/a4.b4, addr 3, iclass 3/1 ums0 at uhidev0 ums0: X report 0x0002 not supported wd0 at atabus0 drive 0: <Hitachi HTS541640J9AT00> wd0: drive supports 16-sector PIO transfers, LBA48 addressing wd0: 34479 MB, 70053 cyl, 16 head, 63 sec, 512 bytes/sect x 70613476 sectors ugen0 at uhub2 port 2 ugen0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 4 wd0: 32-bit data port wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
EOF