|
【技术讨论】
rk3566 MIPI 配置长指令,无法启动
发表于 2021-12-16 18:24:00
浏览:5076
|
回复:1
打印
只看该作者
[复制链接]
楼主
roc-rk3566 驱动4.0寸mipi屏幕(IC:ST7701S) 配置mipi初始化数据
panel-init-sequence = [
39 00 06 FF 77 01 00 00 10
39 00 03 C0 3B 00
39 00 03 C1 0D 02
39 00 03 C2 21 08
39 00 11 B0 00 11 18 0E 11 06 07 08 07 22 04 12 0F AA 31 18
39 00 11 B1 00 11 19 0E 12 07 08 08 08 22 04 11 11 A9 32 18
39 00 06 FF 77 01 00 00 11
15 00 02 B0 60
15 00 02 B1 30
15 00 02 B2 87
15 00 02 B3 80
15 00 02 B5 49
15 00 02 B7 85
15 00 02 B8 21
15 00 02 C1 78
15 00 02 C2 78
39 00 04 E0 00 1B 02
39 00 0C E1 08 A0 00 00 07 A0 00 00 00 44 44
39 00 0D E2 11 11 44 44 ED A0 00 00 EC A0 00 00
39 00 05 E3 00 00 11 11
39 00 03 E4 44 44
39 00 11 E5 0A E9 D8 A0 0C EB D8 A0 0E ED D8 A0 10 EF D8 A0
39 00 05 E6 00 00 11 11
39 00 03 E7 44 44
39 00 11 E8 09 E8 D8 A0 0B EA D8 A0 0D EC D8 A0 0F EE D8 A0
39 00 08 EB 02 00 E4 E4 88 00 40
39 00 03 EC 3C 00
39 00 11 ED AB 89 76 54 02 FF FF FF FF FF FF 20 45 67 98 BA
39 00 06 FF 77 01 00 00 00
05 78 01 11
05 32 01 29
//15 00 02 35 00
];
串口调试输出,中断于u-boot
U-Boot 2017.09 (Dec 16 2021 - 11:58:46 +0800)
Model: Rockchip RK3568 Evaluation Board
PreSerial: 2, raw, 0xfe660000
DRAM: 2 GiB
Sysmem: init
Relocation Offset: 7d351000
Relocation fdt: 7b9f8950 - 7b9fece0
CR: M/C/I
Using default environment
rk3568_sdmmc_set_clk,rate=400000
dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
boot mode: recovery (misc)
FIT: No fdt blob
boot mode: recovery (misc)
Android 11.0, Build 2021.7, v2
Found DTB in recovery part
DTB: rk-kernel.dtb
HASH(c): OK
ANDROID: fdt overlay OK
I2c0 speed: 100000Hz
vsel-gpios- not found! Error: -2
vdd_cpu init 900000 uV
PMIC: RK8090 (on=0x40, off=0x00)
vdd_logic init 900000 uV
vdd_gpu init 900000 uV
vdd_npu init 900000 uV
io-domain: OK
"Synchronous Abort" handler, esr 0x96000010
* Reason: Exception from a Data abort, from current exception level
* PC = 0000000000a62794
* LR = 0000000000a62924
* SP = 000000007b9f8370
* ESR_EL2 = 0000000096000010
* Reloc Off = 000000007d351000
x0 : 0000000080000001 x1 : 000000008a109e79
x2 : 00000000000000ff x3 : 0000000000000102
x4 : 000000007de4fa78 x5 : 000000000a11df26
x6 : 000000000000000a x7 : 0000000000000044
x8 : 0000000000000005 x9 : 0000000000000008
x10: 000000007de40359 x11: 000000007bd75933
x12: 0000000000000005 x13: 0000000000000000
x14: 0000000000000000 x15: 00000000ffffffff
x16: 000000000000000c x17: 0000000000000001
x18: 000000007b9ffcf8 x19: 000000000a109d64
x20: 000000007bd9d760 x21: 00000000099f2bd5
x22: 000000007bdaae30 x23: 0000000000000000
x24: 000000000a100000 x25: 000000007bd75fb0
x26: 000000007bd756a8 x27: 000000007de3ac1a
x28: 000000007bdaa920 x29: 000000007b9f8550
Call trace:
PC: [< 00a62794 >]
LR: [< 00a62924 >]
Stack:
[< 00a62794 >]
[< 00a62924 >]
[< 00a38e84 >]
[< 00a39f8c >]
[< 00a3a0b4 >]
[< 00a4e3e8 >]
[< 00a4efc0 >]
[< 00a38ea0 >]
[< 00a39f8c >]
[< 00a3a248 >]
[< 00a3a270 >]
[< 00a2d084 >]
[< 00a24df8 >]
[< 00a1ee14 >]
[< 00a2509c >]
[< 00a9e808 >]
[< 00a194ac >]
[< 00a01e38 >]
Copy info from "Call trace..." to a file(eg. dump.txt), and run
command in your U-Boot project: ./scripts/stacktrace.sh dump.txt
Resetting CPU ...
### ERROR ### Please RESET the board ###
经检查故障为,mipi指令过长,导致程序跑飞
请问,RK3566 如何修改MIPI指令长度缓冲区
|
|