Subject: AMD GX3 geode support
To: None <port-i386@netbsd.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: tech-embed
Date: 07/31/2006 18:13:45
--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I've got an geode-based IEI WAFER LX 800 3.5" single-board-computer [1]
it boots and (mostly) runs NetBSD-3, but has some showstopping caveats
for my application.

I've attached the full dmesg, but here's the bits that concern me:

* IDE support:

pciide0 at pci0 dev 15 function 2
pciide0: Advanced Micro Devices product 0x209a (rev. 0x01)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel wired to compatibility mode
pciide0: primary channel ignored (other hardware responding at addresses)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (not responding; disabled or no drives?)

performance is poor, as expected.  but it does work.

* audio:

Advanced Micro Devices product 0x2093 (audio multimedia, revision 0x01) at pci0 dev 15 function 3 not configured

the codec is an avance logic (realtek) ALC203.  I assume only the glue
to the AC97 bus is missing to get this working.

this is a showstopper for my application.

* floating point:

npx0 at isa0 port 0xf0-0xff: error reporting broken; not using

coincidentally, lack of FPU triggers the long-standing PR6986 [2].  gcc
is _still_ producing floating point ops in userland that the kernel
can't emulate.  this keeps me from trying X as well.

[1] http://www.ieiworld.com/en/product_IPC.asp?model=WAFER-LX
[2] http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=6986

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
              "silly brewer, saaz are for pils!"  --  virt

--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="dmesg.WAFER-LX-800"

NetBSD 3.0_STABLE (GENERIC) #0: Fri Jul 21 13:47:08 PDT 2006
	aaron@orthanc.unix.fryenet:/var/obj/usr/projects/NetBSD/3/src/sys/arch/i386/compile/GENERIC
total memory = 247 MB
avail memory = 233 MB
BIOS32 rev. 0 found at 0xfa900
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: AMD K5 or K6 (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: 8 page colors
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 product 0x2080 (rev. 0x30)
vga1 at pci0 dev 1 function 1: Advanced Micro Devices product 0x2081 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
Advanced Micro Devices product 0x2082 (entertainment crypto) at pci0 dev 1 function 2 not configured
rtk0 at pci0 dev 11 function 0: Realtek 8139 10/100BaseTX
rtk0: interrupting at irq 5
rtk0: Ethernet address 00:08:9b:69:c4:16
ukphy0 at rtk0 phy 7: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000000, model 0x0000, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Integrated Technology Express product 0x8888 (miscellaneous bridge, revision 0x03) at pci0 dev 13 function 0 not configured
pcib0 at pci0 dev 15 function 0
pcib0: Advanced Micro Devices product 0x2090 (rev. 0x02)
pciide0 at pci0 dev 15 function 2
pciide0: Advanced Micro Devices product 0x209a (rev. 0x01)
pciide0: bus-master DMA support present, but unused (no driver support)
pciide0: primary channel wired to compatibility mode
pciide0: primary channel ignored (other hardware responding at addresses)
pciide0: secondary channel wired to compatibility mode
pciide0: secondary channel ignored (not responding; disabled or no drives?)
Advanced Micro Devices product 0x2093 (audio multimedia, revision 0x01) at pci0 dev 15 function 3 not configured
ohci0 at pci0 dev 15 function 4: Advanced Micro Devices product 0x2094 (rev. 0x02)
ohci0: interrupting at irq 9
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
ehci0 at pci0 dev 15 function 5: Advanced Micro Devices product 0x2095 (rev. 0x02)
ehci0: interrupting at irq 9
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controller, 4 ports each: ohci0
usb1 at ehci0: USB revision 2.0
uhub1 at usb1
uhub1: Advanced Micro EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: single transaction translator
uhub1: 4 ports with 4 removable, self powered
rtk1 at pci0 dev 16 function 0: Realtek 8139 10/100BaseTX
rtk1: interrupting at irq 10
rtk1: Ethernet address 00:08:9b:69:c4:15
ukphy1 at rtk1 phy 7: Generic IEEE 802.3u media interface
ukphy1: OUI 0x000000, model 0x0000, rev. 0
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Acer Labs product 0x5281 (miscellaneous mass storage, interface 0x85, revision 0xa4) at pci0 dev 17 function 0 not configured
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
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
wdc0 at isa0 port 0x1f0-0x1f7 irq 14
atabus0 at wdc0 channel 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: error reporting broken; not using
isapnp0: no ISA Plug 'n Play devices found
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <WDC WD200BB-00AUA1>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 19092 MB, 38792 cyl, 16 head, 63 sec, 512 bytes/sect x 39102336 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)

--9jxsPFA5p3P2qPhR--