Failed to boot after eMMC flashing

I am sure I finished the flashing successfully: I logged in using the default usr beagle via TTL to USB. BUT after I reconnect everything back and powered on, it just halted somewhere during the booting.

I tried to monitor the booting processing via TTL and got:


[20:56:38.056] tio v2.7

[20:56:38.056] Press ctrl-t q to quit

[20:56:38.060] Connected
brom_ver 8
[APP][E] protocol_connect failed, exit.


U-Boot SPL 2020.01-gf55cb6958d (Jul 11 2023 - 17:16:30 +0000)
FM[1] lpddr4x singlerank freq=3733 64bit dbi_off=n sdram init
ddr initialized, jump to uboot
image has no header


U-Boot 2020.01-gf55cb6958d (Jul 11 2023 - 17:16:30 +0000)

CPU:   rv64imafdcvsu
Model: T-HEAD c910 light
DRAM:  4 GiB
C910 CPU FREQ: 750MHz
AHB2_CPUSYS_HCLK FREQ: 250MHz
AHB3_CPUSYS_PCLK FREQ: 125MHz
PERISYS_AHB_HCLK FREQ: 250MHz
PERISYS_APB_PCLK FREQ: 62MHz
GMAC PLL POSTDIV FREQ: 1000MHZ
DPU0 PLL POSTDIV FREQ: 1188MHZ
DPU1 PLL POSTDIV FREQ: 1188MHZ
MMC:   sdhci@ffe7080000: 0, sd@ffe7090000: 1
Loading Environment from MMC... OK
Error reading output register
Warning: cannot get lcd-en GPIO
LCD panel cannot be found : -121
splash screen startup cost 15 ms
In:    serial
Out:   serial
Err:   serial
Net:   
Warning: ethernet@ffe7070000 (eth0) using random MAC address - 6a:66:e3:9a:93:c3
eth0: ethernet@ffe7070000ethernet@ffe7070000:0 is connected to ethernet@ffe7070000.  Reconnecting to ethernet@ffe7060000

Warning: ethernet@ffe7060000 (eth1) using random MAC address - fa:d3:c9:84:c5:a0
, eth1: ethernet@ffe7060000
Hit any key to stop autoboot:  2  1  0 
50340 bytes read in 2 ms (24 MiB/s)
15748 bytes read in 1 ms (15 MiB/s)
85856 bytes read in 3 ms (27.3 MiB/s)
switch to partitions #0, OK
mmc0(part 0) is current device
Scanning mmc 0:2...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
208 bytes read in 1 ms (203.1 KiB/s)
1:	Linux eMMC
Retrieving file: /Image
27543040 bytes read in 89 ms (295.1 MiB/s)
append: root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait console=ttyS0,115200 earlycon clk_ignore_unused net.ifnames=0
Retrieving file: /light-beagle.dtb
170735 bytes read in 2 ms (81.4 MiB/s)
## Flattened Device Tree blob at 46000000
   Booting using the fdt blob at 0x46000000
   Using Device Tree in place at 0000000046000000, end 000000004602caee

Starting kernel ...

