Luckfox lyra 启动时u-boot和kernel的logo不显示
Posted: 2025-03-01 9:11
您好:
我在使用luckfox lyra驱动自己显示屏时,出现开机u-boot和kernel的logo不显示的问题,上电黑屏1-2s后能正常显示fb控制台、打印log,同时也能正常写入fb0显示。SDK的Luckfox_Lyra_SDK_250118和luckfox-linux-6.1-rk3506-270207-n两个版本均试验过,仅修改了设备树panel-init-sequence和dsi_timing0: timing0两个节点、其他的都没改,序列如下:
panel-init-sequence = [
05 78 01 01
39 00 06 FF 77 01 00 00 13
15 00 02 EF 08
39 00 06 FF 77 01 00 00 10
39 00 03 C0 4F 00
39 00 03 C1 11 0C
39 00 03 C2 07 0A
39 00 04 C3 83 32 10
15 00 02 CC 10
39 00 11 B0 00 0F 18 0D 12 07 05 08 07 21 03 10 0F 26 2F 1F
39 00 11 B1 00 1B 20 0C 0E 03 08 08 08 22 05 11 0F 2A 32 1F
39 00 06 FF 77 01 00 00 11
15 00 02 B0 35
15 00 02 B1 52
15 00 02 B2 81
15 00 02 B3 80
15 00 02 B5 4E
15 00 02 B7 85
15 00 02 B8 21
15 00 02 C0 09
15 00 02 C1 78
15 00 02 C2 78
15 00 02 D0 88
39 00 04 E0 00 A0 02
39 00 0C E1 06 A0 08 A0 05 A0 07 A0 00 44 44
39 00 0E E2 20 20 40 40 96 A0 00 00 96 A0 00 00 00
39 00 05 E3 00 00 22 22
39 00 03 E4 44 44
39 00 11 E5 0E 97 10 A0 10 99 10 A0 0A 93 10 A0 0C 95 10 A0
39 00 05 E6 00 00 22 22
39 00 03 E7 44 44
39 00 11 E8 0D 96 10 A0 0F 98 10 A0 09 92 10 A0 0B 94 10 A0
39 00 08 EB 00 01 4E 4E 44 88 40
39 00 03 EC 78 00
39 00 11 ED FF FA 2F 89 76 54 01 FF FF 10 45 67 98 F2 AF FF
39 00 07 EF 08 08 08 45 3F 54
39 00 06 FF 77 01 00 00 13
39 00 09 E8 00 0E FF 77 01 00 00 00
05 78 01 11
39 00 06 FF 77 01 00 00 13
39 0A 03 E8 00 0C
39 00 03 E8 00 00
39 00 06 FF 77 01 00 00 00
15 00 02 3A 77
15 00 02 29 00
];
disp_timings0: display-timings {
native-mode = <&dsi_timing0>;
// 10inch1
dsi_timing0: timing0 {
clock-frequency = <21000000>;
hactive = <480>;
vactive = <640>;
vsync-len = <4>;
vback-porch = <12>;
vfront-porch = <12>;
hsync-len = <4>;
hback-porch = <46>;
hfront-porch = <8>;
vsync-active = <0>;
hsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
通过查看串口log发现以下问题:
Using display timing dts
dsi@ff640000: detailed mode clock 21000 kHz, flags[a]
H: 0480 0488 0492 0538
V: 0640 0652 0656 0668
bus_format: 100e
VOP:0xff600000 update mode to: 480x640p58, type: MIPI0
VOP:0xff600000 set crtc_clock to 21000KHz, get 20833333Hz
Unsupported bt709f at 10bit csc depth, use bt601f instead
ERROR: scale factor is out of range
提示缩放超出范围,这哪能忍直接将logo.bmp和logo_kernel.bmp换成480*640大小的图片,这下好了只剩背光了
,fbcon也不打印log了,向fb0写入一点反应都没,uboot部分log如下:
Using display timing dts
dsi@ff640000: detailed mode clock 21000 kHz, flags[a]
H: 0480 0488 0492 0538
V: 0640 0652 0656 0668
bus_format: 100e
VOP:0xff600000 update mode to: 480x640p58, type: MIPI0
VOP:0xff600000 set crtc_clock to 21000KHz, get 20833333Hz
Unsupported bt709f at 10bit csc depth, use bt601f instead
VOP:0xff600000 set plane [480x640->480x640@0x0] fmt[0] addr[0x5900000]
final DSI-Link bandwidth: 280 Mbps x 2
以上为全部修改过程,能否指条明路,卡两天了求求了
附件:仅修改设备树串口log、修改设备树并且更换图片串口log
?附件不允许txt?那就放在下面吧:
仅修改dts:
DDR 0ac6b06a19 typ 24/11/13-17:22:48,fwver: v1.04
tREFI:4x, sr_idle:93, pd_idle:13
SRX
get rd_skew=0x29, wr_skew=0x23
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:0x1f-0x0-0x2, 0x14-0x0-0x2,status:a007
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 #kvzero (Mar 01 2025 - 15:18:27)
sfc cmd=03H(6BH-x4)
SPI Nand ID ef aa 22
unrecognized JEDEC id bytes: ff, ef, aa
Trying to boot from MMC1
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
No misc partition
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
spl: partition error
Trying fit image at 0x4000 sector
Not fit magic
Trying fit image at 0x5000 sector
Not fit magic
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
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(38214daac7...) + OK
## Checking fdt 0x002a35b0 ... sha256(4c7bf9a02f...) + OK
Jumping to U-Boot(0x00200000) via OP-TEE(0x00001000)
Total: 104.420/143.947 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
I/TC: Primary CPU switching to normal world boot
U-Boot 2017.09-g8f6272a #kvzero (Mar 01 2025 - 15:18:27 +0800)
Model: Luckfox Lyra
MPIDR: 0xf00
PreSerial: 0, raw, 0xff0a0000
DRAM: 128 MiB
Sysmem: init
Relocation Offset: 054f0000
Relocation fdt: 044fb390 - 044fede0
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: normal
RESC: 'boot', blk@0x000062d9
resource: sha256+
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
Could not find baseparameter partition
Model: Luckfox Lyra
rockchip_set_ethaddr: vendor_storage_write failed -5
Setting bus to 2
I2c2 speed: 100000Hz
Valid chip addresses:
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
dsi@ff640000: detailed mode clock 21000 kHz, flags[a]
H: 0480 0488 0492 0538
V: 0640 0652 0656 0668
bus_format: 100e
VOP:0xff600000 update mode to: 480x640p58, type: MIPI0
VOP:0xff600000 set crtc_clock to 21000KHz, get 20833333Hz
Unsupported bt709f at 10bit csc depth, use bt601f instead
ERROR: scale factor is out of range
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: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
## Booting FIT Image at 0x3e9d180 with size 0x0045b200
Fdt Ramdisk skip relocation
No misc partition
## Loading kernel from FIT Image at 03e9d180 ...
Using 'conf' configuration
## Verified-boot: 0
Trying 'kernel' kernel subimage
Description: unavailable
Type: Kernel Image
Compression: uncompressed
Data Start: 0x03ea6780
Data Size: 4529144 Bytes = 4.3 MiB
Architecture: ARM
OS: Linux
Load Address: 0x01100000
Entry Point: 0x01100000
Hash algo: sha256
Hash value: d631f8764ca66822216b43ceedf1989065150ff78e4a35f640e9ce994a66db13
Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 03e9d180 ...
Using 'conf' configuration
Trying 'fdt' fdt subimage
Description: unavailable
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x03e9d980
Data Size: 36146 Bytes = 35.3 KiB
Architecture: ARM
Load Address: 0x00063000
Hash algo: sha256
Hash value: 2caaf9a00eeaef460bde7f2e7519ae63011f3521b2fede74833feb90de29f7eb
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x00063000 to 0x00063000
Booting using the fdt blob at 0x00063000
Loading Kernel Image from 0x03ea6780 to 0x01100000 ... OK
kernel loaded at 0x01100000, end = 0x01551bf8
Using Device Tree in place at 00063000, end 0006ed31
## 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: 439.669/592.65 ms
Starting kernel ...
[ 0.673983] Booting Linux on physical CPU 0xf00
[ 0.674011] Linux version 6.1.99 (kvzero@kvzero-virtual-machine) (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) #1 SMP PREEMPT Fri Feb 28 20:44:18 CST 2025
[ 0.674022] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[ 0.674031] CPU: div instructions available: patching division code
[ 0.674036] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.674257] OF: fdt: Machine model: Luckfox Lyra
[ 0.675768] earlycon: uart8250 at MMIO32 0xff0a0000 (options '')
[ 0.681662] printk: bootconsole [uart8250] enabled
[ 0.682185] Memory policy: Data cache writealloc
[ 0.682802] Reserved memory: created CMA memory pool at 0x06000000, size 32 MiB
[ 0.683475] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.684714] Zone ranges:
[ 0.684968] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.685542] Movable zone start for each node
[ 0.685935] Early memory node ranges
[ 0.686264] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.686841] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.693900] psci: probing for conduit method from DT.
[ 0.694388] psci: PSCIv1.0 detected in firmware.
[ 0.694815] psci: Using standard PSCI v0.2 function IDs
[ 0.695298] psci: MIGRATE_INFO_TYPE not supported.
[ 0.695739] psci: SMC Calling Convention v1.1
[ 0.696270] percpu: Embedded 12 pages/cpu s16468 r8192 d24492 u49152
[ 0.696964] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.697588] 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) #k-03/01/2025 androidboot.fwver=ddr-v1.04-0ac6b06a19,tee-v1.25,uboot-8f6272a user_debug=31
[ 0.701736] Unknown kernel command line parameters "#k-03/01/2025 storagemedia=mtd", will be passed to user space.
[ 0.702747] Dentr16384 (order: 4, 65536 bytes, linear)
[ 0.703463] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.704145] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.707320] Memory: 88164K/131072K available (3767K kernel code, 366K rwdata, 1876K rodata, 180K init, 118K bss, 10140K reserved, 32768K cma-reserved)
[ 0.708730] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=3, Nodes=1
[ 0.709549] rcu: Preemptible hierarchical RCU implementation.
[ 0.710088] rcu: RCU event tracing is enabled.
[ 0.710505] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=3.
[ 0.711106] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[ 0.711801] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=3
[ 0.712441] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.713732] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.723930] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.724522] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.725518] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.726258] Switching to timer-based delay loop, resolution 41ns
[ 0.727186] Console: colour dummy device 80x30
[ 0.728059] printk: console [tty1] enabled
[ 0.728479] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[ 0.729443] CPU: Testing write buffer coherency: ok
[ 0.729943] pid_max: default: 4096 minimum: 301
[ 0.730545] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.731249] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.732923] /cpus/cpu@f00 missing clock-frequency property
[ 0.733482] /cpus/cpu@f01 missing clock-frequency property
[ 0.734056] /cpus/cpu@f02 missing clock-frequency property
[ 0.734580] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.735972] Setting up static identity map for 0x108240 - 0x108294
[ 0.736738] rcu: Hierarchical SRCU implementation.
[ 0.737202] rcu: Max phase no-delay instances is 1000.
[ 0.738521] 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
[ 0.740411] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.742049] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.742171] smp: Brought up 1 node, 3 CPUs
[ 0.743644] SMP: Total of 3 processors activated (144.00 BogoMIPS).
[ 0.744231] CPU: All CPU(s) started in SVC mode.
[ 0.745324] devtmpfs: initialized
[ 0.752469] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.753403] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.754333] futex hash table entries: 16 (order: -2, 1024 bytes, linear)
[ 0.755089] pinctrl core: initialized pinctrl subsystem
[ 0.756747] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.757788] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.759167] Registered FIQ tty driver
[ 0.759900] thermal_sys: Registered thermal governor 'step_wise'
[ 0.759913] thermal_sys: Registered thermal governor 'user_space'
[ 0.760560] cpuidle: using governor menu
[ 0.762906] ramoops: boot-log-0 0xd000@0x00083000
[ 0.763516] ramoops: console 0x20000@0x00090000
[ 0.764266] printk: console [ramoops-1] enabled
[ 0.764700] pstore: Registered ramoops as persistent store backend
[ 0.765328] ramoops: using 0x2d000@0x83000, ecc: 0
[ 0.773913] rockchip-gpio ff940000.gpio: probed /pinctrl/gpio@ff940000
[ 0.775270] rockchip-gpio ff870000.gpio: probed /pinctrl/gpio@ff870000
[ 0.776627] rockchip-gpio ff1c0000.gpio: probed /pinctrl/gpio@ff1c0000
[ 0.777935] rockchip-gpio ff1d0000.gpio: probed /pinctrl/gpio@ff1d0000
[ 0.779200] rockchip-gpio ff1e0000.gpio: probed /pinctrl/gpio@ff1e0000
[ 0.779956] rockchip-pinctrl pinctrl: probed pinctrl
[ 0.781860] platform ff600000.vop: Fixed dependency cycle(s) with /dsi@ff640000
[ 0.782656] platform ff640000.dsi: Fixed dependency cycle(s) with /dsi@ff640000/panel@0
[ 0.783464] platform ff640000.dsi: Fixed dependency cycle(s) with /vop@ff600000
[ 0.786179] platform vdd-cpu: Fixed dependency cycle(s) with /vdd-cpu
[ 0.793905] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ fiq not found
[ 0.794571] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ wakeup not found
[ 0.795238] fiq_debugger_probe: could not install nmi irq handler
[ [ 0.795904] printk: console [ttyFIQ0] enabled
0.795904] printk: console [ttyFIQ0] enabled
[ 0.796714] printk: bootconsole [uart8250] disabled
[ 0.796714] printk: bootconsole [uart8250] disabled
[ 0.797454] Registered fiq debugger ttyFIQ0
[ 0.799619] reg-fixed-voltage vdd-cpu: Fixed regulator specified with variable voltages
[ 0.799674] reg-fixed-voltage: probe of vdd-cpu failed with error -22
[ 0.800191] mc: Linux media interface: v0.10
[ 0.80deodev: Linux video capture interface: v2.00
[ 0.800367] pps_core: LinuxPPS API ver. 1 registered
[ 0.800393] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.800435] PTP clock support registered
[ 0.801667] Advanced Linux Sound Architecture Driver Initialized.
[ 0.802390] rockchip-cpuinfo cpuinfo: SoC : 35060000
[ 0.802441] rockchip-cpuinfo cpuinfo: Serial : 2a83dcf92f890188
[ 0.803242] clocksource: Switched to clocksource arch_sys_counter
[ 0.813801] NET: Registered PF_INET protocol family
[ 0.814041] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.814903] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.814972] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.815011] TCP established hash table entries: 1024 (ord)
[ 0.815271] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 0.815478] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.817069] rockchip-thermal ff650000.tsadc: tsadc is probed successfully!
[ 0.818108] Initialise system trusted keyrings
[ 0.818420] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.822803] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.823272] Key type asymmetric registered
[ 0.823319] Asymmetric key parser 'x509' registered
[ 0.823452] io scheduler mq-deadline registered
[ 0.823487] io scheduler kyber registered
[ 0.823642] io scheduler bfq registered
[ 0.825556] pwm-backlight backlight: supply power not found, using dummy regulator
[ 0.829386] dma-pl330 ff000000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.829455] dma-pl330 ff000000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 0.831032] dma-pl330 ff008000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.831087] dma-pl330 ff008000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 0.831322] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[ 0.831906] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.833777] dw-mipi-dsi-rockchip ff640000.dsi: Fixed dependency cycle(s) with /dsi@ff640000/panel@0
[ 0.833916] mipi-dsi ff640000.dsi.0: Fixed dependency cycle(s) with /dsi@ff640000
[ 0.836351] rockchip-drm display-subsystem: bound ff600000.vop (ops 0xb05ce9dc)
[ 0.836443] dw-mipi-dsi-rockchip ff640000.dsi: failed to find panel or bridge: -517
E/TC:0 plat_shm_get_page_num:373 plat_shm_get_page_num: type 6 alloc is not supported
[ 0.838370] no ATF memory for init
[ 0.839015] panel-simple-dsi ff640000.dsi.0: Expected bpc in {6,8} but got: 0
[ 0.842026] spi-nand spi2.0: Winbond SPI NAND was found.
[ 0.842087] spi-nand spi2.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 0.843187] 3 cmdlinepart partitions found on MTD device spi-nand0
[ 0.843268] Creating 3 MTD partitions on "spi-nand0":
[ 0.843299] 0x000000400000-0x000000800000 : "uboot"
[ 0.845513] 0x000000800000-0x000001400000 : "boot"
[ 0.847679] 0x000002000000-0x00000ff60000 : "rootfs"
[ 0.851092] CAN device driver interface
[ 0.851432] PPP generic driver version 2.4.2
[ 0.852056] i2c_dev: i2c /dev entries driver
[ 0.852975] Goodix-TS 2-005d: supply AVDD28 not found, using dummy regulator
[ 0.853174] Goodix-TS 2-005d: supply VDDIO not found, using dummy regulator
[ 0.853528] Goding 1 bytes from 0x8140: -6
[ 0.880086] Goodix-TS 2-005d: Error reading 1 bytes from 0x8140: -6
[ 0.906588] Goodix-TS 2-005d: I2C communication failure: -6
[ 0.907174] Goodix-TS 2-0014: supply AVDD28 not found, using dummy regulator
[ 0.907376] Goodix-TS 2-0014: supply VDDIO not found, using dummy regulator
[ 0.907688] Goodix-TS 2-0014: Error reading 1 bytes from 0x8140: -6
[ 0.933438] Goodix-TS 2-0014: Error reading 1 bytes from 0x8140: -6
[ 0.959926] Goodix-TS 2-0014: I2C communication failure: -6
[ 0.960578] edt_ft5x06 2-0038 supply vcc not found, using dummy regulator
[ 0.960698] ws_backlight 2-0045: failed ret: -6
[ 0.960806] edt_ft5x06 2-0038: supply iovcc not found, using dummy regulator
[ 0.961706] cpu cpu0: bin=0
[ 0.961805] cpu cpu0: leakage=0
[ 0.961862] cpu cpu0: Failed to get reg
[ 0.961987] cpu cpu0: failed to set opp config
[ 0.962021] cpu cpu0: failed to init opp info
[ 0.962043] Failed to initialize dvfs info cpu0
[ 0.962365] Synopsys Designware Multimedia Card Interface Driver
[ 0.963396] dwmmc_rockchip ff480000.mmc: No normal pinctrl state
[ 0.963454] dwmmc_rockchip ff480000.mmc: No idle pinctrl state
[ 0.963648] dwmmc_rockchip ff480000.mmc: IDMAC supports 32-bit address mode.
[ 0.963717] dwmmc_rockchip ff480000.mmc: Using internal DMA controller.
[ 0.963753] dwmmc_rockchip ff480000.mmc: Version ID is 270a
[ 0.963840] dwmmc_rockchip ff480000.mmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[ 0.964334] dwmmc_rockchip ff480000.mmc: Got CD GPIO
[ 0.967793] input: 2-0038 EP0110M09 as /devices/platform/ff060000.i2c/i2c-2/2-0038/input/input0
[ 0.967914] NET: Registered PF_PACKET protocol family
[ 0.968018] can: controller area network core
[ 0.968204] NET: Registered PF_CAN protocol family
[ 0.968257] can: raw protocol
[ 0.968288] can: broadcast manager protocol
[ 0.968322] can: netlink gateway - max_hops=1
[ 0.968635] Registering SWP/SWPB emulation handler
[ 0.968964] Loading compiled-in X.509 certificates
[ 0.974359] rga2 ff610000.rga: probe successfully, irq = 47, hw_version:3.a.07135
[ 0.974577] rga: IOMMU binding successfully, default mapping core[0x4]
[ 0.974881] rga: Module initialized. v1.3.6
[ 0.976672] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 0.993509] rockchip-drm display-subsystem: bound ff600000.vop (ops 0xb05ce9dc)
[ 0.993644] rockchip-drm display-subsystem: bound ff640000.dsi (ops 0xb05cff6c)
[ 0.994775] [drm] Initialized rockchip 4.0.0 20140818 for display-subsystem on minor 0
[ 0.994866] rockchip-drm display-subsystem: route-dsi: failed to get logo,offset
[ 0.994898] rockchip-drm display-subsystem: can't not find any logo display
[ 0.994926] rockchip-drm display-subsystem: failed toI/TC: ddr_plat_smc_handler: default
I/TC: ddr_plat_smc_handler: unhandled DDR SMC id(0x13)
[ 0.997031] rockchip-vop ff600000.vop: [drm:vop_crtc_atomic_enable] Update mode to 480x640p58, type: 16
[ 1.022102] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 1.022179] mmc0: new high speed SD card at address 21a7
[ 1.022786] mmcblk0: mmc0:21a7 APPSD 120 MiB
[ 1.025094] mmcblk0: p1
[ 1.663963] dw-mipi-dsi-rockchip ff640000.dsi: [drm:dw_mipi_dsi_bridge_atomic_enable] final DSI-Link bandwidth: 276 x 2 Mbps
[ 1.717653] Console: switching to colour frame buffer device 60x40
[ 1.738582] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[ 1.742129] rockchip-drm display-subsystem: [drm] run display error_event monitor
[ 1.745669] adc_keys adc-keys: keymap is missing
[ 1.747376] adc_keys: probe of adc-keys failed with error -22
[ 1.751061] ubi0: attaching mtd2
[ 2.080373] ubi0: scanning is finished
[ 2.106843] ubi0: volume 0 ("rootfs") re-sized from 808 to 1743 LEBs
[ 2.110866] ubi0: attached mtd2 (name "rootfs", size 223 MiB)
[ 2.114244] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.117600] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.120967] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.124329] ubi0: good PEBs: 1787, bad PEBs: 0, corrupted PEBs: 0
[ 2.127685] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 2.131059] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 554597319
[ 2.134456] ubi0: available PEBs: 0, total reserved PEBs: 1787, PEBs reserved for bad PEB handling: 40
[ 2.137899] ubi0: background thread "ubi_bgt0d" started, PID 78
[ 2.138474] clk: Disabling unused clocks
[ 2.143708] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[ 2.147341] rockchip-suspend not set sleep-mode-config for mem-lite
[ 2.150860] rockchip-suspend not set wakeup-config for mem-lite
[ 2.154389] rockchip-suspend not set sleep-mode-config for mem-ultra
[ 2.157913] rockchip-suspend not set wakeup-config for mem-ultra
[ 2.161871] ALSA device list:
[ 2.163669] No soundcards found.
[ 2.166266] UBIFS (ubi0:0): Mounting in unauthenticated mode
[ 2.228617] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
[ 2.232159] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 2.235721] UBIFS (ubi0:0): FS size: 219922432 bytes (209 MiB, 1732 LEBs), max 8456 LEBs, journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 2.241050] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 2.244595] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 753456D8-936A-48D2-8550-FB60BB0AF9B1, small LPT model
[ 2.262710] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
[ 2.278794] devtmpfs: mounted
[ 2.280775] Freeing unused kernel image (initmem) memory: 180K
[ 2.284278] Kernel memory protection not selected by kernel config.
[ 2.287791] Run /sbin/init as init process
[ 3.190763] UBIFS (ubi0:0): start fixing up free space
[ 6.386614] random: crng init done
[ 14.273641] UBIFS (ubi0:0): free space fixup complete
[ 14.287760] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 81
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
Saving 256 bits of creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
[ 15.250513] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 15.267110] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 15.271928] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 15.275948] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 15.279943] cfg80211: failed to load regulatory.db
[ 15.548655] usbcore: registered new interface driver usbfs
[ 15.552259] usbcore: registered new interface driver hub
[ 15.554221] usbcore: registered new device driver usb
[ 15.559062] usbcore: registered new interface driver usbhid
[ 15.562587] usbhid: USB HID core driver
[ 15.831145] rockchip-usb2phy ff2b0000.usb2-phy: error -ENXIO: IRQ index 0 not found
[ 15.888976] dwc2 ff740000.usb: supply vusb_d not found, using dummy regulator
[ 15.892587] dwc2 ff740000.usb: supply vusb_a not found, using dummy regulator
[ 15.899928] dwc2 ff740000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[ 15.904239] dwc2 ff780000.usb: supply vusb_d not found, using dummy regulator
[ 15.907896] dwc2 ff780000.usb: supply vusb_a not found, using dummy regulator
[ 15.925289] dwc2 ff780000.usb: DWC OTG Controller
[ 15.927167] dwc2 ff780000.usb: new USB bus registered, assigned bus number 1
[ 15.930676] dwc2 ff780000.usb: irq 54, io mem 0xff780000
[ 15.933184] hub 1-0:1.0: USB hub found
[ 15.935003] hub 1-0:1.0: 1 port detected
[ 15.991609] SCSI subsystem initialized
[ 16.001277] usbcore: registered new interface driver usb-storage
Populating /dev using udev: [ 16.226612] usb 1-1: new high-speed USB device number 2 using dwc2
[ 16.274442] udevd[247]: starting version 3.2.14
[ 16.329098] udevd[248]: starting eudev-3.2.14
[ 16.611476] mtdblock: MTD device 'uboot' is NAND, please consider using UBI block devices instead.
[ 16.611679] mtdblock: MTD device 'boot' is NAND, please consider using UBI block devices instead.
[ 16.619433] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[ 17.049431] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
done
Starting irqbalance: OK
Starting system message bus: done
Starting bluetoothd: OK
Starting network: OK
Starting sshd: OK
starting usbdevice service, log saved to /var/log/usbdevice.log
[S60netdevice] eth0 not found
fstrim: Starting fstrim process (388)...
Starting input-event-daemon: done
Welcome to Luckfox Lyra [root:luckfox]
luckfox login: [ 18.890443] using random self ethernet address
[ 18.893877] using random host ethernet address
[ 18.975262] file system registered
[ 19.213897] read descriptors
[ 19.215680] read strings
[ 19.302692] usb0: HOST MAC 46:9d:19:da:9a:35
[ 19.304914] usb0: MAC 7a:15:52:f8:d3:98
[ 19.307011] dwc2 ff740000.usb: bound driver configfs-gadget.rockchip
[ 19.469631] dwc2 ff740000.usb: new device is high-speed
[ 19.502602] android_work: sent uevent USB_STATE=CONNECTED
[ 19.504278] dwc2 ff740000.usb: new address 10
[ 19.832906] android_work: sent uevent USB_STATE=DISCONNECTED
[ 19.880991] dwc2 ff740000.usb: new device is high-speed
[ 19.914511] android_work: sent uevent USB_STATE=CONNECTED
[ 19.969243] dwc2 ff740000.usb: new device is high-speed
[S60netdevice] Saved current MAC address (7a:15:52:f8:d3:98) to /etc/.usb0_macaddr
[ 20.002067] dwc2 ff740000.usb: new address 10
[ 20.138450] android_work: sent uevent USB_STATE=DISCONNECTED
[ 20.186609] dwc2 ff740000.usb: new device is high-speed
[ 20.220136] android_work: sent uevent USB_STATE=CONNECTED
[ 20.275087] dwc2 ff740000.usb: new device is high-speed
[ 20.307670] dwc2 ff740000.usb: new address 10
[ 20.473468] android_work: sent uevent USB_STATE=CONFIGURED
修改dts+logo图片:
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, 0x1a-0x0-0x2,status:a007
rdtrn:0xf-0x29-0x44(0x35)
wrtrn:0xa-0x22-0x3b(0x31)
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 #kvzero (Mar 01 2025 - 16:48:05)
sfc cmd=03H(6BH-x4)
SPI Nand ID ef aa 22
unrecognized JEDEC id bytes: ff, ef, aa
Trying to boot from MMC1
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
No misc partition
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
spl: partition error
Trying fit image at 0x4000 sector
Not fit magic
Trying fit image at 0x5000 sector
Not fit magic
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
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(a647af606d...) + OK
## Checking fdt 0x002a35b0 ... sha256(4c7bf9a02f...) + OK
Jumping to U-Boot(0x00200000) via OP-TEE(0x00001000)
Total: 106.982/150.576 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
I/TC: Primary CPU switching to normal world boot
U-Boot 2017.09-g8f6272a #kvzero (Mar 01 2025 - 16:48:05 +0800)
Model: Luckfox Lyra
MPIDR: 0xf00
PreSerial: 0, raw, 0xff0a0000
DRAM: 128 MiB
Sysmem: init
Relocation Offset: 054f0000
Relocation fdt: 044fb390 - 044fede0
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@0x000062d9
resource: sha256+
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
Could not find baseparameter partition
Model: Luckfox Lyra
rockchip_set_ethaddr: vendor_storage_write failed -5
Setting bus to 2
I2c2 speed: 100000Hz
Valid chip addresses:
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
dsi@ff640000: detailed mode clock 21000 kHz, flags[a]
H: 0480 0488 0492 0538
V: 0640 0652 0656 0668
bus_format: 100e
VOP:0xff600000 update mode to: 480x640p58, type: MIPI0
VOP:0xff600000 set crtc_clock to 21000KHz, get 20833333Hz
Unsupported bt709f at 10bit csc depth, use bt601f instead
VOP:0xff600000 set plane [480x640->480x640@0x0] fmt[0] addr[0x5900000]
final DSI-Link bandwidth: 280 Mbps x 2
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: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
## Booting FIT Image at 0x3e9d180 with size 0x0045b200
Fdt Ramdisk skip relocation
No misc partition
## Loading kernel from FIT Image at 03e9d180 ...
Using 'conf' configuration
## Verified-boot: 0
Trying 'kernel' kernel subimage
Description: unavailable
Type: Kernel Image
Compression: uncompressed
Data Start: 0x03ea6780
Data Size: 4529144 Bytes = 4.3 MiB
Architecture: ARM
OS: Linux
Load Address: 0x01100000
Entry Point: 0x01100000
Hash algo: sha256
Hash value: d631f8764ca66822216b43ceedf1989065150ff78e4a35f640e9ce994a66db13
Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 03e9d180 ...
Using 'conf' configuration
Trying 'fdt' fdt subimage
Description: unavailable
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x03e9d980
Data Size: 36146 Bytes = 35.3 KiB
Architecture: ARM
Load Address: 0x00063000
Hash algo: sha256
Hash value: 2caaf9a00eeaef460bde7f2e7519ae63011f3521b2fede74833feb90de29f7eb
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x00063000 to 0x00063000
Booting using the fdt blob at 0x00063000
Loading Kernel Image from 0x03ea6780 to 0x01100000 ... OK
kernel loaded at 0x01100000, end = 0x01551bf8
Using Device Tree in place at 00063000, end 0006ed31
## reserved-memory:
trust@0: addr=0 size=62000
drm-logo@0: addr=5900000 size=258000
ramoops@83000: addr=83000 size=2d000
Adding bank: 0x00000000 - 0x08000000 (size: 0x08000000)
Total: 1099.987/1259.3 ms
Starting kernel ...
[ 1.340614] Booting Linux on physical CPU 0xf00
[ 1.340642] Linux version 6.1.99 (kvzero@e A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #1 SMP PREEMPT Fri Feb 28 20:44:18 CST 2025
[ 1.340652] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[ 1.340661] CPU: div instructions available: patching division code
[ 1.340666] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 1.340911] OF: fdt: Machine model: Luckfox Lyra
[ 1.342443] earlycon: uart8250 at MMIO32 0xff0a0000 (options '')
[ 1.348337] printk: bootconsole [uart8250] enabled
[ 1.348858] Memory policy: Data cache writealloc
[ 1.349474] Reserved memory: created CMA memory pool at 0x06000000, size 32 MiB
[ 1.350148] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 1.351386] Zone ranges:
[ 1.351641] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ tmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 1.360575] psci: probing for conduit method from DT.
[ 1.361062] psci: PSCIv1.0 detected in firmware.
[ 1.361490] psci: Using standard PSCI v0.2 funE not supported.
[ 1.362411] psci: SMC Calling Convention v1.1
[ 1.362947] percpu: Embedded 12 pages/cpu s16468 r8192 d24492 u49152
[ 1.363641] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 1.364266] 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) #k-03/01/2025 androidboot.fwver=ddr-v1.04-0ac6b06a19,tee-v1.25,uboot-8f6272a user_debug=31
[ 1.368407] Unknown kernel command line parameters "#k-03/01/2025 storagemedia=mtd", will be passed to user space.
[ 1.369417] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 1.370133] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 1.370817] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 1.373986] Memory: 87140K/131072K available (3767K kernel code, 366K rwdata, 1876K rodata, 180K init, 118K bss, 11164K reserved, 32768K cma-reserved)
[ 1.375396] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=3, Nodes=1
[ 1.376214] rcu: Preemptible hierarchical RCU implementation.
[ 1.376751] rcu: RCU event tracing is enabled.
[ 1.377168] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=3.
[ 1.377769] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[ 1.378463] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=3
[ 1.379105] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 1.380405] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 1.390550] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 1.391143] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 1.392139] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 1.392878] Switching to timer-based delay loop, resolution 41ns
[ 1.393805] Console: colour dummy device 80x30
[ 1.394675] printk: console [tty1] enabled
[ 1.395095] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[ 1.396059] CPU: Testing write buffer coherency: ok
[ 1.396556] pid_max: default: 4096 minimum: 301
[ 1.397154] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.397858] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.399522] /cpus/cpu@f00 missing clock-frequency property
[ 1.400080] /cpus/cpu@f01 missing clock-frequency property
[ 1.400654] /cpus/cpu@f02 missing clock-frequency property
[ 1.401177] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 1.402562] Setting up static identity map for 0x108240 - 0x108294
[ 1.403332] rcu: Hierarchical SRCU implementation.
[ 1.403794] rcu: Max phase no-delay instances is 1000.
[ 1.405114] 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.407006] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 1.408645] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 1.408766] smp: Brought up 1 node, 3 CPUs
[ 1.410239] SMP: Total of 3 processors activated (144.00 BogoMIPS).
[ 1.410826] CPU: All CPU(s) started in SVC mode.
[ 1.411916] devtmpfs: initialized
[ 1.419113] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 1.420042] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 1.420974] futex hash table entries: 16 (order: -2, 1024 bytes, linear)
[ 1.421733] pinctrl core: initialized pisystem
[ 1.423374] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 1.424425] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 1.425811] Registered FIQ tty driver
[ 1.426528] thermal_sys: Registered thermal governor 'step_wise'
[ 1.426539] thermal_sys: Registered thermal governor 'user_space'
[ 1.427181] cpuidle: using governor menu
[ 1.429505] ramoops: boot-log-0 0xd000@0x00083000
[ 1.430117] ramoops: console 0x20000@0x00090000
[ 1.430866] printk: console [ramoops-1] enabled
[ 1.431299] pstore: Registered ramoops as persistent store backend
[ 1.431927] ramoops: using 0x2d000@0x83000, ecc: 0
[ 1.440479] rockchip-gpio ff940000.gpio: probed /pinctrl/gpio@ff940000
[ 1.441871] rockchip-gpio ff870000.gpio: probed /pinctrl/gpio@ff870000
[ 1.443209] rockchip-gpio ff1c0000.gpio: probed /pinctrl/gpio@ff1c0000
[ 1.444510] rockchip-gpio ff1d0000.gpio: probed /pinctrl/gpio@ff1d0000
[ 1.445781] rockchip-gpio ff1e0000.gpio: probed /pinctrl/gpio@ff1e0000
[ 1.446538] rockchip-pinctrl pinctrl: probed pinctrl
[ 1.448474] platform ff600000.vop: Fixed dependency cycle(s) with /dsi@ff640000
[ 1.449266] platform ff640000.dsi: Fixed dependency cycle(s) with /dsi@ff640000/panel@0
[ 1.450074] platform ff640000.dsi: Fixed dependency cycle(s) with /vop@ff600000
[ 1.452810] platform vdd-cpu: Fixed dependency cycle(s) with /vdd-cpu
[ 1.460498] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ fiq not found
[ 1.461163] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ wakeup not found
[ 1.461828] fiq_debugger_probe: could not install nmi irq handler
[ [ 1.462496] printk: cons 1.462496] printk: console [ttyFIQ0] enabled
[ 1.463306] printk: bootconsole [uart8250] disabled
[ 1.463306] printk: bootconsole [uart8250] disabled
[ 1.464064] Registered fiq debugger ttyFIQ0
[ 1.466218] reg-fixed-voltage vdd-cpu: Fixed regulator specified with variable voltages
[ 1.466273] reg-fixed-voltage: probe of vdd-cpu failed with error -22
[ 1.466781] mc: Linux media interface: v0.10
[ 1.466878] videodev: Linux video capture interface: v2.00
[ 1.466933] pps_core: LinuxPPS API ver. 1 registered
[ 1.466955] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.466998] PTP clock support registered
[ 1.468249] Advanced Linux Sound Architecture Driver Initialized.
[ 1.468962] rockchip-cpuinfo cpuinfo: SoC : 35060000
[ 1.469015] rockchip-cpuinfo cpuinfo: Serial : 2a83dcf92f890188
[ 1.469832] clocksource: Switched to clocksource arch_sys_counter
[ 1.480338] NET: Registered PF_INET protocol family
[ 1.480574] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.481447] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 1.481515] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.481555] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.481596] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 1.481647] TCP: Hash tables configured (established 1024 bind 1024)
[ 1.481765] UDP hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 1.481823] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 1.482033] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.483598] rockchip-thermal ff650000.tsadc: tsadc is probed successfully!
[ 1.484665] Initialise system trusted keyrings
[ 1.484965] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.489294] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.489726] Key type asymmetric registered
[ 1.489768] Asymmetric key parser 'x509' registered
[ 1.489931] io scheduler mq-deadline registered
[ 1.489969] io scheduler kyber registered
[ 1.490130] io scheduler bfq registered
[ 1.492063] pwm-backlight backlight: supply power not found, using dummy regulator
[ 1.495945] dma-pl330 ff000000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.496013] dma-pl330 ff000000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 1.497550] dma-pl330 ff008000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.497612] dma-pl330 ff008000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 1.497849] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[ 1.498451] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 1.500307] dw-mipi-dsi-rockchip ff640000.dsi: Fixed dependency cycle(s) with /dsi@ff640000/panel@0
[ 1.500462] mipi-dsi ff640000.dsi.0: Fixed dependency cycle(s) with /dsi@ff640000
[ 1.502841] rockchip-drm display-subsystem: bound ff600000.vop (ops 0xb05ce9dc)
[ 1.502935] dw-mipi-dsi-rockchip ff640000.dsi: failed to find panel or bridge: -517
E/TC:0 plat_shm_get_page_num:373 plat_shm_get_page_num: type 6 alloc is not supported
[ 1.504858] no ATF memory for init
[ 1.505502] panel-simple-dsi ff640000.dsi.0: Expected bpc in {6,8} but got: 0
[ 1.508325] spi-nand spi2.0: Winbond SPI NAND was found.
[ 1.508389] spi-nand spi2.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 1.509895] 3 cmdlinepart partitions found on MTD device spi-nand0
[ 1.509952] Creating 3 MTD partitions on "spi-nand0":
[ 1.509980] 0x000000400000-0x000000800000 : "uboot"
[ 1.512166] 0x000000800000-0x000001400000 : "boot"
[ 1.514311] 0x000002000000-0x00000ff60000 : "rootfs"
[ 1.517712] CAN device driver interface
[ 1.518037] PPP generic driver version 2.4.2
[ 1.518652] i2c_dev: i2c /dev entries driver
[ 1.519580] Goodix-TS 2-005d: supply AVDD28 not found, using dummy regulator
[ 1.519783] Goodix-TS 2-005d: supply VDDIO not found, using dummy regulator
[ 1.520176] Goodix-TS 2-005d: Error reading 1 bytes from 0x8140: -6
[ 1.546658] Goodix-TS 2-005d: Error reading 1 bytes from 0x8140: -6
[ 1.573177] Goodix-TS 2-005d: I2C communication failure: -6
[ 1.573686] Goodix-TS 2-0014:28 not found, using dummy regulator
[ 1.573882] Goodix-TS 2-0014: supply VDDIO not found, using dummy regulator
[ 1.574191] Goodix-TS 2-0014: Error reading 1 bytes from 0x8140: -6
[ 1.600020] Goodix-TS 2-0014: Error reading 1 bytes from 0x8140: -6
[ 1.626513] Goodix-TS 2-0014: I2C communication failure: -6
[ 1.627108] edt_ft5x06 2-0038: supply vcc not found, using dummy regulator
[ 1.627296] edt_ft5x06 2-0038: supply iovcc not found, using dummy regulator
[ 1.630118] ws_backlight 2-0045: failed ret: -6
[ 1.631199] cpu cpu0: bin=0
[ 1.631303] cpu cpu0: leakage=0
[ 1.631364] cpu cpu0: Failed to get reg
[ 1.631476] cpu cpu0: failed to set opp config
[ 1.631507] cpu cpu0: failed to init opp info
[ 1.631528] Failed to initialize dvfs info cpu0
[ 1.631918] Synopsys Designware Multimedia Card Interface Driver
[ 1.632917] dwmmc_rockchip ff480000.mmc: No normal pinctrl state
[ 1.632973] dwmmc_rockchip ff480000.mmc: No idle pinctrl state
[ 1.633208] dwmmc_rockchip ff480000.mmc: IDMAC supports 32-bit address mode.
[ 1.633277] dwmmc_rockchip ff480000.mmc: Using internal DMA controller.
[ 1.633310] dwmmc_rockchip ff480000.mmc: Version ID is 270a
[ 1.633397] dwmmc_rockchip ff480000.mmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[ 1.633891] dwmmc_rockchip ff480000.mmc: Got CD GPIO
[ 1.634196] input: 2-0038 EP0110M09 as /devices/platform/ff060000.i2c/i2c-2/2-0038/input/input0
[ 1.638345] NET: Registered PF_PACKET protocol family
[ 1.638438] can: controller area network core
[ 1.638596] NET: Registered PF_CAN protocol family
[ 1.638632] can: raw protocol
[ 1.638657] can: broadcast manager protocol
[ 1.638684] can: netlink gateway - max_hops=1
[ 1.638977] Registering SWP/SWPB emulation handler
[ 1.639316] L[ 1.644789] rga2 ff610000.rga: probe successfully, irq = 47, hw_version:3.a.07135
[ 1.645007] rga: IOMMU binding successfully, default mapping core[0x4]
[ 1.645290] rga: Module initialized. v1.3.6
[ 1.646579] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 1.663925] rockchip-drm display-subsystem: bound ff600000.vop (ops 0xb05ce9dc)
[ 1.664065] rockchip-drm display-subsystem: bound ff640000.dsi (ops 0xb05cff6c)
[ 1.665258] [drm] Initialized rockchip 4.0.0 20140818 for display-subsystem on minor 0
I/TC: ddr_plat_smc_handler: default
I/TC: ddr_plat_smc_handler: unhandled DDR SMC id(0x13)
[ 1.692844] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 1.692934] mmc0: new high speed SD card at address 21a7
[ 1.693540] mmcblk0: mmca7 APPSD 120 MiB
[ 1.695786] mmcblk0: p1
[ 1.717201] Console: switching to colour frame buffer device 60x40
[ 1.734792] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[ 1.735243] rockchip-drm display-subsystem: [drm] run display error_event monitor
[ 1.737187] adc_keys adc-keys: keymap is missing
[ 1.738861] adc_keys: probe of adc-keys failed with error -22
[ 1.742509] ubi0: attaching mtd2
[ 2.189874] ubi0: scanning is finished
[ 2.197051] ubi0: attached mtd2 (name "rootfs", size 223 MiB)
[ 2.200311] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.203522] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.206756] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.210047] ubi0: good PEBs: 1787, bad PEBs: 0, corrupted PEBs: 0
[ 2.213449] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 2.216927] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 284935775
[ 2.220386] ubi0: available PEBs: 0, total reserved PEBs: 1787, PEBs reserved for bad PEB handling: 40
[ 2.223871] ubi0: background thread "ubi_bgt0d" started, PID 75
[ 2.224461] clk: Disabling unused clocks
[ 2.229611] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[ 2.233254] rockchip-suspend not set sleep-mode-config for mem-lite
[ 2.236762] rockchip-suspend not set wakeup-config for mem-lite
[ 2.240240] rockchip-suspend not set sleep-mode-config for mem-ultra
[ 2.243687] rockchip-suspend not set wakeup-config for mem-ultra
[ 2.247588] ALSA device list:
[ 2.249344] No soundcards found.
[ 2.251846] UBIFS (ubi0:0): Mounting in unauthenticated mode
[ 2.270690] UBIFS (ubi0:0): recovery needed
[ 2.297705] UBIFS (ubi0:0): recovery deferred
[ 2.299502] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
[ 2.302870] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 2.306269] UBIFS (ubi0:0): FS size: 219922432 bytes (209 MiB, 1732 LEBs), max 8456 LEBs, journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 2.311429] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 2.314864] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID D6F055F3-EA1D-4252-B2D4-67876C898511, small LPT model
[ 2.320391] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
[ 2.324370] devtmpfs: mounted
[ 2.326227] Freeing unused kernel image (initmem) memory: 180K
[ 2.329579] Kernel memory protection not selected by kernel config.
[ 2.332928] Run /sbin/init as init process
[ 2.489225] UBIFS (ubi0:0): completing deferred recovery
[ 2.530696] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 78
[ 2.538389] UBIFS (ubi0:0): deferred recovery completed
[ 2.703634] Freeing drm_logo memory: 2400K
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[ 2.914812] random: crng init done
Saving 256 bits of creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
[ 3.156561] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.172805] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.177501] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 3.181268] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.184851] cfg80211: failed to load regulatory.db
[ 3.453060] usbcore: registered new interface driver usbfs
[ 3.456578] usbcore: registered new interface driver hub
[ 3.458636] usbcore: registered new device driver usb
[ 3.463464] usbcore: registered new interface driver usbhid
[ 3.466936] usbhid: USB HID core driver
[ 3.732693] rockchip-usb2phy ff2b0000.usb2-phy: error -ENXIO: IRQ index 0 not found
[ 3.790125] dwc2 ff740000.usb: supply vusb_d not found, using dummy regulator
[ 3.793715] dwc2 ff740000.usb: supply vusb_a not found, using dummy regulator
[ 3.800876] dwc2 ff740000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[ 3.805026] dwc2 ff780000.usb: supply vusb_d not found, using dummy regulator
[ 3.808632] dwc2 ff780000.usb: supply vusb_a not found, using dummy regulator
[ 3.825973] dwc2 ff780000.usb: DWC OTG Controller
[ 3.827797] dwc2 ff780000.usb: new USB bus registered, assigned bus number 1
[ 3.831187] dwc2 ff780000.usb: irq 54, io mem 0xff780000
[ 3.833693] hub 1-0:1.0: USB hub found
[ 3.835461] hub 1-0:1.0: 1 port detected
[ 3.891906] SCSI subsystem initialized
[ 3.901484] usbcore: registered new interface driver usb-storage
Populating /dev using udev: [ 4.126537] usb 1-1: new high-speed USB device number 2 using dwc2
[ 4.170626] udevd[247]: starting version 3.2.14
[ 4.224955] udevd[248]: starting eudev-3.2.14
[ 4.471162] mtdblock: MTD device 'uboot' is NAND, please consider using UBI block devices instead.
[ 4.477807] mtdblock: MTD device 'boot' is NAND, please consider using UBI block devices instead.
[ 4.485399] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[ 4.909193] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
done
Starting irqbalance: OK
Starting system message bus: done
Starting bluetoothd: OK
Starting network: OK
Starting sshd: OK
starting usbdevice service, log saved to /var/log/usbdevice.log
[S60netdevice] eth0 not found
fstrim: Starting fstrim process (388)...
Starting input-event-daemon: done
Welcome to Luckfox Lyra [root:luckfox]
luckfox login: [ 6.722612] using random self ethernet address
[ 6.726027] using random host ethernet address
[ 6.805777] file system registered
[ 7.038698] read descriptors
[ 7.040628] read strings
[ 7.130628] usb0: HOST MAC 0a:1a:f2:c9:87:8d
[ 7.132382] usb0: MAC 36:4f:08:03:e0:a0
[ 7.134810] dwc2 ff740000.usb: bound driver configfs-gadget.rockchip
[ 7.297369] dwc2 ff740000.usb: new device is high-speed
[ 7.330958] android_work: sent uevent USB_STATE=CONNECTED
[ 7.332663] dwc2 ff740000.usb: new address 28
[ 7.671505] android_work: sent uevent USB_STATE=DISCONNECTED
[ 7.719498] dwc2 ff740000.usb: new device is high-speed
[ 7.752897] android_work: sent uevent USB_STATE=CONNECTED
[ 7.807731] dwc2 ff740000.usb: new device is high-speed
[ 7.840455] dwc2 ff740000.usb: new address 28
[S60netdevice] Saved usb0 Mac address:4e:13:d3:92:bb:fa
[S60netdevice] Set usb0 MAC address to 4e:13:d3:92:bb:fa
[ 7.981293] android_work: sent uevent USB_STATE=DISCONNECTED
[ 8.029455] dwc2 ff740000.usb: new device is high-speed
[ 8.062762] android_work: sent uevent USB_STATE=CONNECTED
[ 8.117601] dwc2 ff740000.usb: new device is high-speed
[ 8.150572] dwc2 ff740000.usb: new address 28
[ 8.356115] android_work: sent uevent USB_STATE=CONFIGURED
我在使用luckfox lyra驱动自己显示屏时,出现开机u-boot和kernel的logo不显示的问题,上电黑屏1-2s后能正常显示fb控制台、打印log,同时也能正常写入fb0显示。SDK的Luckfox_Lyra_SDK_250118和luckfox-linux-6.1-rk3506-270207-n两个版本均试验过,仅修改了设备树panel-init-sequence和dsi_timing0: timing0两个节点、其他的都没改,序列如下:
panel-init-sequence = [
05 78 01 01
39 00 06 FF 77 01 00 00 13
15 00 02 EF 08
39 00 06 FF 77 01 00 00 10
39 00 03 C0 4F 00
39 00 03 C1 11 0C
39 00 03 C2 07 0A
39 00 04 C3 83 32 10
15 00 02 CC 10
39 00 11 B0 00 0F 18 0D 12 07 05 08 07 21 03 10 0F 26 2F 1F
39 00 11 B1 00 1B 20 0C 0E 03 08 08 08 22 05 11 0F 2A 32 1F
39 00 06 FF 77 01 00 00 11
15 00 02 B0 35
15 00 02 B1 52
15 00 02 B2 81
15 00 02 B3 80
15 00 02 B5 4E
15 00 02 B7 85
15 00 02 B8 21
15 00 02 C0 09
15 00 02 C1 78
15 00 02 C2 78
15 00 02 D0 88
39 00 04 E0 00 A0 02
39 00 0C E1 06 A0 08 A0 05 A0 07 A0 00 44 44
39 00 0E E2 20 20 40 40 96 A0 00 00 96 A0 00 00 00
39 00 05 E3 00 00 22 22
39 00 03 E4 44 44
39 00 11 E5 0E 97 10 A0 10 99 10 A0 0A 93 10 A0 0C 95 10 A0
39 00 05 E6 00 00 22 22
39 00 03 E7 44 44
39 00 11 E8 0D 96 10 A0 0F 98 10 A0 09 92 10 A0 0B 94 10 A0
39 00 08 EB 00 01 4E 4E 44 88 40
39 00 03 EC 78 00
39 00 11 ED FF FA 2F 89 76 54 01 FF FF 10 45 67 98 F2 AF FF
39 00 07 EF 08 08 08 45 3F 54
39 00 06 FF 77 01 00 00 13
39 00 09 E8 00 0E FF 77 01 00 00 00
05 78 01 11
39 00 06 FF 77 01 00 00 13
39 0A 03 E8 00 0C
39 00 03 E8 00 00
39 00 06 FF 77 01 00 00 00
15 00 02 3A 77
15 00 02 29 00
];
disp_timings0: display-timings {
native-mode = <&dsi_timing0>;
// 10inch1
dsi_timing0: timing0 {
clock-frequency = <21000000>;
hactive = <480>;
vactive = <640>;
vsync-len = <4>;
vback-porch = <12>;
vfront-porch = <12>;
hsync-len = <4>;
hback-porch = <46>;
hfront-porch = <8>;
vsync-active = <0>;
hsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
通过查看串口log发现以下问题:
Using display timing dts
dsi@ff640000: detailed mode clock 21000 kHz, flags[a]
H: 0480 0488 0492 0538
V: 0640 0652 0656 0668
bus_format: 100e
VOP:0xff600000 update mode to: 480x640p58, type: MIPI0
VOP:0xff600000 set crtc_clock to 21000KHz, get 20833333Hz
Unsupported bt709f at 10bit csc depth, use bt601f instead
ERROR: scale factor is out of range
提示缩放超出范围,这哪能忍直接将logo.bmp和logo_kernel.bmp换成480*640大小的图片,这下好了只剩背光了

Using display timing dts
dsi@ff640000: detailed mode clock 21000 kHz, flags[a]
H: 0480 0488 0492 0538
V: 0640 0652 0656 0668
bus_format: 100e
VOP:0xff600000 update mode to: 480x640p58, type: MIPI0
VOP:0xff600000 set crtc_clock to 21000KHz, get 20833333Hz
Unsupported bt709f at 10bit csc depth, use bt601f instead
VOP:0xff600000 set plane [480x640->480x640@0x0] fmt[0] addr[0x5900000]
final DSI-Link bandwidth: 280 Mbps x 2
以上为全部修改过程,能否指条明路,卡两天了求求了
附件:仅修改设备树串口log、修改设备树并且更换图片串口log
?附件不允许txt?那就放在下面吧:
仅修改dts:
DDR 0ac6b06a19 typ 24/11/13-17:22:48,fwver: v1.04
tREFI:4x, sr_idle:93, pd_idle:13
SRX
get rd_skew=0x29, wr_skew=0x23
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:0x1f-0x0-0x2, 0x14-0x0-0x2,status:a007
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 #kvzero (Mar 01 2025 - 15:18:27)
sfc cmd=03H(6BH-x4)
SPI Nand ID ef aa 22
unrecognized JEDEC id bytes: ff, ef, aa
Trying to boot from MMC1
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
No misc partition
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
spl: partition error
Trying fit image at 0x4000 sector
Not fit magic
Trying fit image at 0x5000 sector
Not fit magic
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
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(38214daac7...) + OK
## Checking fdt 0x002a35b0 ... sha256(4c7bf9a02f...) + OK
Jumping to U-Boot(0x00200000) via OP-TEE(0x00001000)
Total: 104.420/143.947 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
I/TC: Primary CPU switching to normal world boot
U-Boot 2017.09-g8f6272a #kvzero (Mar 01 2025 - 15:18:27 +0800)
Model: Luckfox Lyra
MPIDR: 0xf00
PreSerial: 0, raw, 0xff0a0000
DRAM: 128 MiB
Sysmem: init
Relocation Offset: 054f0000
Relocation fdt: 044fb390 - 044fede0
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: normal
RESC: 'boot', blk@0x000062d9
resource: sha256+
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
Could not find baseparameter partition
Model: Luckfox Lyra
rockchip_set_ethaddr: vendor_storage_write failed -5
Setting bus to 2
I2c2 speed: 100000Hz
Valid chip addresses:
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
dsi@ff640000: detailed mode clock 21000 kHz, flags[a]
H: 0480 0488 0492 0538
V: 0640 0652 0656 0668
bus_format: 100e
VOP:0xff600000 update mode to: 480x640p58, type: MIPI0
VOP:0xff600000 set crtc_clock to 21000KHz, get 20833333Hz
Unsupported bt709f at 10bit csc depth, use bt601f instead
ERROR: scale factor is out of range
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: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
## Booting FIT Image at 0x3e9d180 with size 0x0045b200
Fdt Ramdisk skip relocation
No misc partition
## Loading kernel from FIT Image at 03e9d180 ...
Using 'conf' configuration
## Verified-boot: 0
Trying 'kernel' kernel subimage
Description: unavailable
Type: Kernel Image
Compression: uncompressed
Data Start: 0x03ea6780
Data Size: 4529144 Bytes = 4.3 MiB
Architecture: ARM
OS: Linux
Load Address: 0x01100000
Entry Point: 0x01100000
Hash algo: sha256
Hash value: d631f8764ca66822216b43ceedf1989065150ff78e4a35f640e9ce994a66db13
Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 03e9d180 ...
Using 'conf' configuration
Trying 'fdt' fdt subimage
Description: unavailable
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x03e9d980
Data Size: 36146 Bytes = 35.3 KiB
Architecture: ARM
Load Address: 0x00063000
Hash algo: sha256
Hash value: 2caaf9a00eeaef460bde7f2e7519ae63011f3521b2fede74833feb90de29f7eb
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x00063000 to 0x00063000
Booting using the fdt blob at 0x00063000
Loading Kernel Image from 0x03ea6780 to 0x01100000 ... OK
kernel loaded at 0x01100000, end = 0x01551bf8
Using Device Tree in place at 00063000, end 0006ed31
## 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: 439.669/592.65 ms
Starting kernel ...
[ 0.673983] Booting Linux on physical CPU 0xf00
[ 0.674011] Linux version 6.1.99 (kvzero@kvzero-virtual-machine) (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) #1 SMP PREEMPT Fri Feb 28 20:44:18 CST 2025
[ 0.674022] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[ 0.674031] CPU: div instructions available: patching division code
[ 0.674036] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.674257] OF: fdt: Machine model: Luckfox Lyra
[ 0.675768] earlycon: uart8250 at MMIO32 0xff0a0000 (options '')
[ 0.681662] printk: bootconsole [uart8250] enabled
[ 0.682185] Memory policy: Data cache writealloc
[ 0.682802] Reserved memory: created CMA memory pool at 0x06000000, size 32 MiB
[ 0.683475] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.684714] Zone ranges:
[ 0.684968] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.685542] Movable zone start for each node
[ 0.685935] Early memory node ranges
[ 0.686264] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.686841] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.693900] psci: probing for conduit method from DT.
[ 0.694388] psci: PSCIv1.0 detected in firmware.
[ 0.694815] psci: Using standard PSCI v0.2 function IDs
[ 0.695298] psci: MIGRATE_INFO_TYPE not supported.
[ 0.695739] psci: SMC Calling Convention v1.1
[ 0.696270] percpu: Embedded 12 pages/cpu s16468 r8192 d24492 u49152
[ 0.696964] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 0.697588] 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) #k-03/01/2025 androidboot.fwver=ddr-v1.04-0ac6b06a19,tee-v1.25,uboot-8f6272a user_debug=31
[ 0.701736] Unknown kernel command line parameters "#k-03/01/2025 storagemedia=mtd", will be passed to user space.
[ 0.702747] Dentr16384 (order: 4, 65536 bytes, linear)
[ 0.703463] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.704145] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.707320] Memory: 88164K/131072K available (3767K kernel code, 366K rwdata, 1876K rodata, 180K init, 118K bss, 10140K reserved, 32768K cma-reserved)
[ 0.708730] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=3, Nodes=1
[ 0.709549] rcu: Preemptible hierarchical RCU implementation.
[ 0.710088] rcu: RCU event tracing is enabled.
[ 0.710505] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=3.
[ 0.711106] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[ 0.711801] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=3
[ 0.712441] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.713732] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.723930] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.724522] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.725518] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.726258] Switching to timer-based delay loop, resolution 41ns
[ 0.727186] Console: colour dummy device 80x30
[ 0.728059] printk: console [tty1] enabled
[ 0.728479] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[ 0.729443] CPU: Testing write buffer coherency: ok
[ 0.729943] pid_max: default: 4096 minimum: 301
[ 0.730545] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.731249] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.732923] /cpus/cpu@f00 missing clock-frequency property
[ 0.733482] /cpus/cpu@f01 missing clock-frequency property
[ 0.734056] /cpus/cpu@f02 missing clock-frequency property
[ 0.734580] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.735972] Setting up static identity map for 0x108240 - 0x108294
[ 0.736738] rcu: Hierarchical SRCU implementation.
[ 0.737202] rcu: Max phase no-delay instances is 1000.
[ 0.738521] 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
[ 0.740411] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.742049] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.742171] smp: Brought up 1 node, 3 CPUs
[ 0.743644] SMP: Total of 3 processors activated (144.00 BogoMIPS).
[ 0.744231] CPU: All CPU(s) started in SVC mode.
[ 0.745324] devtmpfs: initialized
[ 0.752469] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.753403] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.754333] futex hash table entries: 16 (order: -2, 1024 bytes, linear)
[ 0.755089] pinctrl core: initialized pinctrl subsystem
[ 0.756747] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.757788] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.759167] Registered FIQ tty driver
[ 0.759900] thermal_sys: Registered thermal governor 'step_wise'
[ 0.759913] thermal_sys: Registered thermal governor 'user_space'
[ 0.760560] cpuidle: using governor menu
[ 0.762906] ramoops: boot-log-0 0xd000@0x00083000
[ 0.763516] ramoops: console 0x20000@0x00090000
[ 0.764266] printk: console [ramoops-1] enabled
[ 0.764700] pstore: Registered ramoops as persistent store backend
[ 0.765328] ramoops: using 0x2d000@0x83000, ecc: 0
[ 0.773913] rockchip-gpio ff940000.gpio: probed /pinctrl/gpio@ff940000
[ 0.775270] rockchip-gpio ff870000.gpio: probed /pinctrl/gpio@ff870000
[ 0.776627] rockchip-gpio ff1c0000.gpio: probed /pinctrl/gpio@ff1c0000
[ 0.777935] rockchip-gpio ff1d0000.gpio: probed /pinctrl/gpio@ff1d0000
[ 0.779200] rockchip-gpio ff1e0000.gpio: probed /pinctrl/gpio@ff1e0000
[ 0.779956] rockchip-pinctrl pinctrl: probed pinctrl
[ 0.781860] platform ff600000.vop: Fixed dependency cycle(s) with /dsi@ff640000
[ 0.782656] platform ff640000.dsi: Fixed dependency cycle(s) with /dsi@ff640000/panel@0
[ 0.783464] platform ff640000.dsi: Fixed dependency cycle(s) with /vop@ff600000
[ 0.786179] platform vdd-cpu: Fixed dependency cycle(s) with /vdd-cpu
[ 0.793905] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ fiq not found
[ 0.794571] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ wakeup not found
[ 0.795238] fiq_debugger_probe: could not install nmi irq handler
[ [ 0.795904] printk: console [ttyFIQ0] enabled
0.795904] printk: console [ttyFIQ0] enabled
[ 0.796714] printk: bootconsole [uart8250] disabled
[ 0.796714] printk: bootconsole [uart8250] disabled
[ 0.797454] Registered fiq debugger ttyFIQ0
[ 0.799619] reg-fixed-voltage vdd-cpu: Fixed regulator specified with variable voltages
[ 0.799674] reg-fixed-voltage: probe of vdd-cpu failed with error -22
[ 0.800191] mc: Linux media interface: v0.10
[ 0.80deodev: Linux video capture interface: v2.00
[ 0.800367] pps_core: LinuxPPS API ver. 1 registered
[ 0.800393] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.800435] PTP clock support registered
[ 0.801667] Advanced Linux Sound Architecture Driver Initialized.
[ 0.802390] rockchip-cpuinfo cpuinfo: SoC : 35060000
[ 0.802441] rockchip-cpuinfo cpuinfo: Serial : 2a83dcf92f890188
[ 0.803242] clocksource: Switched to clocksource arch_sys_counter
[ 0.813801] NET: Registered PF_INET protocol family
[ 0.814041] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.814903] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.814972] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.815011] TCP established hash table entries: 1024 (ord)
[ 0.815271] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 0.815478] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 0.817069] rockchip-thermal ff650000.tsadc: tsadc is probed successfully!
[ 0.818108] Initialise system trusted keyrings
[ 0.818420] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 0.822803] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.823272] Key type asymmetric registered
[ 0.823319] Asymmetric key parser 'x509' registered
[ 0.823452] io scheduler mq-deadline registered
[ 0.823487] io scheduler kyber registered
[ 0.823642] io scheduler bfq registered
[ 0.825556] pwm-backlight backlight: supply power not found, using dummy regulator
[ 0.829386] dma-pl330 ff000000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.829455] dma-pl330 ff000000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 0.831032] dma-pl330 ff008000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.831087] dma-pl330 ff008000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 0.831322] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[ 0.831906] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.833777] dw-mipi-dsi-rockchip ff640000.dsi: Fixed dependency cycle(s) with /dsi@ff640000/panel@0
[ 0.833916] mipi-dsi ff640000.dsi.0: Fixed dependency cycle(s) with /dsi@ff640000
[ 0.836351] rockchip-drm display-subsystem: bound ff600000.vop (ops 0xb05ce9dc)
[ 0.836443] dw-mipi-dsi-rockchip ff640000.dsi: failed to find panel or bridge: -517
E/TC:0 plat_shm_get_page_num:373 plat_shm_get_page_num: type 6 alloc is not supported
[ 0.838370] no ATF memory for init
[ 0.839015] panel-simple-dsi ff640000.dsi.0: Expected bpc in {6,8} but got: 0
[ 0.842026] spi-nand spi2.0: Winbond SPI NAND was found.
[ 0.842087] spi-nand spi2.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 0.843187] 3 cmdlinepart partitions found on MTD device spi-nand0
[ 0.843268] Creating 3 MTD partitions on "spi-nand0":
[ 0.843299] 0x000000400000-0x000000800000 : "uboot"
[ 0.845513] 0x000000800000-0x000001400000 : "boot"
[ 0.847679] 0x000002000000-0x00000ff60000 : "rootfs"
[ 0.851092] CAN device driver interface
[ 0.851432] PPP generic driver version 2.4.2
[ 0.852056] i2c_dev: i2c /dev entries driver
[ 0.852975] Goodix-TS 2-005d: supply AVDD28 not found, using dummy regulator
[ 0.853174] Goodix-TS 2-005d: supply VDDIO not found, using dummy regulator
[ 0.853528] Goding 1 bytes from 0x8140: -6
[ 0.880086] Goodix-TS 2-005d: Error reading 1 bytes from 0x8140: -6
[ 0.906588] Goodix-TS 2-005d: I2C communication failure: -6
[ 0.907174] Goodix-TS 2-0014: supply AVDD28 not found, using dummy regulator
[ 0.907376] Goodix-TS 2-0014: supply VDDIO not found, using dummy regulator
[ 0.907688] Goodix-TS 2-0014: Error reading 1 bytes from 0x8140: -6
[ 0.933438] Goodix-TS 2-0014: Error reading 1 bytes from 0x8140: -6
[ 0.959926] Goodix-TS 2-0014: I2C communication failure: -6
[ 0.960578] edt_ft5x06 2-0038 supply vcc not found, using dummy regulator
[ 0.960698] ws_backlight 2-0045: failed ret: -6
[ 0.960806] edt_ft5x06 2-0038: supply iovcc not found, using dummy regulator
[ 0.961706] cpu cpu0: bin=0
[ 0.961805] cpu cpu0: leakage=0
[ 0.961862] cpu cpu0: Failed to get reg
[ 0.961987] cpu cpu0: failed to set opp config
[ 0.962021] cpu cpu0: failed to init opp info
[ 0.962043] Failed to initialize dvfs info cpu0
[ 0.962365] Synopsys Designware Multimedia Card Interface Driver
[ 0.963396] dwmmc_rockchip ff480000.mmc: No normal pinctrl state
[ 0.963454] dwmmc_rockchip ff480000.mmc: No idle pinctrl state
[ 0.963648] dwmmc_rockchip ff480000.mmc: IDMAC supports 32-bit address mode.
[ 0.963717] dwmmc_rockchip ff480000.mmc: Using internal DMA controller.
[ 0.963753] dwmmc_rockchip ff480000.mmc: Version ID is 270a
[ 0.963840] dwmmc_rockchip ff480000.mmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[ 0.964334] dwmmc_rockchip ff480000.mmc: Got CD GPIO
[ 0.967793] input: 2-0038 EP0110M09 as /devices/platform/ff060000.i2c/i2c-2/2-0038/input/input0
[ 0.967914] NET: Registered PF_PACKET protocol family
[ 0.968018] can: controller area network core
[ 0.968204] NET: Registered PF_CAN protocol family
[ 0.968257] can: raw protocol
[ 0.968288] can: broadcast manager protocol
[ 0.968322] can: netlink gateway - max_hops=1
[ 0.968635] Registering SWP/SWPB emulation handler
[ 0.968964] Loading compiled-in X.509 certificates
[ 0.974359] rga2 ff610000.rga: probe successfully, irq = 47, hw_version:3.a.07135
[ 0.974577] rga: IOMMU binding successfully, default mapping core[0x4]
[ 0.974881] rga: Module initialized. v1.3.6
[ 0.976672] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 0.993509] rockchip-drm display-subsystem: bound ff600000.vop (ops 0xb05ce9dc)
[ 0.993644] rockchip-drm display-subsystem: bound ff640000.dsi (ops 0xb05cff6c)
[ 0.994775] [drm] Initialized rockchip 4.0.0 20140818 for display-subsystem on minor 0
[ 0.994866] rockchip-drm display-subsystem: route-dsi: failed to get logo,offset
[ 0.994898] rockchip-drm display-subsystem: can't not find any logo display
[ 0.994926] rockchip-drm display-subsystem: failed toI/TC: ddr_plat_smc_handler: default
I/TC: ddr_plat_smc_handler: unhandled DDR SMC id(0x13)
[ 0.997031] rockchip-vop ff600000.vop: [drm:vop_crtc_atomic_enable] Update mode to 480x640p58, type: 16
[ 1.022102] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 1.022179] mmc0: new high speed SD card at address 21a7
[ 1.022786] mmcblk0: mmc0:21a7 APPSD 120 MiB
[ 1.025094] mmcblk0: p1
[ 1.663963] dw-mipi-dsi-rockchip ff640000.dsi: [drm:dw_mipi_dsi_bridge_atomic_enable] final DSI-Link bandwidth: 276 x 2 Mbps
[ 1.717653] Console: switching to colour frame buffer device 60x40
[ 1.738582] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[ 1.742129] rockchip-drm display-subsystem: [drm] run display error_event monitor
[ 1.745669] adc_keys adc-keys: keymap is missing
[ 1.747376] adc_keys: probe of adc-keys failed with error -22
[ 1.751061] ubi0: attaching mtd2
[ 2.080373] ubi0: scanning is finished
[ 2.106843] ubi0: volume 0 ("rootfs") re-sized from 808 to 1743 LEBs
[ 2.110866] ubi0: attached mtd2 (name "rootfs", size 223 MiB)
[ 2.114244] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.117600] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.120967] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.124329] ubi0: good PEBs: 1787, bad PEBs: 0, corrupted PEBs: 0
[ 2.127685] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 2.131059] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 554597319
[ 2.134456] ubi0: available PEBs: 0, total reserved PEBs: 1787, PEBs reserved for bad PEB handling: 40
[ 2.137899] ubi0: background thread "ubi_bgt0d" started, PID 78
[ 2.138474] clk: Disabling unused clocks
[ 2.143708] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[ 2.147341] rockchip-suspend not set sleep-mode-config for mem-lite
[ 2.150860] rockchip-suspend not set wakeup-config for mem-lite
[ 2.154389] rockchip-suspend not set sleep-mode-config for mem-ultra
[ 2.157913] rockchip-suspend not set wakeup-config for mem-ultra
[ 2.161871] ALSA device list:
[ 2.163669] No soundcards found.
[ 2.166266] UBIFS (ubi0:0): Mounting in unauthenticated mode
[ 2.228617] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
[ 2.232159] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 2.235721] UBIFS (ubi0:0): FS size: 219922432 bytes (209 MiB, 1732 LEBs), max 8456 LEBs, journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 2.241050] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 2.244595] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 753456D8-936A-48D2-8550-FB60BB0AF9B1, small LPT model
[ 2.262710] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
[ 2.278794] devtmpfs: mounted
[ 2.280775] Freeing unused kernel image (initmem) memory: 180K
[ 2.284278] Kernel memory protection not selected by kernel config.
[ 2.287791] Run /sbin/init as init process
[ 3.190763] UBIFS (ubi0:0): start fixing up free space
[ 6.386614] random: crng init done
[ 14.273641] UBIFS (ubi0:0): free space fixup complete
[ 14.287760] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 81
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
Saving 256 bits of creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
[ 15.250513] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 15.267110] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 15.271928] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 15.275948] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 15.279943] cfg80211: failed to load regulatory.db
[ 15.548655] usbcore: registered new interface driver usbfs
[ 15.552259] usbcore: registered new interface driver hub
[ 15.554221] usbcore: registered new device driver usb
[ 15.559062] usbcore: registered new interface driver usbhid
[ 15.562587] usbhid: USB HID core driver
[ 15.831145] rockchip-usb2phy ff2b0000.usb2-phy: error -ENXIO: IRQ index 0 not found
[ 15.888976] dwc2 ff740000.usb: supply vusb_d not found, using dummy regulator
[ 15.892587] dwc2 ff740000.usb: supply vusb_a not found, using dummy regulator
[ 15.899928] dwc2 ff740000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[ 15.904239] dwc2 ff780000.usb: supply vusb_d not found, using dummy regulator
[ 15.907896] dwc2 ff780000.usb: supply vusb_a not found, using dummy regulator
[ 15.925289] dwc2 ff780000.usb: DWC OTG Controller
[ 15.927167] dwc2 ff780000.usb: new USB bus registered, assigned bus number 1
[ 15.930676] dwc2 ff780000.usb: irq 54, io mem 0xff780000
[ 15.933184] hub 1-0:1.0: USB hub found
[ 15.935003] hub 1-0:1.0: 1 port detected
[ 15.991609] SCSI subsystem initialized
[ 16.001277] usbcore: registered new interface driver usb-storage
Populating /dev using udev: [ 16.226612] usb 1-1: new high-speed USB device number 2 using dwc2
[ 16.274442] udevd[247]: starting version 3.2.14
[ 16.329098] udevd[248]: starting eudev-3.2.14
[ 16.611476] mtdblock: MTD device 'uboot' is NAND, please consider using UBI block devices instead.
[ 16.611679] mtdblock: MTD device 'boot' is NAND, please consider using UBI block devices instead.
[ 16.619433] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[ 17.049431] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
done
Starting irqbalance: OK
Starting system message bus: done
Starting bluetoothd: OK
Starting network: OK
Starting sshd: OK
starting usbdevice service, log saved to /var/log/usbdevice.log
[S60netdevice] eth0 not found
fstrim: Starting fstrim process (388)...
Starting input-event-daemon: done
Welcome to Luckfox Lyra [root:luckfox]
luckfox login: [ 18.890443] using random self ethernet address
[ 18.893877] using random host ethernet address
[ 18.975262] file system registered
[ 19.213897] read descriptors
[ 19.215680] read strings
[ 19.302692] usb0: HOST MAC 46:9d:19:da:9a:35
[ 19.304914] usb0: MAC 7a:15:52:f8:d3:98
[ 19.307011] dwc2 ff740000.usb: bound driver configfs-gadget.rockchip
[ 19.469631] dwc2 ff740000.usb: new device is high-speed
[ 19.502602] android_work: sent uevent USB_STATE=CONNECTED
[ 19.504278] dwc2 ff740000.usb: new address 10
[ 19.832906] android_work: sent uevent USB_STATE=DISCONNECTED
[ 19.880991] dwc2 ff740000.usb: new device is high-speed
[ 19.914511] android_work: sent uevent USB_STATE=CONNECTED
[ 19.969243] dwc2 ff740000.usb: new device is high-speed
[S60netdevice] Saved current MAC address (7a:15:52:f8:d3:98) to /etc/.usb0_macaddr
[ 20.002067] dwc2 ff740000.usb: new address 10
[ 20.138450] android_work: sent uevent USB_STATE=DISCONNECTED
[ 20.186609] dwc2 ff740000.usb: new device is high-speed
[ 20.220136] android_work: sent uevent USB_STATE=CONNECTED
[ 20.275087] dwc2 ff740000.usb: new device is high-speed
[ 20.307670] dwc2 ff740000.usb: new address 10
[ 20.473468] android_work: sent uevent USB_STATE=CONFIGURED
修改dts+logo图片:
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, 0x1a-0x0-0x2,status:a007
rdtrn:0xf-0x29-0x44(0x35)
wrtrn:0xa-0x22-0x3b(0x31)
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 #kvzero (Mar 01 2025 - 16:48:05)
sfc cmd=03H(6BH-x4)
SPI Nand ID ef aa 22
unrecognized JEDEC id bytes: ff, ef, aa
Trying to boot from MMC1
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
No misc partition
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
spl: partition error
Trying fit image at 0x4000 sector
Not fit magic
Trying fit image at 0x5000 sector
Not fit magic
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0xX != 0xX
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
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(a647af606d...) + OK
## Checking fdt 0x002a35b0 ... sha256(4c7bf9a02f...) + OK
Jumping to U-Boot(0x00200000) via OP-TEE(0x00001000)
Total: 106.982/150.576 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
I/TC: Primary CPU switching to normal world boot
U-Boot 2017.09-g8f6272a #kvzero (Mar 01 2025 - 16:48:05 +0800)
Model: Luckfox Lyra
MPIDR: 0xf00
PreSerial: 0, raw, 0xff0a0000
DRAM: 128 MiB
Sysmem: init
Relocation Offset: 054f0000
Relocation fdt: 044fb390 - 044fede0
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@0x000062d9
resource: sha256+
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
Could not find baseparameter partition
Model: Luckfox Lyra
rockchip_set_ethaddr: vendor_storage_write failed -5
Setting bus to 2
I2c2 speed: 100000Hz
Valid chip addresses:
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
dsi@ff640000: detailed mode clock 21000 kHz, flags[a]
H: 0480 0488 0492 0538
V: 0640 0652 0656 0668
bus_format: 100e
VOP:0xff600000 update mode to: 480x640p58, type: MIPI0
VOP:0xff600000 set crtc_clock to 21000KHz, get 20833333Hz
Unsupported bt709f at 10bit csc depth, use bt601f instead
VOP:0xff600000 set plane [480x640->480x640@0x0] fmt[0] addr[0x5900000]
final DSI-Link bandwidth: 280 Mbps x 2
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: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
## Booting FIT Image at 0x3e9d180 with size 0x0045b200
Fdt Ramdisk skip relocation
No misc partition
## Loading kernel from FIT Image at 03e9d180 ...
Using 'conf' configuration
## Verified-boot: 0
Trying 'kernel' kernel subimage
Description: unavailable
Type: Kernel Image
Compression: uncompressed
Data Start: 0x03ea6780
Data Size: 4529144 Bytes = 4.3 MiB
Architecture: ARM
OS: Linux
Load Address: 0x01100000
Entry Point: 0x01100000
Hash algo: sha256
Hash value: d631f8764ca66822216b43ceedf1989065150ff78e4a35f640e9ce994a66db13
Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 03e9d180 ...
Using 'conf' configuration
Trying 'fdt' fdt subimage
Description: unavailable
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x03e9d980
Data Size: 36146 Bytes = 35.3 KiB
Architecture: ARM
Load Address: 0x00063000
Hash algo: sha256
Hash value: 2caaf9a00eeaef460bde7f2e7519ae63011f3521b2fede74833feb90de29f7eb
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x00063000 to 0x00063000
Booting using the fdt blob at 0x00063000
Loading Kernel Image from 0x03ea6780 to 0x01100000 ... OK
kernel loaded at 0x01100000, end = 0x01551bf8
Using Device Tree in place at 00063000, end 0006ed31
## reserved-memory:
trust@0: addr=0 size=62000
drm-logo@0: addr=5900000 size=258000
ramoops@83000: addr=83000 size=2d000
Adding bank: 0x00000000 - 0x08000000 (size: 0x08000000)
Total: 1099.987/1259.3 ms
Starting kernel ...
[ 1.340614] Booting Linux on physical CPU 0xf00
[ 1.340642] Linux version 6.1.99 (kvzero@e A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #1 SMP PREEMPT Fri Feb 28 20:44:18 CST 2025
[ 1.340652] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d
[ 1.340661] CPU: div instructions available: patching division code
[ 1.340666] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 1.340911] OF: fdt: Machine model: Luckfox Lyra
[ 1.342443] earlycon: uart8250 at MMIO32 0xff0a0000 (options '')
[ 1.348337] printk: bootconsole [uart8250] enabled
[ 1.348858] Memory policy: Data cache writealloc
[ 1.349474] Reserved memory: created CMA memory pool at 0x06000000, size 32 MiB
[ 1.350148] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 1.351386] Zone ranges:
[ 1.351641] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ tmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 1.360575] psci: probing for conduit method from DT.
[ 1.361062] psci: PSCIv1.0 detected in firmware.
[ 1.361490] psci: Using standard PSCI v0.2 funE not supported.
[ 1.362411] psci: SMC Calling Convention v1.1
[ 1.362947] percpu: Embedded 12 pages/cpu s16468 r8192 d24492 u49152
[ 1.363641] Built 1 zonelists, mobility grouping on. Total pages: 32480
[ 1.364266] 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) #k-03/01/2025 androidboot.fwver=ddr-v1.04-0ac6b06a19,tee-v1.25,uboot-8f6272a user_debug=31
[ 1.368407] Unknown kernel command line parameters "#k-03/01/2025 storagemedia=mtd", will be passed to user space.
[ 1.369417] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 1.370133] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 1.370817] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 1.373986] Memory: 87140K/131072K available (3767K kernel code, 366K rwdata, 1876K rodata, 180K init, 118K bss, 11164K reserved, 32768K cma-reserved)
[ 1.375396] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=3, Nodes=1
[ 1.376214] rcu: Preemptible hierarchical RCU implementation.
[ 1.376751] rcu: RCU event tracing is enabled.
[ 1.377168] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=3.
[ 1.377769] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[ 1.378463] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=3
[ 1.379105] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 1.380405] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 1.390550] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 1.391143] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 1.392139] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 1.392878] Switching to timer-based delay loop, resolution 41ns
[ 1.393805] Console: colour dummy device 80x30
[ 1.394675] printk: console [tty1] enabled
[ 1.395095] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[ 1.396059] CPU: Testing write buffer coherency: ok
[ 1.396556] pid_max: default: 4096 minimum: 301
[ 1.397154] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.397858] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.399522] /cpus/cpu@f00 missing clock-frequency property
[ 1.400080] /cpus/cpu@f01 missing clock-frequency property
[ 1.400654] /cpus/cpu@f02 missing clock-frequency property
[ 1.401177] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 1.402562] Setting up static identity map for 0x108240 - 0x108294
[ 1.403332] rcu: Hierarchical SRCU implementation.
[ 1.403794] rcu: Max phase no-delay instances is 1000.
[ 1.405114] 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.407006] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 1.408645] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 1.408766] smp: Brought up 1 node, 3 CPUs
[ 1.410239] SMP: Total of 3 processors activated (144.00 BogoMIPS).
[ 1.410826] CPU: All CPU(s) started in SVC mode.
[ 1.411916] devtmpfs: initialized
[ 1.419113] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 1.420042] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 1.420974] futex hash table entries: 16 (order: -2, 1024 bytes, linear)
[ 1.421733] pinctrl core: initialized pisystem
[ 1.423374] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 1.424425] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 1.425811] Registered FIQ tty driver
[ 1.426528] thermal_sys: Registered thermal governor 'step_wise'
[ 1.426539] thermal_sys: Registered thermal governor 'user_space'
[ 1.427181] cpuidle: using governor menu
[ 1.429505] ramoops: boot-log-0 0xd000@0x00083000
[ 1.430117] ramoops: console 0x20000@0x00090000
[ 1.430866] printk: console [ramoops-1] enabled
[ 1.431299] pstore: Registered ramoops as persistent store backend
[ 1.431927] ramoops: using 0x2d000@0x83000, ecc: 0
[ 1.440479] rockchip-gpio ff940000.gpio: probed /pinctrl/gpio@ff940000
[ 1.441871] rockchip-gpio ff870000.gpio: probed /pinctrl/gpio@ff870000
[ 1.443209] rockchip-gpio ff1c0000.gpio: probed /pinctrl/gpio@ff1c0000
[ 1.444510] rockchip-gpio ff1d0000.gpio: probed /pinctrl/gpio@ff1d0000
[ 1.445781] rockchip-gpio ff1e0000.gpio: probed /pinctrl/gpio@ff1e0000
[ 1.446538] rockchip-pinctrl pinctrl: probed pinctrl
[ 1.448474] platform ff600000.vop: Fixed dependency cycle(s) with /dsi@ff640000
[ 1.449266] platform ff640000.dsi: Fixed dependency cycle(s) with /dsi@ff640000/panel@0
[ 1.450074] platform ff640000.dsi: Fixed dependency cycle(s) with /vop@ff600000
[ 1.452810] platform vdd-cpu: Fixed dependency cycle(s) with /vdd-cpu
[ 1.460498] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ fiq not found
[ 1.461163] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ wakeup not found
[ 1.461828] fiq_debugger_probe: could not install nmi irq handler
[ [ 1.462496] printk: cons 1.462496] printk: console [ttyFIQ0] enabled
[ 1.463306] printk: bootconsole [uart8250] disabled
[ 1.463306] printk: bootconsole [uart8250] disabled
[ 1.464064] Registered fiq debugger ttyFIQ0
[ 1.466218] reg-fixed-voltage vdd-cpu: Fixed regulator specified with variable voltages
[ 1.466273] reg-fixed-voltage: probe of vdd-cpu failed with error -22
[ 1.466781] mc: Linux media interface: v0.10
[ 1.466878] videodev: Linux video capture interface: v2.00
[ 1.466933] pps_core: LinuxPPS API ver. 1 registered
[ 1.466955] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.466998] PTP clock support registered
[ 1.468249] Advanced Linux Sound Architecture Driver Initialized.
[ 1.468962] rockchip-cpuinfo cpuinfo: SoC : 35060000
[ 1.469015] rockchip-cpuinfo cpuinfo: Serial : 2a83dcf92f890188
[ 1.469832] clocksource: Switched to clocksource arch_sys_counter
[ 1.480338] NET: Registered PF_INET protocol family
[ 1.480574] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 1.481447] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 1.481515] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.481555] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.481596] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 1.481647] TCP: Hash tables configured (established 1024 bind 1024)
[ 1.481765] UDP hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 1.481823] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes, linear)
[ 1.482033] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.483598] rockchip-thermal ff650000.tsadc: tsadc is probed successfully!
[ 1.484665] Initialise system trusted keyrings
[ 1.484965] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 1.489294] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.489726] Key type asymmetric registered
[ 1.489768] Asymmetric key parser 'x509' registered
[ 1.489931] io scheduler mq-deadline registered
[ 1.489969] io scheduler kyber registered
[ 1.490130] io scheduler bfq registered
[ 1.492063] pwm-backlight backlight: supply power not found, using dummy regulator
[ 1.495945] dma-pl330 ff000000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.496013] dma-pl330 ff000000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[ 1.497550] dma-pl330 ff008000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 1.497612] dma-pl330 ff008000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[ 1.497849] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[ 1.498451] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 1.500307] dw-mipi-dsi-rockchip ff640000.dsi: Fixed dependency cycle(s) with /dsi@ff640000/panel@0
[ 1.500462] mipi-dsi ff640000.dsi.0: Fixed dependency cycle(s) with /dsi@ff640000
[ 1.502841] rockchip-drm display-subsystem: bound ff600000.vop (ops 0xb05ce9dc)
[ 1.502935] dw-mipi-dsi-rockchip ff640000.dsi: failed to find panel or bridge: -517
E/TC:0 plat_shm_get_page_num:373 plat_shm_get_page_num: type 6 alloc is not supported
[ 1.504858] no ATF memory for init
[ 1.505502] panel-simple-dsi ff640000.dsi.0: Expected bpc in {6,8} but got: 0
[ 1.508325] spi-nand spi2.0: Winbond SPI NAND was found.
[ 1.508389] spi-nand spi2.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
[ 1.509895] 3 cmdlinepart partitions found on MTD device spi-nand0
[ 1.509952] Creating 3 MTD partitions on "spi-nand0":
[ 1.509980] 0x000000400000-0x000000800000 : "uboot"
[ 1.512166] 0x000000800000-0x000001400000 : "boot"
[ 1.514311] 0x000002000000-0x00000ff60000 : "rootfs"
[ 1.517712] CAN device driver interface
[ 1.518037] PPP generic driver version 2.4.2
[ 1.518652] i2c_dev: i2c /dev entries driver
[ 1.519580] Goodix-TS 2-005d: supply AVDD28 not found, using dummy regulator
[ 1.519783] Goodix-TS 2-005d: supply VDDIO not found, using dummy regulator
[ 1.520176] Goodix-TS 2-005d: Error reading 1 bytes from 0x8140: -6
[ 1.546658] Goodix-TS 2-005d: Error reading 1 bytes from 0x8140: -6
[ 1.573177] Goodix-TS 2-005d: I2C communication failure: -6
[ 1.573686] Goodix-TS 2-0014:28 not found, using dummy regulator
[ 1.573882] Goodix-TS 2-0014: supply VDDIO not found, using dummy regulator
[ 1.574191] Goodix-TS 2-0014: Error reading 1 bytes from 0x8140: -6
[ 1.600020] Goodix-TS 2-0014: Error reading 1 bytes from 0x8140: -6
[ 1.626513] Goodix-TS 2-0014: I2C communication failure: -6
[ 1.627108] edt_ft5x06 2-0038: supply vcc not found, using dummy regulator
[ 1.627296] edt_ft5x06 2-0038: supply iovcc not found, using dummy regulator
[ 1.630118] ws_backlight 2-0045: failed ret: -6
[ 1.631199] cpu cpu0: bin=0
[ 1.631303] cpu cpu0: leakage=0
[ 1.631364] cpu cpu0: Failed to get reg
[ 1.631476] cpu cpu0: failed to set opp config
[ 1.631507] cpu cpu0: failed to init opp info
[ 1.631528] Failed to initialize dvfs info cpu0
[ 1.631918] Synopsys Designware Multimedia Card Interface Driver
[ 1.632917] dwmmc_rockchip ff480000.mmc: No normal pinctrl state
[ 1.632973] dwmmc_rockchip ff480000.mmc: No idle pinctrl state
[ 1.633208] dwmmc_rockchip ff480000.mmc: IDMAC supports 32-bit address mode.
[ 1.633277] dwmmc_rockchip ff480000.mmc: Using internal DMA controller.
[ 1.633310] dwmmc_rockchip ff480000.mmc: Version ID is 270a
[ 1.633397] dwmmc_rockchip ff480000.mmc: DW MMC controller at irq 45,32 bit host data width,256 deep fifo
[ 1.633891] dwmmc_rockchip ff480000.mmc: Got CD GPIO
[ 1.634196] input: 2-0038 EP0110M09 as /devices/platform/ff060000.i2c/i2c-2/2-0038/input/input0
[ 1.638345] NET: Registered PF_PACKET protocol family
[ 1.638438] can: controller area network core
[ 1.638596] NET: Registered PF_CAN protocol family
[ 1.638632] can: raw protocol
[ 1.638657] can: broadcast manager protocol
[ 1.638684] can: netlink gateway - max_hops=1
[ 1.638977] Registering SWP/SWPB emulation handler
[ 1.639316] L[ 1.644789] rga2 ff610000.rga: probe successfully, irq = 47, hw_version:3.a.07135
[ 1.645007] rga: IOMMU binding successfully, default mapping core[0x4]
[ 1.645290] rga: Module initialized. v1.3.6
[ 1.646579] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[ 1.663925] rockchip-drm display-subsystem: bound ff600000.vop (ops 0xb05ce9dc)
[ 1.664065] rockchip-drm display-subsystem: bound ff640000.dsi (ops 0xb05cff6c)
[ 1.665258] [drm] Initialized rockchip 4.0.0 20140818 for display-subsystem on minor 0
I/TC: ddr_plat_smc_handler: default
I/TC: ddr_plat_smc_handler: unhandled DDR SMC id(0x13)
[ 1.692844] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[ 1.692934] mmc0: new high speed SD card at address 21a7
[ 1.693540] mmcblk0: mmca7 APPSD 120 MiB
[ 1.695786] mmcblk0: p1
[ 1.717201] Console: switching to colour frame buffer device 60x40
[ 1.734792] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[ 1.735243] rockchip-drm display-subsystem: [drm] run display error_event monitor
[ 1.737187] adc_keys adc-keys: keymap is missing
[ 1.738861] adc_keys: probe of adc-keys failed with error -22
[ 1.742509] ubi0: attaching mtd2
[ 2.189874] ubi0: scanning is finished
[ 2.197051] ubi0: attached mtd2 (name "rootfs", size 223 MiB)
[ 2.200311] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.203522] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.206756] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.210047] ubi0: good PEBs: 1787, bad PEBs: 0, corrupted PEBs: 0
[ 2.213449] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 2.216927] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 284935775
[ 2.220386] ubi0: available PEBs: 0, total reserved PEBs: 1787, PEBs reserved for bad PEB handling: 40
[ 2.223871] ubi0: background thread "ubi_bgt0d" started, PID 75
[ 2.224461] clk: Disabling unused clocks
[ 2.229611] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[ 2.233254] rockchip-suspend not set sleep-mode-config for mem-lite
[ 2.236762] rockchip-suspend not set wakeup-config for mem-lite
[ 2.240240] rockchip-suspend not set sleep-mode-config for mem-ultra
[ 2.243687] rockchip-suspend not set wakeup-config for mem-ultra
[ 2.247588] ALSA device list:
[ 2.249344] No soundcards found.
[ 2.251846] UBIFS (ubi0:0): Mounting in unauthenticated mode
[ 2.270690] UBIFS (ubi0:0): recovery needed
[ 2.297705] UBIFS (ubi0:0): recovery deferred
[ 2.299502] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O mode
[ 2.302870] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 2.306269] UBIFS (ubi0:0): FS size: 219922432 bytes (209 MiB, 1732 LEBs), max 8456 LEBs, journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 2.311429] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 2.314864] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID D6F055F3-EA1D-4252-B2D4-67876C898511, small LPT model
[ 2.320391] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
[ 2.324370] devtmpfs: mounted
[ 2.326227] Freeing unused kernel image (initmem) memory: 180K
[ 2.329579] Kernel memory protection not selected by kernel config.
[ 2.332928] Run /sbin/init as init process
[ 2.489225] UBIFS (ubi0:0): completing deferred recovery
[ 2.530696] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 78
[ 2.538389] UBIFS (ubi0:0): deferred recovery completed
[ 2.703634] Freeing drm_logo memory: 2400K
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[ 2.914812] random: crng init done
Saving 256 bits of creditable seed for next boot
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
[ 3.156561] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.172805] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.177501] cfg80211: Loaded X.509 cert 'wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600'
[ 3.181268] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.184851] cfg80211: failed to load regulatory.db
[ 3.453060] usbcore: registered new interface driver usbfs
[ 3.456578] usbcore: registered new interface driver hub
[ 3.458636] usbcore: registered new device driver usb
[ 3.463464] usbcore: registered new interface driver usbhid
[ 3.466936] usbhid: USB HID core driver
[ 3.732693] rockchip-usb2phy ff2b0000.usb2-phy: error -ENXIO: IRQ index 0 not found
[ 3.790125] dwc2 ff740000.usb: supply vusb_d not found, using dummy regulator
[ 3.793715] dwc2 ff740000.usb: supply vusb_a not found, using dummy regulator
[ 3.800876] dwc2 ff740000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM
[ 3.805026] dwc2 ff780000.usb: supply vusb_d not found, using dummy regulator
[ 3.808632] dwc2 ff780000.usb: supply vusb_a not found, using dummy regulator
[ 3.825973] dwc2 ff780000.usb: DWC OTG Controller
[ 3.827797] dwc2 ff780000.usb: new USB bus registered, assigned bus number 1
[ 3.831187] dwc2 ff780000.usb: irq 54, io mem 0xff780000
[ 3.833693] hub 1-0:1.0: USB hub found
[ 3.835461] hub 1-0:1.0: 1 port detected
[ 3.891906] SCSI subsystem initialized
[ 3.901484] usbcore: registered new interface driver usb-storage
Populating /dev using udev: [ 4.126537] usb 1-1: new high-speed USB device number 2 using dwc2
[ 4.170626] udevd[247]: starting version 3.2.14
[ 4.224955] udevd[248]: starting eudev-3.2.14
[ 4.471162] mtdblock: MTD device 'uboot' is NAND, please consider using UBI block devices instead.
[ 4.477807] mtdblock: MTD device 'boot' is NAND, please consider using UBI block devices instead.
[ 4.485399] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[ 4.909193] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
done
Starting irqbalance: OK
Starting system message bus: done
Starting bluetoothd: OK
Starting network: OK
Starting sshd: OK
starting usbdevice service, log saved to /var/log/usbdevice.log
[S60netdevice] eth0 not found
fstrim: Starting fstrim process (388)...
Starting input-event-daemon: done
Welcome to Luckfox Lyra [root:luckfox]
luckfox login: [ 6.722612] using random self ethernet address
[ 6.726027] using random host ethernet address
[ 6.805777] file system registered
[ 7.038698] read descriptors
[ 7.040628] read strings
[ 7.130628] usb0: HOST MAC 0a:1a:f2:c9:87:8d
[ 7.132382] usb0: MAC 36:4f:08:03:e0:a0
[ 7.134810] dwc2 ff740000.usb: bound driver configfs-gadget.rockchip
[ 7.297369] dwc2 ff740000.usb: new device is high-speed
[ 7.330958] android_work: sent uevent USB_STATE=CONNECTED
[ 7.332663] dwc2 ff740000.usb: new address 28
[ 7.671505] android_work: sent uevent USB_STATE=DISCONNECTED
[ 7.719498] dwc2 ff740000.usb: new device is high-speed
[ 7.752897] android_work: sent uevent USB_STATE=CONNECTED
[ 7.807731] dwc2 ff740000.usb: new device is high-speed
[ 7.840455] dwc2 ff740000.usb: new address 28
[S60netdevice] Saved usb0 Mac address:4e:13:d3:92:bb:fa
[S60netdevice] Set usb0 MAC address to 4e:13:d3:92:bb:fa
[ 7.981293] android_work: sent uevent USB_STATE=DISCONNECTED
[ 8.029455] dwc2 ff740000.usb: new device is high-speed
[ 8.062762] android_work: sent uevent USB_STATE=CONNECTED
[ 8.117601] dwc2 ff740000.usb: new device is high-speed
[ 8.150572] dwc2 ff740000.usb: new address 28
[ 8.356115] android_work: sent uevent USB_STATE=CONFIGURED