T113 双线MIPI-lcd调试问题

乐安2025-09-22 09:28:5239

您好,询问一个关于LCD的问题:
我按照屏厂给的参数进行配置之后,系统就起不来了,但是我稍微把lcd_hspw增大到4的话,就可以启动了,但是LCD并不正常,是T113有什么限制吗,还是其他什么原因呢

这是屏厂给的参数

这是我的设备树配置

这是系统启动日志

[135]HELLO! BOOT0 is starting!
[138]BOOT0 commit : 88480af-dirty
[141]set pll start
[147]periph0 has been enabled
[150]set pll end
[152][pmu]: bus read error
[154]board init ok
[156]ZQ value = 0x30
[158]get_pmu_exist() = -1
[161]ddr_efuse_type: 0xa
[163]trefi:7.8ms
[166][AUTO DEBUG] single rank and full DQ!
[170]ddr_efuse_type: 0xa
[172]trefi:7.8ms
[175][AUTO DEBUG] rank 0 row = 13
[178][AUTO DEBUG] rank 0 bank = 8
[181][AUTO DEBUG] rank 0 page size = 2 KB
[185]DRAM BOOT DRIVE INFO: V0.33
[188]DRAM CLK = 936 MHz
[191]DRAM Type = 3 (2:DDR2,3:DDR3)
[194]DRAMC read ODT  off.
[196]DRAM ODT value: 0x42.
[199]ddr_efuse_type: 0xa
[202]DRAM SIZE =128 M
[204]dram_tpr4:0x0
[206]PLL_DDR_CTRL_REG:0xf8004d00
[209]DRAM_CLK_REG:0xc0000000
[212][TIMING DEBUG] MR2= 0x20
[220]DRAM simple test OK.
[222]rtc standby flag is 0x0, super standby flag is 0x0
[227]dram size =128
[230]card no is 0
[231]sdcard 0 line count 4
[234][mmc]: mmc driver ver 2021-05-21 14:47
[243][mmc]: Wrong media type 0x0
[246][mmc]: ***Try SD card 0***
[266][mmc]: HSSDR52/SDR25 4 bit
[269][mmc]: 50000000 Hz
[271][mmc]: 15193 MB
[273][mmc]: ***SD/MMC 0 init OK!!!***
[358]Loading boot-pkg Succeed(index=0).
[362]Entry_name        = u-boot
[368]Entry_name        = optee
[372]Entry_name        = dtb
[375]mmc not para
[377]Jump to second Boot.
M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm


U-Boot 2018.05-g24521d6-dirty (Sep 22 2025 - 09:14:31 +0800) Allwinner Technology

