From owner-freebsd-arm@freebsd.org Sun May 21 15:36:19 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63358D77139 for ; Sun, 21 May 2017 15:36:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 396FF14B8 for ; Sun, 21 May 2017 15:36:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v4LFaJYo096085 for ; Sun, 21 May 2017 15:36:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 219436] awg Ethernet soft reset timeout on PINE64+ 2GB Date: Sun, 21 May 2017 15:36:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: hlh@restart.be X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 May 2017 15:36:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219436 Bug ID: 219436 Summary: awg Ethernet soft reset timeout on PINE64+ 2GB Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: hlh@restart.be ON my PINE64+ 2GB I can boot CURRENT r317181M and awg0 was functional. But after a power failure, the Ethernet is not working. The Ethernet is not initialized when booting: FreeBSD 12.0-CURRENT #0 r317181M: Sun May 14 14:01:52 CEST 2017 root@norquay.restart.bel:/usr/obj/usr/src/sys/NORQUAY arm64 FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) I try to boot with pine64-image-debianmate-310102bsp-2.img and the Ethernet work fine. I define AWG_DEBUG in if_awg.c: awg0: mem 0x1c30000-0x1c300ff,0x1c00030-0x1c00= 033 irq 21 on simplebus0 awg0: soft reset timed out awg0: BASIC_CTL_0 00000000 awg0: BASIC_CTL_1 08000001 awg0: INT_STA 40000000 awg0: INT_EN 00000000 awg0: TX_CTL_0 00000000 awg0: TX_CTL_1 00000000 awg0: TX_FLOW_CTL 00000000 awg0: TX_DMA_LIST 00000000 awg0: RX_CTL_0 00000000 awg0: RX_CTL_1 00000000 awg0: RX_DMA_LIST 00000000 awg0: RX_FRM_FLT 00000000 awg0: RX_HASH_0 00000000 awg0: RX_HASH_1 00000000 awg0: MII_CMD 00000000 awg0: ADDR_HIGH0 0000ffff awg0: ADDR_LOW0 ffffffff awg0: TX_DMA_STA 0000ffff awg0: TX_DMA_CUR_DESC ffffffff awg0: TX_DMA_CUR_BUF 0000ffff awg0: RX_DMA_STA 00000000 awg0: RX_DMA_CUR_DESC 00000000 awg0: RX_DMA_CUR_BUF 00000000 awg0: RGMII_STA 00000000 device_attach: awg0 attach returned 60 I find someone with the same problem on on Banana PI M3: https://lists.freebsd.org/pipermail/freebsd-arm/2016-December/015137.html Henri --=20 You are receiving this mail because: You are the assignee for the bug.=