firefly rk3399 sd卡启动后卡在内核了
我把uboot和内核刷到了sd卡里,使用distro方式启动,但是内核卡在了 dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16这个地方。有人遇到过没?内核启动日志如下:
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.154 (root@lcy-3399) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05) ) #14 SMP Tue Sep 10 14:56:17 CST 2019
[ 0.000000] Boot CPU: AArch64 Processor
[ 0.000000] earlycon: Early serial console at MMIO32 0xff1a0000 (options '')
[ 0.000000] bootconsole enabled
[ 0.000000] Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
[ 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: Trusted OS migration not required
[ 0.000000] PERCPU: Embedded 21 pages/cpu @ffffffc0f7ed5000 s45800 r8192 d32024 u86016
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on.Total pages: 991752
[ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff1a0000 root=PARTUUID=614e0000-0000 rootwait rootfstype=ext4 init=/sbin/init rw swiotlb=1 console=ttyFIQ0
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] software IO TLB (0MB) mapped at
[ 0.000000] Memory: 3936720K/4030464K available (12030K kernel code, 1730K rwdata, 4672K rodata, 1152K init, 767K bss, 93744K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbdbfff0000 ( 246 GB)
[ 0.000000] .init : 0xffffff80090e0000 - 0xffffff8009200000 (1152 KB)
[ 0.000000] .text : 0xffffff8008080000 - 0xffffff8008c40000 ( 12032 KB)
[ 0.000000] .rodata : 0xffffff8008c40000 - 0xffffff80090e0000 (4736 KB)
[ 0.000000] .data : 0xffffff8009200000 - 0xffffff80093b0808 (1731 KB)
[ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum)
[ 0.000000] 0xffffffbdc0008000 - 0xffffffbdc3e00000 ( 61 MB actual)
[ 0.000000] fixed : 0xffffffbffe7fb000 - 0xffffffbffec00000 (4116 KB)
[ 0.000000] PCI I/O : 0xffffffbffee00000 - 0xffffffbfffe00000 ( 16 MB)
[ 0.000000] memory: 0xffffffc000200000 - 0xffffffc0f8000000 (3966 MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000]Build-time adjustment of leaf fanout to 64.
[ 0.000000]RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=6.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=6
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] ITS: /interrupt-controller@fee00000/interrupt-controller@fee20000
[ 0.000000] ITS: allocated 65536 Devices @a280000 (psz 64K, shr 0)
[ 0.000000] ITS: using cache flushing for cmd queue
[ 0.000000] GIC: using LPI property table @0x000000000a210000
[ 0.000000] ITS: Allocated 1792 chunks for LPIs
[ 0.000000] CPU0: found redistributor 0 region 0:0x00000000fef00000
[ 0.000000] CPU0: using LPI pending table @0x000000000a220000
[ 0.000000] GIC: using cache flushing for LPI property table
[ 0.000000] GIC: PPI partition interrupt-partition-0 { /cpus/cpu@0 /cpus/cpu@1 /cpus/cpu@2 /cpus/cpu@3 }
[ 0.000000] GIC: PPI partition interrupt-partition-1 { /cpus/cpu@100 /cpus/cpu@101 }
[ 0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop0_frac as parent of dclk_vop0, rate changes may not work
[ 0.000000] rockchip_clk_register_frac_branch: could not find dclk_vop1_frac as parent of dclk_vop1, rate changes may not work
[ 0.000000] rockchip_cpuclk_pre_rate_change: limiting alt-divider 33 to 31
[ 0.000000] Architected 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.002110] Console: colour dummy device 80x25
[ 0.002551] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[ 0.003542] pid_max: default: 32768 minimum: 301
[ 0.004080] Security Framework initialized
[ 0.004538] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.005179] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.006626] Initializing cgroup subsys devices
[ 0.007075] Initializing cgroup subsys freezer
[ 0.007521] ftrace: allocating 43552 entries in 171 pages
[ 0.115368] sched-energy: Sched-energy-costs installed from DT
[ 0.115934] CPU0: update cpu_capacity 401
[ 0.116384] ASID allocator initialised with 32768 entries
[ 0.120091] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[ 0.121423] Platform MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[ 0.123635] Detected VIPT I-cache on CPU1
[ 0.123667] CPU1: found redistributor 1 region 0:0x00000000fef20000
[ 0.123696] CPU1: using LPI pending table @0x00000000f2cb0000
[ 0.123736] CPU1: update cpu_capacity 401
[ 0.123740] CPU1: Booted secondary processor
[ 0.124282] Detected VIPT I-cache on CPU2
[ 0.124303] CPU2: found redistributor 2 region 0:0x00000000fef40000
[ 0.124331] CPU2: using LPI pending table @0x00000000f2ce0000
[ 0.124357] CPU2: update cpu_capacity 401
[ 0.124361] CPU2: Booted secondary processor
[ 0.124877] Detected VIPT I-cache on CPU3
[ 0.124898] CPU3: found redistributor 3 region 0:0x00000000fef60000
[ 0.124924] CPU3: using LPI pending table @0x00000000f2d30000
[ 0.124949] CPU3: update cpu_capacity 401
[ 0.124952] CPU3: Booted secondary processor
[ 0.125500] Detected PIPT I-cache on CPU4
[ 0.125526] CPU4: found redistributor 100 region 0:0x00000000fef80000
[ 0.125565] CPU4: using LPI pending table @0x00000000f2d60000
[ 0.125602] CPU4: update cpu_capacity 1024
[ 0.125605] CPU4: Booted secondary processor
[ 0.126155] Detected PIPT I-cache on CPU5
[ 0.126173] CPU5: found redistributor 101 region 0:0x00000000fefa0000
[ 0.126208] CPU5: using LPI pending table @0x00000000f2d90000
[ 0.126233] CPU5: update cpu_capacity 1024
[ 0.126236] CPU5: Booted secondary processor
[ 0.126322] Brought up 6 CPUs
[ 0.138702] SMP: Total of 6 processors activated.
[ 0.139153] CPU features: detected feature: GIC system register CPU interface
[ 0.139847] CPU: All CPU(s) started at EL2
[ 0.140278] alternatives: patching kernel code
[ 0.142084] devtmpfs: initialized
[ 0.159073] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[ 0.160014] futex hash table entries: 2048 (order: 5, 131072 bytes)
[ 0.161093] pinctrl core: initialized pinctrl subsystem
[ 0.162315] NET: Registered protocol family 16
[ 0.167067] cpuidle: using governor ladder
[ 0.171075] cpuidle: using governor menu
[ 0.171462] Registered FIQ tty driver
[ 0.172033] vdso: 2 pages (1 code @ ffffff8008c46000, 1 data @ ffffff8009204000)
[ 0.172784] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.173576] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.197050] console enabled
[ 0.197050] console enabled
[ 0.197736] bootconsole disabled
[ 0.197736] bootconsole disabled
[ 0.198631] Registered fiq debugger ttyFIQ0
[ 0.229440] iommu: Adding device ff650000.vpu_service to group 0
[ 0.230032] iommu: Adding device ff660000.rkvdec to group 1
[ 0.230623] iommu: Adding device ff8f0000.vop to group 2
[ 0.231159] iommu: Adding device ff900000.vop to group 3
[ 0.231733] iommu: Adding device ff910000.cif_isp to group 4
[ 0.233677] SCSI subsystem initialized
[ 0.234355] usbcore: registered new interface driver usbfs
[ 0.234899] usbcore: registered new interface driver hub
[ 0.235441] usbcore: registered new device driver usb
[ 0.235959] media: Linux media interface: v0.10
[ 0.236389] Linux video capture interface: v2.00
[ 0.236839] pps_core: LinuxPPS API ver. 1 registered
[ 0.237291] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.238109] PTP clock support registered
[ 0.239435] Advanced Linux Sound Architecture Driver Initialized.
[ 0.240444] Bluetooth: Core ver 2.21
[ 0.240783] NET: Registered protocol family 31
[ 0.241191] Bluetooth: HCI device and connection manager initialized
[ 0.241757] Bluetooth: HCI socket layer initialized
[ 0.242201] Bluetooth: L2CAP socket layer initialized
[ 0.242676] Bluetooth: SCO socket layer initialized
[ 0.243764] rockchip-cpuinfo cpuinfo: Serial : db0629256cd6d3bf
[ 0.244797] clocksource: Switched to clocksource arch_sys_counter
[ 0.293597] thermal thermal_zone1: power_allocator: sustainable_power will be estimated
[ 0.294511] NET: Registered protocol family 2
[ 0.295330] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[ 0.296238] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes)
[ 0.297746] TCP: Hash tables configured (established 32768 bind 32768)
[ 0.298437] UDP hash table entries: 2048 (order: 5, 196608 bytes)
[ 0.299163] UDP-Lite hash table entries: 2048 (order: 5, 196608 bytes)
[ 0.300091] NET: Registered protocol family 1
[ 0.300767] RPC: Registered named UNIX socket transport module.
[ 0.301312] RPC: Registered udp transport module.
[ 0.301733] RPC: Registered tcp transport module.
[ 0.302162] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.303681] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 0.304509] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 0.308215] Initialise system trusted keyring
[ 0.316726] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.318029] NFS: Registering the id_resolver key type
[ 0.318491] Key type id_resolver registered
[ 0.318878] Key type id_legacy registered
[ 0.319293] fuse init (API version 7.23)
[ 0.320017] SGI XFS with security attributes, no debug enabled
[ 0.325447] NET: Registered protocol family 38
[ 0.325875] Key type asymmetric registered
[ 0.326244] Asymmetric key parser 'x509' registered
[ 0.326848] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.327507] io scheduler noop registered
[ 0.327872] io scheduler deadline registered
[ 0.328368] io scheduler cfq registered (default)
[ 0.330365] phy phy-ff770000.syscon:usb2-phy@e460.1: Failed to get VBUS supply regulator
[ 0.335644] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[ 0.336243] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[ 0.336833] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[ 0.878860] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 0.879580] rockchip-pcie: probe of f8000000.pcie failed with error -110
[ 0.881290] rk-vcodec ff650000.vpu_service: no regulator for vcodec
[ 0.882223] rk-vcodec ff650000.vpu_service: probe device
[ 0.882998] rk-vcodec ff650000.vpu_service: drm allocator with mmu enabled
[ 0.884385] rk-vcodec ff650000.vpu_service: could not find power_model node
[ 0.885028] rk-vcodec ff650000.vpu_service: init success
[ 0.885925] rk-vcodec ff660000.rkvdec: no regulator for vcodec
[ 0.886870] rk-vcodec ff660000.rkvdec: probe device
[ 0.887513] rk-vcodec ff660000.rkvdec: drm allocator with mmu enabled
[ 0.888616] rk-vcodec ff660000.rkvdec: could not find power_model node
[ 0.889237] rk-vcodec ff660000.rkvdec: init success
[ 0.891644] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.892338] dma-pl330 ff6d0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 0.895147] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.895840] dma-pl330 ff6e0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
内核卡在这里不动了 我可以从内部emmc正常启动,但是从sd卡启动就有问题。对比两种情况的log,初步怀疑和串口有关,但我没有找到任何报错的证据{:4_116:} 请教楼主。Firefly RK3399 默认从EMMC启动,如何设置Firefly RK3399 从SD卡启动?
页:
[1]