Current-Users archive

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

Re: marvell final patch



Hi,

Thanks you for your work.
I will test this on my esata Sheevaplug as soon as possible. Hoping that it 
works to install NetBSD definitely on it.

Le 25 sept. 2010 à 07:06, KIYOHARA Takashi a écrit :

> Hi! all,
> 
> 
> I put newer(final) patch and files.
> 
> ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/marvell/marvell-20100922.diff
> ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/marvell/marvell-20100922.tar.gz
> 
> Also extracted tar.gz file.
> 
> ftp://ftp.netbsd.org/pub/NetBSD/misc/kiyohara/marvell/marvell-20100922.tar.gz-extracted/
> 
> 
> Current status:
> 
>  KURO-BOX/PRO(KUROBOX_PRO) tested.  It can boot on HDD/NFS.
>  Sheevaplug(SHEEVAPLUG) tested.  It can boot on SD card/NFS.
>    Sheevaplug hangs up frequently now.  X-)
> 
>  - A little adjustment is necessary for EHCI.
>    http://mail-index.netbsd.org/tech-kern/2010/09/09/msg008833.html
>  - CESA has not supported DMA yet. And, AES is not supported.
>  - IDMAC is supporting only Orion now.
>  - Marvell Discovery Innovation has not been supported yet.
>  - NetBSD ARM not support L2 cache.  L2 cache disabled.
> 
> Moreover, sdmmc is supporting only max 26MHz now though our SDMMC
> supports max 50MHz.  Please do not expect the support of the SDIO
> card now.  ;-)
> 
> 
> I plan to merge this patch and files on the next weekend.  ;-)
> # By the way, DNS323 is not tested for a long time.  Is this necessary
> # for us?
> 
> Thanks,
> --
> kiyohara
> Script started on Thu Sep 23 20:42:43 2010
> root@greed: {1} tip -115200 dtyU2
> connected
> 
> Marvell>> tftp 2000000 evbarm/marvell/netbsd.gz.ub
> Using egiga0 device
> TFTP from server 192.168.3.1; our IP address is 192.168.3.100
> Filename 'evbarm/marvell/netbsd.gz.ub'.
> Load address: 0x2000000
> Loading: *#################################################################
>        #################################################################
>        #################################################################
>        #################################################################
>        #################################################################
>        #################################################################
>        #############
> done
> Bytes transferred = 2062124 (1f772c hex)
> Marvell>> bootm
> ## Booting image at 02000000 ...
>   Image Name:   NetBSD/sheevaplug 5.99.39
>   Created:      2010-09-23   9:10:46 UTC
>   Image Type:   ARM NetBSD Kernel Image (gzip compressed)
>   Data Size:    2062059 Bytes =  2 MB
>   Load Address: 00008000
>   Entry Point:  00008000
>   Verifying Checksum ... OK
>   Uncompressing Kernel Image ... OK
> ## Transferring control to NetBSD stage-2 loader (at address 00008000) ...
> 
> NetBSD/evbarm (sheevaplug) booting ...
> Loaded initial symtab at 0xc0378ef8, strtab at 0xc03ae0d4, # entries 13510
> pmap_postinit: Allocated 35 static L1 descriptor tables
> 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.39 (SHEEVAPLUG) #1: Thu Sep 23 18:10:32 JST 2010
>       
> lance%greed.sins.soum.co.jp@localhost:/usr/src/sys/arch/evbarm/compile/SHEEVAPLUG
> total memory = 512 MB
> avail memory = 497 MB
> mainbus0 (root)
> cpu0 at mainbus0: Sheeva 88SV131 rev 1 (ARM9E-S core)
> cpu0: DC enabled IC enabled WB enabled EABT branch prediction enabled
> cpu0: 16KB/32B 4-way Instruction cache
> cpu0: 16KB/32B 4-way write-back-locking-C Data cache
> mvsoc0 at mainbus0: Marvell 88F6281 Rev. A0  Kirkwood
> mvsoc0: CPU Clock 1200.000 MHz  SysClock 400.000 MHz  TClock 200.000 MHz
> mvsoctmr0 at mvsoc0 unit 0 offset 0x20300-0x203ff: Marvell SoC Timer
> mvsocgpp at mvsoc0 unit 0 not configured
> com0 at mvsoc0 unit 0 offset 0x12000 irq 33: ns16550a, working fifo
> com0: console
> com1 at mvsoc0 unit 1 offset 0x12100-0x1211f irq 34: ns16550a, working fifo
> ehci0 at mvsoc0 unit 0 offset 0x50000-0x51fff irq 19: Marvell USB 2.0 
> Interface
> usb0 at ehci0: USB revision 2.0
> gttwsi0 at mvsoc0 unit 0 offset 0x11000-0x11fff irq 29: Marvell TWSI 
> controller
> iic0 at gttwsi0: I2C bus
> mvcesa0 at mvsoc0 unit 0 offset 0x30000-0x3ffff irq 22: Marvell Cryptographic 
> Engines and Security Accelerator
> mvgbec0 at mvsoc0 unit 0 offset 0x70000-0x73fff: Marvell Gigabit Ethernet 
> Controller
> mvgbe0 at mvgbec0 port 0 irq 11
> mvgbe0: Ethernet address 00:50:43:01:c3:fe
> makphy0 at mvgbe0 phy 0: Marvell 88E1116R Gigabit PHY, rev. 0
> makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
> 1000baseT-FDX, auto
> mvgbec1 at mvsoc0 unit 1 offset 0x74000-0x77fff: Marvell Gigabit Ethernet 
> Controller
> mvgbe at mvgbec1 port 0 not configured
> mvpex at mvsoc0 unit 0 not configured
> mvsata at mvsoc0 unit 0 not configured
> mvsdio0 at mvsoc0 unit 0 offset 0x90000-0x9ffff irq 28: Marvell Secure 
> Digital Input/Output Interface
> sdmmc0 at mvsdio0
> uhub0 at usb0: Marvell EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
> ld0 at sdmmc0: <SD08G>
> ld0: 7580 MB, 3850 cyl, 64 head, 63 sec, 512 bytes/sect x 15523840 sectors
> ld0: 4-bit width, bus clock 25.000 MHz
> boot device: <unknown>
> root device: ld0
> dump device (default ld0b): 
> file system (default generic): 
> root on ld0a dumps on ld0b
> mountroot: trying nfs...
> mountroot: trying msdos...
> mountroot: trying ext2fs...
> mountroot: trying ffs...
> root file system type: ffs
> WARNING: no TOD clock present
> 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
> /etc/rc.conf is not configured.  Multiuser boot aborted.
> Enter pathname of shell or RETURN for /bin/sh: 
> We recommend that you create a non-root account and use su(1) for root access.
> # ls
> .cshrc    altroot   dev       lib       mnt       root      tmp
> .profile  base.tgz  etc       libdata   netbsd    sbin      usr
> MD5       bin       etc.tgz   libexec   rescue    stand     var
> # fsck /dev/rld0a
> fsck: Cannot open `/etc/fstab': No such file or directory
> fsck: Cannot open `/etc/fstab': No such file or directory
> ** /dev/rld0a
> ** Last Mounted on /mnt
> ** Root file system
> ** Phase 1 - Check Blocks and Sizes
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> 627 files, 28231 used, 1004016 free (224 frags, 125474 blocks, 0.0% 
> fragmentation)
> 
> MARK FILE SYSTEM CLEAN? [yn] y
> MARK FILE SYSTEM CLEAN? [yn] y
> 
> 
> ***** FILE SYSTEM MARKED CLEAN *****
> 
> ***** FILE SYSTEM WAS MODIFIED *****
> # 
> # fsck /dev/rld0f
> fsck: Cannot open `/etc/fstab': No such file or directory
> fsck: Cannot open `/etc/fstab': No such file or directory
> ** /dev/rld0f
> ** Last Mounted on /mnt/usr
> ** Phase 1 - Check Blocks and Sizes
> INCORRECT BLOCK COUNT I=91366 (576 should be 416)
> CORRECT? [yn] y
> 
> INCORRECT BLOCK COUNT I=91378 (1376 should be 416)
> CORRECT? [yn] y
> 
> INCORRECT BLOCK COUNT I=91395 (768 should be 416)
> CORRECT? [yn] y
> 
> INCORRECT BLOCK COUNT I=136911 (480 should be 416)
> CORRECT? [yn] y
> 
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> LINK COUNT FILE I=136964  OWNER=0 MODE=100444
> SIZE=720 MTIME=Sep 22 16:26 2010   COUNT 2 SHOULD BE 1
> ADJUST? [yn] y
> ADJUST? [yn] y
> 
> ** Phase 5 - Check Cyl groups
> FREE BLK COUNT(S) WRONG IN SUPERBLK
> SALVAGE? [yn] y
> 
> SUMMARY INFORMATION BAD
> SALVAGE? [yn] y
> 
> BLK(S) MISSING IN BIT MAPS
> SALVAGE? [yn] y
> 
> 1615 files, 26566 used, 1521809 free (545 frags, 190158 blocks, 0.0% 
> fragmentation)
> 
> MARK FILE SYSTEM CLEAN? [yn] y
> 
> 
> ***** FILE SYSTEM MARKED CLEAN *****
> 
> ***** FILE SYSTEM WAS MODIFIED *****
> # mount -r /dev/ld0f usr
> # df
> Filesystem   1K-blocks       Used      Avail %Cap Mounted on
> root_device     2064494      56462    1904808   2% /
> tmpfs               608        196        412  32% /dev
> /dev/ld0f       3096750      53132    2888782   1% /usr
> # mount
> root_device on / type ffs (read-only, local)
> tmpfs on /dev type tmpfs (union, local)
> /dev/ld0f on /usr type ffs (read-only, local)
> # 
> # pwd
> /
> # ls
> .cshrc    altroot   dev       lib       mnt       root      tmp
> .profile  base.tgz  etc       libdata   netbsd    sbin      usr
> MD5       bin       etc.tgz   libexec   rescue    stand     var
> # 
> # pwd
> /
> # ls -lR /
> total 36234
> -rw-r--r--   2 root  wheel      1269 Sep 12  2009 .cshrc
> -rw-r--r--   2 root  wheel       822 Sep 12  2009 .profile
> -rw-r--r--   1 root  wheel      1587 Sep 23 11:19 MD5
> drwxr-xr-x   2 root  wheel       512 Sep 22 14:38 altroot
> -rw-r--r--   1 root  wheel  31939353 Sep 23 11:21 base.tgz
> drwxr-xr-x   2 root  wheel      1024 Sep 23 11:37 bin
> drwxr-xr-x   6 root  wheel     19460 Sep 23 11:40 dev
> drwxr-xr-x  25 root  wheel      2048 Sep 23 11:37 etc
> -rw-r--r--   1 root  wheel    365957 Sep 23 11:20 etc.tgz
> drwxr-xr-x   2 root  wheel      1536 Sep 23 11:37 lib
> Lost carrier.
> [EOT]
> root@greed: {2} 
> root@greed: {2} exit
> root@greed: {3} exit
> 
> Script done on Thu Sep 23 20:46:07 2010

--
Sylvain "Solevis" Mora
sylvain.mora%gmail.com@localhost






Home | Main Index | Thread Index | Old Index