Jump to content

RK3328 board has boot problem: mmc_host mmc0: Timeout sending command


Recommended Posts

I made a similar board with reference to Renegade, but modified some peripherals (remove the gmac chip, remove the infrared sensor, etc.), directly use the image of Renegade, and the debug log will show as follows:



U-Boot 2021.07-armbian (Mar 04 2022 - 10:47:46 +0800)

Model: Firefly roc-rk3328-cc
DRAM:  1022 MiB
PMIC:  RK8050 (on=0x10, off=0x00)
MMC:   mmc@ff500000: 1, mmc@ff520000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: Firefly roc-rk3328-cc
Net:   eth0: ethernet@ff540000
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
349 bytes read in 6 ms (56.6 KiB/s)
1:	Armbian
Retrieving file: /boot/uInitrd
12516055 bytes read in 547 ms (21.8 MiB/s)
Retrieving file: /boot/Image
30083584 bytes read in 1307 ms (22 MiB/s)
append: root=UUID=e63094aa-00af-48b7-9160-dae8b9064bc3 console=uart8250,mmio32,0xff130000 console=tty0 rootflags=data=writeback rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash.armbian
Retrieving file: /boot/dtb/rockchip/rk3328-roc-cc.dtb
63127 bytes read in 11 ms (5.5 MiB/s)
Moving Image from 0x2080000 to 0x2200000, end=3f50000
## Loading init Ramdisk from Legacy Image at 06000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    12515991 Bytes = 11.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Ramdisk to 3d33b000, end 3df2aa97 ... OK
   Loading Device Tree to 000000003d328000, end 000000003d33a696 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.26-rockchip64 (root@menson-virtual-machine) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #trunk SMP PREEMPT Fri Mar 4 10:57:39 CST 2022
[    0.000000] Machine model: Firefly roc-rk3328-cc
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000003fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x3fdb2100-0x3fdb3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x000000003fffffff]
[    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 0x0000000000200000-0x000000003fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000003fffffff]
[    0.000000] cma: Reserved 128 MiB at 0x0000000035000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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.0
[    0.000000] percpu: Embedded 29 pages/cpu s80856 r8192 d29736 u118784
[    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: 257544
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: root=UUID=e63094aa-00af-48b7-9160-dae8b9064bc3 console=uart8250,mmio32,0xff130000 console=tty0 rootflags=data=writeback rw 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, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 852400K/1046528K available (15744K kernel code, 2690K rwdata, 6516K rodata, 4288K init, 576K bss, 63056K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Rude 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] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x838/0xa18 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002169] Console: colour dummy device 80x25
[    0.002594] printk: console [tty0] enabled
[    0.002987] printk: bootconsole [uart8250] disabled
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.26-rockchip64 (root@menson-virtual-machine) (aarch64-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 8.3.0, GNU ld (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36)) 2.32.0.20190321) #trunk SMP PREEMPT Fri Mar 4 10:57:39 CST 2022
[    0.000000] Machine model: Firefly roc-rk3328-cc
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] efi: UEFI not found.
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x000000003fffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x3fdb2100-0x3fdb3fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x000000003fffffff]
[    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 0x0000000000200000-0x000000003fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000003fffffff]
[    0.000000] cma: Reserved 128 MiB at 0x0000000035000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 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.0
[    0.000000] percpu: Embedded 29 pages/cpu s80856 r8192 d29736 u118784
[    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: 257544
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: root=UUID=e63094aa-00af-48b7-9160-dae8b9064bc3 console=uart8250,mmio32,0xff130000 console=tty0 rootflags=data=writeback rw 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, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000] Memory: 852400K/1046528K available (15744K kernel code, 2690K rwdata, 6516K rodata, 4288K init, 576K bss, 63056K reserved, 131072K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Rude 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] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x838/0xa18 with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.002169] Console: colour dummy device 80x25
[    0.002594] printk: console [tty0] enabled
[    0.002987] printk: bootconsole [uart8250] disabled
[    0.003600] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.003649] pid_max: default: 32768 minimum: 301
[    0.003827] LSM: Security Framework initializing
[    0.003903] Yama: becoming mindful.
[    0.004085] AppArmor: AppArmor initialized
[    0.004190] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.004236] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.008046] rcu: Hierarchical SRCU implementation.
[    0.011232] EFI services will not be available.
[    0.012025] smp: Bringing up secondary CPUs ...
[    0.013228] Detected VIPT I-cache on CPU1
[    0.013345] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.014692] Detected VIPT I-cache on CPU2
[    0.014796] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.016247] Detected VIPT I-cache on CPU3
[    0.016353] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.016571] smp: Brought up 1 node, 4 CPUs
[    0.016700] SMP: Total of 4 processors activated.
[    0.016725] CPU features: detected: 32-bit EL0 Support
[    0.016745] CPU features: detected: 32-bit EL1 Support
[    0.016776] CPU features: detected: CRC32 instructions
[    0.035927] CPU: All CPU(s) started at EL2
[    0.036058] alternatives: patching kernel code
[    0.038526] devtmpfs: initialized
[    0.060404] Registered cp15_barrier emulation handler
[    0.060477] Registered setend emulation handler
[    0.060942] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.061039] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.069485] pinctrl core: initialized pinctrl subsystem
[    0.070842] DMI not present or invalid.
[    0.071912] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.077084] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
[    0.078707] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.081984] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.082257] audit: initializing netlink subsys (disabled)
[    0.082791] audit: type=2000 audit(0.080:1): state=initialized audit_enabled=0 res=1
[    0.084496] thermal_sys: Registered thermal governor 'fair_share'
[    0.084514] thermal_sys: Registered thermal governor 'bang_bang'
[    0.084551] thermal_sys: Registered thermal governor 'step_wise'
[    0.084577] thermal_sys: Registered thermal governor 'user_space'
[    0.085168] cpuidle: using governor menu
[    0.085698] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.085938] ASID allocator initialised with 65536 entries
[    0.087925] Serial: AMBA PL011 UART driver
[    0.110295] platform ff3c0000.hdmi: Fixing up cyclic dependency with ff370000.vop
[    0.136752] rockchip-gpio ff210000.gpio0: probed /pinctrl/gpio0@ff210000
[    0.138416] rockchip-gpio ff220000.gpio1: probed /pinctrl/gpio1@ff220000
[    0.139729] rockchip-gpio ff230000.gpio2: probed /pinctrl/gpio2@ff230000
[    0.141063] rockchip-gpio ff240000.gpio3: probed /pinctrl/gpio3@ff240000
[    0.167197] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.167262] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.167295] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.167327] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.173563] cryptd: max_cpu_qlen set to 1000
[    0.252485] raid6: neonx8   gen()  1049 MB/s
[    0.320622] raid6: neonx8   xor()   775 MB/s
[    0.388783] raid6: neonx4   gen()  1074 MB/s
[    0.456918] raid6: neonx4   xor()   768 MB/s
[    0.525079] raid6: neonx2   gen()  1013 MB/s
[    0.593225] raid6: neonx2   xor()   706 MB/s
[    0.661370] raid6: neonx1   gen()   887 MB/s
[    0.729517] raid6: neonx1   xor()   606 MB/s
[    0.797690] raid6: int64x8  gen()   745 MB/s
[    0.865880] raid6: int64x8  xor()   392 MB/s
[    0.933978] raid6: int64x4  gen()   830 MB/s
[    1.002123] raid6: int64x4  xor()   424 MB/s
[    1.070264] raid6: int64x2  gen()   707 MB/s
[    1.138435] raid6: int64x2  xor()   375 MB/s
[    1.206572] raid6: int64x1  gen()   526 MB/s
[    1.274725] raid6: int64x1  xor()   274 MB/s
[    1.274751] raid6: using algorithm neonx4 gen() 1074 MB/s
[    1.274779] raid6: .... xor() 768 MB/s, rmw enabled
[    1.274804] raid6: using neon recovery algorithm
[    1.277940] iommu: Default domain type: Translated 
[    1.277994] iommu: DMA domain TLB invalidation policy: strict mode 
[    1.281409] vgaarb: loaded
[    1.282350] SCSI subsystem initialized
[    1.283302] usbcore: registered new interface driver usbfs
[    1.283431] usbcore: registered new interface driver hub
[    1.283532] usbcore: registered new device driver usb
[    1.284473] pps_core: LinuxPPS API ver. 1 registered
[    1.284506] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.284566] PTP clock support registered
[    1.284940] EDAC MC: Ver: 3.0.0
[    1.287459] NetLabel: Initializing
[    1.287510] NetLabel:  domain hash size = 128
[    1.287533] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.287688] NetLabel:  unlabeled traffic allowed by default
[    1.288665] clocksource: Switched to clocksource arch_sys_counter
[    1.397555] VFS: Disk quotas dquot_6.6.0
[    1.397724] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.399406] AppArmor: AppArmor Filesystem Enabled
[    1.414532] NET: Registered PF_INET protocol family
[    1.414815] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.416906] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)



