您尚未登录。

楼主 # 2022-07-24 11:07:58

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

我来自泰国我从 aliexpress.com 购买了 allwinner v3s 板和 lcd 3.2" 40pin。我尝试运行linux,为什么lcd屏幕上不显示图片,我们要调整u-boot,怎么办?

294326897_766770641429996_7929871188420606342_n.jpg294570763_442873074396434_1891006705257754145_n.jpg294749650_755351782136846_7925726904306267591_n.jpg

离线

#1 2022-07-24 11:28:15

笔走天下
会员
注册时间: 2021-08-13
已发帖子: 126
积分: 0.5

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

萨瓦迪卡,I also encounter this kind of problem, can you communicate?

离线

楼主 #3 2022-07-24 12:04:51

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

笔走天下 说:

萨瓦迪卡,I also encounter this kind of problem, can you communicate?

can contact me at tevada11@hotmail.com facebook lind I tried to sign up for wechat but can't.

离线

楼主 #4 2022-07-24 20:32:36

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

295072812_627080515194530_6318430613263470637_n.jpg294741010_594373142098620_7536350828757483258_n.jpg294700216_461701088750528_2475896629278464552_n.jpg

离线

#5 2022-07-24 21:24:19

xk100
会员
注册时间: 2018-12-13
已发帖子: 73
积分: 56.5

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

我跟你是同一款开发板。你的屏应该不对。
_20220724211645.jpg_20220724211718.jpgQQ浏览器截图20220724211835.jpg
官方提供的ROM你试一下。
cherrypi-v3s-linux-2020-07-14.rar
原理图CherryPi-PC-V3S_V1.2.pdf
测试指导文档CherryPi-PC-V3S用户测试说明-2020-07-16.rar

最近编辑记录 xk100 (2022-07-24 21:26:40)

离线

#6 2022-07-24 21:27:23

xk100
会员
注册时间: 2018-12-13
已发帖子: 73
积分: 56.5

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

希望对你有帮助

离线

楼主 #7 2022-07-24 21:41:03

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

xk100 说:

希望对你有帮助

你好,板子是同一型号,但是你的液晶屏比我的大,我的是3.2"。我不知道在u-boot哪里去配置。兼容 3.2" 屏幕, 非常感谢您

最近编辑记录 tevada2010 (2022-07-24 21:45:29)

离线

#8 2022-07-25 08:29:13

histimes
会员
注册时间: 2022-05-31
已发帖子: 31
积分: 31

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

要检查你的lcd是哪种类型,spi串口?mcu还是rgb。然后用逻辑分析仪检查一下初始化波形,然后再看显示的波形试试

离线

#9 2022-07-27 11:56:21

musich
会员
注册时间: 2018-04-17
已发帖子: 249
积分: 281

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

没记错的话, 这个板的触摸请求线没有连接, 仅连接了I2C.

离线

楼主 #10 2022-07-27 18:18:02

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

musich 说:

没记错的话, 这个板的触摸请求线没有连接, 仅连接了I2C.

我从这里买了一个液晶显示器。3.2 英寸 40 针。
我不知道如何转到配置以显示它。

https://th.aliexpress.com/item/32837085500.html?spm=a2g0o.order_list.0.0.bbc752ceFSUAtK&gatewayAdapt=glo2tha

离线

#11 2022-07-27 20:33:30

histimes
会员
注册时间: 2022-05-31
已发帖子: 31
积分: 31

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

你这个是spi屏,ili9341
https://www.kancloud.cn/lichee/lpi0/538999

离线

楼主 #12 2022-07-27 22:16:37

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

histimes 说:

你这个是spi屏,ili9341
https://www.kancloud.cn/lichee/lpi0/538999

这是我的 lcd 40pin。

295939152_435312405194026_4657124588841045665_n.jpg

3-5-TFT-LCD-ILI9486-ILI9488-ILI9481-40-PINS-320480.jpg

离线

#13 2022-07-28 03:16:25

musich
会员
注册时间: 2018-04-17
已发帖子: 249
积分: 281

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

估计,不改LCD驱动 用不了。 出厂默认是RGB接口屏的,480*272。

LZ的是 SPI/并口屏,用不了。

离线

楼主 #14 2022-07-31 01:16:54

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

我已经完成了每一步 为什么显示器不显示?

https://whycan.com/t_6413.html

294852832_573954257546892_1233592662052268409_n.jpg294726111_1099367357681843_8528158930884724977_n.jpg

U-Boot 2017.01-rc2-00073-gdd6e8740dc-dirty (Jul 31 2022 - 11:52:11 +0700) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 00, c2, 12
*** Warning - spi_flash_probe() failed, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0 
reading zImage
4196800 bytes read in 232 ms (17.3 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
12397 bytes read in 30 ms (403.3 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42df9000, end 42dff06c ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.2.0-licheepi-zero (tevada@T420s) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #6 SMP Sun Jul 31 21:06:16 +07 2022
[    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: Lichee Pi Zero with Dock
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 mtdparts=spi32766.0:1M(uboot),64k(dtb),4M(kernel),-(rootfs) rootwait root=/dev/mmcblk0p2 earlyprintk rw  vt.global_cursor_default=0
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 55044K/65536K available (6144K kernel code, 301K rwdata, 1684K rodata, 1024K init, 254K bss, 10492K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x300/0x48c with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000210] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000451] Console: colour dummy device 80x30
[    0.000507] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000523] pid_max: default: 32768 minimum: 301
[    0.000686] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000703] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001507] CPU: Testing write buffer coherency: ok
[    0.002022] /cpus/cpu@0 missing clock-frequency property
[    0.002048] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002815] Setting up static identity map for 0x40100000 - 0x40100060
[    0.003022] rcu: Hierarchical SRCU implementation.
[    0.003567] smp: Bringing up secondary CPUs ...
[    0.003586] smp: Brought up 1 node, 1 CPU
[    0.003597] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003604] CPU: All CPU(s) started in SVC mode.
[    0.004683] devtmpfs: initialized
[    0.008173] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008494] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008526] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.008770] pinctrl core: initialized pinctrl subsystem
[    0.009804] NET: Registered protocol family 16
[    0.010423] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.011687] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.011706] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.035081] SCSI subsystem initialized
[    0.035244] usbcore: registered new interface driver usbfs
[    0.035298] usbcore: registered new interface driver hub
[    0.035418] usbcore: registered new device driver usb
[    0.035651] mc: Linux media interface: v0.10
[    0.035692] videodev: Linux video capture interface: v2.00
[    0.035881] Advanced Linux Sound Architecture Driver Initialized.
[    0.037188] clocksource: Switched to clocksource arch_sys_counter
[    0.049291] NET: Registered protocol family 2
[    0.050120] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.050160] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.050185] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.050209] TCP: Hash tables configured (established 1024 bind 1024)
[    0.050354] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.050406] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.050700] NET: Registered protocol family 1
[    0.052563] Initialise system trusted keyrings
[    0.052935] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.090419] Key type asymmetric registered
[    0.090441] Asymmetric key parser 'x509' registered
[    0.090541] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.090553] io scheduler mq-deadline registered
[    0.090560] io scheduler kyber registered
[    0.091569] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[    0.095297] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.164058] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.166389] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[    0.167563] printk: console [ttyS0] disabled
[    0.187847] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.702720] printk: console [ttyS0] enabled
[    0.731672] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pc not found, using dummy regulator
[    0.742960] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.749580] ehci-platform: EHCI generic platform driver
[    0.755100] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.760774] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.768731] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.797213] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.804423] hub 1-0:1.0: USB hub found
[    0.808377] hub 1-0:1.0: 1 port detected
[    0.812959] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.819279] ohci-platform: OHCI generic platform driver
[    0.824817] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.831558] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.839555] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    0.912278] hub 2-0:1.0: USB hub found
[    0.916125] hub 2-0:1.0: 1 port detected
[    0.923471] usbcore: registered new interface driver usb-storage
[    0.930748] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    0.940032] sun6i-rtc 1c20400.rtc: registered as rtc0
[    0.945094] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.949816] i2c /dev entries driver
[    0.954200] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.962886] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[    0.999313] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.006575] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[    1.041672] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.049759] usbcore: registered new interface driver usbhid
[    1.055335] usbhid: USB HID core driver
[    1.059383] fbtft_of_value: buswidth = 8
[    1.063311] fbtft_of_value: debug = 0
[    1.066969] fbtft_of_value: rotate = 90
[    1.070841] fbtft_of_value: fps = 30
[    1.084058] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.095947] mmc0: new high speed SD card at address e624
[    1.103110] mmcblk0: mmc0:e624 SU02G 1.84 GiB 
[    1.108669] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.119178]  mmcblk0: p1 p2
[    1.125484] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.134200] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.141570] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    1.147100] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    1.152699] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    1.158256] mmc1: new high speed SDIO card at address 0001
[    1.364748] random: fast init done
[    1.400120] Console: switching to colour frame buffer device 40x30
[    1.407009] graphics fb0: fb_ili9341 frame buffer, 320x240, 150 KiB video memory, 16 KiB buffer memory, fps=33, spi0.0 at 48 MHz
[    1.420661] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.428304] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.435554] Initializing XFRM netlink socket
[    1.439995] NET: Registered protocol family 17
[    1.448384] Registering SWP/SWPB emulation handler
[    1.464852] Loading compiled-in X.509 certificates
[    1.480779] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.492236] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.498078] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.512457] random: crng init done
[    1.519802] hub 3-0:1.0: USB hub found
[    1.524108] hub 3-0:1.0: 1 port detected
[    1.530974] debugfs: Directory '1c22c00.codec' with parent 'V3s Audio Codec' already present!
[    1.539665] sun4i-codec 1c22c00.codec: ASoC: Failed to create component debugfs directory: -17
[    1.549756] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    1.558304] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01T00:05:48 UTC (348)
[    1.566671] vcc5v0: disabling
[    1.569728] ALSA device list:
[    1.572699]   #0: V3s Audio Codec
[    1.615172] EXT4-fs (mmcblk0p2): recovery complete
[    1.622057] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.630315] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.638526] devtmpfs: mounted
[    1.642696] Freeing unused kernel memory: 1024K
[    1.647461] Run /sbin/init as init process
[    1.745748] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator: OK
Saving random seed: OK
Starting network: OK

Welcome to Buildroot for the LicheePi Zero
licheepi-zero login: 

最近编辑记录 tevada2010 (2022-07-31 22:21:37)

离线

#15 2022-07-31 22:51:34

小智跑腿
会员
注册时间: 2020-04-26
已发帖子: 78
积分: 78

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

cat /dev/urandom > /dev/fb0

离线

楼主 #16 2022-08-01 09:56:27

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

小智跑腿 说:

cat /dev/urandom > /dev/fb0

cat /dev/urandom > /dev/fb0
使用第一条命令可以让屏幕出现雪花

295214258_622029019134784_5382131439030479403_n.jpg


cat /dev/zero > /dev/fb0
使用第二条命令可以让屏幕变黑

296625241_1049420692382664_6744057210606868145_n.jpg

为什么我看不到图片显示?

离线

#17 2022-08-01 10:02:58

哇酷小二
管理员
所在地: 你猜
注册时间: 2020-04-22
已发帖子: 3,387
积分: 1902
个人网站

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

@tevada2010
buildroot 勾选 fbv 可以显示图片。





离线

楼主 #18 2022-08-01 10:06:33

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

哇酷小二 说:

@tevada2010
buildroot 勾选 fbv 可以显示图片。

是否有如何在 buildroot 进行设置的示例?

离线

楼主 #19 2022-08-02 00:24:53

tevada2010
会员
注册时间: 2022-07-23
已发帖子: 54
积分: 69

Re: allwinner v3s 为什么在 lcd 3.2" 上没有显示图像?

图像现在可以显示在屏幕上。但是希望它从启动时显示在屏幕上吗?

295714747_596753725156834_171154733387546113_n.jpg

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn