Date: Sat, 9 Feb 2019 14:45:35 +0900 (JST) From: Mori Hiroki <yamori813@yahoo.co.jp> To: Ronald Klop <ronald-lists@klop.ws> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Kirkwood problem Message-ID: <1159661280.102573.1549691135664.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <264357226.171029.1549625008926.JavaMail.yahoo@mail.yahoo.co.jp> References: <328264067.1186013.1549444864088.JavaMail.yahoo.ref@mail.yahoo.co.jp> <328264067.1186013.1549444864088.JavaMail.yahoo@mail.yahoo.co.jp> <1060918575.1.1549463934128@localhost> <264357226.171029.1549625008926.JavaMail.yahoo@mail.yahoo.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi ----- Original Message ----- > From: Mori Hiroki <yamori813@yahoo.co.jp> > To: Ronald Klop <ronald-lists@klop.ws> > Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> > Date: 2019/2/8, Fri 20:23 > Subject: Re: Kirkwood problem >=20 > Hi >=20 > Thanks for your reply. >=20 > My dmesg is this. >=20 > https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D4763=20 >=20 > I use ZRouter build system and use USB memory. >=20 > RT1310(armv5t 300MHZ) mruby fib(32) is 145 sec.=20 >=20 > 88E6281(armv5t 1.2GHz) mruby fib(32) is 232 sec. I installed debian and check mruby fib(32). It's only 9 sec. FreeBSD is 25 times slow... >=20 > This is very strange. >=20 >=20 > I try to debug mge. I found DMA failed. NO send and > receive packet. But I don't know reason. >=20 >=20 > Hiroki Mori >=20 >=20 > ----- Original Message ----- >> From: Ronald Klop <ronald-lists@klop.ws> >> To: Mori Hiroki <yamori813@yahoo.co.jp>=20 >> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> >> Date: 2019/2/6, Wed 23:38 >> Subject: Re: Kirkwood problem >>=20 >>=20 >> =C2=A0=20 >> Van: Mori Hiroki <yamori813@yahoo.co.jp> >> Datum: woensdag, 6 februari 2019 10:21 >> Aan: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> >> Onderwerp: Kirkwood problem >> Hi >>>=20 >>> I try to OpenRD like device on 13-CURRENT. >>>=20 >>> This is Marvell Kirkwood. >>>=20 >>> This is armv5t but have 512M byte ram and 1.2G >>> clock. >>>=20 >>> I have two problem. >>>=20 >>> This device have 88F6281 and 88E1116R phy on mac. >>>=20 >>> But not work mge. >>>=20 >>> Second is very slow mruby fib(32) benchmark. >>>=20 >>> I think this target u-boot not optimize memory >>> controller. >>>=20 >>> If you have advice, please let me know. >>>=20 >>>=20 >>> Thanks >>>=20 >>> Hiroki Mori >>> =C2=A0 >> This sounds like my Sheevaplug. >> See https://wiki.freebsd.org/FreeBSD/arm/Kirkwood=20 >>=20 >> Mine runs 11.2 currently and I successfully booted 12.0 on it. I don't= =20 > know about current, but I haven't seen removal of support for this device= =20 > yet. >> See dmesg below. >> Network mge works for me. It is slow. But also very old. I don't think a= =20 > lot can be done about the speed. (But I'm not the developer of this port.= ) >>=20 >> Do you get it to boot properly? Is there an error about the mge network= =20 > adapter not working? >> Any significant output in /var/log/messages? >>=20 >> Regards, >> Ronald. >>=20 >> Copyright (c) 1992-2018 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 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 >> =C2=A0=C2=A0=C2=A0 builder@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 LL= VM=20 > 6.0.0) >> CPU: Feroceon 88FR131 rev 1 (**unknown 4** core) >> =C2=A0 Little-endian DC enabled IC disabled WA disabled DC streaming ena= bled >> =C2=A0 BTB disabled L2 enabled L2 prefetch enabled >> =C2=A0 WB enabled LABT branch prediction disabled >> =C2=A0 16KB/32B 4-way instruction cache >> =C2=A0 16KB/32B 4-way write-back-locking-C data cache >> real memory=C2=A0 =3D 536866816 (511 MB) >> avail memory =3D 518819840 (494 MB) >> SOC: Marvell 88F6281 rev A0, TClock 200MHz >> =C2=A0 Instruction cache prefetch enabled, data cache prefetch enabled >> =C2=A0 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=20 > 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=20 > 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=20 > 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=20 > 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:=C2=A0 none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1= 000baseT,=20 > 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=20 > 0x30000-0x30fff,0x3d000-0x3dfff irq 22 on simplebus0 >> ehci0: <Marvell Integrated USB 2.0 controller> mem 0x50000-0x50fff irq= =20 > 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=20 > 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= =20 > 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=3D0x2<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 den= y,=20 > logging disabled >>=20 >>=20 >> =C2=A0 >>=20 >>=20 >=20 > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm=20 > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1159661280.102573.1549691135664.JavaMail.yahoo>