Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

merge for gt(4) and Marvell SoC



Hi! all,


I put newer patch.

  ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/orion_nas/marvell-20090809.diff
  
ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/orion_nas/marvell-20090809.tar.gz

mvsata(4) and mvgbe(4) were moved to dev/marvell.
Next, I merged mvtwsi.  Ooops, gti2c(4) will not work.  It have more bug.
Howver, EV64260 not use gti2c...

gt0 at mvsoc0 addr 0xf1000000
mvsata0 at gt0 offset 0x80000-0x87fff irq 29: Marvell Serial-ATA Host 
Controller (SATAHC)
mvgbe0 at gt0 offset 0x70000-0x73fff irq 21: Marvell Gigabit Ethernet Controller
mvtwsi0 at gt0 offset 0x11000-0x1101f irq 5: Marvell TWSI controller


I am planning new match more smartly. It gets offset and irq when match via
gt(4).  His know offset and irq for peripherals from model and revision.

Thanks,
--
kiyohara
rights reserved.

NetBSD 5.99.15 (KUROBOX_PRO) #0: Sun Aug  9 13:38:06 JST 2009
        
lance%greed.sins.soum.co.jp@localhost:/usr/src/sys/arch/evbarm/compile/KUROBOX_PRO
total memory = 128 MB
avail memory = 120 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0: ARM926EJ-S rev 0 (ARM9EJ-S core)
cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
cpu0: 32KB/32B 1-way Instruction cache
cpu0: 32KB/32B 1-way write-back-locking-C Data cache
mvsoc0 at mainbus0: Marvell MV88F5182 SoC Rev. A0 Orion1
mvsoc0: CPU Clock 400.000 MHz  SysClock 200.000 MHz  TClock 166.664 MHz
oriontmr0 at mvsoc0 addr 0xf1020300-0xf10203ff: Marvell Orion Timer
timecounter: Timecounter "oriontmr" frequency 0 Hz quality 100
oriongpp0 at mvsoc0 addr 0xf1010100-0xf10101ff: Marvell Orion General Purpose 
I/O Port Interface
oriongpp0:   Data Out:                  0x00000000
oriongpp0:   Data Out Enable Control:   0xfc01000c
oriongpp0:   Data Blink Enable:         0x00000000
oriongpp0:   Data In Polarity:          0x00000000
oriongpp0:   Data In:                   0x0000000c
oriongpp0:   Data Interrupt Cause:      0x00000008
oriongpp0:   Data Interrupt Mask:       0x00000000
oriongpp0:   Data Interrupt Level Mask: 0x00000000
com0 at mvsoc0 addr 0xf1012000-0xf101201f irq 3: ns16550a, working fifo
com0: console
com1 at mvsoc0 addr 0xf1012100-0xf101211f irq 4: ns16550a, working fifo
ehci0 at mvsoc0 addr 0xf1050000-0xf1051fff irq 17: Marvell Orion USB 2.0 
Interface
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
ehci1 at mvsoc0 addr 0xf10a0000-0xf10a1fff irq 12: Marvell Orion USB 2.0 
Interface
ehci1: EHCI version 1.0
usb1 at ehci1: USB revision 2.0
mvpex0 at mvsoc0 addr 0xf1040000-0xf1041fff irq 11: Marvell PCI Express 
Interface
pci0 at mvpex0
pci0: i/o space, memory space enabled
Marvell 88F5182 SoC Orion1 (miscellaneous memory, revision 0x02) at pci0 dev 0 
function 0 not configured
mvcesa0 at mvsoc0 addr 0xf1090000-0xf109ffff irq 28: Marvell Cryptographic 
Engines and Security Accelerator
mvidmac0 at mvsoc0 addr 0xf1060800-0xf1060bff: Marvell IDMA Controller/XOR 
Engine
gt0 at mvsoc0 addr 0xf1000000
mvsata0 at gt0 offset 0x80000-0x87fff irq 29: Marvell Serial-ATA Host 
Controller (SATAHC)
mvsata0: GenIIe, 1hc, 2port/hc
atabus0 at mvsata0 channel 0
atabus1 at mvsata0 channel 1
mvgbe0 at gt0 offset 0x70000-0x73fff irq 21: Marvell Gigabit Ethernet Controller
mvgbe0: Ethernet address 00:16:01:a4:df:69
makphy0 at mvgbe0 phy 8: Marvell 88E1116 Gigabit PHY, rev. 1
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
mvtwsi0 at gt0 offset 0x11000-0x1101f irq 5: Marvell TWSI controller
iic0 at mvtwsi0: I2C bus
rs5c372rtc0 at iic0 addr 0x32: RICOH RS5C372[AB] Real-time Clock
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
uhub0 at usb0: vendor 0x0000 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 1 port with 1 removable, self powered
uhub1 at usb1: vendor 0x0000 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 1 port with 1 removable, self powered
mvsata0 port 0: device present, speed: 3.0Gb/s
wd0 at atabus0 drive 0: <SAMSUNG HD321KJ>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 298 GB, 620181 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 7
mvsata0:0:0: device disconnect
wd0(mvsata0:0:0): using PIO mode 4, Ultra-DMA mode 0 (using DMA)
Kernelized RAIDframe activated
boot device: <unknown>
root device: mvgbe0
dump device: 
file system (default generic): 
root on mvgbe0
mountroot: trying smbfs...
mountroot: trying ntfs...
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.3.1
nfs_boot: my_addr=192.168.3.252
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=0.0.0.0
root on 192.168.3.1:/home/lance/obj/arm/destdir.evbarm
root time: 0x4a7e5650
root file system type: nfs
warning: no /dev/console
init path (default /sbin/init): 
init: copying out path `/sbin/init' 11
WARNING: negative runtime; monotonic clock has gone backwards


Home | Main Index | Thread Index | Old Index