ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.8k stars 1.86k forks source link

TQC-A01 无法启动问题 #1128

Closed 13584452567 closed 1 year ago

13584452567 commented 1 year ago

Device Information | 设备信息

Armbian Version | 系统版本

U-Boot 日志

U-Boot 2021.04-armbian (Jun 19 2021 - 13:59:15 +0000) Allwinner Technology

CPU:   Allwinner H6 (SUN50I)
Model: OrangePi 3
DRAM:  1 GiB
MMC:   mmc@4020000: 0, mmc@4021000: 2, mmc@4022000: 1
Loading Environment from FAT... Unable to use mmc 1:0... In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   No ethernet found.
starting USB...
Bus usb@5101000: USB EHCI 1.00
Bus usb@5101400: USB OHCI 1.0
Bus usb@5311000: USB EHCI 1.00
Bus usb@5311400: USB OHCI 1.0
scanning bus usb@5101000 for devices... 1 USB Device(s) found
scanning bus usb@5101400 for devices... 1 USB Device(s) found
scanning bus usb@5311000 for devices... 1 USB Device(s) found
scanning bus usb@5311400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3259 bytes read in 3 ms (1 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
311 bytes read in 2 ms (151.4 KiB/s)
Failed to load '/dtb/rockchip/sun50i-h6-tqc-a01.dtb'
Failed to load '/dtb/allwinner/overlay/sun50i-h6-fixup.scr'
8239670 bytes read in 827 ms (9.5 MiB/s)
25469440 bytes read in 2554 ms (9.5 MiB/s)
## Loading init Ramdisk from Legacy Image at 4fe00000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    8239606 Bytes = 7.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
EHCI failed to shut down host controller.
   Loading Ramdisk to 49824000, end 49fff9f6 ... OK
   Loading Device Tree to 00000000497b2000, end 0000000049823fff ... OK
fdt_find_or_add_subnode: chosen: FDT_ERR_BADSTRUCTURE
ERROR: /chosen node create failed
 - must RESET the board to recover.

FDT creation failed! hanging...### ERROR ### Please RESET the board ###

不是很明白为什么dtb加载会错误。这个U-boot借的orange pi 3的,用orange pi 3 的dtb必然不能启动,要让他加载自定义的dtb才行。

好像加载dtb的路径不太对啊

这两个报错可以通过修改dtb目录进行修复。

目前应该是启动内核了(指示灯亮了),但是没有任何日志输出。

13584452567 commented 1 year ago

在freeBSD得wiki上看到了一个保留GPT的方法: dd if=/usr/local/share/u-boot/u-boot-/u-boot-sunxi-with-spl.bin conv=sync of=/dev/sd_card_device bs=128k seek=1

arm/Allwinner/H6 The Allwinner boot process

ophub commented 1 year ago

Snip20230303_7

我刚才在Allwinner H6 Vplus上测试,用extlinux/extlinux.conf可以启动。但是用armbianEnv.txt无法启动(不过这个文件存在也不影响启动)

https://github.com/ophub/amlogic-s9xxx-armbian/commit/9e27074d8d556b5812a743e5b660288288deff23 dtb路径我也是中午发现的,1小时前已经更正了,这个路径错误坑了一周。 还有一处不同是/boot/Image,用zImage也不行(虽然boot.cmd里是zImage,我不清楚为什么不行),我调试好了更新下程序。 https://github.com/ophub/amlogic-s9xxx-armbian/blob/9e27074d8d556b5812a743e5b660288288deff23/build-armbian/armbian-files/platform-files/allwinner/bootfs/boot.cmd#L56

ophub commented 1 year ago

我更换了新的boot.cmd也可以,之前使用的是老版本的。

我是用armbian-install写入的,对于allwinner目前的固件,用dd应该也一样,没区别。

Snip20230303_14

Snip20230303_15

Snip20230303_16

Snip20230303_8

Snip20230303_13

13584452567 commented 1 year ago
U-Boot 2021.04-armbian (Jun 19 2021 - 13:59:15 +0000) Allwinner Technology

CPU:   Allwinner H6 (SUN50I)
Model: OrangePi 3
DRAM:  1 GiB
MMC:   mmc@4020000: 0, mmc@4021000: 2, mmc@4022000: 1
Loading Environment from FAT... Unable to use mmc 1:0... In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   No ethernet found.
starting USB...
Bus usb@5101000: USB EHCI 1.00
Bus usb@5101400: USB OHCI 1.0
Bus usb@5311000: USB EHCI 1.00
Bus usb@5311400: USB OHCI 1.0
scanning bus usb@5101000 for devices... 1 USB Device(s) found
scanning bus usb@5101400 for devices... 1 USB Device(s) found
scanning bus usb@5311000 for devices... 1 USB Device(s) found
scanning bus usb@5311400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
367 bytes read in 3 ms (119.1 KiB/s)
1:      Armbian
Retrieving file: /uInitrd
8239670 bytes read in 846 ms (9.3 MiB/s)
Retrieving file: /Image
25469440 bytes read in 2602 ms (9.3 MiB/s)
append: root=UUID=c1a53b5d-3b65-4666-9fef-71a0ae7fabb1 rootflags=data=writeback                                                                                                     rw rootfstype=ext4 console=ttyS0,115200 console=tty0 mem=2048M video=HDMI-A-1:e                                                                                                     no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 boo                                                                                                    tsplash.bootfile=bootsplash.armbian
Retrieving file: /dtb/allwinner/sun50i-h6-tqc-a01.dtb
33785 bytes read in 17 ms (1.9 MiB/s)
## Loading init Ramdisk from Legacy Image at 4fe00000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    8239606 Bytes = 7.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
EHCI failed to shut down host controller.
   Loading Ramdisk to 49824000, end 49fff9f6 ... OK
   Loading Device Tree to 0000000049818000, end 00000000498233f8 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.96-flippy-82+o (root@univm25) (Ubuntu clang ve                                                                                                    rsion 14.0.0-1ubuntu1, Ubuntu LLD 14.0.0) #213 SMP PREEMPT Sun Feb 26 20:57:38 C                                                                                                    ST 2023
[    0.000000] Machine model: TQC A01
[    0.000000] Memory limited to 2048MB
[    0.000000] efi: UEFI not found.
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000007fffffff]
[    0.000000] cma: Reserved 256 MiB at 0x000000006ec00000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] percpu: Embedded 19 pages/cpu s37720 r8192 d31912 u77824
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[    0.000000] Kernel command line: root=UUID=c1a53b5d-3b65-4666-9fef-71a0ae7fab                                                                                                    b1 rootflags=data=writeback rw rootfstype=ext4 console=ttyS0,115200 console=tty0                                                                                                     mem=2048M video=HDMI-A-1:e no_console_suspend consoleblank=0 fsck.fix=yes fsck.                                                                                                    repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash.armbian
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes,                                                                                                     linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, li                                                                                                    near)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 734112K/1048576K available (15296K kernel code, 2728K rwd                                                                                                    ata, 4716K rodata, 1984K init, 887K bss, 52320K 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=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 30 jif                                                                                                    fies.
[    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] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    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.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 43980                                                                                                    46511097ns
[    0.000663] Console: colour dummy device 80x25
[    0.001110] printk: console [tty0] enabled
[    0.001183] Calibrating delay loop (skipped), value calculated using timer fr                                                                                                    equency.. 48.00 BogoMIPS (lpj=80000)
[    0.001215] pid_max: default: 32768 minimum: 301
[    0.001495] LSM: Security Framework initializing
[    0.001611] SELinux:  Initializing.
[    0.001926] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, line                                                                                                    ar)
[    0.001956] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes,                                                                                                     linear)
[    0.004724] rcu: Hierarchical SRCU implementation.
[    0.006024] EFI services will not be available.
[    0.006424] smp: Bringing up secondary CPUs ...
[    0.007476] Detected VIPT I-cache on CPU1
[    0.007545] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.008442] Detected VIPT I-cache on CPU2
[    0.008483] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.009305] Detected VIPT I-cache on CPU3
[    0.009341] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.009429] smp: Brought up 1 node, 4 CPUs
[    0.009509] SMP: Total of 4 processors activated.
[    0.009524] CPU features: detected: 32-bit EL0 Support
[    0.009537] CPU features: detected: 32-bit EL1 Support
[    0.009553] CPU features: detected: CRC32 instructions
[    0.010636] CPU: All CPU(s) started at EL2
[    0.010674] alternatives: patching kernel code
[    0.012560] devtmpfs: initialized
[    0.021636] Registered cp15_barrier emulation handler
[    0.021682] Registered setend emulation handler
[    0.021852] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                                                                    x_idle_ns: 6370867519511994 ns
[    0.021890] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.031148] prandom: seed boundary self test passed
[    0.032709] prandom: 100 self tests passed
[    0.062951] prandom32: self test passed (less than 6 bits correlated)
[    0.063017] pinctrl core: initialized pinctrl subsystem
[    0.063839] DMI not present or invalid.
[    0.064443] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.067089] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[    0.067342] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allo                                                                                                    cations
[    0.067557] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic al                                                                                                    locations
[    0.067658] audit: initializing netlink subsys (disabled)
[    0.067879] audit: type=2000 audit(0.066:1): state=initialized audit_enabled=                                                                                                    0 res=1
[    0.069047] thermal_sys: Registered thermal governor 'step_wise'
[    0.069489] cpuidle: using governor ladder
[    0.069700] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.069840] ASID allocator initialised with 65536 entries
[    0.070034] Serial: AMBA PL011 UART driver
[    0.091183] platform 6510000.tcon-top: Fixing up cyclic dependency with 60000                                                                                                    00.hdmi
[    0.091759] platform 6515000.lcd-controller: Fixing up cyclic dependency with                                                                                                     6510000.tcon-top
[    0.095126] platform connector: Fixing up cyclic dependency with 6000000.hdmi
[    0.108086] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.108126] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.108145] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.108164] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.960998] cryptd: max_cpu_qlen set to 1000
[    1.965771] "cryptomgr_test" (91) uses obsolete ecb(arc4) skcipher
[    1.980318] alg: No test for 842 (842-generic)
[    1.980524] alg: No test for 842 (842-scomp)
[    2.098676] DRBG: Continuing without Jitter RNG
[    2.190938] raid6: neonx8   gen()  1686 MB/s
[    2.247708] raid6: neonx8   xor()  1216 MB/s
[    2.304480] raid6: neonx4   gen()  1674 MB/s
[    2.361273] raid6: neonx4   xor()  1168 MB/s
[    2.418101] raid6: neonx2   gen()  1544 MB/s
[    2.474831] raid6: neonx2   xor()  1091 MB/s
[    2.531606] raid6: neonx1   gen()  1256 MB/s
[    2.588356] raid6: neonx1   xor()   892 MB/s
[    2.645130] raid6: int64x8  gen()  1145 MB/s
[    2.701875] raid6: int64x8  xor()   609 MB/s
[    2.758653] raid6: int64x4  gen()  1232 MB/s
[    2.815405] raid6: int64x4  xor()   625 MB/s
[    2.872183] raid6: int64x2  gen()  1050 MB/s
[    2.928929] raid6: int64x2  xor()   562 MB/s
[    2.985706] raid6: int64x1  gen()   885 MB/s
[    3.042453] raid6: int64x1  xor()   442 MB/s
[    3.042470] raid6: using algorithm neonx8 gen() 1686 MB/s
[    3.042486] raid6: .... xor() 1216 MB/s, rmw enabled
[    3.042500] raid6: using neon recovery algorithm
[    3.042787] fbcon: Taking over console
[    3.042831] ACPI: Interpreter disabled.
[    3.044176] vcc33-wifi: supplied by vcc-5v
[    3.044600] vcc-wifi-io: supplied by vcc33-wifi
[    3.045044] iommu: Default domain type: Translated
[    3.045062] iommu: DMA domain TLB invalidation policy: strict mode
[    3.045440] vgaarb: loaded
[    3.046100] SCSI subsystem initialized
[    3.046422] usbcore: registered new interface driver usbfs
[    3.046485] usbcore: registered new interface driver hub
[    3.046541] usbcore: registered new device driver usb
[    3.047012] mc: Linux media interface: v0.10
[    3.047057] videodev: Linux video capture interface: v2.00
[    3.047361] EDAC MC: Ver: 3.0.0
[    3.048528] Advanced Linux Sound Architecture Driver Initialized.
[    3.049672] clocksource: Switched to clocksource arch_sys_counter
[    3.050056] VFS: Disk quotas dquot_6.6.0
[    3.050156] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    3.050357] FS-Cache: Loaded
[    3.050844] pnp: PnP ACPI: disabled
[    3.060312] NET: Registered PF_INET protocol family
[    3.060506] IP idents hash table entries: 16384 (order: 5, 131072 bytes, line                                                                                                    ar)
[    3.061576] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192                                                                                                     bytes, linear)
[    3.061623] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes,                                                                                                     linear)
[    3.061652] TCP established hash table entries: 8192 (order: 4, 65536 bytes,                                                                                                     linear)
[    3.061815] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear                                                                                                    )
[    3.061981] TCP: Hash tables configured (established 8192 bind 8192)
[    3.062240] MPTCP token hash table entries: 1024 (order: 2, 24576 bytes, line                                                                                                    ar)
[    3.062333] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    3.062382] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    3.062583] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    3.062631] NET: Registered PF_XDP protocol family
[    3.062655] PCI: CLS 0 bytes, default 64
[    3.062968] Trying to unpack rootfs image as initramfs...
[    3.074008] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counte                                                                                                    rs available
[    3.074571] kvm [1]: IPA Size Limit: 40 bits
[    3.075597] kvm [1]: vgic interrupt IRQ9
[    3.075776] kvm [1]: Hyp mode initialized successfully
[    3.760351] Freeing initrd memory: 8044K
[    4.013387] Initialise system trusted keyrings
[    4.013649] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    4.023019] zbud: loaded
[    4.025198] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.025888] fuse: init (API version 7.34)
[    4.026634] SGI XFS with ACLs, security attributes, quota, no debug enabled
[    4.079833] NET: Registered PF_ALG protocol family
[    4.146404] xor: measuring software checksum speed
[    4.152740]    8regs           :  1559 MB/sec
[    4.157226]    32regs          :  2211 MB/sec
[    4.163270]    arm64_neon      :  1634 MB/sec
[    4.163286] xor: using function: 32regs (2211 MB/sec)
[    4.163307] Key type asymmetric registered
[    4.163322] Asymmetric key parser 'x509' registered
[    4.163442] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                                                                    45)
[    4.163619] io scheduler mq-deadline registered
[    4.163638] io scheduler kyber registered
[    4.163828] io scheduler bfq registered
[    4.167050] sun50i-de2-bus 1000000.bus: Error couldn't map SRAM to device
[    4.178452] sun50i-h6-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[    4.199447] Serial: 8250/16550 driver, 5 ports, IRQ sharing enabled
[    4.201818] Serial: AMBA driver
[    4.210343] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    4.213298] brd: module loaded
[    4.218479] loop: module loaded
[    4.226504] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.226570] ehci-pci: EHCI PCI platform driver
[    4.226636] ehci-platform: EHCI generic platform driver
[    4.227252] usbcore: registered new interface driver cdc_wdm
[    4.227321] usbcore: registered new interface driver usb-storage
[    4.227870] mousedev: PS/2 mouse device common for all mice
[    4.229158] SPI driver rmi4_spi has no spi_device_id for syna,rmi4-spi
[    4.230466] sun6i-rtc 7000000.rtc: registered as rtc0
[    4.230508] sun6i-rtc 7000000.rtc: setting system clock to 1970-01-01T00:56:1                                                                                                    3 UTC (3373)
[    4.230538] sun6i-rtc 7000000.rtc: RTC enabled
[    4.230683] i2c_dev: i2c /dev entries driver
[    4.231159] sun50i-h6-r-pinctrl 7022000.pinctrl: supply vcc-pl not found, usi                                                                                                    ng dummy regulator
[    4.232702] axp20x-i2c 0-0036: AXP20x variant AXP806 found
[    4.236616] input: axp20x-pek as /devices/platform/soc/7081400.i2c/i2c-0/0-00                                                                                                    36/axp221-pek/input/input0
[    4.240460] vdd-cpu: supplied by vcc-5v
[    4.241943] vdd-gpu: supplied by vcc-5v
[    4.242558] vdd-sys: supplied by vcc-5v
[    4.243372] vcc-dram: supplied by vcc-5v
[    4.244119] vcc-pl-led-ir: supplied by vcc-5v
[    4.244879] vcc33-audio-tv-ephy-mac: supplied by vcc-5v
[    4.245672] vcc33-io-pd-emmc-sd-usb-uart-1: supplied by vcc-5v
[    4.246413] vcc18-dram-bias-pll: supplied by vcc-5v
[    4.247619] vcc-efuse-pcie-hdmi-pc: supplied by vcc-5v
[    4.248588] bldo3: supplied by vcc-5v
[    4.249351] bldo4: supplied by vcc-5v
[    4.249935] vcc33-io-pd-emmc-sd-usb-uart-2: supplied by vcc-5v
[    4.250938] cldo2: supplied by vcc-5v
[    4.251694] cldo3: supplied by vcc-5v
[    4.252110] sw: supplied by regulator-dummy
[    4.252241] axp20x-i2c 0-0036: AXP20X driver loaded
[    4.258329] sdhci: Secure Digital Host Controller Interface driver
[    4.258357] sdhci: Copyright(c) Pierre Ossman
[    4.258372] Synopsys Designware Multimedia Card Interface Driver
[    4.259509] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.262420] sun8i-ce 1904000.crypto: Set mod clock to 300000000 (300 Mhz) fro                                                                                                    m 24000000 (24 Mhz)
[    4.262776] sun8i-ce 1904000.crypto: will run requests pump with realtime pri                                                                                                    ority
[    4.262951] sun8i-ce 1904000.crypto: will run requests pump with realtime pri                                                                                                    ority
[    4.263119] sun8i-ce 1904000.crypto: will run requests pump with realtime pri                                                                                                    ority
[    4.263262] sun8i-ce 1904000.crypto: will run requests pump with realtime pri                                                                                                    ority
[    4.263371] sun8i-ce 1904000.crypto: Register cbc(aes)
[    4.266110] sun8i-ce 1904000.crypto: Register ecb(aes)
[    4.268203] sun8i-ce 1904000.crypto: Register cbc(des3_ede)
[    4.281210] sun8i-ce 1904000.crypto: Register ecb(des3_ede)
[    4.293764] sun8i-ce 1904000.crypto: Register md5
[    4.321875] sun8i-ce 1904000.crypto: Register sha1
[    4.350208] sun8i-ce 1904000.crypto: Register sha224
[    4.378537] sun8i-ce 1904000.crypto: Register sha256
[    4.406933] sun8i-ce 1904000.crypto: Register sha384
[    4.435108] sun8i-ce 1904000.crypto: Register sha512
[    4.463662] sun8i-ce 1904000.crypto: Register stdrng
[    4.463906] alg: No test for stdrng (sun8i-ce-prng)
[    4.464590] sun8i-ce 1904000.crypto: CryptoEngine Die ID 0
[    4.465918] hid: raw HID events driver (C) Jiri Kosina
[    4.465983] random: crng init done
[    4.466088] usbcore: registered new interface driver usbhid
[    4.466107] usbhid: USB HID core driver
[    4.472205] Initializing XFRM netlink socket
[    4.472861] NET: Registered PF_INET6 protocol family
[    4.514084] Segment Routing with IPv6
[    4.514119] RPL Segment Routing with IPv6
[    4.514171] In-situ OAM (IOAM) with IPv6
[    4.514363] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.518439] bpfilter: Loaded bpfilter_umh pid 329
[    4.519239] NET: Registered PF_PACKET protocol family
[    4.519307] NET: Registered PF_KEY protocol family
[    4.519468] 8021q: 802.1Q VLAN Support v1.8
[    4.520006] registered taskstats version 1
[    4.520035] Loading compiled-in X.509 certificates
[    4.522989] zswap: loaded using pool zstd/zbud
[    4.523684] Key type .fscrypt registered
[    4.523701] Key type fscrypt-provisioning registered
[    4.524854] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[    4.550568] platform 1100000.mixer: Fixing up cyclic dependency with 6510000.                                                                                                    tcon-top
[    4.551417] sun8i-mixer 1100000.mixer: Adding to iommu group 0
[    4.558339] sun50i-h6-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[    4.559466] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pb not found, using                                                                                                     dummy regulator
[    4.560598] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-ph not found, using                                                                                                     dummy regulator
[    4.561225] printk: console [ttyS0] disabled
[    4.561330] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 33, base_baud = 15                                                                                                    00000) is a 16550A
[    5.984260] printk: console [ttyS0] enabled
[    5.990421] 5000400.serial: ttyS1 at MMIO 0x5000400 (irq = 34, base_baud = 15                                                                                                    00000) is a 16550A
[    5.999312] serial serial0: tty port ttyS1 registered
[    6.006500] sun4i-drm display-engine: Adding to iommu group 0
[    6.032534] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffffffc00a2f                                                                                                    5618)
[    6.040429] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffffffc00                                                                                                    a2f9098)
[    6.048649] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xfff                                                                                                    fffc00a2f0e20)
[    6.057133] sun8i-dw-hdmi 6000000.hdmi: supply hvcc not found, using dummy re                                                                                                    gulator
[    6.065429] sun8i-dw-hdmi 6000000.hdmi: Detected HDMI TX controller v2.12a wi                                                                                                    th HDCP (DWC HDMI 2.0 TX PHY)
[    6.075747] sun8i-dw-hdmi 6000000.hdmi: registered DesignWare HDMI I2C bus dr                                                                                                    iver
[    6.084663] Registered IR keymap rc-cec
[    6.088635] rc rc0: dw_hdmi as /devices/platform/soc/6000000.hdmi/rc/rc0
[    6.095538] input: dw_hdmi as /devices/platform/soc/6000000.hdmi/rc/rc0/input                                                                                                    1
[    6.103164] [drm] forcing HDMI-A-1 connector on
[    6.107737] sun4i-drm display-engine: bound 6000000.hdmi (ops 0xffffffc00a2f4                                                                                                    190)
[    6.115911] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on                                                                                                     minor 0
[    6.160790] Console: switching to colour frame buffer device 128x48
[    6.194912] sun4i-drm display-engine: [drm] fb0: sun4i-drmdrmfb frame buffer                                                                                                     device
[    6.205039] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pa not found, using                                                                                                     dummy regulator
[    6.214045] dwmac-sun8i 5020000.ethernet: IRQ eth_wake_irq not found
[    6.220554] dwmac-sun8i 5020000.ethernet: IRQ eth_lpi not found
[    6.226710] dwmac-sun8i 5020000.ethernet: No regulator found
[    6.232661] dwmac-sun8i 5020000.ethernet: PTP uses main clock
[    6.238577] dwmac-sun8i 5020000.ethernet: Current syscon value is not the def                                                                                                    ault 58000 (expect 50000)
[    6.248390] dwmac-sun8i 5020000.ethernet: No HW DMA feature register supporte                                                                                                    d
[    6.255782] dwmac-sun8i 5020000.ethernet: RX Checksum Offload Engine supporte                                                                                                    d
[    6.263166] dwmac-sun8i 5020000.ethernet: COE Type 2
[    6.268250] dwmac-sun8i 5020000.ethernet: TX Checksum insertion supported
[    6.275192] dwmac-sun8i 5020000.ethernet: Normal descriptors
[    6.280983] dwmac-sun8i 5020000.ethernet: Chain mode enabled
[    6.398852] dwmac-sun8i 5020000.ethernet: EMAC reset timeout
[    6.404676] dwmac-sun8i 5020000.ethernet eth0: stmmac_dvr_remove: removing dr                                                                                                    iver
[    6.440415] dwmac-sun8i: probe of 5020000.ethernet failed with error -110
[    6.449843] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    6.455740] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus nu                                                                                                    mber 1
[    6.463772] xhci-hcd xhci-hcd.4.auto: hcc params 0x0220f064 hci version 0x100                                                                                                     quirks 0x0000000002010010
[    6.473470] xhci-hcd xhci-hcd.4.auto: irq 41, io mem 0x05200000
[    6.479853] xhci-hcd xhci-hcd.4.auto: xHCI Host Controller
[    6.485654] xhci-hcd xhci-hcd.4.auto: new USB bus registered, assigned bus nu                                                                                                    mber 2
[    6.493501] xhci-hcd xhci-hcd.4.auto: Host supports USB 3.0 SuperSpeed
[    6.505455] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bc                                                                                                    dDevice= 5.15
[    6.518996] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                                                                    1
[    6.531469] usb usb1: Product: xHCI Host Controller
[    6.541605] usb usb1: Manufacturer: Linux 5.15.96-flippy-82+o xhci-hcd
[    6.553351] usb usb1: SerialNumber: xhci-hcd.4.auto
[    6.563920] hub 1-0:1.0: USB hub found
[    6.572762] hub 1-0:1.0: 1 port detected
[    6.582099] usb usb2: We don't know the algorithms for LPM for this host, dis                                                                                                    abling LPM.
[    6.595383] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bc                                                                                                    dDevice= 5.15
[    6.608796] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                                                                    1
[    6.621103] usb usb2: Product: xHCI Host Controller
[    6.630890] usb usb2: Manufacturer: Linux 5.15.96-flippy-82+o xhci-hcd
[    6.642412] usb usb2: SerialNumber: xhci-hcd.4.auto
[    6.652603] hub 2-0:1.0: USB hub found
[    6.661222] hub 2-0:1.0: 1 port detected
[    6.685039] cpufreq: cpufreq_online: CPU0: Running at unlisted initial freque                                                                                                    ncy: 912000 KHz, changing to: 1080000 KHz
[    6.702450] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pf not found, using                                                                                                     dummy regulator
[    6.704835] ehci-platform 5101000.usb: EHCI Host Controller
[    6.705479] sunxi-mmc 4021000.mmc: allocated mmc-pwrseq
[    6.728903] sunxi-mmc 4022000.mmc: initialized, max. request size: 2048 KB, u                                                                                                    ses new timings mode
[    6.729724] ehci-platform 5101000.usb: new USB bus registered, assigned bus n                                                                                                    umber 3
[    6.752318] ehci-platform 5101000.usb: irq 39, io mem 0x05101000
[    6.776476] ehci-platform 5101000.usb: USB 2.0 started, EHCI 1.00
[    6.785300] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bc                                                                                                    dDevice= 5.15
[    6.796125] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                                                                    1
[    6.805796] usb usb3: Product: EHCI Host Controller
[    6.813129] usb usb3: Manufacturer: Linux 5.15.96-flippy-82+o ehci_hcd
[    6.822112] usb usb3: SerialNumber: 5101000.usb
[    6.825319] mmc0: new DDR MMC card at address 0001
[    6.829494] hub 3-0:1.0: USB hub found
[    6.836941] mmcblk0: mmc0:0001 NCard  7.28 GiB
[    6.842555] hub 3-0:1.0: 1 port detected
[    6.851512] mmcblk0boot0: mmc0:0001 NCard  4.00 MiB
[    6.857020] ehci-platform 5311000.usb: EHCI Host Controller
[    6.864371] mmcblk0boot1: mmc0:0001 NCard  4.00 MiB
[    6.871496] ehci-platform 5311000.usb: new USB bus registered, assigned bus n                                                                                                    umber 4
[    6.889934] ehci-platform 5311000.usb: irq 42, io mem 0x05311000
[    6.913109] ehci-platform 5311000.usb: USB 2.0 started, EHCI 1.00
[    6.921842] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bc                                                                                                    dDevice= 5.15
[    6.932737] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                                                                    1
[    6.935564] sunxi-mmc 4021000.mmc: initialized, max. request size: 16384 KB,                                                                                                     uses new timings mode
[    6.942491] usb usb4: Product: EHCI Host Controller
[    6.961611] usb usb4: Manufacturer: Linux 5.15.96-flippy-82+o ehci_hcd
[    6.970757] usb usb4: SerialNumber: 5311000.usb
[    6.978249] hub 4-0:1.0: USB hub found
[    6.984556] hub 4-0:1.0: 1 port detected
[    6.992742] ALSA device list:
[    6.992875] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pf not found, using                                                                                                     dummy regulator
[    6.998279]   No soundcards found.
[    7.015955] Freeing unused kernel memory: 1984K
[    7.036374] Run /init as init process
[    7.063935] mmc1: new high speed SDIO card at address 0001
[    7.405298] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.421513] ohci-platform: OHCI generic platform driver
[    7.434677] ohci-platform 5101400.usb: Generic Platform OHCI controller
[    7.438959] sunxi-mmc 4022000.mmc: data error, sending stop command
[    7.452926] sunxi-mmc 4022000.mmc: send stop command failed
[    7.461737] sunxi-mmc 4022000.mmc: data error, sending stop command
[    7.470727] ohci-platform 5101400.usb: new USB bus registered, assigned bus n                                                                                                    umber 5
[    7.481318] ohci-platform 5101400.usb: irq 40, io mem 0x05101400
[    7.550499] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001, bc                                                                                                    dDevice= 5.15
[    7.561357] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                                                                    1
[    7.571065] usb usb5: Product: Generic Platform OHCI controller
[    7.579437] usb usb5: Manufacturer: Linux 5.15.96-flippy-82+o ohci_hcd
[    7.588423] usb usb5: SerialNumber: 5101400.usb
[    7.595841] hub 5-0:1.0: USB hub found
[    7.602013] hub 5-0:1.0: 1 port detected
[    7.608917] ohci-platform 5311400.usb: Generic Platform OHCI controller
[    7.610363] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pf not found, using                                                                                                     dummy regulator
[    7.618393] ohci-platform 5311400.usb: new USB bus registered, assigned bus n                                                                                                    umber 6
[    7.639296] ohci-platform 5311400.usb: irq 43, io mem 0x05311400
[    7.707140] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001, bc                                                                                                    dDevice= 5.15
[    7.717876] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                                                                    1
[    7.727553] usb usb6: Product: Generic Platform OHCI controller
[    7.735931] usb usb6: Manufacturer: Linux 5.15.96-flippy-82+o ohci_hcd
[    7.744932] usb usb6: SerialNumber: 5311400.usb
[    7.752352] hub 6-0:1.0: USB hub found
[    7.758599] hub 6-0:1.0: 1 port detected
[    7.769991] sun50i-h6-pinctrl 300b000.pinctrl: supply vcc-pf not found, using                                                                                                     dummy regulator
[    8.469665] sunxi-mmc 4022000.mmc: send stop command failed
[  245.389803] INFO: task kworker/0:1H:352 blocked for more than 122 seconds.
[  245.403101]       Not tainted 5.15.96-flippy-82+o #213
[  245.414501] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this                                                                                                     message.
[  245.428626] task:kworker/0:1H    state:D stack:    0 pid:  352 ppid:     2 fl                                                                                                    ags:0x00000008
[  245.443433] Workqueue: mmc_complete mmc_blk_mq_complete_work
[  245.454782] Call trace:
[  245.462878]  __switch_to+0x160/0x20c
[  245.470747]  __schedule+0x500/0x6a0
[  245.478537]  schedule+0x94/0xd4
[  245.485099]  schedule_timeout+0x34/0x12c
[  245.492465]  wait_for_common+0xa4/0x130
[  245.499273]  wait_for_completion+0x18/0x24
[  245.506370]  mmc_wait_for_req_done+0x30/0x118
[  245.513710]  mmc_wait_for_req+0xc0/0xd8
[  245.520252]  mmc_wait_for_cmd+0x64/0x9c
[  245.526589]  __mmc_send_status+0x68/0xa4
[  245.532998]  mmc_blk_mq_rw_recovery+0x5c/0x42c
[  245.539753]  mmc_blk_mq_complete_prev_req+0xe0/0x244
[  245.547014]  mmc_blk_mq_complete_work+0x18/0x24
[  245.553802]  process_one_work+0x1d4/0x2bc
[  245.560067]  worker_thread+0x278/0x514
[  245.566063]  kthread+0x144/0x170
[  245.571494]  ret_from_fork+0x10/0x20
[  368.269744] INFO: task kworker/1:1H:328 blocked for more than 122 seconds.
[  368.285144]       Not tainted 5.15.96-flippy-82+o #213
[  368.292496] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this                                                                                                     message.
[  368.302555] task:kworker/1:1H    state:D stack:    0 pid:  328 ppid:     2 fl                                                                                                    ags:0x00000008
[  368.313174] Workqueue: kblockd blk_mq_run_work_fn
[  368.320142] Call trace:
[  368.324820]  __switch_to+0x160/0x20c
[  368.330656]  __schedule+0x500/0x6a0
[  368.336366]  schedule+0x94/0xd4
[  368.341672]  __mmc_claim_host+0xb0/0x1e4
[  368.347725]  mmc_get_card+0x34/0x44
[  368.353323]  mmc_mq_queue_rq+0x1b8/0x27c
[  368.359313]  blk_mq_dispatch_rq_list+0x344/0x848
[  368.365979]  blk_mq_do_dispatch_sched+0x160/0x32c
[  368.372712]  __blk_mq_sched_dispatch_requests+0x104/0x17c
[  368.380142]  blk_mq_sched_dispatch_requests+0x38/0x6c
[  368.387224]  __blk_mq_run_hw_queue+0x74/0xbc
[  368.393521]  blk_mq_run_work_fn+0x1c/0x28
[  368.399570]  process_one_work+0x1d4/0x2bc
[  368.405575]  worker_thread+0x278/0x514
[  368.411270]  kthread+0x144/0x170
[  368.416411]  ret_from_fork+0x10/0x20
[  368.421911] INFO: task kworker/0:1H:352 blocked for more than 245 seconds.
[  368.430712]       Not tainted 5.15.96-flippy-82+o #213
[  368.437761] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this                                                                                                     message.
[  368.447524] task:kworker/0:1H    state:D stack:    0 pid:  352 ppid:     2 fl                                                                                                    ags:0x00000008
[  368.457832] Workqueue: mmc_complete mmc_blk_mq_complete_work
[  368.465427] Call trace:
[  368.469746]  __switch_to+0x160/0x20c
[  368.475163]  __schedule+0x500/0x6a0
[  368.480468]  schedule+0x94/0xd4
[  368.485420]  schedule_timeout+0x34/0x12c
[  368.491160]  wait_for_common+0xa4/0x130
[  368.496815]  wait_for_completion+0x18/0x24
[  368.502731]  mmc_wait_for_req_done+0x30/0x118
[  368.508913]  mmc_wait_for_req+0xc0/0xd8
[  368.514569]  mmc_wait_for_cmd+0x64/0x9c
[  368.520205]  __mmc_send_status+0x68/0xa4
[  368.525942]  mmc_blk_mq_rw_recovery+0x5c/0x42c
[  368.532223]  mmc_blk_mq_complete_prev_req+0xe0/0x244
[  368.539034]  mmc_blk_mq_complete_work+0x18/0x24
[  368.545393]  process_one_work+0x1d4/0x2bc
[  368.551233]  worker_thread+0x278/0x514
[  368.556814]  kthread+0x144/0x170
[  368.561863]  ret_from_fork+0x10/0x20
[  368.567263] INFO: task kworker/0:2H:389 blocked for more than 122 seconds.
[  368.576013]       Not tainted 5.15.96-flippy-82+o #213
[  368.583044] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this                                                                                                     message.
[  368.592796] task:kworker/0:2H    state:D stack:    0 pid:  389 ppid:     2 fl                                                                                                    ags:0x00000008
[  368.603097] Workqueue: kblockd blk_mq_run_work_fn
[  368.609718] Call trace:
[  368.614016]  __switch_to+0x160/0x20c
[  368.619419]  __schedule+0x500/0x6a0
[  368.624713]  schedule+0x94/0xd4
[  368.629658]  __mmc_claim_host+0xb0/0x1e4
[  368.635395]  mmc_get_card+0x34/0x44
[  368.640702]  mmc_mq_queue_rq+0x1b8/0x27c
[  368.646447]  blk_mq_dispatch_rq_list+0x344/0x848
[  368.652885]  blk_mq_do_dispatch_sched+0x160/0x32c
[  368.659424]  __blk_mq_sched_dispatch_requests+0x104/0x17c
[  368.666676]  blk_mq_sched_dispatch_requests+0x38/0x6c
[  368.673593]  __blk_mq_run_hw_queue+0x74/0xbc
[  368.679716]  blk_mq_run_work_fn+0x1c/0x28
[  368.685566]  process_one_work+0x1d4/0x2bc
[  368.691403]  worker_thread+0x278/0x514
[  368.696976]  kthread+0x144/0x170
[  368.702019]  ret_from_fork+0x10/0x20
[  491.149732] INFO: task kworker/1:1H:328 blocked for more than 245 seconds.
[  491.163937]       Not tainted 5.15.96-flippy-82+o #213
[  491.171002] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  491.180768] task:kworker/1:1H    state:D stack:    0 pid:  328 ppid:     2 flags:0x00000008
[  491.191084] Workqueue: kblockd blk_mq_run_work_fn
[  491.197725] Call trace:
[  491.202036]  __switch_to+0x160/0x20c
[  491.207452]  __schedule+0x500/0x6a0
[  491.212752]  schedule+0x94/0xd4
[  491.217695]  __mmc_claim_host+0xb0/0x1e4
[  491.223435]  mmc_get_card+0x34/0x44
[  491.228739]  mmc_mq_queue_rq+0x1b8/0x27c
[  491.234489]  blk_mq_dispatch_rq_list+0x344/0x848
[  491.240942]  blk_mq_do_dispatch_sched+0x160/0x32c
[  491.247494]  __blk_mq_sched_dispatch_requests+0x104/0x17c
[  491.254757]  blk_mq_sched_dispatch_requests+0x38/0x6c
[  491.261694]  __blk_mq_run_hw_queue+0x74/0xbc
[  491.267870]  blk_mq_run_work_fn+0x1c/0x28
[  491.273787]  process_one_work+0x1d4/0x2bc
[  491.279708]  worker_thread+0x278/0x514
[  491.285358]  kthread+0x144/0x170
[  491.290486]  ret_from_fork+0x10/0x20
[  491.295970] INFO: task kworker/0:1H:352 blocked for more than 368 seconds.
[  491.304791]       Not tainted 5.15.96-flippy-82+o #213
[  491.311894] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  491.321758] task:kworker/0:1H    state:D stack:    0 pid:  352 ppid:     2 flags:0x00000008
[  491.332173] Workqueue: mmc_complete mmc_blk_mq_complete_work
[  491.339886] Call trace:
[  491.344328]  __switch_to+0x160/0x20c
[  491.349864]  __schedule+0x500/0x6a0
[  491.355267]  schedule+0x94/0xd4
[  491.360308]  schedule_timeout+0x34/0x12c
[  491.366134]  wait_for_common+0xa4/0x130
[  491.371878]  wait_for_completion+0x18/0x24
[  491.377879]  mmc_wait_for_req_done+0x30/0x118
[  491.384143]  mmc_wait_for_req+0xc0/0xd8
[  491.389871]  mmc_wait_for_cmd+0x64/0x9c
[  491.395587]  __mmc_send_status+0x68/0xa4
[  491.401390]  mmc_blk_mq_rw_recovery+0x5c/0x42c
[  491.407724]  mmc_blk_mq_complete_prev_req+0xe0/0x244
[  491.414566]  mmc_blk_mq_complete_work+0x18/0x24
[  491.420948]  process_one_work+0x1d4/0x2bc
[  491.426800]  worker_thread+0x278/0x514
[  491.432384]  kthread+0x144/0x170
[  491.437440]  ret_from_fork+0x10/0x20
[  491.442851] INFO: task kworker/0:2H:389 blocked for more than 245 seconds.
[  491.451613]       Not tainted 5.15.96-flippy-82+o #213
[  491.458656] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  491.468418] task:kworker/0:2H    state:D stack:    0 pid:  389 ppid:     2 flags:0x00000008
[  491.478729] Workqueue: kblockd blk_mq_run_work_fn
[  491.485356] Call trace:
[  491.489663]  __switch_to+0x160/0x20c
[  491.495072]  __schedule+0x500/0x6a0
[  491.500378]  schedule+0x94/0xd4
[  491.505332]  __mmc_claim_host+0xb0/0x1e4
[  491.511081]  mmc_get_card+0x34/0x44
[  491.516397]  mmc_mq_queue_rq+0x1b8/0x27c
[  491.522150]  blk_mq_dispatch_rq_list+0x344/0x848
[  491.528607]  blk_mq_do_dispatch_sched+0x160/0x32c
[  491.535159]  __blk_mq_sched_dispatch_requests+0x104/0x17c
[  491.542423]  blk_mq_sched_dispatch_requests+0x38/0x6c
[  491.549349]  __blk_mq_run_hw_queue+0x74/0xbc
[  491.555485]  blk_mq_run_work_fn+0x1c/0x28
[  491.561345]  process_one_work+0x1d4/0x2bc
[  491.567193]  worker_thread+0x278/0x514
[  491.572775]  kthread+0x144/0x170
[  491.577826]  ret_from_fork+0x10/0x20
[  614.029698] INFO: task kworker/1:1H:328 blocked for more than 368 seconds.
[  614.043927]       Not tainted 5.15.96-flippy-82+o #213
[  614.050997] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  614.060766] task:kworker/1:1H    state:D stack:    0 pid:  328 ppid:     2 flags:0x00000008
[  614.071084] Workqueue: kblockd blk_mq_run_work_fn
[  614.077725] Call trace:
[  614.082036]  __switch_to+0x160/0x20c
[  614.087452]  __schedule+0x500/0x6a0
[  614.092751]  schedule+0x94/0xd4
[  614.097695]  __mmc_claim_host+0xb0/0x1e4
[  614.103437]  mmc_get_card+0x34/0x44
[  614.108744]  mmc_mq_queue_rq+0x1b8/0x27c
[  614.114496]  blk_mq_dispatch_rq_list+0x344/0x848
[  614.120952]  blk_mq_do_dispatch_sched+0x160/0x32c
[  614.127506]  __blk_mq_sched_dispatch_requests+0x104/0x17c
[  614.134775]  blk_mq_sched_dispatch_requests+0x38/0x6c
[  614.141719]  __blk_mq_run_hw_queue+0x74/0xbc
[  614.147901]  blk_mq_run_work_fn+0x1c/0x28
[  614.153828]  process_one_work+0x1d4/0x2bc
[  614.159747]  worker_thread+0x278/0x514
[  614.165402]  kthread+0x144/0x170
[  614.170534]  ret_from_fork+0x10/0x20
[  614.176022] INFO: task kworker/0:1H:352 blocked for more than 491 seconds.
[  614.184848]       Not tainted 5.15.96-flippy-82+o #213
[  614.191957] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  614.201825] task:kworker/0:1H    state:D stack:    0 pid:  352 ppid:     2 flags:0x00000008
[  614.212243] Workqueue: mmc_complete mmc_blk_mq_complete_work
[  614.219956] Call trace:
[  614.224400]  __switch_to+0x160/0x20c
[  614.229942]  __schedule+0x500/0x6a0
[  614.235349]  schedule+0x94/0xd4
[  614.240393]  schedule_timeout+0x34/0x12c
[  614.246222]  wait_for_common+0xa4/0x130
[  614.251967]  wait_for_completion+0x18/0x24
[  614.257968]  mmc_wait_for_req_done+0x30/0x118
[  614.264236]  mmc_wait_for_req+0xc0/0xd8
[  614.269966]  mmc_wait_for_cmd+0x64/0x9c
[  614.275681]  __mmc_send_status+0x68/0xa4
[  614.281485]  mmc_blk_mq_rw_recovery+0x5c/0x42c
[  614.287816]  mmc_blk_mq_complete_prev_req+0xe0/0x244
[  614.294658]  mmc_blk_mq_complete_work+0x18/0x24
[  614.301039]  process_one_work+0x1d4/0x2bc
[  614.306891]  worker_thread+0x278/0x514
[  614.312476]  kthread+0x144/0x170
[  614.317530]  ret_from_fork+0x10/0x20
[  614.322936] INFO: task systemd-udevd:380 blocked for more than 122 seconds.
[  614.331785]       Not tainted 5.15.96-flippy-82+o #213
[  614.338826] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[  614.348589] task:systemd-udevd   state:D stack:    0 pid:  380 ppid:   374 flags:0x00000005
[  614.358899] Call trace:
[  614.363241]  __switch_to+0x160/0x20c
[  614.368681]  __schedule+0x500/0x6a0
[  614.373985]  schedule+0x94/0xd4
[  614.378925]  io_schedule+0x38/0xe4
[  614.384124]  wait_on_page_bit_common+0x274/0x378
[  614.390567]  __lock_page+0x58/0x68
[  614.395793]  truncate_inode_pages_range+0x4ec/0x638
[  614.402520]  blkdev_flush_mapping+0x94/0x178
[  614.408648]  blkdev_put+0x13c/0x1b4
[  614.413983]  blkdev_close.llvm.7010659638653983658+0x20/0x30
[  614.421518]  __fput+0xdc/0x230
[  614.426440]  ____fput+0x10/0x1c
[  614.431424]  task_work_run+0x78/0xd4
[  614.436826]  do_exit+0x1dc/0x814
[  614.441861]  do_group_exit+0x88/0xa4
[  614.447236]  get_signal+0x4a8/0x6cc
[  614.452518]  do_notify_resume+0xe8/0x3d8
[  614.458238]  el0_svc+0x54/0x78
[  614.463083]  el0t_64_sync_handler+0x84/0xe4
[  614.469072]  el0t_64_sync+0x1a0/0x1a4

这个是目前的状况,进内核了,但是mmc炸了。还要调一调dts。

我用的u-boot版本有些老,bootz命令会提示未知命令,所以暂时先用extlinux.conf的启动方案,等能够进系统了再考虑更新u-boot。

ophub commented 1 year ago

armbian在apt 时,是什么会改/boot/boot.cmd呢?生成一个新的 。还会改了banner的文字,成了之前固件底包的名字,他新生成的这个boot.cmd必须使用extlinux.conf启动

https://github.com/ophub/amlogic-s9xxx-armbian/blob/e2d3f7e2581ef1c0fab3578d67a3a0c0a0f0b7be/build-armbian/armbian-files/common-files/usr/sbin/armbian-fix#L47-L49

这个armbian-fix好像没有在初始化中执行,这几个包没有被删了

13584452567 commented 1 year ago

在database.conf里面怎么填可以让内核停留在5.10?貌似 TQC这个emmc在5.15往后的内核上有初始化问题。

ophub commented 1 year ago

你使用5.10.y可以正常工作? 用6.1.y不可以?

13584452567 commented 1 year ago

你使用5.10.y可以正常工作? 用6.1.y不可以?

5.15和6.1测试都不能初始化mmc,5.10暂时因为加载问题测试不了,应该多半没问题。

