Subject: I-O DATA HDL-G port
To: None <>
From: Kimihiro Nonaka <>
List: port-arm
Date: 04/20/2006 17:18:05

I ported NetBSD to I-O DATA HDL-G "Giga LANDISK".
I've commited to NetBSD-current under sys/arch/evbarm/hdl_g.

HDL-G specifications:
- XScale i80219 400MHz
- Flash ROM 512KB
- Parallel ATA HDD x1
- 1000Base-T x1
- USB 2.0 x4
- Button x5: Power, Reset, Copy, Select, Remove
  HDL-G port support Power and Reset button.

boot message output is follows.

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.90 - built 13:59:48, Jun  3 2005

Platform: IQ80321 (XScale)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x00000000-0x08000000, 0x00010ba8-0x07ff4000 available
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> load hda1:/initrd -r -v -b 0x00800000 -m disk
e2fs_open: e2fs_inode_lookup failed
Can't load 'hda1:/initrd': Can't open file
RedBoot> load hda1:/zImage -r -v -b 0x00012000 -m disk
Raw file loaded 0x00012000-0x0040dbeb, assumed entry at 0x00012000
RedBoot> exec -c "root=/dev/hda2 initrd=0xa0800000,8M rw console=ttyS0,115200 mem=128M@0xa0000000"
Using base address 0x00012000 and length 0x003fbbec
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    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 3.99.18 (HDL_G) #6: Sun Apr 16 11:26:10 JST 2006
total memory = 128 MB
avail memory = 118 MB
mainbus0 (root)
cpu0 at mainbus0: i80219 400MHz step A-0 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB/32B 32-way Instruction cache
cpu0: 32KB/32B 32-way write-back-locking Data cache
obio0 at mainbus0
com0 at obio0 addr 0xfe800000 xint 3: ns16550a, working fifo
com0: console
btn0 at obio0 addr 0xfe8d0002 xint 3
iopxs0 at mainbus0: i80219 I/O Processor, acting as PCI host
iopxs0: configuring PCI bus
iopiic0 at iopxs0: I2C controller
iic0 at iopiic0: I2C bus
rs5c372rtc0 at iic0 addr 0x32: RICOH RS5C372[AB] Real-time Clock
iopiic1 at iopxs0: I2C controller
iic1 at iopiic1: I2C bus
pci0 at iopxs0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
wm0 at pci0 dev 1 function 0: Intel i82541GI 1000BASE-T Ethernet, rev. 5
wm0: interrupting at irq 27
wm0: Ethernet address 00:a0:b0:68:21:f0
igphy0 at wm0 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
acardide0 at pci0 dev 2 function 0
acardide0: Acard ATP865-A Ultra133 IDE Controller (rev. 0x07)
acardide0: bus-master DMA support present
acardide0: primary channel wired to native-PCI mode
acardide0: using irq 28 for native-PCI interrupt
atabus0 at acardide0 channel 0
acardide0: secondary channel wired to native-PCI mode
atabus1 at acardide0 channel 1
ohci0 at pci0 dev 3 function 0: NEC USB Host Controller (rev. 0x43)
ohci0: interrupting at irq 29
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 3 function 1: NEC USB Host Controller (rev. 0x43)
ohci1: interrupting at irq 29
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 3 function 2: NEC USB Host Controller (rev. 0x04)
ehci0: interrupting at irq 29
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1
usb2 at ehci0: USB revision 2.0
uhub2 at usb2
uhub2: NEC EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 5 ports with 5 removable, self powered
clock: hz=100 stathz=0 profhz=0
wd0 at atabus0 drive 0: <TOSHIBA MK4019GAX>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(acardide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
boot device: <unknown>
root on wd0a dumps on wd0b
root file system type: ffs

Kimihiro Nonaka