开发板为T113-Pro,mipi屏幕为百问网480*800的屏幕,将uboot和kernel的 TFT08006配置都打开
修改了设备树board.dts和uboot-board.dts 的lcd0节点
根据原理图,修改了引脚,为了防止引脚冲突,还将lvds和rgb注释掉了
引脚我不知道是写D还是PD,都试了一遍
编译烧写之后屏幕没有一点反应,求大佬指教!!!
开发板为T113-Pro,mipi屏幕为百问网480*800的屏幕,将uboot和kernel的 TFT08006配置都打开
编译烧写之后屏幕没有一点反应,求大佬指教!!!
uboot的配置菜单配置完成,保存编译之后,再去查看还是没有保存的状态,是为什么呢?在顶层目录下make,在uboot目录下muboot都试过了
将配置改成默认打开了,但是屏幕还是没有任何反应,cat /sys/class/disp/disp/attr/sys 命令没有任何信息返回来。
我想给您的建议是如果首先先在内核中使能LCD确定没问题了,再去操作uboot下,防止引脚冲突导致的。您这边可以提供没有保存的状态的截图或者日志吗?
首先屏幕没有任何反应,是否是背光没有亮起,先查看背光引脚是否被占用,然后查看lcd驱动的输出信息,查看报错信息是什么。同时还需要注意排线的线序是否接对。
LCD调试指南:概述与介绍 - 全志Linux Tina-SDK开发完全手册
Display开发指南:概述与介绍 - 全志Linux Tina-SDK开发完全手册
同时您可以参考V853支持4寸MIPI屏的文章:100ASK_V853-PRO支持4寸MIPI屏
我没有使用SD卡启动,您有其他的吗
开发板刚拿回来的时候,mipi屏幕是有背光的,设备树使能dsi之后就没有了
这是启动日志
[ 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) #16 SMP PREEMPT Tue Apr 18 02:24:35 UTC 2023
[ 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 s30348 r8192 d22900 u61440
[ 0.000000] pcpu-alloc: s30348 r8192 d22900 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: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500C00 clk_ignore_unused initcall_debug=0 console=ttyS3,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:private@ubi0_6:rootfs_data@ubi0_7:UDISK@ubi0_8: cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-g24521d6-dirty(04/17/2023-22:23:03) aw-ubi-spinand.ubootblks=24 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: 108612K/131072K available (6144K kernel code, 264K rwdata, 1504K rodata, 1024K init, 1164K bss, 14268K 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+0x264/0x3e8 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008007] Switching to timer-based delay loop, resolution 41ns
[ 0.014190] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.023892] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.034248] pid_max: default: 32768 minimum: 301
[ 0.038988] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.046321] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.054650] CPU: Testing write buffer coherency: ok
[ 0.059856] /cpus/cpu@0 missing clock-frequency property
[ 0.065180] /cpus/cpu@1 missing clock-frequency property
[ 0.070535] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.076715] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.083370] rcu: Hierarchical SRCU implementation.
[ 0.088574] smp: Bringing up secondary CPUs ...
[ 0.094191] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.094308] smp: Brought up 1 node, 2 CPUs
[ 0.104120] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.110306] CPU: All CPU(s) started in SVC mode.
[ 0.115378] devtmpfs: initialized
[ 0.129712] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.137828] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.147700] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[ 0.154931] pinctrl core: initialized pinctrl subsystem
[ 0.161095] NET: Registered protocol family 16
[ 0.166989] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.202508] rtc_ccu: sunxi ccu init OK
[ 0.208392] ccu: sunxi ccu init OK
[ 0.212120] r_ccu: sunxi ccu init OK
[ 0.236543] iommu: Default domain type: Translated
[ 0.241600] sunxi iommu: irq = 24
[ 0.245778] SCSI subsystem initialized
[ 0.249767] usbcore: registered new interface driver usbfs
[ 0.255357] usbcore: registered new interface driver hub
[ 0.260758] usbcore: registered new device driver usb
[ 0.266836] Advanced Linux Sound Architecture Driver Initialized.
[ 0.273467] Bluetooth: Core ver 2.22
[ 0.277144] NET: Registered protocol family 31
[ 0.281598] Bluetooth: HCI device and connection manager initialized
[ 0.287982] Bluetooth: HCI socket layer initialized
[ 0.292890] Bluetooth: L2CAP socket layer initialized
[ 0.297965] Bluetooth: SCO socket layer initialized
[ 0.303100] pwm module init!
[ 0.307154] g2d 5410000.g2d: Adding to iommu group 0
[ 0.312453] G2D: rcq version initialized.major:252
[ 0.318048] clocksource: Switched to clocksource arch_sys_counter
[ 0.332537] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[ 0.341808] NET: Registered protocol family 2
[ 0.346731] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.355179] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.362891] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.369987] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.376444] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.383025] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.390213] NET: Registered protocol family 1
[ 0.395512] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[ 0.405806] spi spi0: spi0 supply spi not found, using dummy regulator
[ 0.412529] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE
[ 0.418675] sunxi_spi_resource_get()2189 - Failed to get sample mode
[ 0.425019] sunxi_spi_resource_get()2194 - Failed to get sample delay
[ 0.431473] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921
[ 0.439881] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000
[ 0.446096] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c881f000, irq 42
[ 0.455689] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.466288] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.472344] ntfs: driver 2.1.32 [Flags: R/W].
[ 0.506830] io scheduler mq-deadline registered
[ 0.511386] io scheduler kyber registered
[ 0.516609] [DISP]disp_module_init
[ 0.520509] disp 5000000.disp: Adding to iommu group 0
[ 0.542479] display_fb_request,fb_id:0
[ 0.548754] [DISP] Fb_copy_boot_fb,line:1443:
[ 0.548757] no boot_fb0
[ 0.556202] [DISP]disp_module_init finish
[ 0.561202] sunxi_sid_init()551 - insmod ok
[ 0.566352] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[ 0.576552] uart uart1: get regulator failed
[ 0.580859] uart uart1: uart1 supply uart not found, using dummy regulator
[ 0.587996] uart1: ttyS1 at MMIO 0x2500400 (irq = 34, base_baud = 1500000) is a SUNXI
[ 0.596361] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.606518] uart uart3: get regulator failed
[ 0.610833] uart uart3: uart3 supply uart not found, using dummy regulator
[ 0.617939] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI
[ 0.625794] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
▒[ 0.633767] printk: console [ttyS3] enabled
[ 0.633767] printk: console [ttyS3] enabled
[ 0.642673] printk: bootconsole [earlycon0] disabled
[ 0.642673] printk: bootconsole [earlycon0] disabled
[ 0.653965] misc dump reg init
[ 0.658333] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[ 0.665524] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[ 0.672822] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[ 0.680207] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[ 0.686698] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[ 0.693604] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[ 0.701287] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
[ 0.709093] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[ 0.717144] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[ 0.724712] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[ 0.731442] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[ 0.738942] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0
[ 0.747015] dma-buf: Running sanitycheck
[ 0.751411] dma-buf: Running dma_fence
[ 0.755582] sizeof(dma_fence)=48
[ 0.759306] dma-buf: Running dma_fence/sanitycheck
[ 0.764655] dma-buf: Running dma_fence/test_signaling
[ 0.770294] dma-buf: Running dma_fence/test_add_callback
[ 0.776211] dma-buf: Running dma_fence/test_late_add_callback
[ 0.782642] dma-buf: Running dma_fence/test_rm_callback
[ 0.788477] dma-buf: Running dma_fence/test_late_rm_callback
[ 0.794773] dma-buf: Running dma_fence/test_status
[ 0.800119] dma-buf: Running dma_fence/test_error
[ 0.805350] dma-buf: Running dma_fence/test_wait
[ 0.810503] dma-buf: Running dma_fence/test_wait_timeout
[ 0.848060] dma-buf: Running dma_fence/test_stub
[ 0.853219] dma-buf: Running dma_fence/race_signal_callback
[ 0.928065] thread_signal_callback[0] completed 36113 passes, 60 misses
[ 0.935465] thread_signal_callback[1] completed 36123 passes, 71 misses
[ 1.008060] thread_signal_callback[0] completed 40263 passes, 40263 misses
[ 1.015745] thread_signal_callback[1] completed 40284 passes, 40284 misses
[ 1.023911] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228
[ 1.031145] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[ 1.039090] sunxi-spinand-phy: not detect any munufacture from id table
[ 1.046453] sunxi-spinand-phy: get spi-nand Model from fdt fail
[ 1.053073] sunxi-spinand-phy: get phy info from fdt fail
[ 1.059088] sunxi-spinand-phy: not detect munufacture from fdt
[ 1.065750] sunxi-spinand-phy: detect munufacture from id table: Mxic
[ 1.072946] sunxi-spinand-phy: detect spinand id: ffff12c2 ffffffff
[ 1.079973] sunxi-spinand-phy: ========== arch info ==========
[ 1.086467] sunxi-spinand-phy: Model: MX35LF1GE4AB
[ 1.093168] sunxi-spinand-phy: Munufacture: Mxic
[ 1.099092] sunxi-spinand-phy: DieCntPerChip: 1
[ 1.104707] sunxi-spinand-phy: BlkCntPerDie: 1024
[ 1.110628] sunxi-spinand-phy: PageCntPerBlk: 64
[ 1.116340] sunxi-spinand-phy: SectCntPerPage: 4
[ 1.121970] sunxi-spinand-phy: OobSizePerPage: 64
[ 1.127684] sunxi-spinand-phy: BadBlockFlag: 0x1
[ 1.133507] sunxi-spinand-phy: OperationOpt: 0x7
[ 1.139325] sunxi-spinand-phy: MaxEraseTimes: 65000
[ 1.145332] sunxi-spinand-phy: EccFlag: 0x2
[ 1.151157] sunxi-spinand-phy: EccType: 4
[ 1.156778] sunxi-spinand-phy: EccProtectedType: 3
[ 1.162403] sunxi-spinand-phy: ========================================
[ 1.169775] sunxi-spinand-phy:
[ 1.173264] sunxi-spinand-phy: ========== physical info ==========
[ 1.180153] sunxi-spinand-phy: TotalSize: 128 M
[ 1.185478] sunxi-spinand-phy: SectorSize: 512 B
[ 1.190818] sunxi-spinand-phy: PageSize: 2 K
[ 1.195951] sunxi-spinand-phy: BlockSize: 128 K
[ 1.201290] sunxi-spinand-phy: OOBSize: 64 B
[ 1.206517] sunxi-spinand-phy: ========================================
[ 1.213888] sunxi-spinand-phy:
[ 1.217379] sunxi-spinand-phy: ========== logical info ==========
[ 1.224173] sunxi-spinand-phy: TotalSize: 128 M
[ 1.229514] sunxi-spinand-phy: SectorSize: 512 B
[ 1.234845] sunxi-spinand-phy: PageSize: 4 K
[ 1.239990] sunxi-spinand-phy: BlockSize: 256 K
[ 1.245320] sunxi-spinand-phy: OOBSize: 128 B
[ 1.250659] sunxi-spinand-phy: ========================================
[ 1.258179] sunxi-spinand-phy: block lock register: 0x00
[ 1.264284] sunxi-spinand-phy: feature register: 0x11
[ 1.269935] sunxi-spinand-phy: sunxi physic nand init end
[ 1.276357] Creating 4 MTD partitions on "sunxi_mtd_nand":
[ 1.282493] 0x000000000000-0x000000100000 : "boot0"
[ 1.298914] 0x000000100000-0x000000400000 : "uboot"
[ 1.308100] random: fast init done
[ 1.328924] 0x000000400000-0x000000500000 : "secure_storage"
[ 1.348928] 0x000000500000-0x000008000000 : "sys"
[ 1.712538] random: crng init done
[ 1.749355] libphy: Fixed MDIO Bus: probed
[ 1.754722] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[ 1.765932] sunxi gmac driver's version: 1.0.0
[ 1.771054] gmac-power0: NULL
[ 1.774353] gmac-power1: NULL
[ 1.777653] gmac-power2: NULL
[ 1.782043] Failed to alloc md5
[ 1.785549] eth0: Use random mac address
[ 1.790183] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.797454] sunxi-ehci: EHCI SUNXI driver
[ 1.802266] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.809191] sunxi-ohci: OHCI SUNXI driver
[ 1.814075] i2c /dev entries driver
[ 1.818063] sunxi cedar version 1.1
[ 1.822097] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[ 1.828359] VE: sunxi_cedar_probe power-domain init!!!
[ 1.834080] VE: install start!!!
[ 1.834080]
[ 1.839560] VE: cedar-ve the get irq is 43
[ 1.839560]
[ 1.845941] VE: ve_debug_proc_info:e92dcee6, data:eec0cd28, lock:c2139cbd
[ 1.845941]
[ 1.855162] VE: install end!!!
[ 1.855162]
[ 1.860212] VE: sunxi_cedar_probe
[ 1.864129] Bluetooth: HCI UART driver ver 2.3
[ 1.869104] Bluetooth: HCI UART protocol H4 registered
[ 1.874819] Bluetooth: HCI UART protocol BCSP registered
[ 1.880763] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10
[ 1.887871] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
[ 1.894235] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1
[ 1.900746] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled!
[ 1.900746]
[ 1.909372] [XR_BT_LPM] bluesleep_probe: uart_index(1)
[ 1.917025] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
[ 1.926929] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[ 1.933092] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[ 1.939404] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[ 1.945797] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[ 1.952204] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[ 1.958701] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[ 1.965196] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[ 1.971691] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[ 1.978613] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 1.983979] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[ 1.990566] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.001650] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[ 2.021734] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.046053] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[ 2.051742] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.058537] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02)
[ 2.072680] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[ 2.078844] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[ 2.085147] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[ 2.091553] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[ 2.097951] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[ 2.104450] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[ 2.110957] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[ 2.117445] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[ 2.123967] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[ 2.133265] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.144357] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 2.164456] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.188605] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[ 2.196220] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.203179] exFAT: Version 1.3.0
[ 2.206783] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 2.213607] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.227219] sunxi-spdif 2036000.spdif: request pinctrl handle for audio failed
[ 2.228131] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.235295] sunxi-spdif 2036000.spdif: [sunxi_spdif_dev_probe] failed
[ 2.248894] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.254059] sunxi-spdif: probe of 2036000.spdif failed with error -22
[ 2.261481] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.268955] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
[ 2.268955]
[ 2.275390] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.291565] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[ 2.299072] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 2.309466] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
[ 2.315794] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 2.324762] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[ 2.344705] [SNDCODEC][sunxi_card_init][583]:card init finished
[ 2.351756] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[ 2.362590] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
[ 2.374469] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
[ 2.382820] NET: Registered protocol family 10
[ 2.388089] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
[ 2.396114] Segment Routing with IPv6
[ 2.400310] NET: Registered protocol family 17
[ 2.405401] Bluetooth: RFCOMM TTY layer initialized
[ 2.410859] Bluetooth: RFCOMM socket layer initialized
[ 2.416603] Bluetooth: RFCOMM ver 1.11
[ 2.421359] Registering SWP/SWPB emulation handler
[ 2.441273] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
[ 2.451102] sunxi-i2c sunxi-i2c2: probe success
[ 2.457381] sunxi-spdif 2036000.spdif: request pinctrl handle for audio failed
[ 2.465478] sunxi-spdif 2036000.spdif: [sunxi_spdif_dev_probe] failed
[ 2.472753] sunxi-spdif: probe of 2036000.spdif failed with error -22
[ 2.481479] debugfs: Directory '2031000.dmic' with parent 'snddmic' already present!
[ 2.490625] sunxi-audio-card 2031060.sounddmic: dmic-hifi <-> 2031000.dmic mapping ok
[ 2.500492] get ehci0-controller wakeup-source is fail.
[ 2.506424] sunxi ehci0-controller don't init wakeup source
[ 2.512684] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b5df98, 0x:c888b000, irq_no:3a
[ 2.524606] [sunxi-ehci0]: Not init ehci0
[ 2.529403] get ohci0-controller wakeup-source is fail.
[ 2.535321] sunxi ohci0-controller don't init wakeup source
[ 2.541545] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b5e228
[ 2.551148] [sunxi-ohci0]: Not init ohci0
[ 2.555905] get ehci1-controller wakeup-source is fail.
[ 2.561820] sunxi ehci1-controller don't init wakeup source
[ 2.568025] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b5e4b8, 0x:c88a7000, irq_no:3c
[ 2.580188] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[ 2.593490] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[ 2.600747] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 2.610608] sunxi-ehci 4200000.ehci1-controller: irq 60, io mem 0x04200000
[ 2.648071] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[ 2.655828] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[ 2.664815] hub 1-0:1.0: USB hub found
[ 2.669049] hub 1-0:1.0: 1 port detected
[ 2.674146] get ohci1-controller wakeup-source is fail.
[ 2.680102] sunxi ohci1-controller don't init wakeup source
[ 2.686312] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b5e748
[ 2.696106] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[ 2.708307] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[ 2.715515] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[ 2.725379] sunxi-ohci 4200400.ohci1-controller: irq 61, io mem 0x04200400
[ 2.802825] hub 2-0:1.0: USB hub found
[ 2.807037] hub 2-0:1.0: 1 port detected
[ 2.812772] ubi0: attaching mtd3
[ 3.038083] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
[ 3.158352] ubi0: scanning is finished
[ 3.174078] ubi0: attached mtd3 (name "sys", size 123 MiB)
[ 3.180231] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[ 3.187881] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[ 3.195448] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.203218] ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[ 3.209914] ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
[ 3.217952] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[ 3.227263] ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
[ 3.237549] ubi0: background thread "ubi_bgt0d" started, PID 75
[ 3.245374] block ubiblock0_5: created from ubi0:5(rootfs)
[ 3.245402] hub 1-1:1.0: USB hub found
[ 3.251994] sun8iw20-pinctrl 2000000.pinctrl: pin PB6 already requested by 2500c00.uart; cannot claim for 2000000.pinctrl:38
[ 3.255844] hub 1-1:1.0: 4 ports detected
[ 3.268199] sun8iw20-pinctrl 2000000.pinctrl: pin-38 (2000000.pinctrl:38) status -22
[ 3.283725] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.293397] clk: Not disabling unused clocks
[ 3.293419] cfg80211: failed to load regulatory.db
[ 3.298186] ALSA device list:
[ 3.306806] #0: audiocodec
[ 3.310019] #1: snddmic
[ 3.312939] alloc_fd: slot 0 not NULL!
[ 3.320869] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 3.331456] devtmpfs: mounted
[ 3.336647] Freeing unused kernel memory: 1024K
[ 3.348204] Run /pseudo_init as init process
mount: mounting none on /dev failed: Resource busy
[ 3.578241] UBIFS (ubi0:7): Mounting in unauthenticated mode
[ 3.584688] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 104
[ 3.677340] UBIFS (ubi0:7): recovery needed
[ 3.802258] UBIFS (ubi0:7): recovery completed
[ 3.807300] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "rootfs_data"
[ 3.816051] UBIFS (ubi0:7): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[ 3.827099] UBIFS (ubi0:7): FS size: 3096576 bytes (2 MiB, 12 LEBs), journal size 1806337 bytes (1 MiB, 5 LEBs)
[ 3.838358] UBIFS (ubi0:7): reserved for root: 146258 bytes (142 KiB)
[ 3.845528] UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID 4EEFE1D5-D7DC-42D5-BA55-D2D3AAB192F5, small LPT model
can't run '/etc/preinit': No such file or directory
mount: mounting proc on /proc failed: Resource busy
mount: mounting tmpfs on /run failed: No such file or directory
hostname: can't open '/etc/hostname': No such file or directory
------run rc.preboot file-----
[ 3.977547] UBIFS (ubi0:8): Mounting in unauthenticated mode
[ 3.984104] UBIFS (ubi0:8): background thread "ubifs_bgt0_8" started, PID 133
[ 4.065736] UBIFS (ubi0:8): recovery needed
[ 4.119368] UBIFS (ubi0:8): recovery completed
[ 4.124476] UBIFS (ubi0:8): UBIFS: mounted UBI device 0, volume 8, name "UDISK"
[ 4.132721] UBIFS (ubi0:8): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[ 4.143795] UBIFS (ubi0:8): FS size: 47480832 bytes (45 MiB, 184 LEBs), journal size 2322432 bytes (2 MiB, 9 LEBs)
[ 4.155332] UBIFS (ubi0:8): reserved for root: 2242636 bytes (2190 KiB)
[ 4.162713] UBIFS (ubi0:8): media format: w5/r0 (latest is w5/r0), UUID 888CFEE9-9E3C-4BDE-8864-909C497635C4, small LPT model
------run rc.modules file-----
[ 4.251220] usbcore: registered new interface driver usb-storage
[ 4.261986] sunxi_gpadc_init,2151, success
[ 4.266869] sunxi_gpadc_setup: get channel scan data failed
[ 4.273382] input: sunxi-gpadc0 as /devices/virtual/input/input1
[ 4.285361] get ctp_power is fail, -22
[ 4.290638] get ctp_power_ldo_vol is fail, -22
[ 4.295597] sunxi_ctp_startup: ctp_power_io is invalid.
[ 4.301467] get ctp_gesture_wakeup fail, no gesture wakeup
[ 4.307593] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator
[ 4.478188] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 4.486251] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 4.493938] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 4.501996] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 4.509682] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 4.517742] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 4.525422] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 4.533480] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 4.541156] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 4.549212] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 4.556766] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 4.718057] <<-GTP-ERROR->> GTP i2c test failed time 1.
[ 4.748165] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 4.756220] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 4.763905] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 4.771968] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 4.779647] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 4.787701] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 4.795376] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 4.803422] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 4.811101] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 4.819156] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 4.826717] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 4.988057] <<-GTP-ERROR->> GTP i2c test failed time 2.
[ 5.018166] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.026226] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.033911] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.041974] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.049663] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.057724] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.065410] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.073473] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.081158] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.089221] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.096773] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 5.258057] <<-GTP-ERROR->> GTP i2c test failed time 3.
[ 5.288166] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.296221] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.303899] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.311957] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.319642] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.327703] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.335387] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.343450] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.351135] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.359198] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.366759] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 5.528057] <<-GTP-ERROR->> GTP i2c test failed time 4.
[ 5.558168] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.566232] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.573919] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.581982] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.589667] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.597728] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.605413] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.613476] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.621162] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received
[ 5.629224] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[ 5.636784] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[ 5.798057] <<-GTP-ERROR->> GTP i2c test failed time 5.
[ 5.828054] I2C communication ERROR!
[ 5.828075] regulator-dummy: Underflow of regulator enable count
[ 5.838912] gt9xxnew_ts: probe of 2-0014 failed with error -1
[ 5.920890] Error: Driver 'gt9xxnew_ts' is already registered, aborting...
insmod: can't insert '/lib/modules/5.4.61/gt9xxnew_ts.ko': Operation not permitted
[ 6.093315] ======== XRADIO WIFI OPEN ========
[ 6.098826] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31
[ 6.105545] [XRADIO] Allocated hw_priv @ 20e6e80c
[ 6.110810] [ADDR_MGT] get_addr_by_name: t->addr:
[ 6.116688] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[ 6.132966] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[ 6.340104] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 6.351156] [XRADIO] Detect SDIO card 1
[ 6.358142] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[ 6.378233] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 6.403017] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 6.417514] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 6.439635] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 6.451148] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 6.462901] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 6.475268] mmc1: new high speed SDIO card at address 0001
[ 6.481760] [SBUS] XRadio Device:sdio clk=50000000
[ 6.487610] [XRADIO] XRADIO_HW_REV 1.0 detected.
[ 6.568507] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x01400000.
[ 6.604647] [XRADIO] Bootloader complete
[ 6.692998] [XRADIO] Firmware completed.
[ 6.698988] [WSM] Firmware Label:XR_C09.08.52.64_DBG_02.100 2GHZ HT40 Jan 3 2020 13:14:37
[ 6.708232] [XRADIO] Firmware Startup Done.
[ 6.713179] [XRADIO_WRN] enable Multi-Rx!
[ 6.718352] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Successfully initialized wpa_supplicant
[ 6.940627] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=dc:44:6d:4c:0e:bd
[ 6.948777] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=dc:44:6d:4c:0e:bd
[ 6.964189] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
------run rc.final file-----
numid=30,iface=MIXER,name='Headphone Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
BusyBox v1.27.2 () built-in shell (ash)
------run profile file-----
_____ _ __ _
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
| | _ | || | | |__ | || || | ||_'_|
| | | || | || _ | |_____||_||_|_||___||_,_|
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
---------------------------[ 7.208261] file system registered
-------------------
Tina Linux (Neptune, 61CC0487)
----------------------------------------------
Mon Feb 6 00:00:00 GMT 2023
nodev debugfs
root@TinaLinux:/# [ 7.228945] configfs-gadget 4100000.udc-controller: failed to start g1: -19
sh: write error: No such device
[ 8.288336] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
[ 8.304051] read descriptors
[ 8.307273] read strings
[ 8.512688] android_work: sent uevent USB_STATE=CONNECTED
看来一下启动信息,没有发现明显的错误,我这边能给您的建议就是查看这个文档:调试方法 - 全志Linux Tina-SDK开发完全手册
然后查看那一部分缺少了,或者参考我之前适配的文档操作看是否是一样的问题。
我需要您贴出debug信息,根据上面链接给出的调试方法去debug
这个问题我没有遇到过,我这边猜测可能是时钟的问题
尝试把uboot下的 disp关闭,你的这个问题 看起来 像是 时钟 或者初始化 错误导致的,建议先检查 硬件 连接是否有误,是否存在fpc脚断裂 无法使用等问题,之后再逐一排查软件。