Current-Users archive

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

marvell relation support 20100413



Hi! all,


I operate DiscoveryII on PegasosII(ofppc) by gt(sys/dev/marvell/gt.c).
My PegasosII boots with NFS by my mvgbe.

ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/orion_nas/marvell-20100413.diff


Moreover, we have not booted our cobalt perhaps for a long time any
longer though we can to operate gt of cobalt.


I plan to commit some corrections this time.
First of all, please make the interrupt of pic of powerpc 64bit supports.
Typedef is actually only done though this might influence a lot of port.
And, this change was tested with my ofppc.

ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/orion_nas/support-powerpc-pic-64bit-imask-20100413.diff

This will be done on the next weekend.


Next, cleanup gt and peripherals.
  For instance, please do not include header of under powerpc.
  Split MI and MD.

Moreover support gt on ofppc.
And add some peripherals.

# Also needs manual for gt(4) perhaps.  ;-)

Thanks,
--
kiyohara

 5.99.27 (KUROBOX_PRO) #2: Sat Apr 17 19:27:24 JST 2010
        
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 offset 0x20300-0x203ff: Marvell Orion Timer
oriongpp0 at mvsoc0 offset 0x10100-0x101ff: 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
gpio0 at oriongpp0: 32 pins
com0 at mvsoc0 offset 0x12000 irq 3: ns16550a, working fifo
com0: console
com1 at mvsoc0 offset 0x12100-0x1211f irq 4: ns16550a, working fifo
mvsata0 at mvsoc0 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
ehci0 at mvsoc0 offset 0x50000-0x51fff irq 17: Marvell USB 2.0 Interface
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
mvpex0 at mvsoc0 offset 0x40000-0x41fff irq 11: Marvell PCI Express Interface
pci0 at mvpex0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
mskc0 at pci0 dev 1 function 0, Yukon-2 EC rev. A3 (0x2): interrupt pin INTA#
msk0 at mskc0 port A: Ethernet address 00:50:43:00:78:c1
makphy0 at msk0 phy 0: Marvell 88E1111 Gigabit PHY, rev. 2
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
mvgbec0 at mvsoc0 offset 0x70000-0x73fff: Marvell Gigabit Ethernet Controller
mvgbe0 at mvgbec0 port 0 irq 21
mvgbe0: Ethernet address 00:16:01:a4:df:69
makphy1 at mvgbe0 phy 8: Marvell 88E1116 Gigabit PHY, rev. 1
makphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
mvcesa0 at mvsoc0 offset 0x90000-0x9ffff irq 28: Marvell Cryptographic Engines 
and Security Accelerator
gttwsi0 at mvsoc0 offset 0x11000-0x11fff irq 5: Marvell TWSI controller
iic0 at gttwsi0: I2C bus
rs5c372rtc0 at iic0 addr 0x32: RICOH RS5C372[AB] Real-time Clock
gtidmac0 at mvsoc0 offset 0x60000-0x60fff irq 24: Marvell IDMA Controller/XOR 
Engine
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "oriontmr" frequency 166664740 Hz quality 100
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
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
wd0(mvsata0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (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.249
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: 0x4bc98ebc
root file system type: nfs
WARNING: clock lost 20 days
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
warning: no /dev/console
init path (default /sbin/init): 
init: copying out path `/sbin/init' 11
WARNING: negative runtime; monotonic clock has gone backwards
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    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 5.99.24 (GENERIC) #2: Tue Apr 13 00:23:58 JST 2010
        
lance%greed.sins.soum.co.jp@localhost:/usr/src/sys/arch/ofppc/compile/GENERIC
Model: Pegasos2
total memory = 512 MB
avail memory = 481 MB
timecounter: Timecounters tick every 10.000 msec
bootpath: /pci@80000000/ethernet@D/netbsd
mainbus0 (root)
rtas0 at mainbus0: version 1, entry @pa 0x5da000
cpu0 at mainbus0: 7457 (Revision 1.1), ID 0 (primary)
cpu0: HID0 
0x84d0c1bc<EMCP,TBEN,HIGH_BAT_EN,NAP,DPM,ICE,DCE,XBSEN,SGE,BTIC,LRSTK,FOLD,BHT>,
 powersave: 1
cpu0: 1000.00 MHz, 512KB L2 cache parity enabled
cpu0: L1 I-cache 32 KB 32B/line, D-cache 32 KB 32B/line
cpu0: L2 cache 256 KB 64B/line
cpu0: L3 cache 1 MB 128B/line
gt0 at mainbus0: MV6436x Discovery II
gt0: id 3, MPX bus, snoop=clean&flush wdog=0x60ffffff,0
gt0: pipeline aack-delay conf-sb-dis
gtidmac0 at gt0 unit 0 offset 0x0000-0x0fff irq 9: Marvell IDMA Controller
gtidmac0: no dmb_speed property
gtmpsc at gt0 unit 0 not configured
gtmpsc at gt0 unit 1 not configured
gtpci0 at gt0 unit 0 irq 9: Marvell PCI Interface
pci0 at gtpci0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Marvell MV6436x System Controller (rev. 0x03)
genfb0 at pci0 dev 8 function 0: 3Dfx Interactive Voodoo3
genfb0: framebuffer at 0xc2000000, size 800x600, depth 8, stride 800
wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at genfb0 not configured
gtpci1 at gt0 unit 1 irq 9: Marvell PCI Interface
pci1 at gtpci1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
pchb1 at pci1 dev 0 function 0
pchb1: Marvell MV6436x System Controller (rev. 0x03)
fwohci0 at pci1 dev 1 function 0: VIA Technologies VT6306 IEEE 1394 Host 
Controller (rev. 0x46)
fwohci0: interrupting at irq 9
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:11:06:00:00:00:4b:2f
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
Brooktree Bt878 Video Capture (video multimedia, revision 0x11) at pci1 dev 7 
function 0 not configured
Brooktree Bt878 Video Capture (Audio Section) (miscellaneous multimedia, 
revision 0x11) at pci1 dev 7 function 1 not configured
pcib0 at pci1 dev 12 function 0: VIA Technologies VT8231 PCI-ISA Bridge (rev. 
0x10)
pcib0: PIRQ[0-3] not used
viaide0 at pci1 dev 12 function 1
viaide0: VIA Technologies VT8231 ATA100 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to native-PCI mode
viaide0: primary channel interrupting at irq 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to native-PCI mode
viaide0: secondary channel interrupting at irq 15
atabus1 at viaide0 channel 1
uhci0 at pci1 dev 12 function 2: VIA Technologies VT83C572 USB Controller (rev. 
0x1e)
uhci0: interrupting at irq 9
usb0 at uhci0: USB revision 1.0
uhci1 at pci1 dev 12 function 3: VIA Technologies VT83C572 USB Controller (rev. 
0x1e)
uhci1: interrupting at irq 9
usb1 at uhci1: USB revision 1.0
VIA Technologies VT8231 Power Management Controller (miscellaneous bridge, 
revision 0x10) at pci1 dev 12 function 4 not configured
auvia0 at pci1 dev 12 function 5: VIA Technologies VT82C686A AC'97 Audio (rev 
0x40)
auvia0: interrupting at irq 9
auvia0: ac97: SigmaTel STAC9766/67 codec; headphone, 20 bit DAC, 18 bit ADC, 
SigmaTel 3D
auvia0: ac97: ext id 0x605<AC97_22,AMAP,SPDIF,VRA>
audio0 at auvia0: full duplex, playback, capture, mmap, independent
VIA Technologies VT82C686A MC-97 Modem Controller (miscellaneous 
communications, revision 0x20) at pci1 dev 12 function 6 not configured
vr0 at pci1 dev 13 function 0: VIA Technologies VT6102 (Rhine II) 10/100 
Ethernet (rev. 0x51)
vr0: interrupting at irq 9
vr0: Ethernet address: 00:0b:2f:4e:5b:62
rlphy0 at vr0 phy 16: RTL8201L 10/100 media interface, rev. 1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at pcib0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
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
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
attimer0: attached to pcppi0
gttwsi at gt0 unit 0 not configured
mvgbec0 at gt0 unit 0 offset 0x0000-0x3fff irq 9: Marvell Gigabit Ethernet 
Controller
mvgbe at mvgbec0 port 0 not configured
mvgbe0 at mvgbec0 port 1 irq 9
mvgbe0: Ethernet address 00:0b:2f:6d:a3:28
makphy0 at mvgbe0 phy 7: Marvell 88E1111 Gigabit PHY, rev. 1
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
mvgbe at mvgbec0 port 2 not configured
biomask 80006fe netmask 80006fe ttymask 80006fe
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "mftb" frequency 33333333 Hz quality 100
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc1, gen=1, CYCLEMASTER mode
ieee1394if0: 2 nodes, maxhop <= 1, cable IRM = 1 (me)
ieee1394if0: bus manager 1 (me)
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-R5002, 53RD704080, 1M31> cdrom 
removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
Kernelized RAIDframe activated
boot device: <unknown>
root device: mvgbe0
dump device: 
file system (default generic): 
root on mvgbe0
nfs_boot: trying DHCP/BOOTP
pckbport: command timeout
nfs_boot: DHCP next-server: 192.168.1.1
nfs_boot: my_domain=hoge
nfs_boot: my_addr=192.168.1.20
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.1.21
root on 192.168.1.1:/export/ofppc
root file system type: nfs
init path (default /sbin/init): 
init: trying /sbin/init


Home | Main Index | Thread Index | Old Index