Kirkwood problem

Ronald Klop ronald-lists at klop.ws
Wed Feb 6 14:39:10 UTC 2019


 
Van: Mori Hiroki <yamori813 at yahoo.co.jp>
Datum: woensdag, 6 februari 2019 10:21
Aan: "freebsd-arm at freebsd.org" <freebsd-arm at freebsd.org>
Onderwerp: Kirkwood problem
> 
> Hi
> 
> I try to OpenRD like device on 13-CURRENT.
> 
> This is Marvell Kirkwood.
> 
> This is armv5t but have 512M byte ram and 1.2G
> clock.
> 
> I have two problem.
> 
> This device have 88F6281 and 88E1116R phy on mac.
> 
> But not work mge.
> 
> Second is very slow mruby fib(32) benchmark.
> 
> I think this target u-boot not optimize memory
> controller.
> 
> If you have advice, please let me know.
> 
> 
> Thanks
> 
> Hiroki Mori
>  

This sounds like my Sheevaplug.
See https://wiki.freebsd.org/FreeBSD/arm/Kirkwood

Mine runs 11.2 currently and I successfully booted 12.0 on it. I don't know about current, but I haven't seen removal of support for this device yet.
See dmesg below.
Network mge works for me. It is slow. But also very old. I don't think a lot can be done about the speed. (But I'm not the developer of this port.)

Do you get it to boot properly? Is there an error about the mge network adapter not working?
Any significant output in /var/log/messages?

Regards,
Ronald.

Copyright (c) 1992-2018 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.2-RELEASE-p4 #4 r339336M: Sat Oct 13 23:31:51 CEST 2018
    builder at rpi3:/data/src/obj-11.2/arm.arm/data/src/11.2/sys/SHEEVAPLUG arm
FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0)
CPU: Feroceon 88FR131 rev 1 (**unknown 4** core)
  Little-endian DC enabled IC disabled WA disabled DC streaming enabled
  BTB disabled L2 enabled L2 prefetch enabled
  WB enabled LABT branch prediction disabled
  16KB/32B 4-way instruction cache
  16KB/32B 4-way write-back-locking-C data cache
real memory  = 536866816 (511 MB)
avail memory = 518819840 (494 MB)
SOC: Marvell 88F6281 rev A0, TClock 200MHz
  Instruction cache prefetch enabled, data cache prefetch enabled
  256KB 4-way set-associative write-through unified L2 cache
random: entropy device external interface
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
localbus0: <Marvell device bus> on ofwbus0
nand0: <Marvell NAND controller> mem 0xf9300000-0xf93fffff on localbus0
nandbus0: <NAND bus> on nand0
lnand0: <Samsung NAND 512MiB 3,3V 8-bit> on nandbus0
lnand0: Found BBT table for chip
ic0: <Marvell Integrated Interrupt Controller> mem 0x20200-0x2023b on simplebus0
timer0: <Marvell CPU Timer> mem 0x20300-0x2032f irq 1 on simplebus0
Event timer "CPUTimer0" frequency 200000000 Hz quality 1000
Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000
gpio0: <Marvell Integrated GPIO Controller> mem 0x10100-0x1011f irq 35,36,37,38,39,40,41 on simplebus0
rtc0: <Marvell Integrated RTC> mem 0x10300-0x10307 on simplebus0
rtc0: registered as a time-of-day clock, resolution 1.000000s
mge0: <Marvell Gigabit Ethernet controller> mem 0x72000-0x73fff irq 12,13,14,11,46 on simplebus0
mge0: PHY0 attached, phy_sc points to mge0
mge0: Ethernet address: 00:50:43:01:6f:12
miibus0: <MII bus> on mge0
e1000phy0: <Marvell 88E1116R Gigabit PHY> PHY 0 on miibus0
e1000phy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
uart0: <16550 or compatible> mem 0x12000-0x1201f irq 33 on simplebus0
uart0: console (1066,n,8,1)
uart1: <16550 or compatible> mem 0x12100-0x1211f irq 34 on simplebus0
cesa0: <Marvell Cryptographic Engine and Security Accelerator> mem 0x30000-0x30fff,0x3d000-0x3dfff irq 22 on simplebus0
ehci0: <Marvell Integrated USB 2.0 controller> mem 0x50000-0x50fff irq 48,19 on simplebus0
usbus0: EHCI version 1.0
usbus0 on ehci0
cryptosoft0: <software crypto>
Timecounters tick every 1.000 msec
usbus0: 480Mbps High Speed USB v2.0
ugen0.1: <Marvell EHCI root HUB> at usbus0
uhub0: <Marvell EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
bootpc_init: wired to interface 'mge0'
Sending DHCP Discover packet from interface mge0 (00:50:43:01:6f:12)
Received DHCP Offer packet on mge0 from 0.0.0.0 (accepted)
uhub0: 1 port with 1 removable, self powered
mge0: link state changed to UP
ugen0.2: <vendor 0x0930 USB Flash Memory> at usbus0
umass0 on uhub0
umass0: <vendor 0x0930 USB Flash Memory, class 0/0, rev 2.00/1.10, addr 2> on usbus0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: < USB Flash Memory PMAP> Removable Direct Access SCSI device
da0: Serial Number 001D92AD6ADAB910B3230034
da0: 40.000MB/s transfers
da0: 15320MB (31375360 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
Sending DHCP Request packet from interface mge0 (00:50:43:01:6f:12)
Received DHCP Ack packet on mge0 from 0.0.0.0 (accepted)
mge0 at 192.168.1.105 server 0.0.0.0
subnet mask 255.255.255.0 router 192.168.1.254
Adjusted interface mge0
Trying to mount root from ufs:/dev/da0s1a []...
WARNING: / was not properly dismounted
WARNING: / was not properly dismounted
random: unblocking device.
ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to deny, logging disabled


 


More information about the freebsd-arm mailing list