[    1.417045] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.417361] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    1.417589] TCP: Hash tables configured (established 8192 bind 8192)
[    1.417892] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.417985] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.418380] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.418467] NET: Registered PF_XDP protocol family
[    1.418506] PCI: CLS 0 bytes, default 64
[    1.419379] Trying to unpack rootfs image as initramfs...
[    1.430173] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    1.431084] kvm [1]: IPA Size Limit: 40 bits
[    1.433877] kvm [1]: vgic interrupt IRQ9
[    1.434239] kvm [1]: Hyp mode initialized successfully
[    1.450107] Initialise system trusted keyrings
[    1.450224] Key type blacklist registered
[    1.450696] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[    1.462908] zbud: loaded
[    1.466415] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.468040] fuse: init (API version 7.34)
[    1.470858] integrity: Platform Keyring initialized
[    1.543528] xor: measuring software checksum speed
[    1.551788]    8regs           :  1220 MB/sec
[    1.558984]    32regs          :  1402 MB/sec
[    1.568347]    arm64_neon      :  1070 MB/sec
[    1.568409] xor: using function: 32regs (1402 MB/sec)
[    1.568451] Key type asymmetric registered
[    1.568475] Asymmetric key parser 'x509' registered
[    1.568758] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    1.569181] io scheduler mq-deadline registered
[    1.569231] io scheduler kyber registered
[    1.569665] io scheduler bfq registered
[    1.594020] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[    1.594099] dma-pl330 ff1f0000.dmac: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.600804] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    1.607176] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 21, base_baud = 1500000) is a 16550A
[    1.699608] printk: console [ttyS2] enabled
[    1.702108] Serial: AMBA driver
[    1.704551] rockchip-vop ff370000.vop: Adding to iommu group 2
[    1.731728] loop: module loaded
[    1.741317] tun: Universal TUN/TAP device driver, 1.6
[    1.743492] thunder_xcv, ver 1.0
[    1.743901] thunder_bgx, ver 1.0
[    1.744299] nicpf, ver 1.0
[    1.745940] e1000e: Intel(R) PRO/1000 Network Driver
[    1.746423] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    1.747106] igb: Intel(R) Gigabit Ethernet Network Driver
[    1.747608] igb: Copyright (c) 2007-2014 Intel Corporation.
[    1.748192] igbvf: Intel(R) Gigabit Virtual Function Network Driver
[    1.748794] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    1.749828] sky2: driver version 1.30
[    1.751311] VFIO - User Level meta-driver version: 0.3
[    1.755958] dwc2 ff580000.usb: supply vusb_d not found, using dummy regulator
[    1.757009] dwc2 ff580000.usb: supply vusb_a not found, using dummy regulator
[    1.770923] dwc2 ff580000.usb: DWC OTG Controller
[    1.771447] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[    1.772166] dwc2 ff580000.usb: irq 48, io mem 0xff580000
[    1.773158] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    1.773937] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.774603] usb usb1: Product: DWC OTG Controller
[    1.775040] usb usb1: Manufacturer: Linux 5.15.26-rockchip64 dwc2_hsotg
[    1.775645] usb usb1: SerialNumber: ff580000.usb
[    1.777344] hub 1-0:1.0: USB hub found
[    1.777811] hub 1-0:1.0: 1 port detected
[    1.780297] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.781030] ehci-pci: EHCI PCI platform driver
[    1.781567] ehci-platform: EHCI generic platform driver
[    1.785024] ehci-platform ff5c0000.usb: EHCI Host Controller
[    1.785647] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[    1.786658] ehci-platform ff5c0000.usb: irq 49, io mem 0xff5c0000
[    1.800750] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    1.801928] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    1.802722] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.803388] usb usb2: Product: EHCI Host Controller
[    1.803846] usb usb2: Manufacturer: Linux 5.15.26-rockchip64 ehci_hcd
[    1.804441] usb usb2: SerialNumber: ff5c0000.usb
[    1.806067] hub 2-0:1.0: USB hub found
[    1.806546] hub 2-0:1.0: 1 port detected
[    1.807819] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.808456] ohci-pci: OHCI PCI platform driver
[    1.809068] ohci-platform: OHCI generic platform driver
[    1.810437] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    1.811106] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[    1.812081] ohci-platform ff5d0000.usb: irq 50, io mem 0xff5d0000
[    1.877170] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.15
[    1.877968] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.878638] usb usb3: Product: Generic Platform OHCI controller
[    1.879184] usb usb3: Manufacturer: Linux 5.15.26-rockchip64 ohci_hcd
[    1.879775] usb usb3: SerialNumber: ff5d0000.usb
[    1.881462] hub 3-0:1.0: USB hub found
[    1.881924] hub 3-0:1.0: 1 port detected
[    1.884381] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.885060] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
[    1.886076] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    1.887077] xhci-hcd xhci-hcd.0.auto: irq 51, io mem 0xff600000
[    1.888480] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    1.889574] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.890271] usb usb4: Product: xHCI Host Controller
[    1.890729] usb usb4: Manufacturer: Linux 5.15.26-rockchip64 xhci-hcd
[    1.891323] usb usb4: SerialNumber: xhci-hcd.0.auto
[    1.893009] hub 4-0:1.0: USB hub found
[    1.893508] hub 4-0:1.0: 1 port detected
[    1.894663] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    1.895214] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    1.895976] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    1.896834] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.897874] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[    1.898651] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.899318] usb usb5: Product: xHCI Host Controller
[    1.899776] usb usb5: Manufacturer: Linux 5.15.26-rockchip64 xhci-hcd
[    1.900368] usb usb5: SerialNumber: xhci-hcd.0.auto
[    1.901995] hub 5-0:1.0: USB hub found
[    1.902472] hub 5-0:1.0: 1 port detected
[    1.904002] usbcore: registered new interface driver usb-storage
[    1.908064] mousedev: PS/2 mouse device common for all mice
[    1.910823] i2c_dev: i2c /dev entries driver
[    1.916865] rk808 1-0018: chip id: 0x8050
[    1.926007] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    1.926655] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    1.927228] rk808-regulator rk808-regulator: max buck steps per change: 8
[    1.929906] vdd_logic: supplied by vcc_sys
[    1.932962] vdd_arm: supplied by vcc_sys
[    1.934018] vcc_ddr: supplied by vcc_sys
[    1.936099] vcc_io: supplied by vcc_sys
[    1.939112] vcc_18: supplied by vcc_io
[    1.944448] vcc18_emmc: supplied by vcc_io
[    1.949940] vdd_10: supplied by vcc_io
[    1.965096] rk808-rtc rk808-rtc: registered as rtc0
[    1.967439] rk808-rtc rk808-rtc: setting system clock to 2016-01-21T08:50:53 UTC (1453366253)
[    1.971101] input: rk805 pwrkey as /devices/platform/ff160000.i2c/i2c-1/1-0018/rk805-pwrkey/input/input0
[    1.978512] dw_wdt ff1a0000.watchdog: No valid TOPs array specified
[    1.983061] sdhci: Secure Digital Host Controller Interface driver
[    1.983662] sdhci: Copyright(c) Pierre Ossman
[    1.984132] Synopsys Designware Multimedia Card Interface Driver
[    1.986436] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.987468] dwmmc_rockchip ff520000.mmc: IDMAC supports 32-bit address mode.
[    1.988210] dwmmc_rockchip ff520000.mmc: Using internal DMA controller.
[    1.988905] dwmmc_rockchip ff520000.mmc: Version ID is 270a
[    1.989571] dwmmc_rockchip ff520000.mmc: DW MMC controller at irq 46,32 bit host data width,256 deep fifo
[    1.992080] mmc_host mmc1: card is non-removable.
[    1.992904] ledtrig-cpu: registered to indicate activity on CPUs
[    1.995706] hid: raw HID events driver (C) Jiri Kosina
[    1.996513] usbcore: registered new interface driver usbhid
[    1.997100] usbhid: USB HID core driver
[    2.004279] drop_monitor: Initializing network drop monitor service
[    2.005732] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    2.006665] NET: Registered PF_INET6 protocol family
[    2.026170] random: fast init done
[    2.061395] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[    2.120072] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    2.185613] mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    2.214190] Freeing initrd memory: 12220K
[    2.280710] Segment Routing with IPv6
[    2.281246] In-situ OAM (IOAM) with IPv6
[    2.281798] NET: Registered PF_PACKET protocol family
[    2.282575] 8021q: 802.1Q VLAN Support v1.8
[    2.283052] Key type dns_resolver registered
[    2.285503] registered taskstats version 1
[    2.285930] Loading compiled-in X.509 certificates
[    2.292523] Loaded X.509 cert 'Build time autogenerated kernel key: 6bdbb546a05c3d1fd12a99d3e28397cdb8e7e611'
[    2.299625] zswap: loaded using pool zstd/z3fold
[    2.301798] Key type ._fscrypt registered
[    2.302210] Key type .fscrypt registered
[    2.302572] Key type fscrypt-provisioning registered
[    2.307257] Btrfs loaded, crc32c=crc32c-generic, zoned=yes, fsverity=yes
[    2.339889] Key type encrypted registered
[    2.340332] AppArmor: AppArmor sha1 policy hashing enabled
[    2.398806] vcc_sd: supplied by vcc_io
[    2.400321] vcc_host1_5v: supplied by vcc_sys
[    2.407638] rockchip-drm display-subsystem: bound ff370000.vop (ops vop_component_ops)
[    2.409060] dwhdmi-rockchip ff3c0000.hdmi: Detected HDMI TX controller v2.11a with HDCP (inno_dw_hdmi_phy2)
[    2.411103] dwhdmi-rockchip ff3c0000.hdmi: registered DesignWare HDMI I2C bus driver
[    2.413039] rockchip-drm display-subsystem: bound ff3c0000.hdmi (ops dw_hdmi_rockchip_ops)
[    2.414276] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    2.415944] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[    2.419574] rk3328-dmc ff780000.dmc: current ATF version 0x101
[    2.428592] of_cfs_init
[    2.429029] of_cfs_init: OK
[    2.434142] Freeing unused kernel memory: 4288K
[    2.434796] Run /init as init process
[    2.440357] rockchip-pm-domain ff100000.syscon:power-controller: failed to get ack on domain 'hevc', val=0x88220
[    3.200217] gpio-syscon ff100000.syscon:gpio: can't read the data register offset!
[    3.210439] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[    3.211156] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[    3.211788] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[    3.212405] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[    3.227891] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    3.289284] rockchip-u3phy ff470000.usb3-phy: vbus_drv is not assigned
[    3.293941] rockchip-u3phy ff470000.usb3-phy: Rockchip u3phy initialized successfully
[    3.387301] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[    3.387943] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[    3.388882] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[    3.389939] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[    3.390621] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24).
[    3.391162] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18).
[    3.391707] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[    3.392446] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed
[    3.393146] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[    3.398742] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[    3.400571] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    3.401328] rk_gmac-dwmac ff540000.ethernet: 	DWMAC1000
[    3.401834] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[    3.402532] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[    3.403223] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[    3.403715] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported
[    3.404363] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[    3.405959] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[    3.407261] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[    3.407829] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    3.428866] rockchip-drm display-subsystem: [drm] Cannot find any crtc or sizes
[    3.820804] dwmmc_rockchip ff500000.mmc: Busy; trying anyway
[    3.902482] mdio_bus stmmac-0:00: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[    3.903402] mdio_bus stmmac-0:01: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
[    3.904272] mdio_bus stmmac-0:02: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:02, irq=POLL)
[    3.905180] mdio_bus stmmac-0:03: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:03, irq=POLL)
[    3.906050] mdio_bus stmmac-0:04: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:04, irq=POLL)
[    3.906914] mdio_bus stmmac-0:05: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:05, irq=POLL)
[    3.907778] mdio_bus stmmac-0:06: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:06, irq=POLL)
[    3.908663] mdio_bus stmmac-0:07: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:07, irq=POLL)
[    3.909529] mdio_bus stmmac-0:08: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:08, irq=POLL)
[    3.910393] mdio_bus stmmac-0:09: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:09, irq=POLL)
[    3.911256] mdio_bus stmmac-0:0a: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:0a, irq=POLL)
[    3.912119] mdio_bus stmmac-0:0b: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:0b, irq=POLL)
[    3.912999] mdio_bus stmmac-0:0c: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:0c, irq=POLL)
[    3.913864] mdio_bus stmmac-0:0d: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:0d, irq=POLL)
[    3.914727] mdio_bus stmmac-0:0e: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:0e, irq=POLL)
[    3.915590] mdio_bus stmmac-0:0f: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:0f, irq=POLL)
[    3.916452] mdio_bus stmmac-0:10: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:10, irq=POLL)
[    3.917331] mdio_bus stmmac-0:11: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:11, irq=POLL)
[    3.918196] mdio_bus stmmac-0:12: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:12, irq=POLL)
[    3.919059] mdio_bus stmmac-0:13: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:13, irq=POLL)
[    3.919921] mdio_bus stmmac-0:14: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:14, irq=POLL)
[    3.920800] mdio_bus stmmac-0:15: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:15, irq=POLL)
[    3.921665] mdio_bus stmmac-0:16: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:16, irq=POLL)
[    3.922528] mdio_bus stmmac-0:17: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:17, irq=POLL)
[    3.923391] mdio_bus stmmac-0:18: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:18, irq=POLL)
[    3.924254] mdio_bus stmmac-0:19: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:19, irq=POLL)
[    3.925133] mdio_bus stmmac-0:1a: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:1a, irq=POLL)
[    3.925997] mdio_bus stmmac-0:1b: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:1b, irq=POLL)
[    3.926860] mdio_bus stmmac-0:1c: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:1c, irq=POLL)
[    3.927723] mdio_bus stmmac-0:1d: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:1d, irq=POLL)
[    3.928585] mdio_bus stmmac-0:1e: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:1e, irq=POLL)
[    3.929464] mdio_bus stmmac-0:1f: attached PHY driver [unbound] (mii_bus:phy_addr=stmmac-0:1f, irq=POLL)
[    4.321361] mmc_host mmc0: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[    4.357669] mmc0: error -110 whilst initialising SD card
[    4.871567] dwmmc_rockchip ff500000.mmc: Busy; trying anyway
[    5.372106] mmc_host mmc0: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[    5.386809] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[    5.930349] dwmmc_rockchip ff500000.mmc: Busy; trying anyway
[    6.430886] mmc_host mmc0: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[    6.445575] mmc_host mmc0: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[    6.995791] dwmmc_rockchip ff500000.mmc: Busy; trying anyway
[    7.496323] mmc_host mmc0: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[    7.511042] mmc_host mmc0: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0)
[    8.081344] dwmmc_rockchip ff500000.mmc: Busy; trying anyway
[    8.581877] mmc_host mmc0: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000)
[   33.764720] vcc_sd: disabling

 