[00.430]CPU:   Allwinner Family
[00.433]Model: sun8iw20
I2C:   FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH
FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH
ready
[00.454]DRAM:  128 MiB
[00.457]Relocation Offset is: 04ede000
[00.480]secure enable bit: 0
[00.482]smc_tee_inform_fdt failed with: -65526[00.487]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
[00.493]gic: sec monitor mode
[00.496]flash init start
[00.498]workmode = 0,storage type = 1
[00.502][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00
[00.507][mmc]: get sdc_type fail and use default host:tm1.
[00.513][mmc]: can't find node "mmc0",will add new node
[00.518][mmc]: fdt err returned <no error>
[00.522][mmc]: Using default timing para
[00.526][mmc]: SUNXI SDMMC Controller Version:0x50310
[00.552][mmc]: card_caps:0x3000000a
[00.555][mmc]: host_caps:0x3000003f
[00.561]sunxi flash init ok
[00.563]line:703 init_clocks
[00.566]drv_disp_init
[00.576]drv_disp_init finish
[00.591]Loading Environment from SUNXI_FLASH... OK
[00.624]Item0 (Map) magic is bad
[00.627]the secure storage item0 copy0 magic is bad
[00.646]Item0 (Map) magic is bad
[00.648]the secure storage item0 copy1 magic is bad
[00.653]Item0 (Map) magic is bad
secure storage read widevine fail
[00.659]secure storage read widevine fail with:-1
secure storage read ec_key fail
[00.666]secure storage read ec_key fail with:-1
secure storage read ec_cert1 fail
[00.674]secure storage read ec_cert1 fail with:-1
secure storage read ec_cert2 fail
[00.681]secure storage read ec_cert2 fail with:-1
secure storage read ec_cert3 fail
[00.688]secure storage read ec_cert3 fail with:-1
secure storage read rsa_key fail
[00.696]secure storage read rsa_key fail with:-1
secure storage read rsa_cert1 fail
[00.703]secure storage read rsa_cert1 fail with:-1
secure storage read rsa_cert2 fail
[00.711]secure storage read rsa_cert2 fail with:-1
secure storage read rsa_cert3 fail
[00.719]secure storage read rsa_cert3 fail with:-1
[00.723]usb burn from boot
delay time 0
weak:otg_phy_config
[00.734]usb prepare ok
[01.537]overtime
[01.540]do_burn_from_boot usb : no usb exist
root_partition is rootfs
set root to /dev/mmcblk0p5
[01.552]update part info
[01.555]update bootcmd
[01.559]change working_fdt 0x43e9de70 to 0x43e7de70
disable nand error: FDT_ERR_BADPATH
[01.580]update dts
Hit any key to stop autoboot:  0
[01.766]no vendor_boot partition is found
Android's image name: t113-100ask
[01.777]Starting kernel ...

[01.779][mmc]: MMC Device 2 not found
[01.783][mmc]: mmc 2 not find, so not exit
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (ubuntu@ubuntu1804) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #257 SMP PREEMPT Mon Sep 22 01:16:50 UTC 2025
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 15 pages/cpu s30412 r8192 d22836 u61440
[    0.000000] pcpu-alloc: s30412 r8192 d22836 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500C00 clk_ignore_unused initcall_debug=0 console=ttyS3,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6-dirty(09/22/2025-09:14:31) androidboot.dramsize=128
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 108592K/131072K available (6144K kernel code, 265K rwdata, 1648K rodata, 1024K init, 1182K bss, 14288K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x26c/0x3ec with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008007] Switching to timer-based delay loop, resolution 41ns
[    0.014167] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.023852] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.034201] pid_max: default: 32768 minimum: 301
[    0.038950] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.046281] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.054597] CPU: Testing write buffer coherency: ok
[    0.059802] /cpus/cpu@0 missing clock-frequency property
[    0.065117] /cpus/cpu@1 missing clock-frequency property
[    0.070456] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.076596] Setting up static identity map for 0x40100000 - 0x40100060
[    0.083249] rcu: Hierarchical SRCU implementation.
[    0.088449] smp: Bringing up secondary CPUs ...
[    0.094079] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.094199] smp: Brought up 1 node, 2 CPUs
[    0.104004] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.110191] CPU: All CPU(s) started in SVC mode.
[    0.115265] devtmpfs: initialized
[    0.129711] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.137817] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.147688] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.154914] pinctrl core: initialized pinctrl subsystem
[    0.161095] NET: Registered protocol family 16
[    0.166960] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.204988] rtc_ccu: sunxi ccu init OK
[    0.210853] ccu: sunxi ccu init OK
[    0.214674] r_ccu: sunxi ccu init OK
[    0.246641] iommu: Default domain type: Translated
[    0.251749] sunxi iommu: irq = 24
[    0.255938] SCSI subsystem initialized
[    0.259905] usbcore: registered new interface driver usbfs
[    0.265467] usbcore: registered new interface driver hub
[    0.270865] usbcore: registered new device driver usb
[    0.276708] Advanced Linux Sound Architecture Driver Initialized.
[    0.283325] Bluetooth: Core ver 2.22
[    0.287142] NET: Registered protocol family 31
[    0.291598] Bluetooth: HCI device and connection manager initialized
[    0.297999] Bluetooth: HCI socket layer initialized
[    0.302873] Bluetooth: L2CAP socket layer initialized
[    0.307933] Bluetooth: SCO socket layer initialized
[    0.313099] pwm module init!
[    0.317183] g2d 5410000.g2d: Adding to iommu group 0
[    0.322438] G2D: rcq version initialized.major:252
[    0.328028] clocksource: Switched to clocksource arch_sys_counter
[    0.342626] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    0.351903] NET: Registered protocol family 2
[    0.356938] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.365366] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.373045] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.380132] TCP: Hash tables configured (established 1024 bind 1024)
[    0.386579] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.393148] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.400333] NET: Registered protocol family 1
[    0.405660] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    0.415959] spi spi0: spi0 supply spi not found, using dummy regulator
[    0.422685] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[    0.428850] sunxi_spi_resource_get()2189 - Failed to get sample mode
[    0.435203] sunxi_spi_resource_get()2194 - Failed to get sample delay
[    0.441668] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
[    0.450092] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[    0.456322] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c881f000, irq 44
[    0.465898] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.477303] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.483336] ntfs: driver 2.1.32 [Flags: R/W].
[    0.517689] io scheduler mq-deadline registered
[    0.522262] io scheduler kyber registered
[    0.527542] [DISP]disp_module_init
[    0.531454] disp 5000000.disp: Adding to iommu group 0
[    0.553729] display_fb_request,fb_id:0
[    0.559977] [DISP] Fb_copy_boot_fb,line:1443:
[    0.559980] no boot_fb0
[    0.567205] disp_al_manager_apply ouput_type:0
[    0.568366] [DISP]disp_module_init finish
[    0.576685] sunxi_sid_init()551 - insmod ok
[    0.581889] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    0.592055] uart uart1: get regulator failed
[    0.596341] uart uart1: uart1 supply uart not found, using dummy regulator
[    0.603487] uart1: ttyS1 at MMIO 0x2500400 (irq = 35, base_baud = 1500000) is a SUNXI
[    0.611823] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    0.621971] uart uart3: get regulator failed
[    0.626265] uart uart3: uart3 supply uart not found, using dummy regulator
[    0.633395] uart3: ttyS3 at MMIO 0x2500c00 (irq = 36, base_baud = 1500000) is a SUNXI
[    0.641286] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
▒[    0.649268] printk: console [ttyS3] enabled
[    0.649268] printk: console [ttyS3] enabled
[    0.658165] printk: bootconsole [earlycon0] disabled
[    0.658165] printk: bootconsole [earlycon0] disabled
[    0.669281] uart uart4: get regulator failed
[    0.674058] uart uart4: uart4 supply uart not found, using dummy regulator
[    0.682001] uart4: ttyS4 at MMIO 0x2501000 (irq = 37, base_baud = 1500000) is a SUNXI
[    0.691334] uart uart5: get regulator failed
[    0.696110] uart uart5: uart5 supply uart not found, using dummy regulator
[    0.704066] uart5: ttyS5 at MMIO 0x2501400 (irq = 38, base_baud = 1500000) is a SUNXI
[    0.714296] dma-buf: Running sanitycheck
[    0.718705] dma-buf: Running dma_fence
[    0.722882] sizeof(dma_fence)=48
[    0.726571] dma-buf: Running dma_fence/sanitycheck
[    0.731944] dma-buf: Running dma_fence/test_signaling
[    0.737576] dma-buf: Running dma_fence/test_add_callback
[    0.743524] dma-buf: Running dma_fence/test_late_add_callback
[    0.749942] dma-buf: Running dma_fence/test_rm_callback
[    0.755767] dma-buf: Running dma_fence/test_late_rm_callback
[    0.762088] dma-buf: Running dma_fence/test_status
[    0.767427] dma-buf: Running dma_fence/test_error
[    0.772680] dma-buf: Running dma_fence/test_wait
[    0.777828] dma-buf: Running dma_fence/test_wait_timeout
[    0.818040] dma-buf: Running dma_fence/test_stub
[    0.823205] dma-buf: Running dma_fence/race_signal_callback
[    0.908040] thread_signal_callback[0] completed 35842 passes, 14843 misses
[    0.915794] thread_signal_callback[1] completed 21126 passes, 126 misses
[    0.998052] thread_signal_callback[0] completed 33421 passes, 33421 misses
[    1.005738] thread_signal_callback[1] completed 18667 passes, 18664 misses
[    1.018527] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228
[    1.025713] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[    1.041004] random: fast init done
[    1.422993] random: crng init done
[    2.028089] sunxi-spinand-phy: read id failed : -110
[    2.033645] spi-nand: probe of spi0.0 failed with error -110
[    2.040327] libphy: Fixed MDIO Bus: probed
[    2.045155] CAN device driver interface
[    2.050272] sunxi_can 2504400.can: device registered ( base=eb875456, irq=34 )
[    2.059133] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    2.070316] sunxi gmac driver's version: 1.0.0
[    2.075435] gmac-power0: NULL
[    2.078762] gmac-power1: NULL
[    2.082067] gmac-power2: NULL
[    2.086416] Failed to alloc md5
[    2.089982] eth0: Use random mac address
[    2.094654] usbcore: registered new interface driver cdc_ether
[    2.101261] usbcore: registered new interface driver rndis_host
[    2.107864] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.115184] sunxi-ehci: EHCI SUNXI driver
[    2.120020] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.126957] sunxi-ohci: OHCI SUNXI driver
[    2.131910] usbcore: registered new interface driver usbserial_generic
[    2.139274] usbserial: USB Serial support registered for generic
[    2.146002] usbcore: registered new interface driver option
[    2.152251] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.160197] i2c /dev entries driver
[    2.164154] sunxi cedar version 1.1
[    2.168224] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    2.174476] VE: sunxi_cedar_probe power-domain init!!!
[    2.180223] VE: install start!!!
[    2.180223]
[    2.185708] VE: cedar-ve the get irq is 45
[    2.185708]
[    2.192161] VE: ve_debug_proc_info:afaa4810, data:50b7fa43, lock:20d73952
[    2.192161]
[    2.201393] VE: install end!!!
[    2.201393]
[    2.206439] VE: sunxi_cedar_probe
[    2.210384] Bluetooth: HCI UART driver ver 2.3
[    2.215340] Bluetooth: HCI UART protocol H4 registered
[    2.221111] Bluetooth: HCI UART protocol BCSP registered
[    2.227034] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
[    2.235768] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
[    2.245686] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    2.251862] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    2.258183] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    2.264588] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    2.271002] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    2.277504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    2.284014] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    2.290524] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    2.297462] sunxi-mmc 4020000.sdmmc: Got CD GPIO

浏览 (39)
点赞
收藏
评论
暂无数据