Subject: Marvell MV88F5182 and KUROBOX/PRO
To: None <current-users@netbsd.org>
From: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
List: current-users
Date: 12/25/2007 02:20:30
----Next_Part(Tue_Dec_25_02_20_30_2007_235)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi! all,
Merry Christmas,  ;-)


I could boot KURO-BOX/PRO on NFS.  KURO-BOX/PRO is NAS that kuroutoshikou
sells, and CPU is MV88F5182 of Marvell.

  (KURO-BOX/PRO: japanese)
  http://www.kuroutoshikou.com/modules/display/?iid=966


MV88F5182 is SoC.  It has GbE, SATA, USB2.0, PCI{,-x} and com, etc.

  (88F5182 Open Document)
  http://tree.celinuxforum.org/CelfPubWiki/JapanTechnicalJamboree17?action=AttachFile&do=get&target=PUG_88F5182_Buffalo.pdf


I supported only GbE, timer, com now.  This source code is coming soon. ;-)

Thanks,
--
kiyohara


----Next_Part(Tue_Dec_25_02_20_30_2007_235)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="kuroboxarm.txt"

Script started on Mon Dec 24 20:57:52 2007
root@greed: {1} tip -115200 dtyU0

connected
Orion1   CPU =  Low 

=== KURO U-Boot. ===
 ** LOADER **
 ** KUROBOX BOARD: KURO_BOX  LE (CFG_ENV_ADDR=fffff000)


U-Boot 1.1.1 (Feb 13 2007 - 15:59:43) Marvell version: 1.12.1 - TINY

DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB 
[256kB@fffc0000] Flash: 256 kB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
NAND: 256 MB

Soc: 88F5182 A2
CPU: ARM926 (Rev 0) running @ 500Mhz 
Orion 1 streaming disabled 
SysClock = 250Mhz , TClock = 166Mhz 


USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net:   egiga0 [PRIME]
Using 88E1118 phy
Found boot image 
hit any key to switch tftp boot.
Hit any key to stop autoboot:  2  1  0 
<<system_bootend>>
Hit any key to stop autoboot:  3  0 
Marvell>> bootp 8000 evbarm/kuroboxarm/netbsd.bin
BOOTP broadcast 1
Using egiga0 device
TFTP from server 192.168.3.1; our IP address is 192.168.3.251
Filename 'evbarm/kuroboxarm/netbsd.bin'.
Load address: 0x8000
Loading: *#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #######################################################
done
Bytes transferred = 2940144 (2cdcf0 hex)
Marvell>> go 8000
## Starting application at 0x00008000 ...

NetBSD/evbarm (kuroboxarm) booting ...
Loaded initial symtab at 0xc027d654, strtab at 0xc02a2c68, # entries 9476
pmap_postinit: Allocated 35 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    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.44 (KUROBOXARM) #0: Mon Dec 24 20:29:19 JST 2007
	lance@greed.sins.soum.co.jp:/usr/src/sys/arch/evbarm/compile/KUROBOXARM
total memory = 112 MB
avail memory = 106 MB
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
orion0 at mainbus0: Marvell MV88F5182 SoC Rev. A2
orion0: CPU Clock 400.000 MHz  SysClock 200.000 MHz  TClock 166.664 MHz
oriontmr0 at orion0 offset 0xf1020300-0xf10203ff: Marvell Orion Timer
com0 at orion0 offset 0xf1012000-0xf101201f irq 3: ns16550a, working fifo
com0: console
oriongbe0 at orion0 offset 0xf1072000-0xf1073fff: Marvell Orion Gigabit Ethernet Controller
oriongbe0: Ethernet address 00:16:01:a4:cb:71
makphy0 at oriongbe0 phy 8: Marvell 88E1116 Gigabit PHY, rev. 1
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
boot device: <unknown>
root device: oriongbe0
dump device: 
file system (default generic): 
root on oriongbe0
mountroot: trying ffs...
mountroot: trying ext2fs...
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.3.1
nfs_boot: my_addr=192.168.3.251
nfs_boot: my_mask=255.255.255.0
root on 192.168.3.1:/home/lance/root
root time: 0x476f9f14
root file system type: nfs
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
init path (default /sbin/init): 
init: copying out path `/sbin/init' 11
/etc/rc.conf is not configured.  Multiuser boot aborted.
Enter pathname of shell or RETURN for /bin/sh: 
Terminal type? [unknown] 
Terminal type is unknown.
We recommend creating a non-root account and using su(1) for root access.
# 
# ls
.cshrc    bin       lib       mnt       root      tmp
.profile  dev       libdata   netbsd    sbin      usr
altroot   etc       libexec   rescue    stand     var
# pwd
/
# ~
[EOT]
root@greed: {2} exit
root@greed: {3} 
Script done on Mon Dec 24 21:00:21 2007

----Next_Part(Tue_Dec_25_02_20_30_2007_235)----