[    0.000000] Linux version 5.10.113-g52fbe8443ea1-dirty (root@runner-fdeyts7l-project-164-concurrent-0) (riscv64-unknown-linux-gnu-gcc (Xuantie-900 linux-5.10.4 glibc gcc Toolchain V2.6.1 B-20220906) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP PREEMPT Tue Jul 11 17:16:44 UTC 2023
[    0.000000] OF: fdt: Ignoring memory range 0x200000 - 0x40200000
[    0.000000] earlycon: uart0 at MMIO32 0x000000ffe7014000 (options '115200n8')
[    0.000000] printk: bootconsole [uart0] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000064000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000040200000-0x00000000ffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040200000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040200000-0x00000000ffffffff]
[    0.000000] software IO TLB: mapped [mem 0x00000000f8f32000-0x00000000fcf32000] (64MB)
[    0.000000] SBI specification v0.3 detected
[    0.000000] SBI implementation ID=0x1 Version=0x9
[    0.000000] SBI v0.2 TIME extension detected
[    0.000000] SBI v0.2 IPI extension detected
[    0.000000] SBI v0.2 RFENCE extension detected
[    0.000000] SBI v0.2 HSM extension detected
[    0.000000] riscv: ISA extensions acdfimsuv
[    0.000000] riscv: ELF capabilities acdfimv
[    0.000000] percpu: Embedded 28 pages/cpu s75480 r8192 d31016 u114688
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 773640
[    0.000000] Kernel command line: root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait console=ttyS0,115200 earlycon clk_ignore_unused net.ifnames=0
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Sorting __ex_table...
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 2665604K/3143680K available (13830K kernel code, 4744K rwdata, 6144K rodata, 337K init, 826K bss, 150396K reserved, 327680K cma-reserved)
[    0.000000] random: get_random_u64 called from __kmem_cache_create+0x28/0x40e with crng_init=0
[    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=8 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of 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] riscv-intc: 64 local interrupts mapped
[    0.000000] plic: interrupt-controller@ffd8000000: mapped 64 interrupts with 4 handlers for 8 contexts.
[    0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
[    0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x1623fa770, max_idle_ns: 881590404476 ns
[    0.000007] sched_clock: 64 bits at 3000kHz, resolution 333ns, wraps every 4398046511097ns
[    0.008962] Console: colour dummy device 80x25
[    0.013509] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=12000)
[    0.023718] pid_max: default: 32768 minimum: 301
[    0.028614] LSM: Security Framework initializing
[    0.033312] Yama: becoming mindful.
[    0.036945] AppArmor: AppArmor initialized
[    0.041082] TOMOYO Linux initialized
[    0.044782] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.052219] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.062688] ASID allocator initialised with 65536 entries
[    0.068287] rcu: Hierarchical SRCU implementation.
[    0.074258] EFI services will not be available.
[    0.079363] smp: Bringing up secondary CPUs ...
[    0.087237] smp: Brought up 1 node, 4 CPUs
[    0.092674] devtmpfs: initialized
[    0.153722] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.163512] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.179245] pinctrl core: initialized pinctrl subsystem
[    0.186090] NET: Registered protocol family 16
[    0.209163] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.217343] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.225382] audit: initializing netlink subsys (disabled)
[    0.231085] audit: type=2000 audit(0.160:1): state=initialized audit_enabled=0 res=1
[    0.231796] thermal_sys: Registered thermal governor 'step_wise'
[    0.239288] cpuidle: using governor ladder
[    0.249486] cpuidle: using governor menu
[    0.416044] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.422866] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.438753] raid6: skip pq benchmark and using algorithm int64x8
[    0.444805] raid6: using intx1 recovery algorithm
[    0.451380] SCSI subsystem initialized
[    0.455511] usbcore: registered new interface driver usbfs
[    0.461096] usbcore: registered new interface driver hub
[    0.466503] usbcore: registered new device driver usb
[    0.476941] mc: Linux media interface: v0.10
[    0.481317] videodev: Linux video capture interface: v2.00
[    0.486881] pps_core: LinuxPPS API ver. 1 registered
[    0.491869] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.501463] Advanced Linux Sound Architecture Driver Initialized.
[    0.508478] Bluetooth: Core ver 2.22
[    0.512150] NET: Registered protocol family 31
[    0.516616] Bluetooth: HCI device and connection manager initialized
[    0.523018] Bluetooth: HCI socket layer initialized
[    0.527925] Bluetooth: L2CAP socket layer initialized
[    0.533020] Bluetooth: SCO socket layer initialized
[    0.537936] NetLabel: Initializing
[    0.541341] NetLabel:  domain hash size = 128
[    0.545719] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.551484] NetLabel:  unlabeled traffic allowed by default
[    0.557796] clocksource: Switched to clocksource riscv_clocksource
[    1.540854] VFS: Disk quotas dquot_6.6.0
[    1.544921] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.552049] FS-Cache: Loaded
[    1.555447] CacheFiles: Loaded
[    1.559753] AppArmor: AppArmor Filesystem Enabled
[    1.580279] NET: Registered protocol family 2
[    1.584979] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    1.596365] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    1.605061] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    1.613212] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    1.621022] TCP: Hash tables configured (established 32768 bind 32768)
[    1.627918] MPTCP token hash table entries: 4096 (order: 4, 98304 bytes, linear)
[    1.635497] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.642276] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    1.649720] NET: Registered protocol family 1
[    1.655017] RPC: Registered named UNIX socket transport module.
[    1.661009] RPC: Registered udp transport module.
[    1.665795] RPC: Registered tcp transport module.
[    1.670522] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.677707] NET: Registered protocol family 44
[    1.683644] khv_probe, 164, irq: 59.
[    1.689101] Initialise system trusted keyrings
[    1.693918] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    1.717735] NFS: Registering the id_resolver key type
[    1.722896] Key type id_resolver registered
[    1.727110] Key type id_legacy registered
[    1.731353] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.738094] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.745557] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    1.752436] fuse: init (API version 7.32)
[    1.850066] NET: Registered protocol family 38
[    1.854575] xor: measuring software checksum speed
[    1.863778]    8regs           :  2259 MB/sec
[    1.872532]    8regs_prefetch  :  2257 MB/sec
[    1.881713]    32regs          :  2057 MB/sec
[    1.890862]    32regs_prefetch :  2070 MB/sec
[    1.895244] xor: using function: 8regs (2259 MB/sec)
[    1.900241] Key type asymmetric registered
[    1.904363] Asymmetric key parser 'x509' registered
[    1.909319] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.916989] io scheduler mq-deadline registered
[    1.925081] light-pinctrl ffe7f3c000.pinctrl1-apsys: initialized light pinctrl driver
[    1.934729] light-pinctrl ffec007000.padctrl0-apsys: initialized light pinctrl driver
[    1.943451] light-pinctrl fffff4a000.padctrl-aosys: initialized light pinctrl driver
[    1.959545] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    1.983933] light-fm-clk ffef010000.clock-controller: succeed to register light fullmask clock driver
[    2.000862] visys-clk-gate-provider soc:visys-clk-gate: succeed to register visys gate clock provider
[    2.013237] vpsys-clk-gate-provider ffecc30000.vpsys-clk-gate: succeed to register vpsys gate clock provider
[    2.030818] vosys-clk-gate-provider ffef528000.vosys-clk-gate: succeed to register vosys gate clock provider
[    2.041354] dspsys-clk-gate-provider soc:dspsys-clk-gate: cannot find regmap for tee dsp system register
[    2.054040] dspsys-clk-gate-provider soc:dspsys-clk-gate: succeed to register dspsys gate clock provider
[    2.064612] dw_axi_dmac_platform ffefc00000.dmac: DesignWare AXI DMA Controller, 4 channels
[    2.075234] dw_axi_dmac_platform ffc8000000.audio_dmac: DesignWare AXI DMA Controller, 16 channels
[    2.086113] (NULL device *): failed to find vdmabuf_reserved_memory node
[    2.092923] virtio-vdmabuf: carveout bufs setup failed -22
[    2.100839] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    2.111531] printk: console [ttyS0] disabled
[    2.115953] ffe7014000.serial: ttyS0 at MMIO 0xffe7014000 (irq = 4, base_baud = 6250000) is a 16550A
[    2.125199] printk: console [ttyS0] enabled
[    2.125199] printk: console [ttyS0] enabled
[    2.133668] printk: bootconsole [uart0] disabled
[    2.133668] printk: bootconsole [uart0] disabled
[    2.144416] ffe7f00000.serial: ttyS1 at MMIO 0xffe7f00000 (irq = 6, base_baud = 6250000) is a 16550A
[    2.155197] fff7f08000.serial: ttyS4 at MMIO 0xfff7f08000 (irq = 8, base_baud = 6250000) is a 16550A
[    2.173378] vs-dc ffef600000.dc8200: dpu0pll_on:0 dpu1pll_on:1
[    2.183452] vs-drm display-subsystem: bound ffef600000.dc8200 (ops 0xffffffe0010c80e8)
[    2.191762] dwhdmi-light ffef540000.dw-hdmi-tx: Detected HDMI TX controller v2.14a with HDCP (DWC HDMI 2.0 TX PHY)
[    2.202799] dwhdmi-light ffef540000.dw-hdmi-tx: registered DesignWare HDMI I2C bus driver
[    2.211415] vs-drm display-subsystem: bound ffef540000.dw-hdmi-tx (ops 0xffffffe0010c98b0)
[    2.220819] [drm] Initialized vs-drm 1.0.0 20191101 for display-subsystem on minor 0
[    2.228786] vs-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    2.366049] loop: module loaded
[    2.369501] at24 0-0050: supply vcc not found, using dummy regulator
[    2.376684] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
[    2.388151] tun: Universal TUN/TAP device driver, 1.6
[    2.396012] RTW: module init start
[    2.399469] RTW: rtl8723ds v5.13.5-29-g0dbf6713f.20210604_COEX20210106-3b3b
[    2.406503] RTW: build time: Jul 11 2023 17:17:55
[    2.411259] RTW: rtl8723ds BT-Coex version = COEX20210106-3b3b
[    2.417235] RTW: module init ret=0
[    2.420677] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.427828] usbcore: registered new interface driver usb-storage
[    2.433921] usbcore: registered new interface driver ums-sddr09
[    2.439917] usbcore: registered new interface driver ums-sddr55
[    2.446325] mousedev: PS/2 mouse device common for all mice
[    2.455360] xgene-rtc fffff40000.rtc: registered as rtc0
[    2.460821] xgene-rtc fffff40000.rtc: setting system clock to 1970-01-01T00:00:00 UTC (0)
[    2.469412] i2c /dev entries driver
[    2.475618] Driver for 1-wire Dallas network protocol.
[    2.482323] hwmon hwmon0: temp2_input not attached to any thermal zone
[    2.489637] light_reset_deassert id:0
[    2.493363] dw_wdt ffefc30000.watchdog: No valid TOPs array specified
[    2.500598] light_reset_deassert id:1
[    2.504320] dw_wdt ffefc31000.watchdog: No valid TOPs array specified
[    2.512189] Watchdog module: light-wdt loaded
[    2.516611] Bluetooth: HCI UART driver ver 2.3
[    2.521087] Bluetooth: HCI UART protocol H4 registered
[    2.526498] Bluetooth: HCI UART protocol Broadcom registered
[    2.534289] sdhci: Secure Digital Host Controller Interface driver
[    2.540509] sdhci: Copyright(c) Pierre Ossman
[    2.544895] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.552680] sdhci-dwcmshc ffe70a0000.sd: can't request region for resource [mem 0xffef014064-0xffef014067]
[    2.562619] ledtrig-cpu: registered to indicate activity on CPUs
[    2.570406] usbcore: registered new interface driver usbhid
[    2.576024] usbhid: USB HID core driver
[    2.579752] mmc0: SDHCI controller on ffe7080000.sdhci [ffe7080000.sdhci] using ADMA 64-bit
[    2.580927] misc vhost-vdmabuf: failed to find vdmabuf_reserved_memory node
[    2.595262] misc vhost-vdmabuf: vhost-vdmabuf: carveout bufs setup failed -22
[    2.595867] mmc1: SDHCI controller on ffe7090000.sd [ffe7090000.sd] using ADMA 64-bit
[    2.602424] misc vhost-vdmabuf: vhost-vdmabuf: init successfully
[    2.605093] light-adc fffff51000.adc: Thead light adc registered.
[    2.623962] [perf] T-HEAD C900 PMU v1 probed
[    2.629201] light_efuse ffff210000.efuse: succeed to register light efuse driver
[    2.643535] drop_monitor: Initializing network drop monitor service
[    2.647051] mmc0: new HS400 MMC card at address 0001
[    2.651306] NET: Registered protocol family 10
[    2.655886] mmcblk0: mmc0:0001 TB2916 14.6 GiB 
[    2.663923] Segment Routing with IPv6
[    2.664336] mmcblk0boot0: mmc0:0001 TB2916 partition 1 4.00 MiB
[    2.667763] mip6: Mobile IPv6
[    2.673996] mmcblk0boot1: mmc0:0001 TB2916 partition 2 4.00 MiB
[    2.676589] NET: Registered protocol family 17
[    2.682787] mmcblk0rpmb: mmc0:0001 TB2916 partition 3 4.00 MiB, chardev (244:0)
[    2.687084] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.689830] mmc2: SDHCI controller on ffe70a0000.sd [ffe70a0000.sd] using ADMA 64-bit
[    2.702148]  mmcblk0: p1 p2 p3
[    2.707498] Bluetooth: RFCOMM TTY layer initialized
[    2.721066] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.723238] Bluetooth: RFCOMM socket layer initialized
[    2.730380] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.733903] Bluetooth: RFCOMM ver 1.11
[    2.741056] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.743165] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.751638] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.753993] Bluetooth: BNEP socket layer initialized
[    2.763114] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[    2.764464] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.775893] Bluetooth: HIDP socket layer initialized
[    2.781172] [WLAN_RFKILL]: Enter rfkill_wlan_init
[    2.786401] [BT_RFKILL]: Enter rfkill_rk_init
[    2.791349] 9pnet: Installing 9P2000 support
[    2.795757] Key type dns_resolver registered
[    2.800317] NET: Registered protocol family 40
[    2.805440] Loading compiled-in X.509 certificates
[    2.810463] Key type ._fscrypt registered
[    2.812366] random: fast init done
[    2.814505] Key type .fscrypt registered
[    2.821849] Key type fscrypt-provisioning registered
[    2.830246] Btrfs loaded, crc32c=crc32c-generic
[    2.835061] AppArmor: AppArmor sha1 policy hashing enabled
[    2.837741] mmc2: new ultra high speed DDR50 SDIO card at address 0001
[    2.841069] 
[    2.848638] ********************************************************************
[    2.856059] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
[    2.863479] **                                                                **
[    2.870893] **  WRITEABLE clk DebugFS SUPPORT HAS BEEN ENABLED IN THIS KERNEL **
[    2.878324] **                                                                **
[    2.885747] ** This means that this kernel is built to expose clk operations  **
[    2.893167] ** such as parent or rate setting, enabling, disabling, etc.      **
[    2.900585] ** to userspace, which may compromise security on your system.    **
[    2.908004] **                                                                **
[    2.915435] ** If you see this message and you are not debugging the          **
[    2.922853] ** kernel, report this immediately to your vendor!                **
[    2.930271] **                                                                **
[    2.937735] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
[    2.945176] ********************************************************************
[    3.016902] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    3.026421] light_dwmac_eth ffe7070000.ethernet: IRQ eth_wake_irq not found
[    3.033456] light_dwmac_eth ffe7070000.ethernet: IRQ eth_lpi not found
[    3.040460] light_dwmac_eth ffe7070000.ethernet: Cannot get CSR clock
[    3.046973] light_dwmac_eth ffe7070000.ethernet: PTP uses main clock
[    3.053374] light_dwmac_eth ffe7070000.ethernet: no reset control found
[    3.060038] light_dwmac_eth ffe7070000.ethernet: id: 0
[    3.065216] light_dwmac_eth ffe7070000.ethernet: phy interface: 9
[    3.071413] RX clk delay: 0x0
[    3.074425] TX clk delay: 0x0
[    3.077684] light_dwmac_eth ffe7070000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    3.085218] light_dwmac_eth ffe7070000.ethernet: 	DWMAC1000
[    3.090825] light_dwmac_eth ffe7070000.ethernet: DMA HW capability register supported
[    3.098696] light_dwmac_eth ffe7070000.ethernet: RX Checksum Offload Engine supported
[    3.106557] light_dwmac_eth ffe7070000.ethernet: COE Type 2
[    3.112164] light_dwmac_eth ffe7070000.ethernet: TX Checksum insertion supported
[    3.119588] light_dwmac_eth ffe7070000.ethernet: Enhanced/Alternate descriptors
[    3.126923] light_dwmac_eth ffe7070000.ethernet: Enabled extended descriptors
[    3.134082] light_dwmac_eth ffe7070000.ethernet: Ring mode enabled
[    3.140287] light_dwmac_eth ffe7070000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.148675] light_dwmac_eth ffe7070000.ethernet: device MAC address 6a:66:e3:9a:93:c3
[    3.159504] mdio_bus stmmac-0: MDIO device at address 2 is missing.
[    3.173049] succeed to create power domain debugfs direntry
[    3.179222] soc_aud_3v3_en GPIO handle specifies active low - ignored
[    3.186571] soc_aud_1v8_en GPIO handle specifies active low - ignored
[    3.220817] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 750000 KHz, changing to: 800000 KHz
[    3.231914] cpu cpu0: finish to register cpufreq driver
[    3.238007] thead,light-aon-test aon:light-aon-test: Successfully registered
[    3.246774] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    3.256857] [light_wdt_probe,327] register power off callback
[    3.262646] succeed to register light pmic watchdog
[    3.268659] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    3.277642] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    3.287422] aw87519_pa 5-0058: aw87519_parse_dt: reset gpio provided ok
[    3.294074] aw87519_pa 5-0058: aw87519_i2c_probe: rst request failed
[    3.300453] aw87519_pa: probe of 5-0058 failed with error -16
[    3.306300] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.314830] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.322879] clk: Not disabling unused clocks
[    3.327171] [dhd] _dhd_module_init: in Dongle Host Driver, version 101.10.361.27 (wlan=r892223-20221025-4)
[    3.327171] drivers/net/wireless/bcmdhd.101.10.361.x compiled on Jul 11 2023 at 17:18:02
[    3.327171] 
[    3.346678] [dhd] ======== Get GPIO from DTS(android,bcmdhd_wlan) ========
[    3.353680] [dhd] dhd_wlan_init_gpio: WL_HOST_WAKE=441, oob_irq=66, oob_irq_flags=0x1
[    3.361529] [dhd] dhd_wlan_init_gpio: WL_REG_ON=447
[    3.366413] [dhd] STATIC-MSG) dhd_static_buf_init : 101.10.361.26 (wlan=r892223-20221011-1)
[    3.374828] [dhd] STATIC-MSG) dhd_init_wlan_mem : prealloc ok for index 0: 1099776(1074K)
[    3.383014] [dhd] dhd_wifi_platform_load: Enter
[    3.387581] [dhd] Power-up adapter 'DHD generic adapter'
[    3.393031] [dhd] dummy_probe: enter
[    3.396740] [dhd] dummy_probe: enter
[    3.397176] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    3.400446] [dhd] dummy_probe: enter
[    3.409272] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    3.412076] [dhd] wifi_platform_set_power = 1, delay: 200 msec
[    3.420906] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    3.426016] [dhd] ======== PULL WL_REG_ON(447) HIGH! ========
[    3.745841] [dhd] wifi_platform_bus_enumerate device present 1
[    3.751884] [dhd] ======== Card detection to detect SDIO card! ========
[    3.775628] [dhd] bcmsdh_register: register client driver
[    3.781994] [dhd] bcmsdh_sdmmc_probe: Enter num=1
[    3.787793] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    3.789685] [dhd] bcmsdh_sdmmc_probe: Enter num=2
[    3.800671] [dhd] bus num (host idx)=2, slot num (rca)=1
[    3.806042] [dhd] found adapter info 'DHD generic adapter'
[    3.811575] [dhd] STATIC-MSG) dhd_wlan_mem_prealloc : section 3, size 139264
[    3.818681] [dhd] succeed to alloc static buf
[    3.823062] [dhd] STATIC-MSG) dhd_wlan_mem_prealloc : section 4, size 0
[    3.829795] [dhd] sdioh_attach: set sd_f2_blocksize 256
[    3.835244] [dhd] sdioh_attach: sd clock rate = 50000000
[    3.841469] [dhd] dhdsdio_probe : no mutex held
[    3.846054] [dhd] dhdsdio_probe : set mutex lock
[    3.851043] [dhd] F1 signature read @0x18000000=0x1522a804
[    3.864668] [dhd] F1 signature OK, socitype:0x1 chip:0xa804 rev:0x2 pkg:0x2
[    3.872923] [dhd] DHD: dongle ram size is set to 655360(orig 655360) at 0x0
[    3.880294] [dhd] STATIC-MSG) dhd_wlan_mem_prealloc : section 7, size 32424
[    3.887320] [dhd] dhd_conf_set_chiprev : devid=0xa804, chip=0xa804, chiprev=2
[    3.894520] [dhd] STATIC-MSG) dhd_wlan_mem_prealloc : section 0, size 10320
[    3.901887] [dhd] STATIC-MSG) dhd_wlan_mem_prealloc : section 5, size 65536
[    3.909319] [dhd] STATIC-MSG) dhd_wlan_mem_prealloc : section 19, size 65688
[    3.916420] [dhd] STATIC-MSG) dhd_wlan_mem_prealloc : section 20, size 262144
[    3.923596] [dhd] STATIC-MSG) dhd_wlan_mem_prealloc : section 22, size 65536
[    3.930815] [dhd] dhd_attach(): thread:dhd_watchdog_thread:8e started
[    3.937391] [dhd] dhd_attach(): thread:dhd_dpc:8f started
[    3.942910] [dhd] dhd_attach(): thread:dhd_rxf:90 started
[    3.948357] [dhd] dhd_deferred_work_init: work queue initialized
[    3.954400] [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
[    3.961467] [dhd] dhd_tcpack_suppress_set: TCPACK_INFO_MAXNUM=4, TCPDATA_INFO_MAXNUM=4
[    3.969464] [dhd] sdioh_cis_read: func_cis_ptr[0]=0x10ac
[    3.986595] [dhd] STATIC-MSG) dhd_wlan_mem_prealloc : section 1, size 10300
[    3.993601] [dhd] STATIC-MSG) dhd_wlan_mem_prealloc : section 2, size 65536
[    4.000641] [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN
[    4.006245] [dhd] Dongle Host Driver, version 101.10.361.27 (wlan=r892223-20221025-4)
[    4.006245] drivers/net/wireless/bcmdhd.101.10.361.x compiled on Jul 11 2023 at 17:18:02
[    4.006245] 
[    4.024274] [dhd] Register interface [wlan0]  MAC: 50:41:1c:d0:d6:96
[    4.024274] 
[    4.032278] [dhd] [wlan0] wl_android_wifi_off : in g_wifi_on=1, on_failure=1
[    4.039408] [dhd] dhd_bus_devreset: == Power OFF ==
[    4.044638] [dhd] dhd_bus_stop: making DHD_BUS_DOWN
[    4.049706] [dhd] bcmsdh_oob_intr_unregister: Enter
[    4.054601] [dhd] bcmsdh_oob_intr_unregister: irq is not registered
[    4.060893] [dhd] dhd_bus_devreset: making dhdpub up FALSE
[    4.066429] [dhd] dhd_txglom_enable: enable 0
[    4.070831] [dhd] dhd_bus_devreset: making DHD_BUS_DOWN
[    4.076090] [dhd] wifi_platform_set_power = 0, delay: 0 msec
[    4.081784] [dhd] ======== PULL WL_REG_ON(447) LOW! ========
[    4.087481] [dhd] [wlan0] wl_android_wifi_off : out
[    4.092401] [dhd] dhdsdio_probe : mutex is released.
[    4.097557] bcmsdh_sdmmc: probe of mmc2:0001:3 failed with error -110
[    4.098111] pwm-backlight pwm-backlight@0: supply power not found, using dummy regulator
[    4.104100] [dhd] _dhd_module_init: Exit err=0
[    4.116604] ALSA device list:
[    4.119582]   No soundcards found.
[    4.123197] dw-apb-uart ffe7014000.serial: forbid DMA for kernel console
[    4.137712] EXT4-fs (mmcblk0p3): INFO: recovery required on readonly filesystem
[    4.145090] EXT4-fs (mmcblk0p3): write access will be enabled during recovery
[    4.297562] EXT4-fs (mmcblk0p3): recovery complete
[    4.303548] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    4.311711] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    4.319045] devtmpfs: mounted
[    4.322135] Freeing unused kernel memory: 336K
[    4.326681] Run /sbin/init as init process
[    4.341546] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[    4.506600] systemd[1]: System time before build time, advancing clock.
[    4.588714] systemd[1]: systemd 252.5-2ubuntu3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    4.621299] systemd[1]: Detected architecture riscv64.

