No ethernet when no serial debug cable is connected.

Started by johannes.pfister, June 01, 2022, 06:53:15 pm

Previous topic - Next topic

johannes.pfister

June 01, 2022, 06:53:15 pm Last Edit: June 01, 2022, 06:58:22 pm by johannes.pfister
I use a A20-OLinuXino-MICRO-e4Gs16M board. I have Ethernet, and CAN (Via A20-CAN and 100mm rippon cable) connected and 12V power (from it's own power supply).
When i don't have a 3.3V serial connection and i connect power, the Ethernet does not work (The CAN part does work, so i know the OS starts).
When i have a 3.3V serial connection to the DEBUG UART0 header and i connect power, the Ethernet does work. Even when i don't send anything over the serial connection. (The other end of the 3.3V connection has its own power supply).

Ethernet also doesn't work when there is no CAN connection and no serial connection, but then i have no indication if the OS was able to boot somewhat successfully.

Any idea why this problem exist and how to fix that?

Does the A20-OLinuXino-MICRO-e4Gs16M have a problem when there is 3.3V on the RX line while it isn't powered? But then, shouldn't it be the other way around?

LubOlimex

What wires do you have connected to UART0 - all 4 - TX, RX, GND, 3.3V?
Technical support and documentation manager at Olimex

johannes.pfister

June 02, 2022, 12:48:54 pm #2 Last Edit: June 02, 2022, 12:50:36 pm by johannes.pfister
No. I have TX, RX and GND connected. No direct 3.3V connection. There is 3.3V on the RX line from the other end (The TX of the other device).


Possible useful information i forget in the previous post:
The Board has is revision M.
The OS is from your OLinuXino: A20-OLinuXino-bullseye-minimal-20220413-094751 with some changes, installed on eMMC.


Some additional software information (gathered while Ethernet was working since i can't access it in the other state):
$
$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto can0
iface can0 inet manual
  pre-up ip link set $IFACE type can bitrate 125000
  up /sbin/ifconfig $IFACE up
  down /sbin/ifconfig $IFACE down

$ cat /etc/network/interfaces.d/*
allow-hotplug eth0
iface eth0 inet dhcp

$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

$ /sbin/ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.103  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::321f:9aff:fed0:e77a  prefixlen 64  scopeid 0x20<link>
        ether 30:1f:9a:d0:e7:7a  txqueuelen 1000  (Ethernet)
        RX packets 1929  bytes 130932 (127.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 214  bytes 25584 (24.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 78


LubOlimex

Can you give me a bootlog - the things that get printed while you apply power?
Technical support and documentation manager at Olimex

johannes.pfister

June 02, 2022, 01:28:18 pm #4 Last Edit: June 02, 2022, 01:37:35 pm by johannes.pfister Reason: Log was not complete and contained color codes
Yes, but only when the Debug interface is connected and the Ethernet is working. Color codes where removed.

U-Boot SPL 2021.04+olimex-1-20220413.080758 (Apr 13 2022 - 08:09:11 +0000)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Loading configuration from EEPROM: OK
Verifying data: OK
Trying to boot from MMC2


U-Boot 2021.04+olimex-1-20220413.080758 (Apr 13 2022 - 08:09:11 +0000) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
ID:    A20-OLinuXino-MICRO-e4Gs16M Rev.M
SN:    0001B98F
MAC:   30:1F:9A:D0:E7:7A
I2C:   ready
DRAM:  1 GiB
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
MMC:   mmc@1c0f000: 0, mmc@1c11000: 1, mmc@1c12000: 2
Loading Environment from EXT4... *** Warning - bad CRC, using default environment

Loading Environment from FAT... ** No device specified **
In:    serial
Out:   serial
Err:   serial
Allwinner mUSB OTG (Peripheral)
Net:   eth0: ethernet@1c50000, eth1: usb_ether
starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 2 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  2  1  0
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
2274 bytes read in 1 ms (2.2 MiB/s)
## Executing script at 43100000
Boot script loaded from mmc
Checking for /uEnv.txt...
Checking for /boot/uEnv.txt...
1156 bytes read in 2 ms (564.5 KiB/s)
Loaded environment from /boot/uEnv.txt
Loading FIT image...
16198671 bytes read in 886 ms (17.4 MiB/s)
## Loading kernel from FIT Image at 58000000 ...
   Using 'config-9684' configuration
   Trying 'kernel-1' kernel subimage
     Description:  Linux kernel 5.10.105-olimex
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x580000d4
     Data Size:    6533608 Bytes = 6.2 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x40080000
     Entry Point:  0x40080000
     Hash algo:    crc32
     Hash value:   c18a6023
     Hash algo:    sha1
     Hash value:   be6859338be53bb6bfd1c9b90e869a44a9bd1389
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at 58000000 ...
   Using 'config-9684' configuration
   Trying 'ramdisk-1' ramdisk subimage
     Description:  Ramdisk for kernel 5.10.105-olimex
     Type:         RAMDisk Image
     Compression:  Unknown Compression
     Data Start:   0x5863b3f0
     Data Size:    9210261 Bytes = 8.8 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x4fe00000
     Entry Point:  0x4fe00000
     Hash algo:    crc32
     Hash value:   5445ff15
     Hash algo:    sha1
     Hash value:   32380cf8b088c1a59497f572f96371b4e61caa32
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading ramdisk from 0x5863b3f0 to 0x4fe00000
WARNING: 'compression' nodes for ramdisks are deprecated, please fix your .its file!
## Loading fdt from FIT Image at 58000000 ...
   Using 'config-9684' configuration
   Trying 'fdt-6' fdt subimage
     Description:  unavailable
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x58f3939c
     Data Size:    44458 Bytes = 43.4 KiB
     Architecture: ARM
     Load Address: 0x4fa00000
     Hash algo:    crc32
     Hash value:   ad3cdfd4
     Hash algo:    sha1
     Hash value:   aa8d951112cfb80d18935ffd3aaeebe459136908
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x58f3939c to 0x4fa00000
## Loading fdt from FIT Image at 58000000 ...
   Trying 'overlay-1' fdt subimage
     Description:  unavailable
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x58f6f58c
     Data Size:    1001 Bytes = 1001 Bytes
     Architecture: ARM
     Load Address: 0x4fa10000
     Hash algo:    crc32
     Hash value:   d1d51f29
     Hash algo:    sha1
     Hash value:   fa0c14efb55dbe4bdf8aa7241a3e600b486e3ef6
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x58f6f58c to 0x4fa10000
## Loading fdt from FIT Image at 58000000 ...
   Trying 'overlay-2' fdt subimage
     Description:  unavailable
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x58f6fa58
     Data Size:    436 Bytes = 436 Bytes
     Architecture: ARM
     Load Address: 0x4fa20000
     Hash algo:    crc32
     Hash value:   00f3a93c
     Hash algo:    sha1
     Hash value:   efa518e1ffcc7c09a7d8010de6a7b363f1345b30
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x58f6fa58 to 0x4fa20000
   Booting using the fdt blob at 0x4fa00000
EHCI failed to shut down host controller.
   Loading Kernel Image
   Loading Ramdisk to 49737000, end 49fff995 ... OK
   Loading Device Tree to 49729000, end 49736f68 ... OK
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/spi1-spidev.dtbo'...
408 bytes read in 5 ms (79.1 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/spi2-spidev.dtbo'...
408 bytes read in 5 ms (79.1 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-i2c2.dtbo'...
726 bytes read in 6 ms (118.2 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-spi0.dtbo'...
1001 bytes read in 6 ms (162.1 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-spi1.dtbo'...
1005 bytes read in 6 ms (163.1 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-spi2.dtbo'...
1005 bytes read in 5 ms (196.3 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart3.dtbo'...
863 bytes read in 6 ms (139.6 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart4.dtbo'...
867 bytes read in 5 ms (168.9 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart5.dtbo'...
867 bytes read in 6 ms (140.6 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart6.dtbo'...
867 bytes read in 6 ms (140.6 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart7.dtbo'...
867 bytes read in 5 ms (168.9 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-can.dtbo'...
732 bytes read in 6 ms (119.1 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/micro-lcd-olinuxino.dtbo'...
2225 bytes read in 5 ms (434.6 KiB/s)

Starting kernel ...

[    0.004197] /cpus/cpu@0 missing clock-frequency property
[    0.004244] /cpus/cpu@1 missing clock-frequency property
[    0.994008] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
Loading, please wait...
Starting version 247.3-7
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk1p1] fsck.ext4 -a -C0 /dev/mmcblk1p1
/dev/mmcblk1p1: clean, 27933/61952 files, 148074/247440 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 11 (bullseye)!

[  OK  ] Created slice system-can\x2dnmtd.slice.
[  OK  ] Created slice system-can\x2dpdo\x2dclient\x2d3d.slice.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice system-modprobe.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Started Dispatch Password ...ts to Console Directory Watch.
[  OK  ] Started Forward Password R...uests to Wall Directory Watch.
[  OK  ] Set up automount Arbitrary...s File System Automount Point.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
         Mounting POSIX Message Queue File System...
         Mounting Kernel Debug File System...
         Mounting Kernel Trace File System...
         Starting Create list of st...odes for the current kernel...
         Starting Load Kernel Module configfs...
         Starting Load Kernel Module drm...
         Starting Load Kernel Module fuse...
[  OK  ] Started Nameserver information manager.
[  OK  ] Reached target Network (Pre).
         Starting Journal Service...
         Starting Load Kernel Modules...
         Starting Remount Root and Kernel File Systems...
         Starting Coldplug All udev Devices...
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Finished Create list of st... nodes for the current kernel.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Apply Kernel Variables...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting Rule-based Manage...for Device Events and Files...
[  OK  ] Mounted /tmp.
[  OK  ] Started Journal Service.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Found device /dev/ttyGS0.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Found device /dev/disk/by-...3-75e5-46a6-b4c3-1635fb2c3940.
[   10.742081] debugfs: Directory '1c22c00.codec' with parent 'sun4i-codec' already present!
[  OK  ] Found device /dev/disk/by-...6-14c1-48de-9faa-651eacc8cc2f.
[  OK  ] Found device /dev/ttyS0.
[   11.134916] lcd_olinuxino 2-0050: error reading from device at 00
[  OK  ] Reached target Hardware activated USB gadget.
         Starting File System Check...14c1-48de-9faa-651eacc8cc2f...
         Starting File System Check...75e5-46a6-b4c3-1635fb2c3940...
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Started File System Check Daemon to report status.
Checking in progress on 1 disk (0.0% complete)[  OK  ] Finished File System Check...6-14c1-48de-9faa-651eacc8cc2f.
         Mounting /home...
Checking in progress on 0 disks (100.0% complete)[  OK  ] Mounted /home.
[  OK  ] Finished File System Check...3-75e5-46a6-b4c3-1635fb2c3940.
         Mounting /var...
[  OK  ] Mounted /var.
[  OK  ] Reached target Local File Systems.
[  OK  ] Started ifup for eth0.
         Starting Load/Save Screen ...ness of backlight:backlight...
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
[  OK  ] Finished Load/Save Screen ...htness of backlight:backlight.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Reached target Sound Card.
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli...ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Run system activit...ounting tool every 10 minutes.
[  OK  ] Started Generate summary o...esterday's process accounting.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting "Run a CANopen PD...N interface with SocketCAN"...
[  OK  ] Started "Run a CANopen NMT...CAN interface with SocketCAN".
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Manager...
         Starting Remove Stale Onli...t4 Metadata Check Snapshots...
         Starting LSB: Load kernel ...d to enable cpufreq scaling...
[  OK  ] Started Realtek H5 bluetooth support.
         Starting LCD-OLinuXino RTP calibrabion...
         Starting Authorization Manager...
         Starting System Logging Service...
[  OK  ] Started "Run the SX20 VMC".
         Starting Resets System Activity Logs...
         Starting User Login Management...
         Starting WPA supplicant...
[  OK  ] Started System Logging Service.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Started "Run a CANopen PDO...CAN interface with SocketCAN".
[  OK  ] Finished LCD-OLinuXino RTP calibrabion.
[  OK  ] Started Authorization Manager.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Network Manager.
[  OK  ] Reached target Network.
         Starting Modem Manager...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
         Starting Hostname Service...
[  OK  ] Started User Login Management.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyGS0.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: Load kernel m...ded to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started Modem Manager.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started Hostname Service.
[  OK  ] Finished Remove Stale Onli...ext4 Metadata Check Snapshots.
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
[  OK  ] Listening on Load/Save RF ...itch Status /dev/rfkill Watch.
         Starting Update UTMP about System Runlevel Changes...
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Finished Update UTMP about System Runlevel Changes.
[  OK  ] Started Network Manager Script Dispatcher Service.

Debian GNU/Linux 11 sx20-pico ttyS0

sx20-pico login:                                                   

johannes.pfister

I now also tested it with a unmodified software, booting from the SD-card. Same behavior (Ethernet does only work with a debug connection).

Bootlog with original software on a SD-card (note: i used a different SD card than the one i used to install the modified software on the eMMC, to eliminate risk of a corrupted SD-card causing this problem):

U-Boot SPL 2021.04+olimex-1-20220413.080758 (Apr 13 2022 - 08:09:11 +0000)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Loading configuration from EEPROM: OK
Verifying data: OK
Trying to boot from MMC1


U-Boot 2021.04+olimex-1-20220413.080758 (Apr 13 2022 - 08:09:11 +0000) Allwinner Technology

CPU:  Allwinner A20 (SUN7I)
ID:    A20-OLinuXino-MICRO-e4Gs16M Rev.M
SN:    0001B98F
MAC:  30:1F:9A:D0:E7:7A
I2C:  ready
DRAM:  1 GiB
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
MMC:  mmc@1c0f000: 0, mmc@1c11000: 1, mmc@1c12000: 2
Loading Environment from EXT4... *** Warning - bad CRC, using default environment

Loading Environment from FAT... ** No device specified **
In:    serial
Out:  serial
Err:  serial
Allwinner mUSB OTG (Peripheral)
Net:  eth0: ethernet@1c50000, eth1: usb_ether
starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 2 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found
      scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  2  1  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2274 bytes read in 2 ms (1.1 MiB/s)
## Executing script at 43100000
Boot script loaded from mmc
Checking for /uEnv.txt...
Checking for /boot/uEnv.txt...
1156 bytes read in 2 ms (564.5 KiB/s)
Loaded environment from /boot/uEnv.txt
Loading FIT image...
16198671 bytes read in 885 ms (17.5 MiB/s)
## Loading kernel from FIT Image at 58000000 ...
  Using 'config-9684' configuration
  Trying 'kernel-1' kernel subimage
    Description:  Linux kernel 5.10.105-olimex
    Type:        Kernel Image
    Compression:  uncompressed
    Data Start:  0x580000d4
    Data Size:    6533608 Bytes = 6.2 MiB
    Architecture: ARM
    OS:          Linux
    Load Address: 0x40080000
    Entry Point:  0x40080000
    Hash algo:    crc32
    Hash value:  c18a6023
    Hash algo:    sha1
    Hash value:  be6859338be53bb6bfd1c9b90e869a44a9bd1389
  Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at 58000000 ...
  Using 'config-9684' configuration
  Trying 'ramdisk-1' ramdisk subimage
    Description:  Ramdisk for kernel 5.10.105-olimex
    Type:        RAMDisk Image
    Compression:  Unknown Compression
    Data Start:  0x5863b3f0
    Data Size:    9210261 Bytes = 8.8 MiB
    Architecture: ARM
    OS:          Linux
    Load Address: 0x4fe00000
    Entry Point:  0x4fe00000
    Hash algo:    crc32
    Hash value:  5445ff15
    Hash algo:    sha1
    Hash value:  32380cf8b088c1a59497f572f96371b4e61caa32
  Verifying Hash Integrity ... crc32+ sha1+ OK
  Loading ramdisk from 0x5863b3f0 to 0x4fe00000
WARNING: 'compression' nodes for ramdisks are deprecated, please fix your .its file!
## Loading fdt from FIT Image at 58000000 ...
  Using 'config-9684' configuration
  Trying 'fdt-6' fdt subimage
    Description:  unavailable
    Type:        Flat Device Tree
    Compression:  uncompressed
    Data Start:  0x58f3939c
    Data Size:    44458 Bytes = 43.4 KiB
    Architecture: ARM
    Load Address: 0x4fa00000
    Hash algo:    crc32
    Hash value:  ad3cdfd4
    Hash algo:    sha1
    Hash value:  aa8d951112cfb80d18935ffd3aaeebe459136908
  Verifying Hash Integrity ... crc32+ sha1+ OK
  Loading fdt from 0x58f3939c to 0x4fa00000
## Loading fdt from FIT Image at 58000000 ...
  Trying 'overlay-1' fdt subimage
    Description:  unavailable
    Type:        Flat Device Tree
    Compression:  uncompressed
    Data Start:  0x58f6f58c
    Data Size:    1001 Bytes = 1001 Bytes
    Architecture: ARM
    Load Address: 0x4fa10000
    Hash algo:    crc32
    Hash value:  d1d51f29
    Hash algo:    sha1
    Hash value:  fa0c14efb55dbe4bdf8aa7241a3e600b486e3ef6
  Verifying Hash Integrity ... crc32+ sha1+ OK
  Loading fdt from 0x58f6f58c to 0x4fa10000
## Loading fdt from FIT Image at 58000000 ...
  Trying 'overlay-2' fdt subimage
    Description:  unavailable
    Type:        Flat Device Tree
    Compression:  uncompressed
    Data Start:  0x58f6fa58
    Data Size:    436 Bytes = 436 Bytes
    Architecture: ARM
    Load Address: 0x4fa20000
    Hash algo:    crc32
    Hash value:  00f3a93c
    Hash algo:    sha1
    Hash value:  efa518e1ffcc7c09a7d8010de6a7b363f1345b30
  Verifying Hash Integrity ... crc32+ sha1+ OK
  Loading fdt from 0x58f6fa58 to 0x4fa20000
  Booting using the fdt blob at 0x4fa00000
EHCI failed to shut down host controller.
  Loading Kernel Image
  Loading Ramdisk to 49737000, end 49fff995 ... OK
  Loading Device Tree to 49729000, end 49736f68 ... OK
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/spi1-spidev.dtbo'...
408 bytes read in 5 ms (79.1 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/spi2-spidev.dtbo'...
408 bytes read in 5 ms (79.1 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-i2c2.dtbo'...
726 bytes read in 4 ms (176.8 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-spi0.dtbo'...
1001 bytes read in 5 ms (195.3 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-spi1.dtbo'...
1005 bytes read in 5 ms (196.3 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-spi2.dtbo'...
1005 bytes read in 5 ms (196.3 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart3.dtbo'...
863 bytes read in 5 ms (168 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart4.dtbo'...
867 bytes read in 5 ms (168.9 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart5.dtbo'...
867 bytes read in 5 ms (168.9 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart6.dtbo'...
867 bytes read in 5 ms (168.9 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart7.dtbo'...
867 bytes read in 4 ms (210.9 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-can.dtbo'...
732 bytes read in 4 ms (178.7 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/micro-lcd-olinuxino.dtbo'...
2225 bytes read in 4 ms (543 KiB/s)

Starting kernel ...

[    0.004200] /cpus/cpu@0 missing clock-frequency property
[    0.004246] /cpus/cpu@1 missing clock-frequency property
[    0.994244] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
Loading, please wait...
Starting version 247.3-7
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: recovering journal
/dev/mmcblk0p1: clean, 28236/466528 files, 203475/1972736 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 11 (bullseye)!

[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice system-modprobe.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Started Dispatch Password ...ts to Console Directory Watch.
[  OK  ] Started Forward Password R...uests to Wall Directory Watch.
[  OK  ] Set up automount Arbitrary...s File System Automount Point.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
        Mounting POSIX Message Queue File System...
        Mounting Kernel Debug File System...
        Mounting Kernel Trace File System...
        Starting Restore / save the current clock...
        Starting Set the console keyboard layout...
        Starting Create list of st...odes for the current kernel...
        Starting Load Kernel Module configfs...
        Starting Load Kernel Module drm...
        Starting Load Kernel Module fuse...
[  OK  ] Started Nameserver information manager.
[  OK  ] Reached target Network (Pre).
        Starting Journal Service...
        Starting Load Kernel Modules...
        Starting Remount Root and Kernel File Systems...
        Starting Coldplug All udev Devices...
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Finished Restore / save the current clock.
[  OK  ] Finished Create list of st... nodes for the current kernel.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
        Mounting FUSE Control File System...
        Mounting Kernel Configuration File System...
        Starting Load/Save Random Seed...
        Starting Apply Kernel Variables...
        Starting Create System Users...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
        Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
        Starting Set console font and keymap...
        Starting Rule-based Manage...for Device Events and Files...
[  OK  ] Started Journal Service.
[  OK  ] Finished Set console font and keymap.
        Starting Flush Journal to Persistent Storage...
[  OK  ] Finished Flush Journal to Persistent Storage.
        Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
        Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Found device /dev/ttyGS0.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
        Starting Load/Save Screen ...ness of backlight:backlight...
[  OK  ] Finished Coldplug All udev Devices.
        Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
        Starting Raise network interfaces...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Load/Save Screen ...htness of backlight:backlight.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli...ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Run system activit...ounting tool every 10 minutes.
[  OK  ] Started Generate summary o...esterday's process accounting.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
        Starting Network Manager...
[  11.696328] debugfs: Directory '1c22c00.codec' with parent 'sun4i-codec' already present!
        Starting Remove Stale Onli...t4 Metadata Check Snapshots...
        Starting LSB: Load kernel ...d to enable cpufreq scaling...
[  OK  ] Started Realtek H5 bluetooth support.
        Starting LCD-OLinuXino RTP calibrabion...
        Starting Authorization Manager...
        Starting System Logging Service...
        Starting Resets System Activity Logs...
[  12.427992] lcd_olinuxino 2-0050: error reading from device at 00
        Starting User Login Management...
        Starting WPA supplicant...
[  OK  ] Started System Logging Service.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Finished LCD-OLinuXino RTP calibrabion.
[  OK  ] Started LSB: Load kernel m...ded to enable cpufreq scaling.
[  OK  ] Started WPA supplicant.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Authorization Manager.
[  OK  ] Started Network Manager.
[  OK  ] Finished Remove Stale Onli...ext4 Metadata Check Snapshots.
[  OK  ] Started User Login Management.
[  OK  ] Reached target Hardware activated USB gadget.
        Starting Modem Manager...
        Starting Save/Restore Sound Card State...
        Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started ifup for eth0.
[  OK  ] Reached target Network.
        Starting OpenBSD Secure Shell server...
        Starting Hostname Service...
        Starting Permit User Sessions...
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Reached target Sound Card.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyGS0.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  OK  ] Started Modem Manager.
        Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started Hostname Service.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
[  OK  ] Listening on Load/Save RF ...itch Status /dev/rfkill Watch.
        Starting Update UTMP about System Runlevel Changes...
        Starting Network Manager Script Dispatcher Service...
[  OK  ] Finished Update UTMP about System Runlevel Changes.
[  OK  ] Started Network Manager Script Dispatcher Service.

Debian GNU/Linux 11 a20-olinuxino ttyS0

a20-olinuxino login:

johannes.pfister

Also, i made a test where i connected the debug interface shortly after i applied power to the A20-OLinuXino-MICRO-e4Gs16M. The ethernet isn't working but here is the bootlog (except the start while the debug interface wasn't connected), with the original Software booting from the SD-card:

SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
MMC:  mmc@1c0f000: 0, mmc@1c11000: 1, mmc@1c12000: 2
Loading Environment from EXT4... *** Warning - bad CRC, using default environment

Loading Environment from FAT... ** No device specified **
In:    serial
Out:  serial
Err:  serial
Allwinner mUSB OTG (Peripheral)
Net:  eth0: ethernet@1c50000, eth1: usb_ether
starting USB...
Bus usb@1c14000: USB EHCI 1.00
Bus usb@1c14400: USB OHCI 1.0
Bus usb@1c1c000: USB EHCI 1.00
Bus usb@1c1c400: USB OHCI 1.0
scanning bus usb@1c14000 for devices... 1 USB Device(s) found
scanning bus usb@1c14400 for devices... 2 USB Device(s) found
scanning bus usb@1c1c000 for devices... 1 USB Device(s) found
scanning bus usb@1c1c400 for devices... 1 USB Device(s) found
      scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  2  1  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2274 bytes read in 2 ms (1.1 MiB/s)
## Executing script at 43100000
Boot script loaded from mmc
Checking for /uEnv.txt...
Checking for /boot/uEnv.txt...
1156 bytes read in 2 ms (564.5 KiB/s)
Loaded environment from /boot/uEnv.txt
Loading FIT image...
16198671 bytes read in 885 ms (17.5 MiB/s)
## Loading kernel from FIT Image at 58000000 ...
  Using 'config-9684' configuration
  Trying 'kernel-1' kernel subimage
    Description:  Linux kernel 5.10.105-olimex
    Type:        Kernel Image
    Compression:  uncompressed
    Data Start:  0x580000d4
    Data Size:    6533608 Bytes = 6.2 MiB
    Architecture: ARM
    OS:          Linux
    Load Address: 0x40080000
    Entry Point:  0x40080000
    Hash algo:    crc32
    Hash value:  c18a6023
    Hash algo:    sha1
    Hash value:  be6859338be53bb6bfd1c9b90e869a44a9bd1389
  Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at 58000000 ...
  Using 'config-9684' configuration
  Trying 'ramdisk-1' ramdisk subimage
    Description:  Ramdisk for kernel 5.10.105-olimex
    Type:        RAMDisk Image
    Compression:  Unknown Compression
    Data Start:  0x5863b3f0
    Data Size:    9210261 Bytes = 8.8 MiB
    Architecture: ARM
    OS:          Linux
    Load Address: 0x4fe00000
    Entry Point:  0x4fe00000
    Hash algo:    crc32
    Hash value:  5445ff15
    Hash algo:    sha1
    Hash value:  32380cf8b088c1a59497f572f96371b4e61caa32
  Verifying Hash Integrity ... crc32+ sha1+ OK
  Loading ramdisk from 0x5863b3f0 to 0x4fe00000
WARNING: 'compression' nodes for ramdisks are deprecated, please fix your .its file!
## Loading fdt from FIT Image at 58000000 ...
  Using 'config-9684' configuration
  Trying 'fdt-6' fdt subimage
    Description:  unavailable
    Type:        Flat Device Tree
    Compression:  uncompressed
    Data Start:  0x58f3939c
    Data Size:    44458 Bytes = 43.4 KiB
    Architecture: ARM
    Load Address: 0x4fa00000
    Hash algo:    crc32
    Hash value:  ad3cdfd4
    Hash algo:    sha1
    Hash value:  aa8d951112cfb80d18935ffd3aaeebe459136908
  Verifying Hash Integrity ... crc32+ sha1+ OK
  Loading fdt from 0x58f3939c to 0x4fa00000
## Loading fdt from FIT Image at 58000000 ...
  Trying 'overlay-1' fdt subimage
    Description:  unavailable
    Type:        Flat Device Tree
    Compression:  uncompressed
    Data Start:  0x58f6f58c
    Data Size:    1001 Bytes = 1001 Bytes
    Architecture: ARM
    Load Address: 0x4fa10000
    Hash algo:    crc32
    Hash value:  d1d51f29
    Hash algo:    sha1
    Hash value:  fa0c14efb55dbe4bdf8aa7241a3e600b486e3ef6
  Verifying Hash Integrity ... crc32+ sha1+ OK
  Loading fdt from 0x58f6f58c to 0x4fa10000
## Loading fdt from FIT Image at 58000000 ...
  Trying 'overlay-2' fdt subimage
    Description:  unavailable
    Type:        Flat Device Tree
    Compression:  uncompressed
    Data Start:  0x58f6fa58
    Data Size:    436 Bytes = 436 Bytes
    Architecture: ARM
    Load Address: 0x4fa20000
    Hash algo:    crc32
    Hash value:  00f3a93c
    Hash algo:    sha1
    Hash value:  efa518e1ffcc7c09a7d8010de6a7b363f1345b30
  Verifying Hash Integrity ... crc32+ sha1+ OK
  Loading fdt from 0x58f6fa58 to 0x4fa20000
  Booting using the fdt blob at 0x4fa00000
EHCI failed to shut down host controller.
  Loading Kernel Image
  Loading Ramdisk to 49737000, end 49fff995 ... OK
  Loading Device Tree to 49729000, end 49736f68 ... OK
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/spi1-spidev.dtbo'...
408 bytes read in 4 ms (99.6 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/spi2-spidev.dtbo'...
408 bytes read in 4 ms (99.6 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-i2c2.dtbo'...
726 bytes read in 5 ms (141.6 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-spi0.dtbo'...
1001 bytes read in 5 ms (195.3 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-spi1.dtbo'...
1005 bytes read in 4 ms (245.1 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-spi2.dtbo'...
1005 bytes read in 5 ms (196.3 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart3.dtbo'...
863 bytes read in 5 ms (168 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart4.dtbo'...
867 bytes read in 5 ms (168.9 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart5.dtbo'...
867 bytes read in 5 ms (168.9 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart6.dtbo'...
867 bytes read in 5 ms (168.9 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-uart7.dtbo'...
867 bytes read in 5 ms (168.9 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/sun7i-a20-can.dtbo'...
732 bytes read in 4 ms (178.7 KiB/s)
Applying overlay: '/usr/lib/olinuxino-overlays/sun7i-a20/micro-lcd-olinuxino.dtbo'...
2225 bytes read in 5 ms (434.6 KiB/s)

Starting kernel ...

[    0.004215] /cpus/cpu@0 missing clock-frequency property
[    0.004265] /cpus/cpu@1 missing clock-frequency property
[    0.995797] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
Loading, please wait...
Starting version 247.3-7
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: recovering journal
/dev/mmcblk0p1: clean, 28248/466528 files, 203519/1972736 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 11 (bullseye)!

[  OK  ] Created slice system-getty.slice.
[  OK  ] Created slice system-modprobe.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Started Dispatch Password ...ts to Console Directory Watch.
[  OK  ] Started Forward Password R...uests to Wall Directory Watch.
[  OK  ] Set up automount Arbitrary...s File System Automount Point.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Swap.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
        Mounting POSIX Message Queue File System...
        Mounting Kernel Debug File System...
        Mounting Kernel Trace File System...
        Starting Restore / save the current clock...
        Starting Set the console keyboard layout...
        Starting Create list of st...odes for the current kernel...
        Starting Load Kernel Module configfs...
        Starting Load Kernel Module drm...
        Starting Load Kernel Module fuse...
[  OK  ] Started Nameserver information manager.
[  OK  ] Reached target Network (Pre).
        Starting Journal Service...
        Starting Load Kernel Modules...
        Starting Remount Root and Kernel File Systems...
        Starting Coldplug All udev Devices...
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Finished Restore / save the current clock.
[  OK  ] Finished Create list of st... nodes for the current kernel.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
        Mounting FUSE Control File System...
        Mounting Kernel Configuration File System...
        Starting Load/Save Random Seed...
        Starting Apply Kernel Variables...
        Starting Create System Users...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
        Starting Create Static Device Nodes in /dev...
[  OK  ] Started Journal Service.
        Starting Flush Journal to Persistent Storage...
[  OK  ] Finished Create Static Device Nodes in /dev.
        Starting Rule-based Manage...for Device Events and Files...
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
        Starting Set console font and keymap...
        Starting Create Volatile Files and Directories...
[  OK  ] Finished Set console font and keymap.
[  OK  ] Finished Create Volatile Files and Directories.
        Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Found device /dev/ttyGS0.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
        Starting Load/Save Screen ...ness of backlight:backlight...
[  OK  ] Finished Load/Save Screen ...htness of backlight:backlight.
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Finished Load/Save Random Seed.
[  11.641153] debugfs: Directory '1c22c00.codec' with parent 'sun4i-codec' already present!
[  12.082194] lcd_olinuxino 2-0050: error reading from device at 00
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Started ifup for eth0.
        Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli...ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Run system activit...ounting tool every 10 minutes.
[  OK  ] Started Generate summary o...esterday's process accounting.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
        Starting Save/Restore Sound Card State...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
        Starting Network Manager...
        Starting Remove Stale Onli...t4 Metadata Check Snapshots...
        Starting LSB: Load kernel ...d to enable cpufreq scaling...
[  OK  ] Started Realtek H5 bluetooth support.
        Starting LCD-OLinuXino RTP calibrabion...
        Starting Authorization Manager...
        Starting System Logging Service...
[  17.369578] sun7i-dwmac 1c50000.ethernet: Failed to reset the dma
[  17.375931] sun7i-dwmac 1c50000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[  17.384911] sun7i-dwmac 1c50000.ethernet eth0: stmmac_open: Hw setup failed
        Starting Resets System Activity Logs...
        Starting User Login Management...
        Starting WPA supplicant...
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Finished Save/Restore Sound Card State.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Started System Logging Service.
[  OK  ] Started Authorization Manager.
[  OK  ] Started WPA supplicant.
[  OK  ] Reached target Sound Card.
        Starting Modem Manager...
        Starting Raise network interfaces...
[  OK  ] Finished LCD-OLinuXino RTP calibrabion.
[  OK  ] Started User Login Management.
[  OK  ] Started Network Manager.
        Starting Hostname Service...
[  OK  ] Started LSB: Load kernel m...ded to enable cpufreq scaling.
        Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started Modem Manager.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
        Starting OpenBSD Secure Shell server...
        Starting Permit User Sessions...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
        Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyGS0.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started Hostname Service.
[  OK  ] Listening on Load/Save RF ...itch Status /dev/rfkill Watch.
        Starting Network Manager Script Dispatcher Service...
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Reached target Multi-User System.
[  OK  ] Finished Remove Stale Onli...ext4 Metadata Check Snapshots.
[  OK  ] Reached target Graphical Interface.
        Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Finished Update UTMP about System Runlevel Changes.

Debian GNU/Linux 11 a20-olinuxino ttyS0

a20-olinuxino login:

LubOlimex

This is very strange and I can't replicate it here. I have seen the opposite behavior - when debug cable stops the board from booting or affects peripherals (this is usually due to voltage difference between grounds). It is the first time I hear LACK of debug cable affecting negatively the board.

Anyway, I tested in similar terms with just A20-OLinuXino-MICRO, 12V power supply, Ethernet cable, debug cable (Olimex BB-CH340T) and SD card with latest Olimage image. I checked the IP address given to the board and from the same network I ran ping <address> -t and then disconnected debug cable; then rebooted the board. After a few moments ping gets restored.
Technical support and documentation manager at Olimex

johannes.pfister

Thank you for testing.

I guess it has something to do with different grounds, the power for the Board, the debugger and the Ethernet switch they are connected to have 3 different power supplies with 3 different grounds (when the debugger isn't connected). I can't use the same power source for the debugger and the board at the moment because it has only the round jack for 12V.

I tested with a second board (i have 2 A20-OLinuXino-MICRO-e4Gs16M boards), i wasn't able to reproduce that behaviour. Maybe it is just this single board with that problem?

How ESD-sensible is the board? I didn't use very good ESD protection but didn't have big ESD sources either.

LubOlimex

ESD can definitely affect the boards, that is why our technicians wear anti-ESD straps and gloves and have anti-static mats where they place the boards. Barehand touching of many components might damage the board. Also some noise can affect the Ethernet chip, it is susceptible to noise.

There can be very slight variations between each board since there a lot of components and each component has some variation in values. Still each board passes same empirical tests here and we test it with and without serial debug cable attached, if some board didn't boot without a debug cable it would've been caught. It is something more in play.

If it is something related to different grounds you might try to exclude some of the power supplies in the system to check it up. For example:

- First try using a 3.7V Li-Po battery instead of external power supply. Just make sure to use the appropriate connector and the battery + and - match the on-board markings near the connector.

- Try with another serial debug cable. From my experience if serial debug cable affects the boards, sometimes it is the serial debug cable that is the problem.

Overall it is also possible that the board is just damaged in a weird way.
Technical support and documentation manager at Olimex

johannes.pfister

We got some more boards. They (at least 6) don't show any signs of this problem.
So it is probably only this board that has this problem.