From nobody Fri Jan 28 09:38:07 2022 X-Original-To: freebsd-mips@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7D7961977402 for ; Fri, 28 Jan 2022 09:38:20 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from sonicconh6002-vm1.mail.ssk.yahoo.co.jp (sonicconh6002-vm1.mail.ssk.yahoo.co.jp [182.22.37.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4JlXSp1xxDz3CPl for ; Fri, 28 Jan 2022 09:38:17 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) X-YMail-OSG: ZrWhMV8VM1keIfXM5e5zUfgUsS8ThSOPeGWk5rBNXl1qAWwgjfu0jRQp5jkiCTO q4oLLzunQTL0UZ5igVJ1ZKcQYxXT1c.wVUihcLOC_IPk.vKLnq80W1z3gKME4L8.EQ09eQlZXGtp KVpOBpwb.djhS6hGDOdhiyRPdCV.xPDCW8JzOV8vxVd0o5WnkCtDb5bklKGQOk8xpt92kQrIBy6_ vHxR3.mUUfu6RSL8PxlXW10holPIPEqPKYLbQ.uITzJPahNYKPCafh568pCo8pEAo0WAix4wD5Wz 5Ld4HkaewwlEgp.eo6GamMD5AFM1nx7q77gHRlDTUeB_E.ALaDnf7ylMq0X14_oZyn7LQLEch7fJ kSWazLpg..8CPPysAsDTclvfATEbNaev4Fe4tEIFgtYY9hwm.UrWDM6BpN.zYOYw63n.9LQQtEyt kRI3_vBbsLmREpoUwy7soRxJoxu55zsc8e0KfOroMOo4QaznH.1zTTshtwUyvEHayd_xeFo4.W3x APs0ywzmm3nFPHW13hYuf6h9DjBU5Et3CKcnx.fPvjagytGqSTOtBf3P8Ote2zC3T7LrMj42GZ1z tl6q3cGhu_sa7H7tnN4LdpFpaI5fOHlyEhxX7..sj8ht6OmIKWXvbMzGw1WrktYAKoGi2YEkL8fZ lQxzDPI0VZGd8eBmdNVq2Ivrxsrnc4NHpK4ufGbNkSOMFwIqt1_gZqcAxPql6b1IM3zzZQNdndhj TNGFLBaasBeXEtDqNl5j250r3K3uqJeP9yxiFJYDdtADMlUvtxLLomohywUNTrubGs8Ltl885pSs QgWbCA0lh0lPuiFwUhjJYLkLZvkMdF5gEQ9_XqF75mjT.kz66M76Zn9AKB0n0cqcudEcnOrEpnnA 1zgYd549JItVuEGM6KPAxreVw4wmUsc3b1K49DVmBgxqo Received: from sonicgw.mail.yahoo.co.jp by sonicconh6002.mail.ssk.yahoo.co.jp with HTTP; Fri, 28 Jan 2022 09:38:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1643362689; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=1u0dF9+zV8LCeosuaHt84Rzu34oVhBKLu6INg+EXJbo=; b=oiSLnEtA0hGF7m2t15UfLvUS2EF7/Yx40Ned+ZFgQRPMjGqtgv3RcUYEOXkfm3Nw wwY6D7/Wt6/KCFVd3PXJNCbfp0m2Q4J6UsQdB0PfLhyKm0906kBavclUs10WLJWjUh1 e7gckN2UVX+DWORvcsg51qEzqQcyrIXZHuJhPJc0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Date:From:Reply-To:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mLwllzR7u1+6l3UEJNiZbB9AZD8GorvCoSkTR6cKp2MnZ/tnasxIZVWGq7vm/mOK c43NNMwCEER78P8O+LKMXEbHaNecQ/Zq+g4nlwHVGniTAFnBhbNSgqzNi6KnFwr+epq aHqtlpId4RumGyyE0TZA7U32p1du6zdHoc7IKGT0=; Date: Fri, 28 Jan 2022 18:38:07 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki To: Mori Hiroki , "freebsd-mips@freebsd.org" Message-ID: <574173054.2346640.1643362687670.JavaMail.yahoo@mail.yahoo.co.jp> In-Reply-To: <101743250.2196121.1643285426248.JavaMail.yahoo@mail.yahoo.co.jp> References: <101743250.2196121.1643285426248.JavaMail.yahoo.ref@mail.yahoo.co.jp> <101743250.2196121.1643285426248.JavaMail.yahoo@mail.yahoo.co.jp> Subject: Solved: AR8327 problem List-Id: Porting FreeBSD to MIPS List-Archive: https://lists.freebsd.org/archives/freebsd-mips List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-mips@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4JlXSp1xxDz3CPl X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.co.jp header.s=yj20110701 header.b=oiSLnEtA; dmarc=pass (policy=none) header.from=yahoo.co.jp; spf=pass (mx1.freebsd.org: domain of yamori813@yahoo.co.jp designates 182.22.37.26 as permitted sender) smtp.mailfrom=yamori813@yahoo.co.jp X-Spamd-Result: default: False [-4.00 / 15.00]; HAS_REPLYTO(0.00)[yamori813@yahoo.co.jp]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.co.jp]; R_SPF_ALLOW(-0.20)[+ip4:182.22.32.0/19]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[yahoo.co.jp:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.co.jp,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[yahoo.co.jp,freebsd.org]; 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]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.co.jp:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.co.jp:s=yj20110701]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[yahoo.co.jp]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[182.22.37.26:from]; MLMMJ_DEST(0.00)[freebsd-mips]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N Hi I found reason. This module need set PORT0_STATUS(0x7c) to 0x10ce. Current arswitch_8327.c not support FLOW_LINK_EN_0(12) and TX_HALF_FLOW_EN_= 0(7). I do set by etherswitch command this value. Also change to rt driver is giga mode. That is I remember my last RT2880 su= pport. Thanks. HIroki Mori > ----- Original Message ----- >=20 > From: "=E3=82=84 =E3=82=82=E3=82=8A" > To: "freebsd-mips@freebsd.org" > Date: 2022/01/27 =E6=9C=A8 21:10 > Subject: AR8327 problem >=20 >=20 > Hi >=20 > I try RT3883 and AR8327 module. >=20 > https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D6432 >=20 > Write flash on u-boot and boot then network work fine. >=20 > But do reboot then network unrechable. >=20 > I think arswitch code forget something. >=20 > Do you have any advice ? >=20 > Thanks. >=20 > Hiroki Mori >=20 >=20 >=20