It seems that the file system on the TF card cannot be found, but the circuit of the TF card part is the same as that of Renegade, and uboot and kernel are also started. may I know what is the reason?

Edited by menson
Link to comment
Share on other sites

  • DavidJS changed the title to RK3328 board has boot problem: mmc_host mmc0: Timeout sending command

I am not sure if this is your problem, but working on SD cards I realized they are quite sensitive to voltage, ripple, signal path/delay etc. 

So if you made this board on your own, definitely check if the routing and buffering (power) on the SD lines is good. 

 

Also uboot might be using slower SD speeds (thus frequency) and work. 

Link to comment
Share on other sites

On 3/5/2022 at 6:32 PM, Heisath said:

I am not sure if this is your problem, but working on SD cards I realized they are quite sensitive to voltage, ripple, signal path/delay etc. 

So if you made this board on your own, definitely check if the routing and buffering (power) on the SD lines is good. 

 

Also uboot might be using slower SD speeds (thus frequency) and work. 

Thanks for reply. I have checked the waveform of 3.3v and sdio signal for TF card, it seems to be fine. Yes, I also found that it ran 24M clock -> 50M clock -> 150M clock on Renegade, and on my board it can just be tested the 24M clock -> 50M clock, no 150M. Maybe there is a way to reduce the 150M clock to have a test?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines