[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#864562: Installation on Olimex A20-Olinuxino Micro



control: reassign 864562 src:linux 4.9.30-1
control: retitle 864562 No ethernet link on Olimex A20-Olinuxino Micro Rev. J, possibly PHY driver problem.

On Mon, Jun 12, 2017 at 10:01:09PM +0200, Jean-Louis MOUNIER wrote:

> dmesg
> [    0.000000] Booting Linux on physical CPU 0x0
> [    0.000000] Linux version 4.9.0-3-armmp (debian-kernel@lists.debian.org)
> (gcc
> c version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP Debian 4.9.30-1
> (2017-06-04)
> [    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7),
> cr=10c5387d
> [    0.000000] CPU: div instructions available: patching division code
> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing
> instructio
> on cache
> [    0.000000] OF: fdt:Machine model: Olimex A20-Olinuxino Micro
> [    0.000000] efi: Getting EFI parameters from FDT:
> [    0.000000] efi: UEFI not found.
> [    0.000000] cma: Reserved 16 MiB at 0x7e800000
> [    0.000000] Memory policy: Data cache writealloc
> [    0.000000] On node 0 totalpages: 261376
> [    0.000000] free_area_init_node: node 0, pgdat c0ce1280, node_mem_map
> ef6f900
> 00
> [    0.000000]   Normal zone: 1728 pages used for memmap
> [    0.000000]   Normal zone: 0 pages reserved
> [    0.000000]   Normal zone: 196608 pages, LIFO batch:31
> [    0.000000]   HighMem zone: 64768 pages, LIFO batch:15
> [    0.000000] psci: probing for conduit method from DT.
> [    0.000000] psci: Using PSCI v0.1 Function IDs from DT
> [    0.000000] percpu: Embedded 14 pages/cpu @ef6c1000 s27660 r8192 d21492
> u5734
> 44
> [    0.000000] pcpu-alloc: s27660 r8192 d21492 u57344 alloc=14*4096
> [    0.000000] pcpu-alloc: [0] 0 [0] 1
> [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total
> pag
> ges: 259648
> [    0.000000] Kernel command line:  console=ttyS0,115200
> [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
> [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288
> bytes)
> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144
> bytes)
> [    0.000000] Memory: 985552K/1045504K available (7168K kernel code, 957K
> rwdat
> ta, 2208K rodata, 1024K init, 333K bss, 43568K reserved, 16384K
> cma-reserved, 242
> 2688K highmem)
> [    0.000000] Virtual kernel memory layout:
> [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
> [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
> [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
> [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
> [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
> [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
> [    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)
> [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
> [    0.000000]       .data : 0xc0c00000 - 0xc0cef57c   ( 958 kB)
> [    0.000000]        .bss : 0xc0cf1000 - 0xc0d44604   ( 334 kB)
> [    0.000000] Hierarchical RCU implementation.
> [    0.000000]  Build-time adjustment of leaf fanout to 32.
> [    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
> [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
> [    0.000000] NR_IRQS:16 nr_irqs:16 16
> [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz
> (ph
> hys).
> [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
> max_cycles:
> : 0x588fe9dc0, max_idle_ns: 440795202592 ns
> [    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every
> 43980
> 046511097ns
> [    0.000022] Switching to timer-based delay loop, resolution 41ns
> [    0.002795] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff,
> max_
> _idle_ns: 79635851949 ns
> [    0.003695] clocksource: hstimer: mask: 0xffffffff max_cycles:
> 0xffffffff, ma
> ax_idle_ns: 12741736309 ns
> [    0.004419] Console: colour dummy device 80x30
> [    0.004466] Calibrating delay loop (skipped), value calculated using
> timer fr
> requency.. 48.00 BogoMIPS (lpj=120000)
> [    0.004484] pid_max: default: 32768 minimum: 301
> [    0.004864] Security Framework initialized
> [    0.004884] Yama: disabled by default; enable with sysctl kernel.yama.*
> [    0.004926] AppArmor: AppArmor disabled by boot time parameter
> [    0.005015] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
> [    0.005029] Mountpoint-cache hash table entries: 2048 (order: 1, 8192
> bytes)
> [    0.006268] CPU: Testing write buffer coherency: ok
> [    0.006336] ftrace: allocating 26689 entries in 79 pages
> [    0.068171] /cpus/cpu@0 missing clock-frequency property
> [    0.068212] /cpus/cpu@1 missing clock-frequency property
> [    0.068228] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
> [    0.068286] Setting up static identity map for 0x40100000 - 0x40100098
> [    0.074104] EFI services will not be available.
> [    0.085844] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
> [    0.086072] Brought up 2 CPUs
> [    0.086097] SMP: Total of 2 processors activated (96.00 BogoMIPS).
> [    0.086106] CPU: All CPU(s) started in HYP mode.
> [    0.086111] CPU: Virtualization extensions available.
> [    0.087214] devtmpfs: initialized
> [    0.099361] VFP support v0.3: implementor 41 architecture 2 part 30
> variant 7
> 7 rev 4
> [    0.099871] clocksource: jiffies: mask: 0xffffffff max_cycles:
> 0xffffffff, ma
> ax_idle_ns: 9556302231375000 ns
> [    0.099904] futex hash table entries: 512 (order: 3, 32768 bytes)
> [    0.101038] pinctrl core: initialized pinctrl subsystem
> [    0.103383] NET: Registered protocol family 16
> [    0.105292] DMA: preallocated 256 KiB pool for atomic coherent
> allocations
> [    0.108148] No ATAGs?
> [    0.108200] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4
> watchpoint
>  registers.
> [    0.108216] hw-breakpoint: maximum watchpoint size is 8 bytes.
> [    0.109233] Serial: AMBA PL011 UART driver
> [    0.145007] reg-fixed-voltage ahci-5v: could not find pctldev for node
> /soc@0
> 01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe
> [    0.145076] reg-fixed-voltage usb0-vbus: could not find pctldev for node
> /soc
> c@01c00000/pinctrl@01c20800/usb0_vbus_pin@0, deferring probe
> [    0.145116] reg-fixed-voltage usb1-vbus: could not find pctldev for node
> /soc
> c@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
> [    0.145154] reg-fixed-voltage usb2-vbus: could not find pctldev for node
> /soc
> c@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
> [    0.148891] vgaarb: loaded
> [    0.150085] media: Linux media interface: v0.10
> [    0.150153] Linux video capture interface: v2.00
> [    0.150247] pps_core: LinuxPPS API ver. 1 registered
> [    0.150258] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo
> Giome
> etti <giometti@linux.it>
> [    0.150284] PTP clock support registered
> [    0.152525] clocksource: Switched to clocksource arch_sys_counter
> [    0.202499] VFS: Disk quotas dquot_6.6.0
> [    0.202753] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096
> bytes)
> [    0.204250] simple-framebuffer 7fd00000.framebuffer: framebuffer at
> 0x7fd0000
> 00, 0x300000 bytes, mapped to 0xf0900000
> [    0.204274] simple-framebuffer 7fd00000.framebuffer: format=x8r8g8b8,
> mode=10
> 024x768x32, linelength=4096
> [    0.219031] Console: switching to colour frame buffer device 128x48
> [    0.232703] simple-framebuffer 7fd00000.framebuffer: fb0: simplefb
> registered
> d!
> [    0.247332] NET: Registered protocol family 2
> [    0.248486] TCP established hash table entries: 8192 (order: 3, 32768
> bytes)
> [    0.248586] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
> [    0.248715] TCP: Hash tables configured (established 8192 bind 8192)
> [    0.248817] UDP hash table entries: 512 (order: 2, 16384 bytes)
> [    0.248890] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
> [    0.249232] NET: Registered protocol family 1
> [    0.249288] PCI: CLS 0 bytes, default 64
> [    0.249955] Unpacking initramfs...
> [    1.907208] Freeing initrd memory: 20704K (c8bc8000 - ca000000)
> [    1.907893] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5
> counter
> rs available
> [    1.910189] audit: initializing netlink subsys (disabled)
> [    1.910312] audit: type=2000 audit(1.865:1): initialized
> [    1.911790] workingset: timestamp_bits=14 max_order=18 bucket_order=4
> [    1.911994] zbud: loaded
> [    1.915804] bounce: pool size: 64 pages
> [    1.915984] Block layer SCSI generic (bsg) driver version 0.4 loaded
> (major 2
> 247)
> [    1.916192] io scheduler noop registered
> [    1.916207] io scheduler deadline registered
> [    1.916302] io scheduler cfq registered (default)
> [    1.923080] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO
> driver
> [    1.939789] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> [    1.942494] console [ttyS0] disabled
> [    1.963107] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 46, base_baud
> = 15
> 500000) is a U6_16550A
> [    2.661293] console [ttyS0] enabled
> [    2.688662] 1c29800.serial: ttyS1 at MMIO 0x1c29800 (irq = 47, base_baud
> = 15
> 500000) is a U6_16550A
> [    2.721315] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 48, base_baud
> = 15
> 500000) is a U6_16550A
> [    2.731300] Serial: AMBA driver
> [    2.738315] libphy: Fixed MDIO Bus: probed
> [    2.743550] mousedev: PS/2 mouse device common for all mice
> [    2.751681] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
> [    2.758520] sunxi-rtc 1c20d00.rtc: RTC enabled
> [    2.765801] ledtrig-cpu: registered to indicate activity on CPUs
> [    2.772899] NET: Registered protocol family 10
> [    2.778757] mip6: Mobile IPv6
> [    2.781750] NET: Registered protocol family 17
> [    2.786311] mpls_gso: MPLS GSO support
> [    2.790167] ThumbEE CPU extension supported.
> [    2.794474] Registering SWP/SWPB emulation handler
> [    2.800444] registered taskstats version 1
> [    2.804722] zswap: loaded using pool lzo/zbud
> [    2.809334] ima: No TPM chip found, activating TPM-bypass!
> [    2.825887] sunxi-rtc 1c20d00.rtc: setting system clock to 1970-01-01
> 00:11:4
> 43 UTC (703)
> [    2.834054] sr_init: No PMIC hook to init smartreflex
> [    2.839311] sr_init: platform driver register failed for SR
> [    2.845194] PM: Hibernation image not present or could not be loaded.
> [    2.845380] vcc3v0: disabling
> [    2.848405] vcc3v3: disabling
> [    2.851376] vcc5v0: disabling
> [    2.854358] ahci-5v: disabling
> [    2.857416] usb0-vbus: disabling
> [    2.860661] usb1-vbus: disabling
> [    2.863904] usb2-vbus: disabling
> [    2.869005] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000)
> [    2.943461] random: systemd-udevd: uninitialized urandom read (16 bytes
> read)
> [    2.951396] random: udevadm: uninitialized urandom read (16 bytes read)
> [    2.951558] random: systemd-udevd: uninitialized urandom read (16 bytes
> read)
> [    2.951669] random: systemd-udevd: uninitialized urandom read (16 bytes
> read)
> [    2.974874] random: udevadm: uninitialized urandom read (16 bytes read)
> [    2.982346] random: udevadm: uninitialized urandom read (16 bytes read)
> [    2.990149] random: udevadm: uninitialized urandom read (16 bytes read)
> [    2.997434] random: udevadm: uninitialized urandom read (16 bytes read)
> [    3.004864] random: udevadm: uninitialized urandom read (16 bytes read)
> [    3.012165] random: udevadm: uninitialized urandom read (16 bytes read)
> [    3.304666] sunxi-mmc 1c0f000.mmc: Got CD GPIO
> [    3.315161] usbcore: registered new interface driver usbfs
> [    3.326967] usbcore: registered new interface driver hub
> [    3.332822] usbcore: registered new device driver usb
> [    3.341779] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    3.366933] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> [    3.374783] ehci-platform: EHCI generic platform driver
> [    3.384664] sunxi-mmc 1c0f000.mmc: base:0xf08f4000 irq:28
> [    3.385980] ohci-platform: OHCI generic platform driver
> [    3.415459] ehci-platform 1c14000.usb: EHCI Host Controller
> [    3.428020] ehci-platform 1c14000.usb: new USB bus registered, assigned
> bus n
> number 1
> [    3.441216] ehci-platform 1c14000.usb: irq 31, io mem 0x01c14000
> [    3.455265] mmc0: host does not support reading read-only switch,
> assuming wr
> rite-enable
> [    3.463167] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
> [    3.463697] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
> [    3.463706] usb usb1: New USB device strings: Mfr=3, Product=2,
> SerialNumber=
> =1
> [    3.463712] usb usb1: Product: EHCI Host Controller
> [    3.463718] usb usb1: Manufacturer: Linux 4.9.0-3-armmp ehci_hcd
> [    3.463723] usb usb1: SerialNumber: 1c14000.usb
> [    3.464819] hub 1-0:1.0: USB hub found
> [    3.464886] hub 1-0:1.0: 1 port detected
> [    3.465909] ohci-platform 1c14400.usb: Generic Platform OHCI controller
> [    3.465951] ohci-platform 1c14400.usb: new USB bus registered, assigned
> bus n
> number 2
> [    3.466272] ohci-platform 1c14400.usb: irq 32, io mem 0x01c14400
> [    3.527125] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
> [    3.527134] usb usb2: New USB device strings: Mfr=3, Product=2,
> SerialNumber=
> =1
> [    3.527141] usb usb2: Product: Generic Platform OHCI controller
> [    3.527146] usb usb2: Manufacturer: Linux 4.9.0-3-armmp ohci_hcd
> [    3.527152] usb usb2: SerialNumber: 1c14400.usb
> [    3.528304] hub 2-0:1.0: USB hub found
> [    3.528374] hub 2-0:1.0: 1 port detected
> [    3.529437] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
> [    3.529480] ohci-platform 1c1c400.usb: new USB bus registered, assigned
> bus n
> number 3
> [    3.532495] ohci-platform 1c1c400.usb: irq 37, io mem 0x01c1c400
> [    3.596059] mmc0: new high speed SDHC card at address 59b4
> [    3.596998] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
> [    3.597006] usb usb3: New USB device strings: Mfr=3, Product=2,
> SerialNumber=
> =1
> [    3.597013] usb usb3: Product: Generic Platform OHCI controller
> [    3.597018] usb usb3: Manufacturer: Linux 4.9.0-3-armmp ohci_hcd
> [    3.597024] usb usb3: SerialNumber: 1c1c400.usb
> [    3.598810] hub 3-0:1.0: USB hub found
> [    3.598881] hub 3-0:1.0: 1 port detected
> [    3.647114] mmcblk0: mmc0:59b4 NCard 7.51 GiB
> [    3.652321] sunxi-mmc 1c12000.mmc: Got CD GPIO
> [    3.662125]  mmcblk0: p1
> [    3.701039] sunxi-mmc 1c12000.mmc: base:0xf0eb3000 irq:29
> [    3.709461] usb_phy_generic.0.auto supply vcc not found, using dummy
> regulato
> or
> [    3.718481] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
> [    3.724451] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned
> bus
>  number 4
> [    3.732910] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
> [    3.739844] usb usb4: New USB device strings: Mfr=3, Product=2,
> SerialNumber=
> =1
> [    3.747283] usb usb4: Product: MUSB HDRC host driver
> [    3.752365] usb usb4: Manufacturer: Linux 4.9.0-3-armmp musb-hcd
> [    3.758462] usb usb4: SerialNumber: musb-hdrc.1.auto
> [    3.764813] hub 4-0:1.0: USB hub found
> [    3.768771] hub 4-0:1.0: 1 port detected
> [    3.794273] sun7i-dwmac 1c50000.ethernet: no regulator found
> [    3.800957] sun7i-dwmac 1c50000.ethernet: no reset control found
> [    3.807117]  Ring mode enabled
> [    3.810262]  DMA HW capability register supported
> [    3.814879]  Normal descriptors
> [    3.830912] libphy: stmmac: probed
> [    3.834483] eth%d: PHY ID 0007c0f1 at 1 IRQ POLL (stmmac-0:01) active
> [    3.843250] ehci-platform 1c1c000.usb: EHCI Host Controller
> [    3.849602] ehci-platform 1c1c000.usb: new USB bus registered, assigned
> bus n
> number 5
> [    3.862816] ehci-platform 1c1c000.usb: irq 36, io mem 0x01c1c000
> [    3.882692] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
> [    3.890874] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
> [    3.897829] usb usb5: New USB device strings: Mfr=3, Product=2,
> SerialNumber=
> =1
> [    3.905136] usb usb5: Product: EHCI Host Controller
> [    3.910085] usb usb5: Manufacturer: Linux 4.9.0-3-armmp ehci_hcd
> [    3.916177] usb usb5: SerialNumber: 1c1c000.usb
> [    3.923396] hub 5-0:1.0: USB hub found
> [    3.927264] hub 5-0:1.0: 1 port detected
> [    7.839638] random: fast init done

The phylib output points at a Microchip LAN8710A ethernet PHY
while older revisions of the A20-Olinuxino MICRO used a Realtek
RTL8201CP instead.  As far as I can tell from a quick glance at
the PHY driver sources in the Linux kernel, there doesn't seem to
be a PHY-specific driver for the LAN8710A.  The microchip PHY
driver seems to support only the LAN88XX series (PHY ID
0007c130), but not the LAN87XX series.

AFAICS u-boot 2016.11 (the version used by Debian) also doesn't
have a PHY-specific driver for the Microchip LAN8710A.

Some PHYs work properly with a generic PHY driver, but quite a
lot of PHY models require a chip-specific setup, so that might
well be the problem at hand.  I am not particularly familiar with
the PHY driver code nor do I have knowledge about the specifics
of the LAN8710A, so unfortunately I cannot help you here much
further.  I'll reassign the bug to the Debian kernel package,
perhaps one of the kernel maintainers can provide further
information.

Regards,
Karsten
-- 
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.


Reply to: