From owner-freebsd-arm@freebsd.org Sat Feb 9 05:48:04 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C206414D80EF for ; Sat, 9 Feb 2019 05:48:04 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh605-vm12.bullet.mail.ssk.yahoo.co.jp (nh605-vm12.bullet.mail.ssk.yahoo.co.jp [182.22.90.85]) by mx1.freebsd.org (Postfix) with SMTP id 7F0988629B for ; Sat, 9 Feb 2019 05:48:01 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [182.22.66.105] by nh605.bullet.mail.ssk.yahoo.co.jp with NNFMP; 09 Feb 2019 05:45:37 -0000 Received: from [182.22.91.133] by t603.bullet.mail.ssk.yahoo.co.jp with NNFMP; 09 Feb 2019 05:45:37 -0000 Received: from [127.0.0.1] by omp606.mail.ssk.yahoo.co.jp with NNFMP; 09 Feb 2019 05:45:37 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 556163.17837.bm@omp606.mail.ssk.yahoo.co.jp X-YMail-OSG: GWsoOhYVM1kPXAHX.Z3qVBKQ0aG35O2JTFQGeEVxEdo8u66e1I1v19AsXpmg0Sa W6dLZ4eA903eQgfRCRB480QnVihbzhyaryZ4roYfIujvneBzm595cGz4A8zdN5Nihg8FEMdrTf2. Ll.pu9pf2D_egHxN.LjSt.4KUzg.phsEr5Se4L8MxVLM8n6rpiDFr3iHn8MA9FZAemPqIHOsuBj1 _z7wfhV0g9q2bZ7QMzzOCEzgJGB3TcEKd2FjhKsiVcg9XhCV7ONAqzMaNsPaI535EPVg_uE8z8.d .DwvPPkbcH7K36xRw2qKN7hIh.Gq.OMufFduJR3Fn8vbbovMF.P54c61gU_oxWVt2rxCoUjt_0qv nNt1e.0f0ltZXV1qxWPOTe8D5V3JVI07eTcqfCj1fnkXFW9T2KCR_QOx8dmoRBGnxU4RuyIzv2gR ybya5Bc6tF8ZroBKhz9VtdtV0QMnIXS1REvxjJU0OX9kexYTm4AwAugT7NnN9SWWz8FUiEXdEwYJ GoULVHCvFVsorN3f9awSTE2Z3zY3JQowQ1xq5WEevs9l0Db136Q9PJTdLnuqfN7vDaDIle0A7Ru6 E78q5bW4LncRg0s3aehCAxYssTp3bVCEfxWukgOxZ6Q-- Received: from jws701105.mail.ssk.yahoo.co.jp by sendmailws610.mail.ssk.yahoo.co.jp; Sat, 09 Feb 2019 14:45:37 +0000; 1549691137.099 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1549691137; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=vJXnCswyipNd2Jr7OL66pSLgLVTGXmRtFrNu8YvDPi0=; b=MEkPvC9boY4EoFjl30naztR9R2BSqZDbKpAU34wcjNwb3XoATnOoHsQPqnpMW5cm /pEbdzxM4HYshLieZekf3s4fUg25uks8ScPjEg1PJ12UYUaKqckAlbsWgjz8dbRdjbb GZC9ThOr+3Egp8m3C4WKQGs5YCFSEkDp/X6qD1P4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Cc:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=F2IvkpzZRhMVCv03KNyw4tLospXLniryqjOX1T166UgM9u3dzS0luUj64KdBXq/x 8QTGZuMakVuKjekOXVvjuP3lhNPcodFLSEtOM7LBr/zzZfkm5YggwGn6xq24KsnhjuX 1ERv8xIO1ugMzYQZ9Z7E3MGhvpOw9wGeWXBSwuSk=; Date: Sat, 9 Feb 2019 14:45:35 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: Ronald Klop Cc: "freebsd-arm@freebsd.org" 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> Subject: Re: Kirkwood problem MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 7F0988629B X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=MEkPvC9b; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.90.85 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [2.20 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:182.22.90.0/23]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; MX_GOOD(-0.01)[cached: mx3.mail.yahoo.co.jp]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.co.jp]; ASN(0.00)[asn:23816, ipnet:182.22.0.0/17, country:JP]; IP_SCORE(0.90)[ipnet: 182.22.0.0/17(2.55), asn: 23816(2.04), country: JP(-0.08)]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; NEURAL_SPAM_SHORT(0.70)[0.698,0]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; DMARC_NA(0.00)[yahoo.co.jp]; NEURAL_SPAM_MEDIUM(0.29)[0.285,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.73)[0.727,0]; RCVD_IN_DNSWL_NONE(0.00)[85.90.22.182.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2019 05:48:05 -0000 Hi ----- Original Message ----- > From: Mori Hiroki > To: Ronald Klop > Cc: "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 >> To: Mori Hiroki =20 >> Cc: "freebsd-arm@freebsd.org" >> Date: 2019/2/6, Wed 23:38 >> Subject: Re: Kirkwood problem >>=20 >>=20 >> =C2=A0=20 >> Van: Mori Hiroki >> Datum: woensdag, 6 februari 2019 10:21 >> Aan: "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: >> simplebus0: on ofwbus0 >> cpulist0: on ofwbus0 >> cpu0: on cpulist0 >> localbus0: on ofwbus0 >> nand0: mem 0xf9300000-0xf93fffff on=20 > localbus0 >> nandbus0: on nand0 >> lnand0: on nandbus0 >> lnand0: Found BBT table for chip >> ic0: mem 0x20200-0x2023b on=20 > simplebus0 >> timer0: mem 0x20300-0x2032f irq 1 on simplebus0 >> Event timer "CPUTimer0" frequency 200000000 Hz quality 1000 >> Timecounter "CPUTimer1" frequency 200000000 Hz quality 1000 >> gpio0: mem 0x10100-0x1011f irq=20 > 35,36,37,38,39,40,41 on simplebus0 >> rtc0: mem 0x10300-0x10307 on simplebus0 >> rtc0: registered as a time-of-day clock, resolution 1.000000s >> mge0: 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: on mge0 >> e1000phy0: 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: mem=20 > 0x30000-0x30fff,0x3d000-0x3dfff irq 22 on simplebus0 >> ehci0: mem 0x50000-0x50fff irq= =20 > 48,19 on simplebus0 >> usbus0: EHCI version 1.0 >> usbus0 on ehci0 >> cryptosoft0: >> Timecounters tick every 1.000 msec >> usbus0: 480Mbps High Speed USB v2.0 >> ugen0.1: at usbus0 >> uhub0: 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: at usbus0 >> umass0 on uhub0 >> umass0: 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 >> 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