Bug#947449: networking on Olimex Lime2 (Allwinner A20)
Hi, Geert Stappers kirjoitti 27.12.2019 klo 19.24: > Quoting https://linux-sunxi.org/Olimex_A20-OLinuXino-Lime2#GMAC_u-boot_config > > GMAC u-boot config > > From Revision H onward, the Lime2 comes with a Microchip KSZ9031 > gigabit ethernet phyceiver. These need the following line added to the > u-boot config (in configs/A20-OLinuXino-Lime2_defconfig): > > CONFIG_GMAC_TX_DELAY=3 > > Do not set this to another value but 3. > > This Microchip PHY chip is also getting significantly hotter than the > old Realtek RTL8201CP PHY. > > > Please report back how usefull this message was. So I tried to build u-boot myself with the CONFIG_GMAC_TX_DELAY=3 directive, and I also tried to blindly copy the SPI+bootloader from an Armbian image (in which the networking works properly), but in neither case networking works (the other aspects are fine, the system boots without problems, so I assume I did not break anything myself). So I guess the issue lies elsewhere than in u-boot (perhaps the kernel?). Marek
Bug#947449: installation-report: No networking on Olimex Lime2 (Allwinner A20)
Hello, Samuel Thibault kirjoitti 27.12.2019 klo 9.42: > Possible the board needs some non-free firmware? > Did you try to install firmware-linux-free? Yes, firmware-linux-free was apparently installed during the base install. > Also, please post how the network board is detected (e.g. the complete > dmesg output). See dmesg_install.out for the dmesg output obtained at the end of installation and dmesg_postinstall.out for the output of dmesg in the installed system. It seems the system does not attempt to bring eth0 up during the boot; the following lines appear only after manually running ip link set eth0 up (with ethernet cable connected): [ 671.988940] Micrel KSZ9031 Gigabit PHY stmmac-0:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=stmmac-0:01, irq=POLL) [ 671.992969] sun7i-dwmac 1c5.ethernet eth0: No Safety Features support found [ 671.992989] sun7i-dwmac 1c5.ethernet eth0: RX IPC Checksum Offload disabled [ 671.993003] sun7i-dwmac 1c5.ethernet eth0: No MAC Management Counters available [ 671.993013] sun7i-dwmac 1c5.ethernet eth0: PTP not supported by HW [ 671.993972] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 674.023384] sun7i-dwmac 1c5.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 674.023444] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready Then I get the Link is down / up messages correctly after the cable is disconnected / connected, but the network does not work nevertheless (dhclient does not get any response; I didn't try wireshark on the other end of the cable with the installed system, but I assume it's the same as with the installer). Marek [0.00] Booting Linux on physical CPU 0x0 [0.00] Linux version 4.19.0-6-armmp (debian-ker...@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) [0.00] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d [0.00] CPU: div instructions available: patching division code [0.00] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [0.00] OF: fdt: Machine model: Olimex A20-OLinuXino-LIME2 [0.00] Memory policy: Data cache writealloc [0.00] efi: Getting EFI parameters from FDT: [0.00] efi: UEFI not found. [0.00] cma: Reserved 16 MiB at 0x7e00 [0.00] On node 0 totalpages: 259894 [0.00] Normal zone: 1728 pages used for memmap [0.00] Normal zone: 0 pages reserved [0.00] Normal zone: 196608 pages, LIFO batch:63 [0.00] HighMem zone: 63286 pages, LIFO batch:15 [0.00] psci: probing for conduit method from DT. [0.00] psci: Using PSCI v0.1 Function IDs from DT [0.00] random: get_random_bytes called from start_kernel+0xa0/0x504 with crng_init=0 [0.00] percpu: Embedded 17 pages/cpu s39756 r8192 d21684 u69632 [0.00] pcpu-alloc: s39756 r8192 d21684 u69632 alloc=17*4096 [0.00] pcpu-alloc: [0] 0 [0] 1 [0.00] Built 1 zonelists, mobility grouping on. Total pages: 258166 [0.00] Kernel command line: console=ttyS0,115200 [0.00] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [0.00] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [0.00] Memory: 980120K/1039576K available (9216K kernel code, 1113K rwdata, 2588K rodata, 2048K init, 310K bss, 43072K reserved, 16384K cma-reserved, 236760K highmem) [0.00] Virtual kernel memory layout: [0.00] vector : 0x - 0x1000 ( 4 kB) [0.00] fixmap : 0xffc0 - 0xfff0 (3072 kB) [0.00] vmalloc : 0xf080 - 0xff80 ( 240 MB) [0.00] lowmem : 0xc000 - 0xf000 ( 768 MB) [0.00] pkmap : 0xbfe0 - 0xc000 ( 2 MB) [0.00] modules : 0xbf00 - 0xbfe0 ( 14 MB) [0.00] .text : 0x(ptrval) - 0x(ptrval) (10208 kB) [0.00] .init : 0x(ptrval) - 0x(ptrval) (2048 kB) [0.00] .data : 0x(ptrval) - 0x(ptrval) (1113 kB) [0.00].bss : 0x(ptrval) - 0x(ptrval) ( 311 kB) [0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [0.00] ftrace: allocating 32722 entries in 96 pages [0.00] rcu: Hierarchical RCU implementation. [0.00] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2. [0.00] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [0.00] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [0.00] GIC: Using split EOI/Deactivate mode [0.00] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [0.00] clocksource: arch_sys_counter: mask: 0xff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [0.09] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [0.24] Switching to timer-based delay loop, resoluti
Bug#947458: installation-report: No bootloader install on A64-OLinuXino/sid
Package: installation-reports Severity: normal Dear Maintainer, I installed a daily build onto A64-OLinuXino; contrary to the stable release (10.2), the networking worked without problems and the installation went fine almost until the end. However, the installer apparently didn't event try to install any bootloader. -- Package-specific info: Package: installation-reports Boot method: SD-card (netinst) Image version: Concatenated image https://d-i.debian.org/daily-images/arm64/20191226-02:07/netboot/SD-card-images/firmware.a64-olinuxino.img.gz https://d-i.debian.org/daily-images/arm64/20191226-02:07/netboot/SD-card-images/partition.img.gz Date: 27.12.2019 Machine: A64-OLinuXino Rev. E (A64-OLinuXino-2Ge8G-IND) Partitions: See below; full-disk autopartitioning used Base System Installation Checklist: [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it Initial boot: [O] Detect network card:[O] Configure network: [O] Detect CD: [ ] Load installer modules: [ ] Clock/timezone setup: [ ] User/password setup:[O] Detect hard drives: [O] On-board eMMC not detected. Partition hard drives: [O] Install base system:[O] Install tasks: [O] Install boot loader:[E] Overall install:[ ] Comments/Problems: Used UART connection for the installation. Another instance of the installer appeared also on the screen connected via HDMI, but the USB keyboard did not work, rendering that instance useless. The system was installed onto the SD card used for initial boot; with full-disk automatic partitioning. The on-board eMMC was not detected by the installer. The installer apparently didn't even try to install a bootloader. After installing the base system and tasks, I just got a message as on the attached screenshot. When I try to go back and select an installation step, Continue without bootloader was the only related option. I haven't tried to boot manually (yet) due to a lack of skills. -- Please make sure that the hardware-summary log file, and any other installation logs that you think would be useful are attached to this report. Please compress large files using gzip. Once you have filled out this report, mail it to sub...@bugs.debian.org. == Installer lsb-release: == DISTRIB_ID=Debian DISTRIB_DESCRIPTION="Debian GNU/Linux installer" DISTRIB_RELEASE="11 (bullseye) - installer build 20191226-02:03:52" X_INSTALLATION_MEDIUM=netboot == Installer hardware-summary: == uname -a: Linux da64 5.3.0-3-arm64 #1 SMP Debian 5.3.15-1 (2019-12-07) aarch64 GNU/Linux usb-list: usb-list: Bus 01 Device 01: EHCI Host Controller [1d6b:0002] usb-list:Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00 usb-list:Manufacturer: Linux 5.3.0-3-arm64 ehci_hcd usb-list:Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub usb-list: usb-list: Bus 02 Device 01: Generic Platform OHCI controller [1d6b:0001] usb-list:Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00 usb-list:Manufacturer: Linux 5.3.0-3-arm64 ohci_hcd usb-list:Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub usb-list: usb-list: Bus 03 Device 01: MUSB HDRC host driver [1d6b:0002] usb-list:Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 01 usb-list:Manufacturer: Linux 5.3.0-3-arm64 musb-hcd usb-list:Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub usb-list: usb-list: Bus 04 Device 01: Generic Platform OHCI controller [1d6b:0001] usb-list:Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00 usb-list:Manufacturer: Linux 5.3.0-3-arm64 ohci_hcd usb-list:Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub usb-list: usb-list: Bus 05 Device 01: EHCI Host Controller [1d6b:0002] usb-list:Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00 usb-list:Manufacturer: Linux 5.3.0-3-arm64 ehci_hcd usb-list:Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub lsmod: Module Size Used by lsmod: fuse 131072 0 lsmod: dm_mod147456 0 lsmod: md_mod159744 0 lsmod: xfs 1306624 0 lsmod: jfs 192512 0 lsmod: btrfs1335296 0 lsmod: xor20480 1 btrfs lsmod: xor_neon 16384 1 xor lsmod: zstd_decompress73728 1 btrfs lsmod: zstd_compress 167936 1 btrfs lsmod: raid6_pq 110592 1 btrfs lsmod: libcrc32c 16384 2 btrfs,xfs lsmod: vfat 24576 0 lsmod: fat81920 1 vfat lsmod: ext4 679936 2 lsmod: crc16 16384 1 ext4 lsmod: mbcache16384 1 ext4 lsmod: jbd2 1
Bug#947449: installation-report: No networking on Olimex Lime2 (Allwinner A20)
Package: installation-reports Version: 2.71 Severity: important Dear Maintainer, I tried installing debian 10.2 on an Olimex Lime 2 device (Alwinner A20 armhf). Although the ethernet interface was detected, the networking did not work at all – the DHCP network setup failed, so I tried to connect it to a PC and look at the ethernet communication with wireshark, and it seems that no ethernet packets ever leave the device. The same problem persists after installation and boot – the eth0 interface shows up, ethernet connect/disconnect events show up in dmesg, but the networking does not work in reality. I have tried the install also with another A20 device (Lamobo R1) and I had exactly the same problem (none of the 5 detected interfaces worked). Same issue also with the daily builds, so I guess this will be a more general problem related to A20. The networking works fine with Armbian (I tried the image from https://dl.armbian.com/lime2/archive/Armbian_19.11.3_Lime2_buster_current_5.3.9.7z ), but I would prefer vanilla debian. Best regards, Marek Nečada -- Package-specific info: Boot method: Micro SD card Image version: Concatenated image http://ftp.nl.debian.org/debian/dists/buster/main/installer-armhf/current/images/hd-media/SD-card-images/firmware.A20-OLinuXino-Lime2.img.gz and http://ftp.nl.debian.org/debian/dists/buster/main/installer-armhf/current/images/hd-media/SD-card-images/partition.img.gz together with https://cdimage.debian.org/debian-cd/current/armhf/bt-cd/debian-10.2.0-armhf-xfce-CD-1.iso.torrent (ISO image on USB mass storage partition) Date: 26.12.2019 Machine: Olimex Olinuxino A20 (T2-OLinuXino-LIME2-e8Gs16M-IND) Partitions: Filesystem Type 1K-blocks Used Available Use% Mounted on udev devtmpfs487552 0487552 0% /dev tmpfs tmpfs 101360 1488 99872 2% /run /dev/mmcblk0p2 ext4 14027072 628016 12666796 5% / tmpfs tmpfs 506792 0506792 0% /dev/shm tmpfs tmpfs 5120 0 5120 0% /run/lock tmpfs tmpfs 506792 0506792 0% /sys/fs/cgroup /dev/mmcblk0p1 ext2240972 29881198650 14% /boot tmpfs tmpfs 101356 0101356 0% /run/user/0 Base System Installation Checklist: [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it Initial boot: [O] Detect network card:[O] Configure network: [E] Detect CD: [ ] Load installer modules: [ ] Clock/timezone setup: [ ] User/password setup:[O] Detect hard drives: [O] Partition hard drives: [O] Install base system:[O] Install tasks: [O] Install boot loader:[O] Overall install:[O] Comments/Problems: Ethernet interface detected, but network configuration failed, it seems that no ethernet packets (incl. DHCP discovery) ever leave the device. The problem persists after boot. -- Please make sure that the hardware-summary log file, and any other installation logs that you think would be useful are attached to this report. Please compress large files using gzip. Once you have filled out this report, mail it to sub...@bugs.debian.org. == Installer lsb-release: == DISTRIB_ID=Debian DISTRIB_DESCRIPTION="Debian GNU/Linux installer" DISTRIB_RELEASE="10 (buster) - installer build 20190702+deb10u2" X_INSTALLATION_MEDIUM=hd-media == Installer hardware-summary: == uname -a: Linux lime2 4.19.0-6-armmp #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) armv7l GNU/Linux usb-list: usb-list: Bus 01 Device 01: EHCI Host Controller [1d6b:0002] usb-list:Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00 usb-list:Manufacturer: Linux 4.19.0-6-armmp ehci_hcd usb-list:Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub usb-list: usb-list: Bus 02 Device 01: Generic Platform OHCI controller [1d6b:0001] usb-list:Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00 usb-list:Manufacturer: Linux 4.19.0-6-armmp ohci_hcd usb-list:Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub usb-list: usb-list: Bus 03 Device 01: MUSB HDRC host driver [1d6b:0002] usb-list:Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 01 usb-list:Manufacturer: Linux 4.19.0-6-armmp musb-hcd usb-list:Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub usb-list: usb-list: Bus 04 Device 01: EHCI Host Controller [1d6b:0002] usb-list:Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00 usb-list:Manufacturer: Linux 4.19.0-6-armmp ehci_hcd usb-list:Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub usb-list: usb-list: Bus 04 Device 02: USB3.0-CRW [0bda:0316] usb-list:Level 01 Parent 01 Port 00 Class 00(>ifc )