Date: Sun, 21 May 2017 15:36:19 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 219436] awg Ethernet soft reset timeout on PINE64+ 2GB Message-ID: <bug-219436-7@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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: <Allwinner Gigabit Ethernet> 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.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219436-7>