Welcome to e[1mUbuntu 23.04e[0m!

[    4.648402] systemd[1]: Hostname set to <BeagleV>.
[    5.148137] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #280!!!
[    5.156238] NOHZ tick-stop error: Non-RCU local softirq work is pending, handler #280!!!
[    5.200162] systemd[1]: Queued start job for default target graphical.target.
[    5.215572] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[e[0;32m  OK  e[0m] Created slice e[0;1;39msystem-modpr…licee[0m - Slice /system/modprobe.
[    5.255945] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[e[0;32m  OK  e[0m] Created slice e[0;1;39msystem-seria…e[0m - Slice /system/serial-getty.
[    5.296239] systemd[1]: Created slice system-systemd\x2dfsck.slice - Slice /system/systemd-fsck.
[e[0;32m  OK  e[0m] Created slice e[0;1;39msystem-syste…e[0m - Slice /system/systemd-fsck.
[    5.334458] systemd[1]: Created slice system-wpa_supplicant.slice - Slice /system/wpa_supplicant.
[e[0;32m  OK  e[0m] Created slice e[0;1;39msystem-wpa_s…0m - Slice /system/wpa_supplicant.
[    5.370891] systemd[1]: Created slice user.slice - User and Session Slice.
[e[0;32m  OK  e[0m] Created slice e[0;1;39muser.slicee[0m - User and Session Slice.
[    5.396290] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[e[0;32m  OK  e[0m] Started e[0;1;39msystemd-ask-passwo… Requests to Wall Directory Watch.
[    5.430610] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[e[0;32m  OK  e[0m] Set up automount e[0;1;39mproc-sys-…rmats File System Automount Point.
[    5.463559] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[e[0;32m  OK  e[0m] Reached target e[0;1;39mintegrityse…Local Integrity Protected Volumes.
[    5.490027] systemd[1]: Reached target nss-user-lookup.target - User and Group Name Lookups.
[e[0;32m  OK  e[0m] Reached target e[0;1;39mnss-user-lo…[0m - User and Group Name Lookups.
[    5.518190] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[e[0;32m  OK  e[0m] Reached target e[0;1;39mremote-fs.targete[0m - Remote File Systems.
[    5.542136] systemd[1]: Reached target slices.target - Slice Units.
[e[0;32m  OK  e[0m] Reached target e[0;1;39mslices.targete[0m - Slice Units.
[    5.566040] systemd[1]: Reached target snapd.mounts-pre.target - Mounting snaps.
[e[0;32m  OK  e[0m] Reached target e[0;1;39msnapd.mounts-pre.targete[0m - Mounting snaps.
[    5.589986] systemd[1]: Reached target snapd.mounts.target - Mounted snaps.
[e[0;32m  OK  e[0m] Reached target e[0;1;39msnapd.mounts.targete[0m - Mounted snaps.
[    5.614004] systemd[1]: Reached target swap.target - Swaps.
[e[0;32m  OK  e[0m] Reached target e[0;1;39mswap.targete[0m - Swaps.
[    5.637997] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[e[0;32m  OK  e[0m] Reached target e[0;1;39mveritysetup… - Local Verity Protected Volumes.
[    5.669247] systemd[1]: Listening on syslog.socket - Syslog Socket.
[e[0;32m  OK  e[0m] Listening on e[0;1;39msyslog.sockete[0m - Syslog Socket.
[    5.697007] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[e[0;32m  OK  e[0m] Listening on e[0;1;39msystemd-fsckd…sck to fsckd communication Socket.
[    5.722524] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[e[0;32m  OK  e[0m] Listening on e[0;1;39msystemd-initc… initctl Compatibility Named Pipe.
[    5.754094] systemd[1]: Listening on systemd-journald-audit.socket - Journal Audit Socket.
[e[0;32m  OK  e[0m] Listening on e[0;1;39msystemd-journ…sockete[0m - Journal Audit Socket.
[    5.784056] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[e[0;32m  OK  e[0m] Listening on e[0;1;39msystemd-journ…te[0m - Journal Socket (/dev/log).
[    5.813694] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[e[0;32m  OK  e[0m] Listening on e[0;1;39msystemd-journald.sockete[0m - Journal Socket.
[    5.842103] systemd[1]: Listening on systemd-networkd.socket - Network Service Netlink Socket.
[e[0;32m  OK  e[0m] Listening on e[0;1;39msystemd-netwo… - Network Service Netlink Socket.
[    5.880758] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[e[0;32m  OK  e[0m] Listening on e[0;1;39msystemd-udevd….sockete[0m - udev Control Socket.
[    5.908663] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[e[0;32m  OK  e[0m] Listening on e[0;1;39msystemd-udevd…l.sockete[0m - udev Kernel Socket.
[    5.957684] systemd[1]: Mounting dev-hugepages.mount - Huge Pages File System...
         Mounting e[0;1;39mdev-hugepages.mounte[0m - Huge Pages File System...
[    5.990622] systemd[1]: Mounting dev-mqueue.mount - POSIX Message Queue File System...
         Mounting e[0;1;39mdev-mqueue.mounte…POSIX Message Queue File System...
[    6.022753] systemd[1]: Mounting sys-kernel-debug.mount - /sys/kernel/debug...
         Mounting e[0;1;39msys-kernel-debug.mounte[0m - /sys/kernel/debug...
[    6.054349] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
         Mounting e[0;1;39msys-kernel-tracin…e[0m - Kernel Trace File System...
[    6.086671] systemd[1]: Starting systemd-journald.service - Journal Service...
         Starting e[0;1;39msystemd-journald.servicee[0m - Journal Service...
[    6.115096] systemd[1]: Starting keyboard-setup.service - Set the console keyboard layout...
         Starting e[0;1;39mkeyboard-setup.se…Set the console keyboard layout...
[    6.147319] systemd[1]: Starting kmod-static-nodes.service - Create List of Static Device Nodes...
         Starting e[0;1;39mkmod-static-nodes…ate List of Static Device Nodes...
[    6.178197] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
         Starting e[0;1;39mmodprobe@configfs…m - Load Kernel Module configfs...
[    6.206005] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
         Starting e[0;1;39mmodprobe@drm.servicee[0m - Load Kernel Module drm...
[    6.233937] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
         Starting e[0;1;39mmodprobe@efi_psto…- Load Kernel Module efi_pstore...
[    6.261969] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
         Starting e[0;1;39mmodprobe@fuse.ser…ee[0m - Load Kernel Module fuse...
[    6.286062] systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl).
[    6.307594] systemd[1]: Starting systemd-fsck-root.service - File System Check on Root Device...
         Starting e[0;1;39msystemd-fsck-root…ile System Check on Root Device...
[    6.346076] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
         Starting e[0;1;39msystemd-modules-l…rvicee[0m - Load Kernel Modules..[    6.360062] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
.
         Startin[    6.372747] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
g e[0;1;39msystemd-network-g… units from Kernel command line..[    6.389897] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
.
         Starting e[0;1;39msystemd-udev-trig…[0m - Coldplug All udev Devices...
[    6.436307] systemd[1]: Started systemd-journald.service - Journal Service.
[e[0;32m  OK  e[0m] Started e[0;1;39msystemd-journald.servicee[0m - Journal Service.
[e[0;32m  OK  e[0m] Mounted e[0;1;39mdev-hugepages.mounte[0m - Huge Pages File System.
[e[0;32m  OK  e[0m] Mounted e[0;1;39mdev-mqueue.mounte[…- POSIX Message Queue File System.
[e[0;32m  OK  e[0m] Mounted e[0;1;39msys-kernel-debug.mounte[0m - /sys/kernel/debug.
[e[0;32m  OK  e[0m] Mounted e[0;1;39msys-kernel-tracing…nte[0m - Kernel Trace File System.
[e[0;32m  OK  e[0m] Finished e[0;1;39mkeyboard-setup.se…- Set the console keyboard layout.
[e[0;32m  OK  e[0m] Finished e[0;1;39mkmod-static-nodes…reate List of Static Device Nodes.
[e[0;32m  OK  e[0m] Finished e[0;1;39mmodprobe@configfs…[0m - Load Kernel Module configfs.
[e[0;32m  OK  e[0m] Finished e[0;1;39mmodprobe@drm.servicee[0m - Load Kernel Module drm.
[e[0;32m  OK  e[0m] Finished e[0;1;39mmodprobe@efi_psto…m - Load Kernel Module efi_pstore.
[e[0;32m  OK  e[0m] Finished e[0;1;39mmodprobe@fuse.servicee[0m - Load Kernel Module fuse.
[e[0;32m  OK  e[0m] Finished e[0;1;39msystemd-fsck-root… File System Check on Root Device.
[e[0;32m  OK  e[0m] Finished e[0;1;39msystemd-modules-l…servicee[0m - Load Kernel Modules.
[e[0;32m  OK  e[0m] Finished e[0;1;39msystemd-network-g…rk units from Kernel command line.
[e[0;32m  OK  e[0m] Reached target e[0;1;39mnetwork-pre…gete[0m - Preparation for Network.
         Mounting e[0;1;39msys-fs-fuse-conne…e[0m - FUSE Control File System...
         Mounting e[0;1;39msys-kernel-config…ernel Configuration File System...
[e[0;32m  OK  e[0m] Started e[0;1;39msystemd-fsckd.serv…tem Check Daemon to report status.
         Starting e[0;1;39msystemd-remount-f…nt Root and Kernel File Systems...
[    6.813047] EXT4-fs (mmcblk0p3): re-mounted. Opts: errors=remount-ro
         Starting e[0;1;39msystemd-sysctl.se…cee[0m - Apply Kernel Variables...
[e[0;32m  OK  e[0m] Finished e[0;1;39msystemd-udev-trig…ee[0m - Coldplug All udev Devices.
[e[0;32m  OK  e[0m] Mounted e[0;1;39msys-fs-fuse-connec…nte[0m - FUSE Control File System.
[e[0;32m  OK  e[0m] Mounted e[0;1;39msys-kernel-config.… Kernel Configuration File System.
[e[0;32m  OK  e[0m] Finished e[0;1;39msystemd-remount-f…ount Root and Kernel File Systems.
[e[0;32m  OK  e[0m] Finished e[0;1;39msystemd-sysctl.servicee[0m - Apply Kernel Variables.
         Starting e[0;1;39msystemd-journal-f…h Journal to Persistent Storage...
         Starting e[0;1;39msystemd-random-se…icee[0m - Load/Save Random Seed...
         Starting e[0;1;39msystemd-sysusers.…rvicee[0m - Create System Users...
[e[0;32m  OK  e[0m] Finished e[0;1;39msystemd-sysusers.servicee[0m - Create System Users.
         Starting e[0;1;39msystemd-tmpfiles-…ate Static Device Nodes in /dev...
[e[0;32m  OK  e[0m] Finished e[0;1;39msystemd-journal-f…ush Journal to Persistent Storage.
[e[0;32m  OK  e[0m] Finished e[0;1;39msystemd-tmpfiles-…reate Static Device Nodes in /dev.
[e[0;32m  OK  e[0m] Reached target e[0;1;39mlocal-fs-pr…reparation for Local File Systems.
         Starting e[0;1;39msystemd-udevd.ser…ger for Device Events and Files...
[e[0;32m  OK  e[0m] Started e[0;1;39msystemd-udevd.serv…nager for Device Events and Files.

[20:57:12.674] Disconnected

In fact it will halt randomly anywhere during the process.

Did I miss anything? Pls help on this.

just hit it’s up… unless you are not a dialout user, or have tx line setup to the correct line…

Regards,

Thank you for your reply and it turned out you are correct: it did work. The root cause I figured out was the device is under powered for I used a 5V2A charger which is not proper for the power supply.

This could be a lesson I would like to share.

The error messages kept coming out when USB devices attached to it and I am still fighting with them.