原来是这样,我说怎么日志好像比网上案例的少。
我找块ft232再上传log 谢谢
SDK中的GT9XX触摸驱动版本过低引发的编译问题
摘要:
完整:
Code: Select all
[ 0.613168] i2c /dev entries driver
[ 0.614458] Goodix-TS 3-0014: supply AVDD28 not found, using dummy regulator
[ 0.614665] Goodix-TS 3-0014: supply VDDIO not found, using dummy regulator
[ 0.715784] rk3x-i2c ff460000.i2c: timeout, ipd: 0x00, state: 3
[ 0.715814] Goodix-TS 3-0014: i2c test failed attempt 1: -110
[ 0.845771] rk3x-i2c ff460000.i2c: timeout, ipd: 0x00, state: 3
[ 0.845785] Goodix-TS 3-0014: i2c test failed attempt 2: -110
[ 0.872432] Goodix-TS 3-0014: I2C communication failure: -110
[ 0.872620] Goodix-TS: probe of 3-0014 failed with error -110
Code: Select all
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.10.110 (atom@ubuntu) (arm-rockchip830-linux-uclibcgnueabihf -gcc (crosstool-NG 1.24.0) 8.3.0, GNU ld (crosstool-NG 1.24.0) 2.32) #1 Fri Aug 2 16:47:52 CST 2024
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c53c7d
[ 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: Luckfox Pico Max
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] cma: Reserved 1024 KiB at 0x0ff00000
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: user_debug=31 storagemedia=mtd androidboot.storagemedi a=mtd androidboot.mode=normal rootwait earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ 0 snd_soc_core.prealloc_buffer_size_kbytes=16 coherent_pool=0 ubi.mtd=6 root=ubi0:rootfs r ootfstype=ubifs rk_dma_heap_cma=1M mtdparts=spi-nand0:256K(env),256K@256K(idblock),512K(ub oot),4M(boot),30M(oem),10M(userdata),210M(rootfs)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 252160K/262144K available (3784K kernel code, 319K rwdata, 1824K ro data, 200K init, 139K bss, 8960K reserved, 1024K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x1fb/0x360 with crng_ini t=0
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9d c0, max_idle_ns: 440795202592 ns
[ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000018] Switching to timer-based delay loop, resolution 41ns
[ 0.000423] Console: colour dummy device 80x30
[ 0.000463] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[ 0.000481] pid_max: default: 4096 minimum: 301
[ 0.000641] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000656] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001211] CPU: Testing write buffer coherency: ok
[ 0.001650] Setting up static identity map for 0x81c0 - 0x81f8
[ 0.002081] devtmpfs: initialized
[ 0.008806] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.008976] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[ 0.008997] futex hash table entries: 16 (order: -5, 192 bytes, linear)
[ 0.009073] pinctrl core: initialized pinctrl subsystem
[ 0.009771] NET: Registered protocol family 16
[ 0.010189] DMA: failed to allocate 0 KiB pool for atomic coherent allocation
[ 0.010968] thermal_sys: Registered thermal governor 'step_wise'
[ 0.010975] thermal_sys: Registered thermal governor 'user_space'
[ 0.011188] cpuidle: using governor menu
[ 0.011217] Registered FIQ tty driver
[ 0.023505] rockchip-gpio ff380000.gpio: probed /pinctrl/gpio@ff380000
[ 0.024271] rockchip-gpio ff530000.gpio: probed /pinctrl/gpio@ff530000
[ 0.025025] rockchip-gpio ff540000.gpio: probed /pinctrl/gpio@ff540000
[ 0.025617] rockchip-gpio ff550000.gpio: probed /pinctrl/gpio@ff550000
[ 0.026224] rockchip-gpio ff560000.gpio: probed /pinctrl/gpio@ff560000
[ 0.026315] rockchip-pinctrl pinctrl: probed pinctrl
[ 0.036048] fiq_debugger fiq_debugger.0: IRQ uart_irq not found
[ 0.036070] fiq_debugger fiq_debugger.0: IRQ wakeup not found
[ 0.036320] printk: console [ttyFIQ0] enabled
[ 0.036487] Registered fiq debugger ttyFIQ0
[ 0.039109] SCSI subsystem initialized
[ 0.039319] usbcore: registered new interface driver usbfs
[ 0.039369] usbcore: registered new interface driver hub
[ 0.039417] usbcore: registered new device driver usb
[ 0.039625] mc: Linux media interface: v0.10
[ 0.039668] videodev: Linux video capture interface: v2.00
[ 0.040698] Advanced Linux Sound Architecture Driver Initialized.
[ 0.041385] rockchip-cpuinfo cpuinfo: SoC : 11061000
[ 0.041404] rockchip-cpuinfo cpuinfo: Serial : 189d93097d17a414
[ 0.041733] rockchip,rknpor-powergood ff000000.syscon:rknpor-powergood: probe success!
[ 0.042434] clocksource: Switched to clocksource arch_sys_counter
[ 0.049625] NET: Registered protocol family 2
[ 0.049792] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.050302] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, lin ear)
[ 0.050357] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.050386] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.050417] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.050519] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.050556] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.050686] NET: Registered protocol family 1
[ 0.051094] RPC: Registered named UNIX socket transport module.
[ 0.051125] RPC: Registered udp transport module.
[ 0.051133] RPC: Registered tcp transport module.
[ 0.051141] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.052089] Initialise system trusted keyrings
[ 0.052326] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 0.056022] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.056758] NFS: Registering the id_resolver key type
[ 0.056805] Key type id_resolver registered
[ 0.056826] Key type id_legacy registered
[ 0.056875] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.057315] Key type asymmetric registered
[ 0.057345] Asymmetric key parser 'x509' registered
[ 0.057373] io scheduler mq-deadline registered
[ 0.057761] rockchip-usb2phy ff3e0000.usb2-phy: IRQ index 0 not found
[ 0.062975] dma-pl330 ff420000.dma-controller: Loaded driver for PL330 DMAC-241330
[ 0.063002] dma-pl330 ff420000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_P eri-32 Num_Events-16
[ 0.063691] rockchip-pvtm ff240000.pvtm: pvtm@0 probed
[ 0.063877] rockchip-pvtm ff390000.pvtm: pvtm@0 probed
[ 0.064410] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.070349] random: fast init done
[ 0.070475] random: crng init done
[ 0.078924] brd: module loaded
[ 0.084641] loop: module loaded
[ 0.085908] rockchip-spi ff500000.spi: no high_speed pinctrl state
[ 0.086700] rockchip-spi ff500000.spi: chipselect 0 already in use
[ 0.086729] spi_master spi0: spi_device register error /spi@ff500000/st7789v@0
[ 0.086746] spi_master spi0: Failed to create SPI device for /spi@ff500000/st7789v@0
[ 0.088381] spi-nand spi2.0: Winbond SPI NAND was found.
[ 0.088407] spi-nand spi2.0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 1 28
[ 0.089567] 7 cmdlinepart partitions found on MTD device spi-nand0
[ 0.089586] Creating 7 MTD partitions on "spi-nand0":
[ 0.089608] 0x000000000000-0x000000040000 : "env"
[ 0.091359] 0x000000040000-0x000000080000 : "idblock"
[ 0.093095] 0x000000080000-0x000000100000 : "uboot"
[ 0.094799] 0x000000100000-0x000000500000 : "boot"
[ 0.096528] 0x000000500000-0x000002300000 : "oem"
[ 0.098351] 0x000002300000-0x000002d00000 : "userdata"
[ 0.100118] 0x000002d00000-0x00000ff00000 : "rootfs"
[ 0.103861] rk_gmac-dwmac ffa80000.ethernet: IRQ eth_lpi not found
[ 0.104012] rk_gmac-dwmac ffa80000.ethernet: PTP uses main clock
[ 0.104056] rk_gmac-dwmac ffa80000.ethernet: no regulator found
[ 0.104069] rk_gmac-dwmac ffa80000.ethernet: clock input or output? (input).
[ 0.104080] rk_gmac-dwmac ffa80000.ethernet: Can not read property: tx_delay.
[ 0.104090] rk_gmac-dwmac ffa80000.ethernet: set tx_delay to 0xffffffff
[ 0.104099] rk_gmac-dwmac ffa80000.ethernet: Can not read property: rx_delay.
[ 0.104109] rk_gmac-dwmac ffa80000.ethernet: set rx_delay to 0xffffffff
[ 0.104178] rk_gmac-dwmac ffa80000.ethernet: integrated PHY? (yes).
[ 0.104196] rk_gmac-dwmac ffa80000.ethernet: cannot get clock mac_clk_rx
[ 0.104206] rk_gmac-dwmac ffa80000.ethernet: cannot get clock mac_clk_tx
[ 0.104236] rk_gmac-dwmac ffa80000.ethernet: cannot get clock clk_mac_speed
[ 0.104244] rk_gmac-dwmac ffa80000.ethernet: clock input from PHY
[ 0.104490] rk_gmac-dwmac ffa80000.ethernet: init for RMII
[ 0.104683] rk_gmac-dwmac ffa80000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[ 0.104705] rk_gmac-dwmac ffa80000.ethernet: DWMAC4/5
[ 0.104718] rk_gmac-dwmac ffa80000.ethernet: DMA HW capability register supported
[ 0.104730] rk_gmac-dwmac ffa80000.ethernet: RX Checksum Offload Engine supported
[ 0.104738] rk_gmac-dwmac ffa80000.ethernet: TX Checksum insertion supported
[ 0.104756] rk_gmac-dwmac ffa80000.ethernet: Wake-Up On Lan supported
[ 0.104763] rk_gmac-dwmac ffa80000.ethernet: TSO supported
[ 0.104771] rk_gmac-dwmac ffa80000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 0.104779] rk_gmac-dwmac ffa80000.ethernet: TSO feature enabled
[ 0.104791] rk_gmac-dwmac ffa80000.ethernet: Using 40 bits DMA width
[ 0.111546] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.111887] usbcore: registered new interface driver usb-storage
[ 0.112083] gadgetfs: USB Gadget filesystem, version 24 Aug 2004
[ 0.112142] Mass Storage Function, version: 2009/09/11
[ 0.112165] LUN: removable file: (no medium)
[ 0.112201] no file given for LUN0
[ 0.112249] udc ffb00000.usb: failed to start g_mass_storage: -22
[ 0.113880] rockchip-rtc ff1c0000.rtc: rockchip_rtc_compensation:timeout waiting for RT C TEST STATUS : -110
[ 0.612832] rockchip-rtc ff1c0000.rtc: registered as rtc0
[ 0.612915] rockchip-rtc ff1c0000.rtc: setting system clock to 2021-01-01T12:00:00 UTC (1609502400)
[ 0.613168] i2c /dev entries driver
[ 0.614458] Goodix-TS 3-0014: supply AVDD28 not found, using dummy regulator
[ 0.614665] Goodix-TS 3-0014: supply VDDIO not found, using dummy regulator
[ 0.715784] rk3x-i2c ff460000.i2c: timeout, ipd: 0x00, state: 3
[ 0.715814] Goodix-TS 3-0014: i2c test failed attempt 1: -110
[ 0.845771] rk3x-i2c ff460000.i2c: timeout, ipd: 0x00, state: 3
[ 0.845785] Goodix-TS 3-0014: i2c test failed attempt 2: -110
[ 0.872432] Goodix-TS 3-0014: I2C communication failure: -110
[ 0.872620] Goodix-TS: probe of 3-0014 failed with error -110
[ 0.873250] usbcore: registered new interface driver uvcvideo
[ 0.873268] USB Video Class driver (1.1.1)
[ 0.874395] rockchip-thermal ff3c8000.tsadc: tsadc is probed successfully!
[ 0.875919] cpu cpu0: failed to register system monitor
[ 0.876292] Synopsys Designware Multimedia Card Interface Driver
[ 0.877162] dtbocfg: 0.1.0
[ 0.877203] dtbocfg: OK
[ 0.877451] fb_st7789v spi0.0: fbtft_property_value: buswidth = 8
[ 0.877470] fb_st7789v spi0.0: fbtft_property_value: debug = 7
[ 0.877484] fb_st7789v spi0.0: fbtft_property_value: fps = 30
[ 0.877618] fb_st7789v spi0.0: fbtft_gamma_parse_str() str=
[ 0.877633] fb_st7789v spi0.0: D0 05 0A 09 08 05 2E 44 45 0F 17 16 2B 33
[ 0.877633] D0 05 0A 09 08 05 2E 43 45 0F 16 16 2B 33
[ 0.877708] fb_st7789v spi0.0: fbtft_request_one_gpio: 'reset' = GPIO51
[ 0.877744] fb_st7789v spi0.0: fbtft_request_one_gpio: 'dc' = GPIO73
[ 0.877768] fb_st7789v spi0.0: fbtft_verify_gpios()
[ 0.877777] fb_st7789v spi0.0: fbtft_reset()
[ 1.002487] fb_st7789v spi0.0: fbtft_write_reg8_bus8: 11
[ 1.002550] fb_st7789v spi0.0: fbtft_write_spi(len=1): 11
[ 1.122704] fb_st7789v spi0.0: fbtft_write_reg8_bus8: 3a 05
[ 1.122739] fb_st7789v spi0.0: fbtft_write_spi(len=1): 3a
[ 1.123014] fb_st7789v spi0.0: fbtft_write_spi(len=1): 05
[ 1.123073] fb_st7789v spi0.0: fbtft_write_reg8_bus8: b2 05 05 00 33 33
[ 1.123085] fb_st7789v spi0.0: fbtft_write_spi(len=1): b2
[ 1.123128] fb_st7789v spi0.0: fbtft_write_spi(len=5): 05 05 00 33 33
[ 1.123187] fb_st7789v spi0.0: fbtft_write_reg8_bus8: b7 75
[ 1.123200] fb_st7789v spi0.0: fbtft_write_spi(len=1): b7
[ 1.123241] fb_st7789v spi0.0: fbtft_write_spi(len=1): 75
[ 1.123282] fb_st7789v spi0.0: fbtft_write_reg8_bus8: c2 01 ff
[ 1.123294] fb_st7789v spi0.0: fbtft_write_spi(len=1): c2
[ 1.123331] fb_st7789v spi0.0: fbtft_write_spi(len=2): 01 ff
[ 1.123376] fb_st7789v spi0.0: fbtft_write_reg8_bus8: c3 13
[ 1.123387] fb_st7789v spi0.0: fbtft_write_spi(len=1): c3
[ 1.123433] fb_st7789v spi0.0: fbtft_write_spi(len=1): 13
[ 1.123473] fb_st7789v spi0.0: fbtft_write_reg8_bus8: c4 20
[ 1.123485] fb_st7789v spi0.0: fbtft_write_spi(len=1): c4
[ 1.123522] fb_st7789v spi0.0: fbtft_write_spi(len=1): 20
[ 1.123560] fb_st7789v spi0.0: fbtft_write_reg8_bus8: bb 22
[ 1.123572] fb_st7789v spi0.0: fbtft_write_spi(len=1): bb
[ 1.123610] fb_st7789v spi0.0: fbtft_write_spi(len=1): 22
[ 1.123655] fb_st7789v spi0.0: fbtft_write_reg8_bus8: c5 20
[ 1.123668] fb_st7789v spi0.0: fbtft_write_spi(len=1): c5
[ 1.123707] fb_st7789v spi0.0: fbtft_write_spi(len=1): 20
[ 1.123746] fb_st7789v spi0.0: fbtft_write_reg8_bus8: d0 a4 a1
[ 1.123758] fb_st7789v spi0.0: fbtft_write_spi(len=1): d0
[ 1.123795] fb_st7789v spi0.0: fbtft_write_spi(len=2): a4 a1
[ 1.123840] fb_st7789v spi0.0: fbtft_write_reg8_bus8: 29
[ 1.123851] fb_st7789v spi0.0: fbtft_write_spi(len=1): 29
[ 1.123891] fb_st7789v spi0.0: fbtft_write_reg8_bus8: 21
[ 1.123903] fb_st7789v spi0.0: fbtft_write_spi(len=1): 21
[ 1.123943] fb_st7789v spi0.0: fbtft_write_reg8_bus8: 36 00
[ 1.123955] fb_st7789v spi0.0: fbtft_write_spi(len=1): 36
[ 1.123992] fb_st7789v spi0.0: fbtft_write_spi(len=1): 00
[ 1.124034] fb_st7789v spi0.0: fbtft_update_display(start_line=0, end_line=319)
[ 1.124046] fb_st7789v spi0.0: fbtft_write_reg8_bus8: 2a 00 00 00 ef
[ 1.124055] fb_st7789v spi0.0: fbtft_write_spi(len=1): 2a
[ 1.124104] fb_st7789v spi0.0: fbtft_write_spi(len=4): 00 00 00 ef
[ 1.124147] fb_st7789v spi0.0: fbtft_write_reg8_bus8: 2b 00 00 01 3f
[ 1.124160] fb_st7789v spi0.0: fbtft_write_spi(len=1): 2b
[ 1.124198] fb_st7789v spi0.0: fbtft_write_spi(len=4): 00 00 01 3f
[ 1.124241] fb_st7789v spi0.0: fbtft_write_reg8_bus8: 2c
[ 1.124253] fb_st7789v spi0.0: fbtft_write_spi(len=1): 2c
[ 1.124296] fb_st7789v spi0.0: fbtft_write_vmem16_bus8(offset=0, len=153600)
...
[ 1.192931] fb_st7789v spi0.0: Display update: 2176 kB/s, fps=0
[ 1.192964] fb_st7789v spi0.0: fbtft_write_reg8_bus8: e0 d0 05 0a 09 08 05 2e 44 45 0f 17 16 2b 33
[ 1.192986] fb_st7789v spi0.0: fbtft_write_spi(len=1): e0
[ 1.193077] fb_st7789v spi0.0: fbtft_write_spi(len=14): d0 05 0a 09 08 05 2e 44 45 0f 1 7 16 2b 33
[ 1.193182] fb_st7789v spi0.0: fbtft_write_reg8_bus8: e1 d0 05 0a 09 08 05 2e 43 45 0f 16 16 2b 33
[ 1.193208] fb_st7789v spi0.0: fbtft_write_spi(len=1): e1
[ 1.193291] fb_st7789v spi0.0: fbtft_write_spi(len=14): d0 05 0a 09 08 05 2e 43 45 0f 1 6 16 2b 33
[ 1.193408] fb_st7789v spi0.0: fbtft_register_backlight(): led pin not set, exiting.
[ 1.195527] Console: switching to colour frame buffer device 30x40
[ 1.196340] graphics fb0: fb_st7789v frame buffer, 240x320, 150 KiB video memory, 4 KiB buffer memory, fps=30, spi0.0 at 20 MHz
[ 1.198411] rv1106-acodec ff480000.acodec: current soc_id: rv1106
[ 1.198509] rv1106-acodec ff480000.acodec: Use pa_ctl_gpio and pa_ctl_delay_ms: 0
[ 1.200229] NET: Registered protocol family 17
[ 1.200335] Key type dns_resolver registered
[ 1.201169] Loading compiled-in X.509 certificates
[ 1.201737]
[ 1.201757] ********************************************************************
[ 1.201766] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 1.201773] ** **
[ 1.201780] ** WRITEABLE clk DebugFS SUPPORT HAS BEEN ENABLED IN THIS KERNEL **
[ 1.201786] ** **
[ 1.201792] ** This means that this kernel is built to expose clk operations **
[ 1.201798] ** such as parent or rate setting, enabling, disabling, etc. **
[ 1.201805] ** to userspace, which may compromise security on your system. **
[ 1.201811] ** **
[ 1.201817] ** If you see this message and you are not debugging the **
[ 1.201824] ** kernel, report this immediately to your vendor! **
[ 1.201829] ** **
[ 1.201836] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE **
[ 1.201842] ********************************************************************
[ 1.219871] input: adc-keys as /devices/platform/adc-keys/input/input0
[ 1.229123] fb_st7789v spi0.0: fbtft_update_display(start_line=0, end_line=319)
[ 1.229155] fb_st7789v spi0.0: fbtft_write_reg8_bus8: 2a 00 00 00 ef
[ 1.229173] fb_st7789v spi0.0: fbtft_write_spi(len=1): 2a
[ 1.229242] fb_st7789v spi0.0: fbtft_write_spi(len=4): 00 00 00 ef
[ 1.229290] fb_st7789v spi0.0: fbtft_write_reg8_bus8: 2b 00 00 01 3f
[ 1.229305] fb_st7789v spi0.0: fbtft_write_spi(len=1): 2b
[ 1.229337] fb_st7789v spi0.0: fbtft_write_spi(len=4): 00 00 01 3f
[ 1.229370] fb_st7789v spi0.0: fbtft_write_reg8_bus8: 2c
[ 1.229382] fb_st7789v spi0.0: fbtft_write_spi(len=1): 2c
[ 1.229412] fb_st7789v spi0.0: fbtft_write_vmem16_bus8(offset=0, len=153600)
[ 1.287556] ubi0: attaching mtd6
[ 1.303540] fb_st7789v spi0.0: fbtft_write_spi(len=4096): 00***********/dev/ubi4_0 not exist* **********
***********/dev/ubi4 not exist***********
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
[ 1.305275] fb_st7789v spi0.0: fbtft_write_spi(len=4096): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
[ 1.307008] fb_st7789v spi0.0: fbtft_write_spi(len=4096): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
[ 1.308737] fb_st7789v spi0.0: fbtft_write_spi(len=4096): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
[ 1.310479] fb_st7789v spi0.0: fbtft_write_spi(len=4096): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
[ 1.312226] fb_st7789v spi0.0: fbtft_write_spi(len=4096): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0UBI device numbe0 00 00 0r 4, total 240 LEBs (30474240 bytes, 29.1 MiB), ava ilable 0 LEBs (0 bytes), LEB size 126976 bytes (124.0 KiB)
0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
[ 1.313959] fb_st7789v spi0.0: fbtft_write_spi(len=2048): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00try to make volume: /dev/ubi4_0 ...
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...
[ 1.314856] fb_st7789ubimkvol: error!: bad volume size: "0"
v spi0.0: Display update: 1749 kB/s, fps=9
[ 1.680889] ubi0: scanning is finished
[ 1.686568] ubi0: attached mtd6 (name "rootfs", size 210 MiB)
[ 1.686591] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.686602] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.686613] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.686622] ubi0: good PEBs: 1680, bad PEBs: 0, corrupted PEBs: 0
[ 1.686631] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 1.686641] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence numbe r: 1445342135
[ 1.686653] ubi0: available PEBs: 0, total reserved PEBs: 1680, PEBs reserved for bad P EB handling: 40
[ 1.687786] ALSA device list:
[ 1.687835] #0: rv-acodec
[ 1.688380] ubi0: background thread "ubi_bgt0d" started, PID 58
[ 1.688612] UBIFS (ubi0:0): Mounting in unauthenticated mode
[ 1.704594] UBIFS (ubi0:0): recovery needed
[ 1.789994] UBIFS (ubi0:0): recovery deferred
[ 1.790128] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs", R/O m ode
[ 1.790151] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 1.790165] UBIFS (ubi0:0): FS size: 206336000 bytes (196 MiB, 1625 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[ 1.790176] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[ 1.790188] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 13DD5103-9593-4 C46-845B-FAFD66C5B88B, small LPT model
[ 1.790883] VFS: Mounted root (ubifs filesystem) readonly on device 0:14.
[ 1.791669] devtmpfs: mounted
[ 1.791903] Freeing unused kernel memory: 200K
[ 1.791913] Kernel memory protection not selected by kernel config.
[ 1.791951] Run /sbin/init as init process
[ 1.798439] process '/bin/busybox' started with executable stack
[ 1.865395] UBIFS (ubi0:0): completing deferred recovery
[ 1.979310] UBIFS (ubi0:0): background thread***********/dev/ubi5_0 not exist********** *
***********/dev/ubi5 not exist***********
"ubifs_bgt0_0" started, PID 61
[ 2.007915] UBIFS (ubi0:0): deferred recovery completed
[ 2.267897] udevd[91]: starting version 3.2.7
[ 2.283680] udevd[91]: specified group 'input' unknown
[ 2.284770] udevd[91]: specified group 'kvm' unknown
[ 2.307414] udevd[92]: starting eudev-3.2.7
[ 2.768034] udevd[102]: failed to execute '/lib/udev/mtd_proUBI device number 5, total 80 LEBbe' 'mtd_ps (10158080 bytes, 9.7 MiB), available 0 LEBs (0 bytrobes), LEB size 12697 6 bytes (124.0 KiB)
e /dev/mtd0ro': No such file or directory
[ 2.775344] udevd[103]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd1ro' : No suctry to make volume: /dev/ubi5_0 ...
h file or directory
[ 2.785207ubimkvol: error!: bad volume size: "0"
] udevd[104]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd2ro': No such fil e or directory
[ 2.792004] udevd[105]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd3ro' : No such file or directory
[ 2.800615] udevd[106]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd4ro' : No such file or directory
[ 2.810420] udevd[107]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd5ro' : No such file or directory
[ 2.817518] udevd[108]: failed to execute '/lib/udev/mtd_probe' 'mtd_probe /dev/mtd6ro' : No such file or directory
[ 3.279625] ubi4: attaching mtd4
[ 3.336376] ubi4: scanning is finished
[ 3.343967] ubi4: attached mtd4 (name "oem", size 30 MiB)
[ 3.343993] ubi4: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.344002] ubi4: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.344011] ubi4: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.344021] ubi4: good PEBs: 240, bad PEBs: 0, corrupted PEBs: 0
[ 3.344032] ubi4: user volume: 1, internal volumes: Initializing random number generato r... 1, max. volumes count: 128
[ 3.344043] ubi4: max/mean erase counter: 2/0, WL threshold: 4096, image sequence numbe r: 1029883552
[ 3.344054] ubi4: available PEBs: 0, total reserved PEBs: 240, PEBs reserved fordone.
bad PEB handling: 40
[ 3.345313] ubi4: background thread "ubi_bgt4d" started, PID 128
[ 3.392065] UBIFS (ubi4:0): Mounting in unauthenticated mode
[ 3.392291] UBIFS (ubi4:0): background thread "ubifs_bgt4_0" started, PID 133
[ 3.408383] UBIFS (ubi4:0): recovery needed
[ 3.518493] UBIFS (ubi4:0): recovery completed
[ 3.522059] UBIFS (ubi4:0): UBIFS: mounted UBI device 4, volume 0, name "oem"
[ 3.522086] UBIFS (ubi4:0): LEB size: 126976 bytes /dev/ubi5_0 on /(1userdata type ubif s (rw,relatime,assert=read-only,ubi=5,vol=0)
24 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 3.522100] UBIFS (ubi4:0): FS size: 23617536 bytesStarting network: (22 MiB, 186 LEBs ), journal size 4190208 bytes (3 MiB, 33 LEBs)
[ 3.522111] UBIFS (ubi4:0): reserved for root: 0 bytes (0 KiB)
[ 3.522123] UBIFS (ubi4:0): media format: w4/r0 (latest is w5/r0), UUID 12C9756E-57B1-4 33F-A25F-808868427352, small LPT model
[ 3.572516] ubi5: attaching mtd5
[ 3.591991] ubi5: scanning is finished
[ 3.599657] ubi5: attached mtd5 (name "userdata", size 10 MiB)
[ 3.599686] ubi5: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.599707] ubi5: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.599717] ubi5: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.599726] ubi5: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
[ 3.599735] ubi5: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 3.599746] ubi5: max/mean erase counter: 2/1, WL threshold: 4096, image sequence numbe r: 115902117
[ 3.599756] ubi5: available PEBs: 0, total reserved PEBs: 80, PEBs reserved for bad PEB handling: 40
[ 3.606080] ubi5: background thread "ubi_bgt5d" started, PID 142
[ 3.642231] UBIFS (ubi5:0): Mounting in unauthenticated mode
[ 3.642823] UBIFS (ubi5:0): background thread "ubifs_bgt5_0" started, PID 147
[ 3.658811] UBIFS (ubi5:0): recovery needed
[ 3.710201] UBIFS (ubi5:0): recovery completed
[ 3.713007] UBIFS (ubi5:0): UBIFS: mounted UBI device 5, volume 0, name "userdata"
[ 3.713033] UBIFS (ubi5:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 3.713045] UBIFS (ubi5:0): FS size: 3301376 bytes (3 MiB, 26 LEBs), journal size 16506 88 bytes (1 MiB, 13 LEBs)
[ 3.713055] UBIFS (ubi5:0): reserved for root: 0 bytes (0 KiB)
[ 3.713068] UBIFS (ubi5:0): media format: w4/r0 (latest is w5/r0), UUID C97F58C1-398A-4 D93-854D-72F672EFA16C, small LPT model
[ 3.873952] rk_dvbm ffa70000.rkdvbm: prOK
obe start
[ 3.874002] rk_dvbm ffa70000.rkdvbm: dvbm ctx b5cd7ff2
[ 3.876325] rk_dvbm ffa70000.rkdvbm: probe success
[ 3.921726] rkcifhw ffa10000.rkcif: no iommu attached, using non-iommu buffers
[ 3.921757] rkcifhw ffa10000.rkcif: No reserved memory region assign to CIF
[ 3.923143] rkcif rkcif-mipi-lvds: rkcStarting ntpd: if driver version: v00.01.0a
[ 3.923545] rkcif rkcif-mipi-lvds: attach to cif hw node
[ 3.923567] rkcif rkcif-mipi-lvds: failed to get dphy hw node
[ 3.923579] rkcif rkcif-mipi-lvds: rkcif wait line 0
[ 3.923594] : terminal subdev does not exist
[ 3.923604] : terminal subdev does not exist
[ 3.923612] : terminal subdev does not exist
[ 3.923620] : terminal subdev does not exist
[ 3.923630] : get_remote_sensor: video pad[0] is null
[ 3.923640] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 3.923663] : get_remote_sensor: video pad[0] is null
[ 3.923670] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 3.923679] : get_remote_sensor: video pad[0] is null
[ 3.923686] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 3.923696] : get_remote_sensor: video pad[0] is null
[ 3.923705] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 3.936824] rkcif rkcif-mipi-lvds: No memory-region-thunderboot specified
[ 3.941322] rkcif rkcif-mipi-lvds: Entity type for entity rockchip-mipi-csi2 was not in itialized!
[ 3.941380] rockchip-mipi-csi2: Async registered subdev
[ 3.941399] rockchip-mipi-csi2: probe success, v4l2_dev:rkcif-mipi-lvds!
[ 3.987904] rkisp_hw ffa00000.rkisp: is_thunderboot: 0
[ 3.987935] rkisp_hw ffa00000.rkisp: max input:0x0@0fps
[ 3.987951] rkisp_hw ffa00000.rkisp: Missing rockchip,grf property
[ 3.988238] rkisp_hw ffa00000.rkisp: get sram size:258048
[ 3.988272] rkisp_hw ffa00000.rkisp: no iommu attached, using non-iommu buffers
[ 3.988284] rkisp_hw ffa00000.rkisp: No reserved memory region. default cma area!
[ 3.990863] rkisp rkisp-vir0: rkisp driver version: v02.00.00
[ 3.992198] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initializ ed!
[ 4.019602] rockchip-csi2-dphy-hw ff3e8000.csi2-dphy-hw: csi2 dphy hw probe successfull y!
[ 4.041694] rockchip-csi2-dphy csi2-dphy0: csi2 dphy0 probe successfully!
[ 4.128035] rkcif rkcif-mipi-lvds: clear unready subdev num: 3
[ 4.128065] rockchip-csi2-dphy0: No link between dphy and sensor
[ 4.129145] rockchip-csi2-dphy0: No link between dphy and sensor
[ 4.129209] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal se nsor failed!
[ 4.129224] rkcif-mipi-lvds: Async subdev notifier completed
[ 4.129242] rockchip-csi2-dphy0: No link between dphy and sensor
[ 4.130434] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal se nsor failed!
[ 4.130458] rkcif-mipi-lvds: There is not terminal subdev, not synchronized with ISP
[ 4.130497] rockchip-csi2-dphy0: No link between dphy and sensor
[ 4.130521] rkcif-mipi-lvds: rkcif_update_sensor_info: stream[0] get remote terminal se nsor failed!
[ 4.130528] rkcif-mipi-lvds: There is not terminal subdev, not synchronized with ISP
[ 4.130943] rkisp rkisp-vir0: clear unready subdev num: 1
[ 4.131262] rkisp-vir0: Async subdev notifier completed
[ 4.172063] rga: rga2, irq = 37, match scheduler
[ 4.173006] rga: rga2 hardware loaded successfully, hw_version:3.3.87975.
[ 4.173103] rga: rga2 probe successfully
[ 4.174205] rga_iommu: IOMMU binding successfully, default mapping core[0x4]
[ 4.175630] rga: Module initialized. v1.2.23
[ 4.262017] mpp_vcodec: loading out-of-tree module taints kernel.
[ 4.277063] mpp_vcodec: init new
[ 4.277343] mpp_service mpp-srv: 3760314f author: Zhihua Wang 2023-01-12 [vcodec]: chec k chan create when destroy
[ 4.277362] mpp_service mpp-srv: probe start
[ 4.279094] mpp_rkvenc_540c ffa50000.rkvenc: probing start
[ 4.280614] mpp_rkvenls: /sys/devices/platform/ff470000.i2c/i2c-4/4*/nac_me: No such fi le or directory
540c ffa50000.rkvenc: probing finish
[ 4.281059] mpp_vepu_pp ffa60000.rkvenc-pp: probe device
[ 4.281172] mpp_vepu_pp ffa60000.rkvenc-pp: shared_rst_a_pp is not found!
[ 4.281186] vepu_pp_init:528: No aclk reset resource define
[ 4.281197] mpp_vepu_pp ffa60000.rkvenc-pp: shared_rst_h_pp is not found!
[ 4.281207] vepu_pp_init:531: No hclk reset resource define
[ 4.282299] mpp_vepu_pp ffa60000.rkvenc-pp: probing finish
[ 4.282616] mpp_service mpp-srv: probe success
[ 4.309582] RKNPU ff660000.npu: RKNPU: rknpu iommu device-tree entry not found!, using non-iommu mode
[ 4.310931] RKNPU ff660000.npu: RKNPU: Initialized RKNPU driver: v0.8.2 for 20220829
[ 4.311240] RKNPU ff660000.npu: dev_pm_opp_set_regulators: no regulator (rknpu) found: -19
OK
sc4336 9196 0
sc3336 9940 0
[ 4.478117] rockit_load start
/
ln: /usr/www/userdata: No such file or directory
insmod_ko.sh: line 78: /oem/usr/ko/insmod_wifi.sh: not found
ln: /usr/www/usb0: No such file or directory
ln: /usr/www/sdcard: No such file or directory
sc4336 9196 0
Starting sshd: sc3336 9940 0
b24a644c7d2433465cd5ee4b5ef53727 /tmp/rkipc-factory-config.ini
[ 4.490967] rockit_load end
[ 4.792325] rk_gmac-dwmac ffa80000.ethernet eth0: PHY [stmmac-0:02] driver [RK630 PHY] (irq=POLL)
[ 4.792962] dwmac4: Master AXI performs any burst length
[ 4.792997] rk_gmac-dwmac ffa80000.ethernet eth0: No Safety Features support found
[ 4.793016] rk_gmac-dwmac ffa80000.ethernet eth0: PTP not supported by HW
[ 4.793332] rk_gmac-dwmac ffa80000.ethernet eth0: configuring for phy/rmii link mode
udhcpc: started, v1.36.1
OK
Starting telnetd: OK
udhcpc: broadcasting discover
/etc/init.d/S50usbdevice: line 144: can't open : no such file
Debug: configfs_init
[ 5.303907] file system registered
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/mtp.gs0': No such file or directory
[ 5.351020] using random self ethernet address
[ 5.351056] using random host ethernet address
[rkipc.c][main]:rkipc_ini_path_ is (null), rkipc_iq_file_path_ is /oem/usr/share/iqfiles, rkipc_log_level is 2
[param.c][rk_param_init]:g_ini_path_ is /userdata/rkipc.ini
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/acm.gs6': No such file or directory
[ 5.400296] Mass Storage Function, version: 2009/09/11
[ 5.400401] LUN: removable file: (no medium)
[network.c][rk_net_proc]:Creat rk_net_proc thread!
[rockiva.c][rkipc_rockiva_init]:begin
[network.c][ntp_client_thread]:refresh_time_s is 60, ntp_server is 119.28.183.184
E RKNN: failed to allocate fd, ret: -1, errno: 12, errstr: Cannot allocate memory
E RKNN: failed to allocate model memory!, size: 2012736, flags: #a
[ 5.566985] read descriptors
[ 5.567159] read strings
I2C引脚有配置上拉电阻吗
配上拉,是在设备树里吗,
我看wiki里i2c部分以前貌似有5.1章节是说怎么上拉的,但是5.1章节好像没了。
&pinctrl {
touchscreen{
tp_rst:tp-rst {
rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
};
tp_irq:tp-irq {
rockchip,pins = <2 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
/* 是在这里加一个i2c3pins分组,然后把i2c3的sda和scl设置上拉吗? */
};
我看wiki里i2c部分以前貌似有5.1章节是说怎么上拉的,但是5.1章节好像没了。
&pinctrl {
touchscreen{
tp_rst:tp-rst {
rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
};
tp_irq:tp-irq {
rockchip,pins = <2 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
/* 是在这里加一个i2c3pins分组,然后把i2c3的sda和scl设置上拉吗? */
};
不是在设备树上设置的,需要在硬件电路给SCL和SDA配置上拉电阻才能保证通讯正常
硬件确实不太懂,好像没问题,转接板应该是没有配上拉电阻,但看触摸屏911芯片排线上,4、5脚是有电阻的
屏幕链接https://item.taobao.com/item.htm?spm=a1 ... 9830715179
屏幕链接https://item.taobao.com/item.htm?spm=a1 ... 9830715179
您好,自行设计和修改的电路不属于技术支持的范畴,我只能建议您给I2C引脚配置上拉电阻以确保通讯正常yloooo wrote: ↑2024-08-05 1:29 硬件确实不太懂,好像没问题,转接板应该是没有配上拉电阻,但看触摸屏911芯片排线上,4、5脚是有电阻的
屏幕链接https://item.taobao.com/item.htm?spm=a1 ... 9830715179
上拉的问题解决了,在DTS目录里的rv1106-pinctrl.dtsi 文件里将 I2C3m1的引脚设置为内部上拉
之后烧录,i2cdetect能在5D上识别设备了,但是没显示UU,貌似驱动还是没有识别,主设备树里设置的是14地址
Code: Select all
i2c3 {
/omit-if-no-ref/
i2c3m0_xfer: i2c3m0-xfer {
rockchip,pins =
/* i2c3_scl_m0 */
<2 RK_PA6 5 &pcfg_pull_none_smt>,
/* i2c3_sda_m0 */
<2 RK_PA7 5 &pcfg_pull_none_smt>;
};
/omit-if-no-ref/
i2c3m1_xfer: i2c3m1-xfer {
rockchip,pins =
/* i2c3_scl_m1 */
<1 RK_PD3 3 &pcfg_pull_up>,
/* i2c3_sda_m1 */
<1 RK_PD2 3 &pcfg_pull_up>;
Code: Select all
[root@luckfox root]# i2cdetect -y 3
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- 5d -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
已经全搞定了,谢谢版主这几天的耐心回复,感谢
给其他人的参考,总结主要是要在DTS目录里的rv1106-pinctrl.dtsi设置内部上拉,基本上就卡在这里了。
然后再根据i2cdetect读出的地址在设备树DTS文件里修改成对应的时序设置,
现在已经可以读出触摸数据了
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
给其他人的参考,总结主要是要在DTS目录里的rv1106-pinctrl.dtsi设置内部上拉,基本上就卡在这里了。
然后再根据i2cdetect读出的地址在设备树DTS文件里修改成对应的时序设置,
现在已经可以读出触摸数据了