Hi all,
I have a problem with current DEV kernel. On some boards, everything works nicely, and after booting the kernel network is stable,
on some other C2 boards, I get error messages on the eth0 dwmac, and no network:
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.3.15-meson64 (root@skylake) (gcc version 7.4.1 20181213 [linaro-7.4-2019.02 revision 56ec6f6b99cc167ff0c2f8e1a2eed33b1edc85d4] (Linaro GCC 7.4-2019.02)) #5.99 SMP PREEMPT Thu Dec 12 11:12:47 CET 2019
[ 0.000000] Machine model: Hardkernel ODROID-C2
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000006d800000, size 256 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] On node 0 totalpages: 518912
[ 0.000000] DMA32 zone: 8128 pages used for memmap
[ 0.000000] DMA32 zone: 0 pages reserved
[ 0.000000] DMA32 zone: 518912 pages, LIFO batch:63
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: Trusted OS migration not required
[ 0.000000] percpu: Embedded 22 pages/cpu s51224 r8192 d30696 u90112
[ 0.000000] pcpu-alloc: s51224 r8192 d30696 u90112 alloc=22*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: detected: ARM erratum 843419
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 510784
[ 0.000000] Kernel command line: root=UUID=30fa8d3c-2777-46bb-ac53-01c9512f2f27 rootwait rootfstype=ext4 panic=10 console=ttyAML0,115200 console=tty1 consoleblank=0 coherent_pool=2M loglevel=1 ubootpart=e5be0000-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u usbcore.autosuspend=-1 cgroup_enable=memory swapaccount=1
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1749708K/2075648K available (11134K kernel code, 746K rwdata, 3388K rodata, 576K init, 399K bss, 63796K reserved, 262144K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] irq_meson_gpio: 133 to 8 gpio interrupt mux initialized
[ 0.000000] random: get_random_bytes called from start_kernel+0x2f4/0x488 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000003] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000238] Console: colour dummy device 80x25
[ 0.000246] printk: console [tty1] enabled
[ 0.000271] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.000276] pid_max: default: 32768 minimum: 301
[ 0.000323] LSM: Security Framework initializing
[ 0.000380] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000393] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000723] *** VALIDATE proc ***
[ 0.000888] *** VALIDATE cgroup1 ***
[ 0.000893] *** VALIDATE cgroup2 ***
[ 0.024007] ASID allocator initialised with 32768 entries
[ 0.032000] rcu: Hierarchical SRCU implementation.
[ 0.048018] smp: Bringing up secondary CPUs ...
[ 0.080712] Detected VIPT I-cache on CPU1
[ 0.080751] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.112719] Detected VIPT I-cache on CPU2
[ 0.112739] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.144750] Detected VIPT I-cache on CPU3
[ 0.144767] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.144811] smp: Brought up 1 node, 4 CPUs
[ 0.144814] SMP: Total of 4 processors activated.
[ 0.144817] CPU features: detected: 32-bit EL0 Support
[ 0.144820] CPU features: detected: CRC32 instructions
[ 0.145083] CPU: All CPU(s) started at EL2
[ 0.145095] alternatives: patching kernel code
[ 0.145664] devtmpfs: initialized
[ 0.149787] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.149801] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.155452] xor: measuring software checksum speed
[ 0.192225] 8regs : 2948.000 MB/sec
[ 0.232247] 32regs : 3624.000 MB/sec
[ 0.272272] arm64_neon: 3173.000 MB/sec
[ 0.272275] xor: using function: 32regs (3624.000 MB/sec)
[ 0.272284] pinctrl core: initialized pinctrl subsystem
[ 0.273197] NET: Registered protocol family 16
[ 0.273500] audit: initializing netlink subsys (disabled)
[ 0.273574] audit: type=2000 audit(0.272:1): state=initialized audit_enabled=0 res=1
[ 0.276950] cpuidle: using governor menu
[ 0.277149] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.277887] DMA: preallocated 2048 KiB pool for atomic allocations
[ 0.277974] Serial: AMBA PL011 UART driver
[ 0.287994] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.288001] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.288004] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.288007] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.289931] cryptd: max_cpu_qlen set to 1000
[ 0.360488] raid6: neonx8 gen() 2112 MB/s
[ 0.428564] raid6: neonx8 xor() 1962 MB/s
[ 0.496609] raid6: neonx4 gen() 1942 MB/s
[ 0.564648] raid6: neonx4 xor() 1850 MB/s
[ 0.632722] raid6: neonx2 gen() 1498 MB/s
[ 0.700757] raid6: neonx2 xor() 1551 MB/s
[ 0.768849] raid6: neonx1 gen() 935 MB/s
[ 0.836910] raid6: neonx1 xor() 1104 MB/s
[ 0.904937] raid6: int64x8 gen() 1259 MB/s
[ 0.972974] raid6: int64x8 xor() 961 MB/s
[ 1.041059] raid6: int64x4 gen() 1334 MB/s
[ 1.109095] raid6: int64x4 xor() 981 MB/s
[ 1.177181] raid6: int64x2 gen() 871 MB/s
[ 1.245217] raid6: int64x2 xor() 775 MB/s
[ 1.313300] raid6: int64x1 gen() 569 MB/s
[ 1.381343] raid6: int64x1 xor() 569 MB/s
[ 1.381345] raid6: using algorithm neonx8 gen() 2112 MB/s
[ 1.381347] raid6: .... xor() 1962 MB/s, rmw enabled
[ 1.381349] raid6: using neon recovery algorithm
[ 1.382590] SCSI subsystem initialized
[ 1.382831] usbcore: registered new interface driver usbfs
[ 1.382859] usbcore: registered new interface driver hub
[ 1.382919] usbcore: registered new device driver usb
[ 1.383203] pps_core: LinuxPPS API ver. 1 registered
[ 1.383206] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.383220] PTP clock support registered
[ 1.384106] clocksource: Switched to clocksource arch_sys_counter
[ 1.384237] VFS: Disk quotas dquot_6.6.0
[ 1.384275] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.384324] *** VALIDATE hugetlbfs ***
[ 1.388373] thermal_sys: Registered thermal governor 'step_wise'
[ 1.388377] thermal_sys: Registered thermal governor 'power_allocator'
[ 1.388641] NET: Registered protocol family 2
[ 1.388978] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 1.389003] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 1.389086] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[ 1.389249] TCP: Hash tables configured (established 16384 bind 16384)
[ 1.389338] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 1.389370] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 1.389490] NET: Registered protocol family 1
[ 1.389768] RPC: Registered named UNIX socket transport module.
[ 1.389770] RPC: Registered udp transport module.
[ 1.389772] RPC: Registered tcp transport module.
[ 1.389774] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.389896] Trying to unpack rootfs image as initramfs...
[ 1.606274] Freeing initrd memory: 6976K
[ 1.606857] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 1.607092] kvm [1]: IPA Size Limit: 40bits
[ 1.607413] kvm [1]: vgic interrupt IRQ1
[ 1.607493] kvm [1]: Hyp mode initialized successfully
[ 1.778993] Initialise system trusted keyrings
[ 1.779093] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[ 1.782785] zbud: loaded
[ 1.784394] NFS: Registering the id_resolver key type
[ 1.784413] Key type id_resolver registered
[ 1.784415] Key type id_legacy registered
[ 1.784422] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.784425] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 1.785178] JFS: nTxBlock = 8192, nTxLock = 65536
[ 1.789873] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 1.812515] Key type asymmetric registered
[ 1.812521] Asymmetric key parser 'x509' registered
[ 1.812581] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 1.812704] io scheduler mq-deadline registered
[ 1.812707] io scheduler kyber registered
[ 1.812835] io scheduler bfq registered
[ 1.813917] GPIO line 501 (usb-hub-reset) hogged as output/high
[ 1.824713] soc soc0: Amlogic Meson GXBB (S905) Revision 1f:c (0:1) Detected
[ 1.825574] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 1.826845] c11084c0.serial: ttyAML1 at MMIO 0xc11084c0 (irq = 10, base_baud = 1500000) is a meson_uart
[ 1.827188] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 14, base_baud = 1500000) is a meson_uart
[ 1.827225] printk: console [ttyAML0] enabled
[ 1.829350] brd: module loaded
[ 1.832420] loop: module loaded
[ 1.833173] libphy: Fixed MDIO Bus: probed
[ 1.833564] tun: Universal TUN/TAP device driver, 1.6
[ 1.834341] meson8b-dwmac c9410000.ethernet: PTP uses main clock
[ 1.834349] meson8b-dwmac c9410000.ethernet: no reset control found
[ 1.834687] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
[ 1.834693] meson8b-dwmac c9410000.ethernet: DWMAC1000
[ 1.834698] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
[ 1.834701] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
[ 1.834705] meson8b-dwmac c9410000.ethernet: COE Type 2
[ 1.834708] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
[ 1.834711] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
[ 1.834733] meson8b-dwmac c9410000.ethernet: Normal descriptors
[ 1.834736] meson8b-dwmac c9410000.ethernet: Ring mode enabled
[ 1.834740] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.834835] libphy: stmmac: probed
[ 1.886865] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.886870] ehci-platform: EHCI generic platform driver
[ 1.886956] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.886973] ohci-platform: OHCI generic platform driver
[ 1.887237] usbcore: registered new interface driver usb-storage
[ 1.888047] mousedev: PS/2 mouse device common for all mice
[ 1.888327] i2c /dev entries driver
[ 1.889917] sdhci: Secure Digital Host Controller Interface driver
[ 1.889922] sdhci: Copyright(c) Pierre Ossman
[ 1.889942] Synopsys Designware Multimedia Card Interface Driver
[ 1.890854] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
[ 1.916719] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.917517] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.917782] meson-sm: secure-monitor enabled
[ 1.917974] usbcore: registered new interface driver usbhid
[ 1.917975] usbhid: USB HID core driver
[ 1.918105] platform-mhu c883c404.mailbox: Platform MHU Mailbox registered
[ 1.920240] NET: Registered protocol family 10
[ 1.920811] Segment Routing with IPv6
[ 1.920848] NET: Registered protocol family 17
[ 1.920897] Key type dns_resolver registered
[ 1.921446] registered taskstats version 1
[ 1.921449] Loading compiled-in X.509 certificates
[ 1.921520] zswap: loaded using pool lzo/zbud
[ 1.922274] Btrfs loaded, crc32c=crc32c-generic
[ 1.939460] Key type encrypted registered
[ 1.949162] dwc2 c9000000.usb: c9000000.usb supply vusb_d not found, using dummy regulator
[ 1.949217] dwc2 c9000000.usb: c9000000.usb supply vusb_a not found, using dummy regulator
[ 1.950401] phy phy-c0000000.phy.0: USB ID detect failed!
[ 1.950408] phy phy-c0000000.phy.0: phy poweron failed --> -22
[ 1.950426] ------------[ cut here ]------------
[ 1.950477] WARNING: CPU: 0 PID: 59 at drivers/regulator/core.c:2036 _regulator_put.part.8+0xc0/0xc8
[ 1.950479] Modules linked in: realtek
[ 1.950489] CPU: 0 PID: 59 Comm: kworker/0:1 Not tainted 5.3.15-meson64 #5.99
[ 1.950491] Hardware name: Hardkernel ODROID-C2 (DT)
[ 1.950500] Workqueue: events deferred_probe_work_func
[ 1.950505] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 1.950508] pc : _regulator_put.part.8+0xc0/0xc8
[ 1.950512] lr : _regulator_put.part.8+0xc0/0xc8
[ 1.950514] sp : ffff000011143b10
[ 1.950516] x29: ffff000011143b10 x28: 0000000000000000
[ 1.950520] x27: 0000000000000000 x26: ffff000010db0638
[ 1.950523] x25: 0000000000000000 x24: 0000000000000009
[ 1.950527] x23: ffff000011143bd8 x22: ffff80007f37c810
[ 1.950530] x21: ffff000010f59000 x20: ffff80006afa9500
[ 1.950534] x19: ffff80006afa9500 x18: ffffffffffffffff
[ 1.950538] x17: 0000000059297a1e x16: 000000003bf859fc
[ 1.950541] x15: ffff000010f74000 x14: 00000000fffffff0
[ 1.950545] x13: ffff000011015952 x12: ffff000010f74000
[ 1.950548] x11: 0000000000000000 x10: 0000000000000000
[ 1.950552] x9 : 0000000000000001 x8 : 00000000000000cc
[ 1.950555] x7 : 0000000000000000 x6 : 0000000005ec36f1
[ 1.950559] x5 : 0000000000000000 x4 : 0000000000000000
[ 1.950562] x3 : 00000000ffffffff x2 : db06fa2975df1f00
[ 1.950565] x1 : 0000000000000000 x0 : 0000000000000024
[ 1.950569] Call trace:
[ 1.950574] _regulator_put.part.8+0xc0/0xc8
[ 1.950577] regulator_put+0x34/0x50
[ 1.950581] regulator_bulk_free+0x30/0x50
[ 1.950585] devm_regulator_bulk_release+0x18/0x20
[ 1.950589] release_nodes+0x138/0x228
[ 1.950592] devres_release_all+0x34/0x60
[ 1.950596] really_probe+0x194/0x2c8
[ 1.950600] driver_probe_device+0x58/0x100
[ 1.950603] __device_attach_driver+0x90/0xb0
[ 1.950607] bus_for_each_drv+0x64/0xc8
[ 1.950610] __device_attach+0xd8/0x138
[ 1.950614] device_initial_probe+0x10/0x18
[ 1.950617] bus_probe_device+0x90/0x98
[ 1.950621] deferred_probe_work_func+0x74/0xb0
[ 1.950626] process_one_work+0x1e0/0x338
[ 1.950630] worker_thread+0x240/0x468
[ 1.950634] kthread+0x124/0x128
[ 1.950639] ret_from_fork+0x10/0x18
[ 1.950641] ---[ end trace c674df8d9494f10d ]---
[ 1.950680] ------------[ cut here ]------------
[ 1.950709] WARNING: CPU: 0 PID: 59 at drivers/regulator/core.c:2036 _regulator_put.part.8+0xc0/0xc8
[ 1.950711] Modules linked in: realtek
[ 1.950716] CPU: 0 PID: 59 Comm: kworker/0:1 Tainted: G W 5.3.15-meson64 #5.99
[ 1.950718] Hardware name: Hardkernel ODROID-C2 (DT)
[ 1.950722] Workqueue: events deferred_probe_work_func
[ 1.950726] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 1.950730] pc : _regulator_put.part.8+0xc0/0xc8
[ 1.950733] lr : _regulator_put.part.8+0xc0/0xc8
[ 1.950735] sp : ffff000011143b10
[ 1.950737] x29: ffff000011143b10 x28: 0000000000000000
[ 1.950741] x27: 0000000000000000 x26: ffff000010db0638
[ 1.950744] x25: 0000000000000000 x24: 0000000000000009
[ 1.950748] x23: ffff000011143bd8 x22: ffff80007f37c810
[ 1.950751] x21: ffff000010f59000 x20: ffff80006afa9600
[ 1.950755] x19: ffff80006afa9600 x18: 0000000000000016
[ 1.950758] x17: 0000000059297a1e x16: 000000003bf859fc
[ 1.950762] x15: ffff000010f74000 x14: 00000000fffffff0
[ 1.950766] x13: ffff000011015952 x12: ffff000010f74000
[ 1.950769] x11: 0000000000000000 x10: 0000000000000000
[ 1.950772] x9 : 0000000000000001 x8 : 00000000000000f9
[ 1.950776] x7 : 0000000000000000 x6 : 0000000005ec36f1
[ 1.950779] x5 : 0000000000000000 x4 : 0000000000000000
[ 1.950783] x3 : 00000000ffffffff x2 : db06fa2975df1f00
[ 1.950786] x1 : 0000000000000000 x0 : 0000000000000024
[ 1.950789] Call trace:
[ 1.950793] _regulator_put.part.8+0xc0/0xc8
[ 1.950796] regulator_put+0x34/0x50
[ 1.950799] regulator_bulk_free+0x30/0x50
[ 1.950802] devm_regulator_bulk_release+0x18/0x20
[ 1.950805] release_nodes+0x138/0x228
[ 1.950809] devres_release_all+0x34/0x60
[ 1.950812] really_probe+0x194/0x2c8
[ 1.950816] driver_probe_device+0x58/0x100
[ 1.950819] __device_attach_driver+0x90/0xb0
[ 1.950822] bus_for_each_drv+0x64/0xc8
[ 1.950826] __device_attach+0xd8/0x138
[ 1.950829] device_initial_probe+0x10/0x18
[ 1.950833] bus_probe_device+0x90/0x98
[ 1.950836] deferred_probe_work_func+0x74/0xb0
[ 1.950839] process_one_work+0x1e0/0x338
[ 1.950842] worker_thread+0x240/0x468
[ 1.950846] kthread+0x124/0x128
[ 1.950849] ret_from_fork+0x10/0x18
[ 1.950852] ---[ end trace c674df8d9494f10e ]---
[ 1.950899] dwc2: probe of c9000000.usb failed with error -22
[ 1.951163] dwc2 c9100000.usb: c9100000.usb supply vusb_d not found, using dummy regulator
[ 1.951196] dwc2 c9100000.usb: c9100000.usb supply vusb_a not found, using dummy regulator
[ 1.990928] mmc0: new HS200 MMC card at address 0001
[ 1.991874] mmcblk0: mmc0:0001 AJNB4R 14.6 GiB
[ 1.992588] mmcblk0boot0: mmc0:0001 AJNB4R partition 1 4.00 MiB
[ 1.993263] mmcblk0boot1: mmc0:0001 AJNB4R partition 2 4.00 MiB
[ 1.993394] mmcblk0rpmb: mmc0:0001 AJNB4R partition 3 4.00 MiB, chardev (245:0)
[ 2.002093] mmcblk0: p1
[ 2.016304] dwc2 c9100000.usb: DWC OTG Controller
[ 2.016323] dwc2 c9100000.usb: new USB bus registered, assigned bus number 1
[ 2.016351] dwc2 c9100000.usb: irq 35, io mem 0xc9100000
[ 2.016485] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.03
[ 2.016489] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.016494] usb usb1: Product: DWC OTG Controller
[ 2.016497] usb usb1: Manufacturer: Linux 5.3.15-meson64 dwc2_hsotg
[ 2.016501] usb usb1: SerialNumber: c9100000.usb
[ 2.016794] hub 1-0:1.0: USB hub found
[ 2.016816] hub 1-0:1.0: 1 port detected
[ 2.017647] meson-gx-mmc d0072000.mmc: Got CD GPIO
[ 2.045350] scpi_protocol scpi: SCP Protocol legacy pre-1.0 firmware
[ 2.048828] hctosys: unable to open rtc device (rtc0)
[ 2.048930] of_cfs_init
[ 2.049016] of_cfs_init: OK
[ 2.051034] Freeing unused kernel memory: 576K
[ 2.076745] Run /init as init process
[ 2.269662] spidev0@0 enforce active low on chipselect handle
[ 2.269688] spidev0@1 enforce active low on chipselect handle
[ 2.301074] spidev spi0.0: probing from DT
[ 2.301294] spidev spi0.1: probing from DT
[ 2.306475] random: fast init done
[ 2.416486] usb 1-1: new high-speed USB device number 2 using dwc2
[ 2.627160] usb 1-1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=32.98
[ 2.627228] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.627280] usb 1-1: Product: USB2.0 Hub
[ 2.630920] hub 1-1:1.0: USB hub found
[ 2.631594] hub 1-1:1.0: 4 ports detected
[ 2.807236] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[ 3.058942] systemd[1]: System time before build time, advancing clock.
[ 3.082394] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[ 3.082764] systemd[1]: Detected architecture arm64.
[ 3.088265] systemd[1]: Set hostname to <odroidc2>.
[ 3.089851] systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument
[ 3.363692] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.369423] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.369857] systemd[1]: Listening on Journal Socket (/dev/log).
[ 3.370613] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.370799] systemd[1]: Listening on Journal Audit Socket.
[ 3.373027] systemd[1]: Listening on Syslog Socket.
[ 3.373444] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ 3.373778] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 3.375531] systemd[1]: Created slice User and Session Slice.
[ 3.458949] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
[ 3.628356] systemd-journald[1243]: Received request to flush runtime journal from PID 1
[ 3.957481] Driver for 1-wire Dallas network protocol.
[ 3.992885] debugfs: Directory 'c1105400.audio' with parent 'regmap' already present!
[ 4.008325] zram: Added device: zram0
[ 4.016474] zram: Added device: zram1
[ 4.016840] zram: Added device: zram2
[ 4.021849] Registered IR keymap rc-empty
[ 4.021958] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0
[ 4.022056] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input0
[ 4.026616] random: crng init done
[ 4.026625] random: 7 urandom warning(s) missed due to ratelimiting
[ 4.029073] meson-ir c8100580.ir: receiver initialized
[ 4.047838] zram1: detected capacity change from 0 to 1033936896
[ 4.096275] Adding 1009700k swap on /dev/zram1. Priority:5 extents:1 across:1009700k SSFS
[ 4.111309] lima d00c0000.gpu: bus rate = 166666667
[ 4.111327] lima d00c0000.gpu: mod rate = 744000000
[ 4.115381] lima d00c0000.gpu: gp - mali450 version major 0 minor 0
[ 4.115420] lima d00c0000.gpu: pp0 - mali450 version major 0 minor 0
[ 4.115463] lima d00c0000.gpu: pp1 - mali450 version major 0 minor 0
[ 4.115494] lima d00c0000.gpu: pp2 - mali450 version major 0 minor 0
[ 4.115530] lima d00c0000.gpu: l2 cache 8K, 4-way, 64byte cache line, 128bit external bus
[ 4.115536] lima d00c0000.gpu: l2 cache 64K, 4-way, 64byte cache line, 128bit external bus
[ 4.126836] [drm] Initialized lima 1.0.0 20190217 for d00c0000.gpu on minor 0
[ 4.131609] meson-drm d0100000.vpu: Queued 2 outputs on vpu
[ 4.173385] ina2xx 0-0046: power monitor ina219 (Rshunt = 100000 uOhm)
[ 4.174415] ina2xx 0-0045: power monitor ina219 (Rshunt = 100000 uOhm)
[ 4.175485] ina2xx 0-0044: power monitor ina219 (Rshunt = 100000 uOhm)
[ 4.179090] ina2xx 0-0043: power monitor ina219 (Rshunt = 100000 uOhm)
[ 4.181286] ina2xx 0-0042: power monitor ina219 (Rshunt = 100000 uOhm)
[ 4.183479] ina2xx 0-0041: power monitor ina219 (Rshunt = 100000 uOhm)
[ 4.190420] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 4.190427] [drm] No driver support for vblank timestamp query.
[ 4.192667] meson-drm d0100000.vpu: CVBS Output connector not available
[ 4.224226] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
[ 4.229713] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
[ 4.230079] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops meson_dw_hdmi_ops [meson_dw_hdmi])
[ 4.230512] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 1
[ 4.230607] [drm] Cannot find any crtc or sizes
[ 4.329506] zram0: detected capacity change from 0 to 52428800
[ 4.444296] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[ 4.458663] asoc-simple-card sound: i2s-hifi <-> meson-aiu-i2s.0.auto mapping ok
[ 7.388753] meson8b-dwmac c9410000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet]
[ 7.400202] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
[ 7.400218] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
[ 7.400226] meson8b-dwmac c9410000.ethernet eth0: configuring for phy/rgmii link mode
[ 9.005268] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 9.005357] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 9.026763] meson8b-dwmac c9410000.ethernet eth0: Link is Down
[ 9.076402] meson8b-dwmac c9410000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet]
[ 9.184144] meson8b-dwmac c9410000.ethernet: Failed to reset the dma
[ 9.184158] meson8b-dwmac c9410000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[ 9.184164] meson8b-dwmac c9410000.ethernet eth0: stmmac_open: Hw setup failed
[ 33.764229] TFLASH_VDD: disabling
[ 33.764251] TF_IO: disabling
I tried with the same eMMC card on different boards.
Board who fail with DEV kernel work with NEXT kernel, this one I checked, so I assume we have a problem in DEV kernel with C2 dwmac.
Any ideas?
EDIT: seems only to affect rev0.2_2017114 boards. rev0.2_20160226 seems to work. Can anyone crosscheck this behaviour with a dev/buster image?
So far, Michael