[Bug 219436] awg Ethernet soft reset timeout on PINE64+ 2GB
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 21 15:36:19 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219436
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 at FreeBSD.org
Reporter: hlh at 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 at 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-0x1c00033
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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-arm
mailing list