ophub commented 1 year ago

https://github.com/ophub/amlogic-s9xxx-armbian/commit/f56e645da57f566751526d5accd46392b66c8e2f

加好了,KERNEL_BRANCH设置为5.10.y

https://github.com/ophub/amlogic-s9xxx-armbian/releases/tag/Armbian_jammy_03.03.0929

顺便添加了extlinux.conf, 我给你打包个,你试试

Snip20230303_1

13584452567 commented 1 year ago

测试启动流程无误。

13584452567 commented 1 year ago

给其他为H6适配的人: 部分设备硬件设计问题可能会导致在内核启动过程中mmc报错 sunxi-mmc 4022000.mmc: send stop command failed 使用此patch:https://pastebin.com/XeUbuWGG

ophub commented 1 year ago

Snip20230304_2

这个deb会在apt更新时重新生成/boot/boot.cmd导致无法启动,需要移除了。 但是移除这个包的时候/etc/update-motd.d/* 和 /etc/armbian-release 也会被移除了。

https://github.com/ophub/amlogic-s9xxx-armbian/blob/479a06cc97d30c6c0b1b499d20bdd4825a2908de/build-armbian/armbian-files/common-files/usr/sbin/armbian-fix#L51-L68

我先在armbian-fix里移除这个包,以后有更好的办法,在打包时就移除了,省的导致无法重启。

13584452567 commented 1 year ago

Snip20230304_2

这个deb会在apt更新时重新生成/boot/boot.cmd导致无法启动,需要移除了。 但是移除这个包的时候/etc/update-motd.d/* 和 /etc/armbian-release 也会被移除了。

https://github.com/ophub/amlogic-s9xxx-armbian/blob/479a06cc97d30c6c0b1b499d20bdd4825a2908de/build-armbian/armbian-files/common-files/usr/sbin/armbian-fix#L51-L68

我先在armbian-fix里移除这个包,以后有更好的办法,在打包时就移除了,省的导致无法重启。

apt hold一下?应该就可以了

ophub commented 1 year ago

我怕用户第一次启动后,直接apt-update upgrade,这个就马上更新boot.cmd。必须在用户第一次正常启动系统时就确保移除或者锁定了这个包。

我得给armbian-fix加个日志,看看是不是在初始化时全部执行完成了,我感觉部分失败后打断执行了?

锁定的包,不会老在欢迎界面显示有1个可以更新的包吧,提示用户更新,提示包锁定了怎么解锁,然后用户按提示给升级了,启动不了了。。。

ophub commented 1 year ago

30 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 锁了会提醒用户有1个没升级,强迫症看了会按提示解锁升级。

https://paste.armbian.com/aloxuvokol.yaml

这个包涵盖的内容挺多,不知道会不会炸了

ophub commented 1 year ago
Processing triggers for initramfs-tools (0.140ubuntu13.1) ...
ln: failed to create hard link '/boot/initrd.img-5.15.96-flippy-82+o.dpkg-bak' => '/boot/initrd.img-5.15.96-flippy-82+o': Operation not permitted
update-initramfs: Generating /boot/initrd.img-5.15.96-flippy-82+o
update-initramfs: Converting to u-boot format

锁定不能解决问题,依然会更新。这只是禁止了他更新,但是他依然工作。 怎么能禁止了它去生成u-boot和boot.cmd呢,这个动作直接会导致无法启动。

13584452567 commented 1 year ago

试一试在/etc/apt/preferences.d/目录下新建一个.pref后缀的文件,里面写

Package: armbian-bsp-cli-odroidn2
Pin: release a=*
Pin-Pripority: -10

原理参见APT手册

这个方法会直接阻止这个包的安装。

或者自己重新打包这个deb,把版本号改的很高,在镜像编译的时候就装进去,后续更新就不会更新它了。

ophub commented 1 year ago

Snip20230304_1

这个包锁定了,但是他可以工作,只是不被更新了。 我想是不是可以在构建原armbian的时候就禁止安装这个包?或者是把把他的u-boot更新和生成boot.cmd/src的这2个动作注释掉。

昨天被修改了vplus 今天被修改了rock5b 对比这2个文件都变了,新生生成的,无法启动。必须U盘启动,挂载emmc/nvme覆盖回去才可以。 我今天在amlogic/allwinner/rockchip上都删除了这个包,可以正常工作。 留着这2个更新总是一个雷

13584452567 commented 1 year ago

更新U-Boot和生成boot.cmd的操作都是写在deb包的安装脚本里面的,只要装这两个包就会更新。 直接删除一了百了吧,反正rebuild的时候还是要把平台文件复制进来的。

ophub commented 1 year ago

https://paste.armbian.com/aloxuvokol.yaml

你看看这个,一个包安装了几十项内容。

13584452567 commented 1 year ago

都是一些对已有项的更新,最要命的还是那个boot.cmd,干脆舍弃算了? 或者考虑在打包的时候就提前对镜像进行一次apt update&apt upgrade然后再删破坏掉这个包并保留其他的东西。

ophub commented 1 year ago

现在锁定了它的更新,在打包时改了操作的脚本,如果把他的u-boot和boot.cmd的更新脚本注释了,是不是就不会被更改了?

之前注释了一些这个包里的每周广告提示、自动调整分区等操作。这个包是个恶梦。

13584452567 commented 1 year ago

是这样的。

Ubuntu的广告都打到APT里面去了,属实难受。

ophub commented 1 year ago

https://github.com/ophub/amlogic-s9xxx-armbian/blob/e7205daea5e4607b96a386f634394fb74559fcf5/rebuild#L706-L719

https://github.com/ophub/amlogic-s9xxx-armbian/blob/e7205daea5e4607b96a386f634394fb74559fcf5/build-armbian/armbian-files/common-files/usr/sbin/armbian-fix#L65-L78

Snip20230305_1

今天移走了一些与安装/更新 u-boot,boot.cmd, initrd.img 相关的脚本,目前测试启动设置文件不会被修改了。以后根据 armbian-bsp-cli-* 包的变化再及时更新这些限制吧。

13584452567 commented 1 year ago

最新release的固件又不能加载内核了。使用armbianenv或者extlinux.conf均无法正常加载。


U-Boot SPL 2021.04-armbian (Jun 19 2021 - 13:59:15 +0000)
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.2(debug):a04808c-dirty
NOTICE:  BL31: Built : 13:58:55, Jun 19 2021
NOTICE:  BL31: Detected Allwinner H6 SoC (1728)
NOTICE:  BL31: Found U-Boot DTB at 0xc085eb8, model: OrangePi 3
INFO:    ARM GICv2 driver initialized
NOTICE:  PMIC: Probing AXP805
NOTICE:  PMIC: AXP805 detected
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9

U-Boot 2021.04-armbian (Jun 19 2021 - 13:59:15 +0000) Allwinner Technology

CPU:   Allwinner H6 (SUN50I)
Model: OrangePi 3
DRAM:  1 GiB
MMC:   mmc@4020000: 0, mmc@4021000: 2, mmc@4022000: 1
Loading Environment from FAT... Unable to use mmc 1:0... In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   No ethernet found.
starting USB...
Bus usb@5101000: USB EHCI 1.00
Bus usb@5101400: USB OHCI 1.0
Bus usb@5311000: USB EHCI 1.00
Bus usb@5311400: USB OHCI 1.0
scanning bus usb@5101000 for devices... 1 USB Device(s) found
scanning bus usb@5101400 for devices... 1 USB Device(s) found
scanning bus usb@5311000 for devices... 1 USB Device(s) found
scanning bus usb@5311400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
3259 bytes read in 4 ms (794.9 KiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
263 bytes read in 2 ms (127.9 KiB/s)
35402 bytes read in 14 ms (2.4 MiB/s)
4191 bytes read in 18 ms (226.6 KiB/s)
Applying kernel provided DT fixup script (sun50i-h6-fixup.scr)
## Executing script at 45000000
19223509 bytes read in 1967 ms (9.3 MiB/s)
31046144 bytes read in 3174 ms (9.3 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=42080000
## Loading init Ramdisk from Legacy Image at 4fe00000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    19223445 Bytes = 18.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
EHCI failed to shut down host controller.
   Loading Ramdisk to 48daa000, end 49fff395 ... OK
   Loading Device Tree to 0000000048d39000, end 0000000048da9fff ... OK

Starting kernel ...

然后就停在这里了。

ophub commented 1 year ago

我测试了下手里的设备vplus,用6.1.21正常。 你是armbian-update更新上来的?是不是缺少dtb了,内核包没dtb?你有哪个是内核里没有dts的。

https://github.com/ophub/amlogic-s9xxx-armbian/commit/7eab7a50baeb214b97943b192cfdeee53ece525a

昨晚我突然想到这个潜在的问题,更新内核会导致没有dts的那几个盒子无法启动。昨天buglloc添加的r5s也没有dts,我把更新内核时删除dtb去掉了,只删除ln创建的软链接,这样dtb/*/目录下的文件不删除,避免内核里没有dtb。

13584452567 commented 1 year ago

我测试了下手里的设备vplus,用6.1.21正常。 你是armbian-update更新上来的?是不是缺少dtb了,内核包没dtb?你有哪个是内核里没有dts的。

7eab7a5

昨晚我突然想到这个潜在的问题,更新内核会导致没有dts的那几个盒子无法启动。昨天buglloc添加的r5s也没有dts,我把更新内核时删除dtb去掉了,只删除ln创建的软链接,这样dtb/*/目录下的文件不删除,避免内核里没有dtb。

检查过了,dtb正常的。

我是直接烧录到tf卡启动的,不是update上来的

ophub commented 1 year ago

你用之前的旧版内核测试可以启动吗?

13584452567 commented 1 year ago

还没测试。

平常课很多,只能等周末再试了。