你好:
我使用luckfox lyra plus 驱动树莓派DSI屏幕时遇到这个问题。
uboot阶段显示logo,正常显示OK 。
然后到启动kernel之后就不行,不能显示log文件在屏幕上,
跑 modetest -M rockchip -s 74@71:800x480 是黑屏的。(用的是树莓派DSI屏幕,分辨率是800*480)需要给屏幕重新上电才能显示。
固件用的是SDK 重新编译的。只在buildroot里添加了QT5的支持包。
串口输出如下:
DDR 0ac6b06a19 typ 24/11/13-17:22:48,fwver: v1.04
tREFI:4x, sr_idle:93, pd_idle:13
PHY drv:clk:60,ca:160,DQ:80,odt:480
vrefinner:50%, vrefout:50%
dram drv:40,odt:0
sr_dq:0, sr_ca:0, sr_clk:0
rg:0x26-0x0-0x2, 0x1b-0x0-0x2,status:a007
rdtrn:0x13-0x2d-0x47(0x34)
wrtrn:0xa-0x24-0x3f(0x35)
DDR3, 750MHz
BW=16 Col=10 Bk=8 CS0 Row=13 CS=1 Size=128MB
out
U-Boot SPL board init
U-Boot SPL 2017.09-g8f6272a-dirty #deepseek (Mar 07 2025 - 11:11:34)
sfc cmd=03H(6BH-x4)
SPI Nand ID ef aa 22
unrecognized JEDEC id bytes: ff, ef, aa
Trying to boot from MMC1
Card did not respond to voltage select!
mmc_init: -95, time 13
spl: mmc init failed with error: -95
Trying to boot from MTD1
No misc partition
Trying fit image at 0x2000 sector
## Verified-boot: 0
## Checking optee 0x00001000 ... sha256(690eb8a14d...) + OK
## Checking uboot 0x00200000 ... sha256(f638b9e65a...) + OK
## Checking fdt 0x002a35c0 ... sha256(4c7bf9a02f...) + OK
Jumping to U-Boot(0x00200000) via OP-TEE(0x00001000)
Total: 72.716/115.733 ms
I/TC:
I/TC: Status: cluster=0xc00, core=0xe100, bootcpu=0
I/TC: Next entry point address: 0x00200000
I/TC: OP-TEE version: 3.13.0-894-g0e7e5b3c7ff #chenjh (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #2 Tue Nov 12 09:21:23 CST 2024 arm, fwver: v1.25
I/TC: OP-TEE memory: TEEOS 0x5e000 TA 0x1000 SHM 0x1000
I/TC: Primary CPU initializing
E/TC:0 0 rk_otp_sbpi_read:353 otp_check_ecc fail! parity=0x20
E/TC:0 0 rk_otp_read:789 ---OTP---sbpi read otp failed! addr: 0x1ff
E/TC:0 0 call_initcalls:24 Initcall __text_start + 0x0001a280 failed
I/TC: Primary CPU switching to normal world boot
U-Boot 2017.09-g8f6272a-dirty #deepseek (Mar 07 2025 - 11:11:34 +0800)
Model: Luckfox Lyra
MPIDR: 0xf00
PreSerial: 0, raw, 0xff0a0000
DRAM: 128 MiB
Sysmem: init
Relocation Offset: 054f0000
Relocation fdt: 044fb3b0 - 044fedf0
CR: M/C/I
Using default environment
DM: v2
SPI Nand ID ef aa 22
Bootdev(atags): mtd 1
PartType: EFI
No misc partition
boot mode: None
RESC: 'boot', blk@0x000062e5
resource: sha256+
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
Could not find baseparameter partition
Model: Luckfox Lyra Plus
rockchip_set_ethaddr: vendor_storage_write failed -5
Setting bus to 2
I2c2 speed: 100000Hz
Valid chip addresses:drivers/video/waveshare_backlight.c: waveshare_backlight_probe: max brightness: 255
45
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
dsi@ff640000: detailed mode clock 30000 kHz, flags[a]
H: 0800 0931 0976 0978
V: 0480 0487 0509 0511
bus_format: 100e
VOP:0xff600000 update mode to: 800x480p60, type: MIPI0
VOP:0xff600000 set crtc_clock to 30000KHz, get 30000000Hz
Unsupported bt709f at 10bit csc depth, use bt601f instead
VOP:0xff600000 set plane [654x270->654x270@73x105] fmt[0] addr[0x5900000]
final DSI-Link bandwidth: 800 Mbps x 1
CLK: (arm clk use pvtpll, rate = 1200M)
gpll 1500000 KHz
v0pll 1179648 KHz
v1pll 903168 KHz
clk_gpll_div 187500 KHz
clk_gpll_div_100m 93750 KHz
clk_v0pll_div 147456 KHz
clk_v1pll_div 129024 KHz
aclk_bus_root 187500 KHz
hclk_bus_root 147456 KHz
pclk_bus_root 93750 KHz
aclk_hsperi_root 147456 KHz
hclk_ksperi_root 93750 KHz
Net: eth1: ethernet@ff4d0000
Hit key to stop autoboot('CTRL+C'): 0
## Booting FIT Image at 0x3e9b980 with size 0x0045ca00
Fdt Ramdisk skip relocation
No misc partition
## Loading kernel from FIT Image at 03e9b980 ...
Using 'conf' configuration
## Verified-boot: 0
Trying 'kernel' kernel subimage
Description: unavailable
Type: Kernel Image
Compression: uncompressed
Data Start: 0x03ea4d80
Data Size: 4535320 Bytes = 4.3 MiB
Architecture: ARM
OS: Linux
Load Address: 0x01100000
Entry Point: 0x01100000
Hash algo: sha256
Hash value: 7995bcae4ba43b1f13a49865f91a35795cc280950064b593d708bd72247a3b28
Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 03e9b980 ...
Using 'conf' configuration
Trying 'fdt' fdt subimage
Description: unavailable
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x03e9c180
Data Size: 35484 Bytes = 34.7 KiB
Architecture: ARM
Load Address: 0x00063000
Hash algo: sha256
Hash value: c55ae9b8b0874253d50adf33f7bbd9078129eb262315a8065d756a6a54f57c34
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x00063000 to 0x00063000
Booting using the fdt blob at 0x00063000
Loading Kernel Image from 0x03ea4d80 to 0x01100000 ... OK
kernel loaded at 0x01100000, end = 0x01553418
Using Device Tree in place at 00063000, end 0006ea9b
## reserved-memory:
trust@0: addr=0 size=62000
drm-logo@0: addr=5900000 size=15a000
ramoops@83000: addr=83000 size=2d000
Adding bank: 0x00000000 - 0x08000000 (size: 0x08000000)
Total: 826.362/952.115 ms
//Uboot阶段显示是OK 的。
Starting kernel ...
[ 1.035258] Booting Linux on physical CPU 0xf00
[ 1.035287] Linux version 6.1.99 (deepseek@deepseek-cxtz830series) (arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #2 SMP PREEMPT Thu Mar 6 18:02:12 CST 2025
[ 1.035297] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[ 1.035308] CPU: div instructions available: patching division code
[ 1.035313] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 1.035543] OF: fdt: Machine model: Luckfox Lyra Plus
[ 1.037177] earlycon: uart8250 at MMIO32 0xff0a0000 (options '')
[ 1.043132] printk: bootconsole [uart8250] enabled
[ 1.043653] Memory policy: Data cache writealloc
[ 1.044284] Reserved memory: created CMA memory pool at 0x06000000, size 32 MiB
[ 1.044957] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 1.046227] Zone ranges:
[ 1.046483] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 1.047059] Movable zone start for each node
[ 1.047452] Early memory node ranges
[ 1.047780] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 1.048359] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 1.055794] psci: probing for conduit method from DT.
[ 1.056282] psci: PSCIv1.0 detected in firmware.
[ 1.056709] psci: Using standard PSCI v0.2 function IDs
[ 1.057192] psci: MIGRATE_INFO_TYPE not supported.
[ 1.057634] psci: SMC Calling Convention v1.1
[ 1.058170] percpu: Embedded 12 pages/cpu s16468 r8192 d24492 u49152
[ 1.058873] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 1.059496] Kernel command line: storagemedia=mtd androidboot.storagemedia=mtd androidboot.mode=normal rootwait earlycon=uart8250,mmio32,0xff0a0000 console=tty1 console=ttyFIQ0 root=ubi0:rootfs ubi.mtd=2 rootfstype=ubifs snd_aloop.index=7 snd_aloop.use_raw_jiffies=1 mtdparts=spi-nand0:0x400000@0x400000(uboot),0xc00000@0x800000(boot),0xdf60000@0x2000000(rootfs) androidboot.fwver=ddr-v1.04-0ac6b06a19,tee-v1.25,uboot-8f6272a-di-03/07/2025 user_debug=31
[ 1.063638] Unknown kernel command line parameters "storagemedia=mtd", will be passed to user space.
[ 1.064539] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 1.065259] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 1.065943] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 1.069181] Memory: 88144K/131072K available (3769K kernel code, 366K rwdata, 1876K rodata, 196K init, 118K bss, 10160K reserved, 32768K cma-reserved)
[ 1.070598] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=3, Nodes=1
[ 1.071424] rcu: Preemptible hierarchical RCU implementation.
[ 1.071963] rcu: RCU event tracing is enabled.
[ 1.072380] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=3.
[ 1.072982] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[ 1.073676] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=3
[ 1.074320] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 1.075643] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 1.086418] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 1.087013] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 1.088011] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 1.088751] Switching to timer-based delay loop, resolution 41ns
[ 1.089702] Console: colour dummy device 80x30
[ 1.090641] printk: console [tty1] enabled
[ 1.091062] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[ 1.092028] CPU: Testing write buffer coherency: ok
[ 1.092529] pid_max: default: 4096 minimum: 301
[ 1.093134] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.093838] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.095536] /cpus/cpu@f00 missing clock-frequency property
[ 1.096097] /cpus/cpu@f01 missing clock-frequency property
[ 1.096678] /cpus/cpu@f02 missing clock-frequency property
[ 1.097206] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 1.098633] Setting up static identity map for 0x108240 - 0x108294
[ 1.099407] rcu: Hierarchical SRCU implementation.
[ 1.099871] rcu: Max phase no-delay instances is 1000.
[ 1.101208] smp: Bringing up secondary CPUs ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
[ 1.103123] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 1.104805] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 1.104928] smp: Brought up 1 node, 3 CPUs
[ 1.106404] SMP: Total of 3 processors activated (144.00 BogoMIPS).
[ 1.106994] CPU: All CPU(s) started in SVC mode.
[ 1.108101] devtmpfs: initialized
[ 1.115776] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 1.116720] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 1.117699] futex hash table entries: 16 (order: -2, 1024 bytes, linear)
[ 1.118427] pinctrl core: initialized pinctrl subsystem
[ 1.120130] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 1.121220] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 1.122587] Registered FIQ tty driver
[ 1.123332] thermal_sys: Registered thermal governor 'step_wise'
[ 1.123344] thermal_sys: Registered thermal governor 'user_space'
[ 1.123990] cpuidle: using governor menu
[ 1.126375] ramoops: boot-log-0 0xd000@0x00083000
[ 1.127005] ramoops: console 0x20000@0x00090000
[ 1.127770] printk: console [ramoops-1] enabled
[ 1.128241] pstore: Registered ramoops as persistent store backend
[ 1.128826] ramoops: using 0x2d000@0x83000, ecc: 0
[ 1.137882] rockchip-gpio ff940000.gpio: probed /pinctrl/gpio@ff940000
[ 1.139330] rockchip-gpio ff870000.gpio: probed /pinctrl/gpio@ff870000
[ 1.140682] rockchip-gpio ff1c0000.gpio: probed /pinctrl/gpio@ff1c0000
[ 1.142016] rockchip-gpio ff1d0000.gpio: probed /pinctrl/gpio@ff1d0000
[ 1.143324] rockchip-gpio ff1e0000.gpio: probed /pinctrl/gpio@ff1e0000
[ 1.144045] rockchip-pinctrl pinctrl: probed pinctrl
[ 1.146596] platform ff600000.vop: Fixed dependency cycle(s) with /dsi@ff640000
[ 1.147418] platform ff640000.dsi: Fixed dependency cycle(s) with /dsi@ff640000/panel@0
[ 1.148196] platform ff640000.dsi: Fixed dependency cycle(s) with /vop@ff600000
[ 1.150775] platform vdd-cpu: Fixed dependency cycle(s) with /vdd-cpu
[ 1.158653] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ fiq not found
[ 1.159368] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ wakeup not found
[ 1.160038] fiq_debugger_probe: could not install nmi irq handler
[[ 1.160707] printk: console [ttyFIQ0] enabled
1.160707] printk: console [ttyFIQ0] enabled
[ 1.161512] printk: bootconsole [uart8250] disabled
[ 1.161512] printk: bootconsole [uart8250] disabled
[ 1.162216] Registered fiq debugger ttyFIQ0
[ 1.164521] reg-fixed-voltage vdd-cpu: Fixed regulator specified with variable voltages
[ 1.164581] reg-fixed-voltage: probe of vdd-cpu failed with error -22
[ 1.165117] mc: Linux media interface: v0.10
[ 1.165222] videodev: Linux video capture interface: v2.00
[ 1.165285] pps_core: LinuxPPS API ver. 1 registered
[ 1.165311] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.165358] PTP clock support registered
[ 1.166588] Advanced Linux Sound Architecture Driver Initialized.
[ 1.167348] rockchip-cpuinfo cpuinfo: SoC : 35060000
[ 1.167401] rockchip-cpuinfo cpuinfo: Serial : bb7f444bcce1b3d7
[ 1.168220] clocksource: Switched to clocksource arch_sys_counter
[ 1.179045] NET: Registered PF_INET protocol family
[ 1.179289] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.180168] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 1.180240] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.180283] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.180323] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 1.180376] TCP: Hash tables configured (established 1024 bind 1024)
[ 1.180496] UDP hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 1.180556] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 1.180775] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.182406] rockchip-thermal ff650000.tsadc: tsadc is probed successfully!
[ 1.183478] Initialise system trusted keyrings
[ 1.183802] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.188360] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.188800] Key type asymmetric registered
[ 1.188843] Asymmetric key parser 'x509' registered
[ 1.188972] io scheduler mq-deadline registered
[ 1.189005] io scheduler kyber registered
[ 1.189171] io scheduler bfq registered
[ 1.194580] dma-pl330 ff000000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.194652] dma-pl330 ff000000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 1.196285] dma-pl330 ff008000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.196341] dma-pl330 ff008000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 1.196592] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[ 1.197205] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 1.199094] dw-mipi-dsi-rockchip ff640000.dsi: Fixed dependency cycle(s) with /dsi@ff640000/panel@0
[ 1.199235] mipi-dsi ff640000.dsi.0: Fixed dependency cycle(s) with /dsi@ff640000
[ 1.201683] rockchip-drm display-subsystem: bound ff600000.vop (ops 0xb05ce9b4)
[ 1.201777] dw-mipi-dsi-rockchip ff640000.dsi: failed to find panel or bridge: -517 //疑似这里kernel没有成功调用还是改什么参数的?
E/TC:0 plat_shm_get_page_num:373 plat_shm_get_page_num: type 6 alloc is not supported
[ 1.203694] no ATF memory for init
[ 1.204396] panel-simple-dsi ff640000.dsi.0: Expected bpc in {6,8} but got: 0
[ 1.207323] spi-nand spi2.0: Winbond SPI NAND was found.
[ 1.207389] spi-nand spi2.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 1.208536] 3 cmdlinepart partitions found on MTD device spi-nand0
[ 1.208584] Creating 3 MTD partitions on "spi-nand0":
[ 1.208610] 0x000000400000-0x000000800000 : "uboot"
[ 1.210849] 0x000000800000-0x000001400000 : "boot"
[ 1.213059] 0x000002000000-0x00000ff60000 : "rootfs"
[ 1.216567] CAN device driver interface
[ 1.216904] PPP generic driver version 2.4.2
[ 1.217566] i2c_dev: i2c /dev entries driver
[ 1.218579] Goodix-TS 2-005d: supply AVDD28 not found, using dummy regulator
[ 1.218804] Goodix-TS 2-005d: supply VDDIO not found, using dummy regulator
[ 1.219117] Goodix-TS 2-005d: Error reading 1 bytes from 0x8140: -6
[ 1.245058] Goodix-TS 2-005d: Error reading 1 bytes from 0x8140: -6
[ 1.271565] Goodix-TS 2-005d: I2C communication failure: -6
[ 1.272163] Goodix-TS 2-0014: supply AVDD28 not found, using dummy regulator
[ 1.272367] Goodix-TS 2-0014: supply VDDIO not found, using dummy regulator
[ 1.272670] Goodix-TS 2-0014: Error reading 1 bytes from 0x8140: -6
[ 1.298418] Goodix-TS 2-0014: Error reading 1 bytes from 0x8140: -6
[ 1.324904] Goodix-TS 2-0014: I2C communication failure: -6
[ 1.325559] edt_ft5x06 2-0038: supply vcc not found, using dummy regulator
[ 1.325758] edt_ft5x06 2-0038: supply iovcc not found, using dummy regulator
[ 1.332195] input: 2-0038 generic ft5x06 (82) as /devices/platform/ff060000.i2c/i2c-2/2-0038/input/input0
I/TC: ddr_plat_smc_handler: default
I/TC: ddr_plat_smc_handler: unhandled DDR SMC id(0x13)
[ 2.983597] cpu cpu0: bin=0
[ 2.983710] cpu cpu0: leakage=4
[ 2.983773] cpu cpu0: Failed to get reg
[ 2.983888] cpu cpu0: failed to set opp config
[ 2.983919] cpu cpu0: failed to init opp info
[ 2.983940] Failed to initialize dvfs info cpu0
[ 2.984268] Synopsys Designware Multimedia Card Interface Driver
[ 2.985052] dwmmc_rockchip ff480000.mmc: No normal pinctrl state
[ 2.985124] dwmmc_rockchip ff480000.mmc: No idle pinctrl state
[ 2.985357] dwmmc_rockchip ff480000.mmc: IDMAC supports 32-bit address mode.
[ 2.985426] dwmmc_rockchip ff480000.mmc: Using internal DMA controller.
[ 2.985462] dwmmc_rockchip ff480000.mmc: Version ID is 270a
[ 2.985546] dwmmc_rockchip ff480000.mmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[ 2.985992] dwmmc_rockchip ff480000.mmc: Got CD GPIO
[ 2.989824] NET: Registered PF_PACKET protocol family
[ 2.989917] can: controller area network core
[ 2.990075] NET: Registered PF_CAN protocol family
[ 2.990113] can: raw protocol
[ 2.990138] can: broadcast manager protocol
[ 2.990168] can: netlink gateway - max_hops=1
[ 2.990469] Registering SWP/SWPB emulation handler
[ 2.990807] Loading compiled-in X.509 certificates
[ 2.996036] rga2 ff610000.rga: probe successfully, irq = 47, hw_version:3.a.07135
[ 2.996263] rga: IOMMU binding successfully, default mapping core[0x4]
[ 2.996563] rga: Module initialized. v1.3.6
[ 2.998321] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 3.015754] rockchip-drm display-subsystem: bound ff600000.vop (ops 0xb05ce9b4)
[ 3.015896] rockchip-drm display-subsystem: bound ff640000.dsi (ops 0xb05cff44)
[ 3.016973] [drm] Initialized rockchip 4.0.0 20140818 for display-subsystem on minor 0
[ 3.034932] mmc_host mmc0: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0)
[ 3.056898] Console: switching to colour frame buffer device 100x30
[ 3.071187] mmc_host mmc0: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0)
[ 3.080525] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[ 3.082356] rockchip-drm display-subsystem: [drm] run display error_event monitor
[ 3.084200] adc_keys adc-keys: keymap is missing
[ 3.085871] adc_keys: probe of adc-keys failed with error -22
[ 3.087850] ubi0: attaching mtd2
[ 3.110748] mmc_host mmc0: Bus speed (slot 0) = 187500Hz (slot req 187500Hz, actual 187500HZ div = 0)
[ 3.554229] ubi0: scanning is finished
[ 3.561481] ubi0: attached mtd2 (name "rootfs", size 223 MiB)
[ 3.563135] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.564718] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.566312] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.567890] ubi0: good PEBs: 1787, bad PEBs: 0, corrupted PEBs: 0
[ 3.569444] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 3.570990] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 642452063
[ 3.574036] ubi0: available PEBs: 0, total reserved PEBs: 1787, PEBs reserved for bad PEB handling: 40
[ 3.577164] ubi0: background thread "ubi_bgt0d" started, PID 73
[ 3.577750] clk: Disabling unused clocks
[ 3.580855] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[ 3.582590] rockchip-suspend not set sleep-mode-config for mem-lite
[ 3.584121] rockchip-suspend not set wakeup-config for mem-lite
[ 3.585603] rockchip-suspend not set sleep-mode-config for mem-ultra
[ 3.587017] rockchip-suspend not set wakeup-config for mem-ultra
[ 3.588858] ALSA device list:
[ 3.590248] No soundcards found.
[ 3.592349] UBIFS (ubi0:0): Mounting in unauthenticated mode
[ 3.609314] UBIFS (ubi0:0): recovery needed
[ 3.624916] random: crng init done
[ 3.635137] UBIFS (ubi0:0): recovery deferred
[ 3.636518] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
[ 3.637835] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 3.640427] UBIFS (ubi0:0): FS size: 219922432 bytes (209 MiB, 1732 LEBs), max 8456 LEBs, journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 3.643161] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 3.644550] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 4E900E2B-CF98-4124-9BF8-C700BD6A856F, small LPT model
[ 3.647862] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
[ 3.649865] devtmpfs: mounted
[ 3.651391] Freeing unused kernel image (initmem) memory: 196K
[ 3.652759] Kernel memory protection not selected by kernel config.
[ 3.654109] Run /sbin/init as init process
[ 3.818497] UBIFS (ubi0:0): completing deferred recovery
[ 3.881319] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 76
[ 3.885316] UBIFS (ubi0:0): deferred recovery completed
[ 4.048555] Freeing drm_logo memory: 1384K
Start mounting all internal partitions in /etc/fstab
Log saved to /var/log/mount-all.log
Note: Create /.skip_fsck to skip fsck
- The check might take a while if didn't shutdown properly!
realpath: : No such file or directory
Seeding 256 bits and crediting
Saving 256 bits of creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
[ 4.522206] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.537484] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.540261] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 4.542380] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.543915] cfg80211: failed to load regulatory.db
[ 4.825966] usbcore: registered new interface driver usbfs
[ 4.827552] usbcore: registered new interface driver hub
[ 4.829176] usbcore: registered new device driver usb
[ 4.833693] usbcore: registered new interface driver usbhid
[ 4.835175] usbhid: USB HID core driver
[ 5.033004] rk_gmac-dwmac ff4d0000.ethernet: IRQ eth_lpi not found
[ 5.034612] rk_gmac-dwmac ff4d0000.ethernet: supply phy not found, using dummy regulator
[ 5.036242] rk_gmac-dwmac ff4d0000.ethernet: clock input or output? (output).
[ 5.037574] rk_gmac-dwmac ff4d0000.ethernet: Can not read property: tx_delay.
[ 5.038910] rk_gmac-dwmac ff4d0000.ethernet: set tx_delay to 0xffffffff
[ 5.040152] rk_gmac-dwmac ff4d0000.ethernet: Can not read property: rx_delay.
[ 5.041334] rk_gmac-dwmac ff4d0000.ethernet: set rx_delay to 0xffffffff
[ 5.042521] rk_gmac-dwmac ff4d0000.ethernet: integrated PHY? (no).
[ 5.043682] rk_gmac-dwmac ff4d0000.ethernet: cannot get clock mac_clk_rx
[ 5.044802] rk_gmac-dwmac ff4d0000.ethernet: cannot get clock mac_clk_tx
[ 5.045951] rk_gmac-dwmac ff4d0000.ethernet: cannot get clock clk_mac_ref
[ 5.047033] rk_gmac-dwmac ff4d0000.ethernet: cannot get clock clk_mac_refout
[ 5.048053] rk_gmac-dwmac ff4d0000.ethernet: cannot get clock clk_mac_speed
[ 5.049296] rk_gmac-dwmac ff4d0000.ethernet: init for RMII
[ 5.050520] rk_gmac-dwmac ff4d0000.ethernet: User ID: 0x40, Synopsys ID: 0x51
[ 5.051492] rk_gmac-dwmac ff4d0000.ethernet: DWMAC4/5
[ 5.052452] rk_gmac-dwmac ff4d0000.ethernet: DMA HW capability register supported
[ 5.053393] rk_gmac-dwmac ff4d0000.ethernet: RX Checksum Offload Engine supported
[ 5.054256] rk_gmac-dwmac ff4d0000.ethernet: TX Checksum insertion supported
[ 5.055157] rk_gmac-dwmac ff4d0000.ethernet: Wake-Up On Lan supported
[ 5.056083] rk_gmac-dwmac ff4d0000.ethernet: TSO supported
[ 5.056896] rk_gmac-dwmac ff4d0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 5.057739] rk_gmac-dwmac ff4d0000.ethernet: Enabled RFS Flow TC (entries=10)
[ 5.058615] rk_gmac-dwmac ff4d0000.ethernet: TSO feature enabled
[ 5.059459] rk_gmac-dwmac ff4d0000.ethernet: Using 40/40 bits DMA host/device width
[ 5.276362] rockchip-usb2phy ff2b0000.usb2-phy: error -ENXIO: IRQ index 0 not found
[ 5.333127] dwc2 ff740000.usb: supply vusb_d not found, using dummy regulator
[ 5.334230] dwc2 ff740000.usb: supply vusb_a not found, using dummy regulator
[ 5.339040] dwc2 ff740000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[ 5.340723] dwc2 ff780000.usb: supply vusb_d not found, using dummy regulator
[ 5.342115] dwc2 ff780000.usb: supply vusb_a not found, using dummy regulator
[ 5.357116] dwc2 ff780000.usb: DWC OTG Controller
[ 5.358025] dwc2 ff780000.usb: new USB bus registered, assigned bus number 1
[ 5.358999] dwc2 ff780000.usb: irq 56, io mem 0xff780000
[ 5.360824] hub 1-0:1.0: USB hub found
[ 5.361847] hub 1-0:1.0: 1 port detected
[ 5.419217] SCSI subsystem initialized
[ 5.428185] usbcore: registered new interface driver usb-storage
Populating /dev using udev: [ 5.701508] udevd[246]: starting version 3.2.14
[ 5.757293] udevd[247]: starting eudev-3.2.14
[ 6.006014] mtdblock: MTD device 'boot' is NAND, please consider using UBI block devices instead.
[ 6.007472] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[ 6.014113] mtdblock: MTD device 'uboot' is NAND, please consider using UBI block devices instead.
done
Starting irqbalance: OK
Starting system message bus: done
Starting bluetoothd: OK
Starting network: OK
Starting dhcpcd...
dhcpcd-10.0.8 starting
dev: loaded udev
DUID 00:01:00:01:c7:92:bc:94:7e:63:53:cc:b5:9f
no interfaces have a carrier
[ 6.957428] rk_gmac-dwmac ff4d0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[ 6.961519] rk_gmac-dwmac ff4d0000.ethernet eth0: PHY [stmmac-1:01] driver [Generic PHY] (irq=POLL)
[ 6.964955] dwmac4: Master AXI performs any burst length
[ 6.966391] rk_gmac-dwmac ff4d0000.ethernet eth0: No Safety Features support found
[ 6.967832] rk_gmac-dwmac ff4d0000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[ 6.969537] rk_gmac-dwmac ff4d0000.ethernet eth0: registered PTP clock
[ 6.975888] rk_gmac-dwmac ff4d0000.ethernet eth0: configuring for phy/rmii link mode
Starting sshd: OK
starting usbdevice service, log saved to /var/log/usbdevice.log
[S60netdevice] Saved eth0 Mac address:7e:63:53:cc:b5:9f
fstrim: Starting fstrim process (372)...
[ 7.383702] rk_gmac-dwmac ff4d0000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
Starting input-event-daemon: [ 7.389125] rk_gmac-dwmac ff4d0000.ethernet eth0: PHY [stmmac-1:01] driver [Generic PHY] (irq=POLL)
[ 7.393186] dwmac4: Master AXI performs any burst length
[ 7.395755] rk_gmac-dwmac ff4d0000.ethernet eth0: No Safety Features support found
[ 7.397640] rk_gmac-dwmac ff4d0000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[ 7.401327] rk_gmac-dwmac ff4d0000.ethernet eth0: registered PTP clock
[ 7.402983] rk_gmac-dwmac ff4d0000.ethernet eth0: configuring for phy/rmii link mode
[S60netdevice] Set eth0 MAC address to 7e:63:53:cc:b5:9f
done
Welcome to Luckfox Lyra [root:luckfox]
luckfox login: [ 8.325859] using random self ethernet address
[ 8.327396] using random host ethernet address
[ 8.410660] file system registered
[ 8.661823] read descriptors
[ 8.663233] read strings
[ 8.701339] usb0: HOST MAC be:c5:5d:53:e9:26
[ 8.702968] usb0: MAC 22:73:2a:55:c6:f5
[ 8.705585] dwc2 ff740000.usb: bound driver configfs-gadget.rockchip
[ 8.902524] dwc2 ff740000.usb: new device is high-speed
[ 8.955632] android_work: sent uevent USB_STATE=CONNECTED
[ 9.017526] dwc2 ff740000.usb: new device is high-speed
[ 9.071508] dwc2 ff740000.usb: new address 26
[ 9.089051] android_work: sent uevent USB_STATE=CONFIGURED
[ 9.435454] rk_gmac-dwmac ff4d0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[S60netdevice] Saved usb0 Mac address:0e:41:e8:28:76:98
[S60netdevice] Set usb0 MAC address to 0e:41:e8:28:76:98
Welcome to Luckfox Lyra [root:luckfox]
启动console之后 查询信息是有输出的
cat /sys/kernel/debug/dri/0/summary
输出如下:
VOP [ff600000.vop]: ACTIVE
Connector: DSI-1
bus_format[100a]: RGB888_1X24
overlay_mode[0] output_mode[0]color-encoding[1] color-range[1]
Display mode: 800x480p60
dclk[30000 kHz] real_dclk[30000 kHz] aclk[294912 kHz] type[48] flag[a]
H: 800 931 976 978
V: 480 487 509 511
win1-0: ACTIVE
format: XR24 little-endian (0x34325258) SDR[0] color-encoding[0] color-range[0]
csc: y2r[0] r2r[0] r2y[0] csc mode[0]
zpos: 0
src: pos[0x0] rect[800x480]
dst: pos[0x0] rect[800x480]
buf[0]: addr: 0x06100000 pitch: 3200 offset: 0
post: sdr2hdr[0] hdr2sdr[0]
pre : sdr2hdr[0]
post CSC: r2y[0] y2r[0] CSC mode[2]
到了这个时候,重新插拔一下屏幕线,就有正常显示了,然后再次输入modetest命令也是能正常显示的。
不知道是哪里设置问题,请大神指教指教,谢谢!!!
使用luckfox lyra plus驱动树莓派DSI屏幕时,uboot阶段显示logo,启动kernel后就不行,需要给屏幕重新上电才能显示。
您好,您遇到的这种情况我们没有遇到过,Uboot 阶段有LOGO显示说明设备树的timing 配置和初始化序列都是正常的,在内核阶段打印dw-mipi-dsi-rockchip ff640000.dsi: failed to find panel or bridge: -517 只是在前几次绑定没有成功,最后有绑定成功也是可以正常运行的。
屏幕重新拔插的话如果是重新上电,那么正常情况下没有初始化序列屏幕应该是没反应的;
如果是仅重新连接信号线就可以显示我怀疑可能是供电问题
屏幕重新拔插的话如果是重新上电,那么正常情况下没有初始化序列屏幕应该是没反应的;
如果是仅重新连接信号线就可以显示我怀疑可能是供电问题
那大概率是供电问题了。我用usb供电的 芯片加屏幕应该要拉爆电脑U口了。我试试加个电源上去看看。谢谢大佬!