WhyCan Forum

人过留名,雁过留声,感谢各位朋友不离不弃地支持。 QQ: 516333132, 微信: whycan_cn (哇酷网/挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-11-23 17:15:52

来日方长
会员
注册时间: 2019-10-25
累计积分: 6

求助,480*272的lcd在linux起来后不能正常显示

如题,使用的是荔枝派zero,内核用的蓝莓派的4.18的内核,uboot为荔枝派github上的u-boot-3s-current分支。在uboot中可以正常的显示,证明硬件和连接没有问题。进入linux后整个LCD慢慢就会变白,最后白屏。目前尝试过两种方法,但是找不到问题在哪里:

  1. 用framebuffer往fb0里边写数据,但是屏幕什么反应也没有。(这里采用的代码是这里的:https://blog.csdn.net/Bruno_Mars/article/details/94404842

  2. 修改uboot启动参数bootarg为

     console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0 

    尝试直接从屏幕上输出启动信息,但是仍然没有反映。

  3. 示例列表项三。

然后蓝莓派中的设备树中自己根据荔枝派加了framebuffer节点:

chosen {
	stdout-path = "serial0:115200n8";

	fb0: framebuffer@0 {
		compatible = "allwinner,simple-framebuffer", "simple-framebuffer";
		allwinner,pipeline = "de0-lcd0";
		// clocks = <0x2 0x21 0x2 0x23 0x2 0x3f 0x2 0x40>;
		clocks = <&ccu CLK_BUS_TCON0>, <&display_clocks 0>, <&display_clocks 6>, <&ccu CLK_TCON0>;
		status = "disabled";
	};
};

下面是启动的log

U-Boot SPL 2017.01-rc2 (Nov 19 2019 - 17:12:25)
DRAM: 64 MiB
Trying to boot from MMC1

U-Boot 2017.01-rc2 (Nov 19 2019 - 17:12:25 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000


U-Boot 2017.01-rc2 (Nov 19 2019 - 17:12:25 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
Setting up a 480x272 lcd console (overscan 0x0)
dotclock: 10000kHz = 10000kHz: (1 * 3MHz * 20) / 6
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
5492552 bytes read in 273 ms (19.2 MiB/s)
reading sun8i-v3s-blueberrypi-csi-ov2640-480x272LCD.dtb
12439 bytes read in 31 ms (391.6 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42df9000, end 42dff096 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.20.0-02953-g5694cecdb092-dirty (marcel@workpad) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #2 SMP Wed Dec 26 11:14:42 CET 2018
[    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: Blueberry PI
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x41c00000
[    0.000000] random: get_random_bytes called from start_kernel+0xa0/0x3f4 with crng_init=0
[    0.000000] percpu: Embedded 16 pages/cpu @(ptrval) s34508 r8192 d22836 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16129
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw vt.global_cursor_default=0
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 34828K/65024K available (8192K kernel code, 510K rwdata, 2228K rodata, 1024K init, 260K bss, 13812K reserved, 16384K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc4000000 - 0xff800000   ( 952 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc3f80000   (  63 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 511 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 261 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    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] 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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000021] Switching to timer-based delay loop, resolution 41ns
[    0.000241] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000484] Console: colour dummy device 80x30
[    0.000542] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000560] pid_max: default: 32768 minimum: 301
[    0.000721] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000738] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001446] CPU: Testing write buffer coherency: ok
[    0.001943] /cpus/cpu@0 missing clock-frequency property
[    0.001967] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002720] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002967] rcu: Hierarchical SRCU implementation.
[    0.003698] smp: Bringing up secondary CPUs ...
[    0.003719] smp: Brought up 1 node, 1 CPU
[    0.003729] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.003737] CPU: All CPU(s) started in SVC mode.
[    0.004664] devtmpfs: initialized
[    0.008232] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.008559] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008589] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.009417] pinctrl core: initialized pinctrl subsystem
[    0.010715] NET: Registered protocol family 16
[    0.011871] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.013178] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.013199] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.028113] SCSI subsystem initialized
[    0.028789] usbcore: registered new interface driver usbfs
[    0.028874] usbcore: registered new interface driver hub
[    0.028959] usbcore: registered new device driver usb
[    0.029193] media: Linux media interface: v0.10
[    0.029233] videodev: Linux video capture interface: v2.00
[    0.029355] pps_core: LinuxPPS API ver. 1 registered
[    0.029365] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.029387] PTP clock support registered
[    0.029622] Advanced Linux Sound Architecture Driver Initialized.
[    0.030417] Bluetooth: Core ver 2.22
[    0.030499] NET: Registered protocol family 31
[    0.030510] Bluetooth: HCI device and connection manager initialized
[    0.030537] Bluetooth: HCI socket layer initialized
[    0.030548] Bluetooth: L2CAP socket layer initialized
[    0.030576] Bluetooth: SCO socket layer initialized
[    0.031273] clocksource: Switched to clocksource arch_sys_counter
[    0.042468] NET: Registered protocol family 2
[    0.043090] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.043127] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.043154] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.043178] TCP: Hash tables configured (established 1024 bind 1024)
[    0.043333] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.043386] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.043641] NET: Registered protocol family 1
[    0.044575] RPC: Registered named UNIX socket transport module.
[    0.044595] RPC: Registered udp transport module.
[    0.044601] RPC: Registered tcp transport module.
[    0.044607] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.047075] Initialise system trusted keyrings
[    0.047465] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.055441] NFS: Registering the id_resolver key type
[    0.055497] Key type id_resolver registered
[    0.055507] Key type id_legacy registered
[    0.055835] JFS: nTxBlock = 400, nTxLock = 3200
[    0.069981] Key type asymmetric registered
[    0.070005] Asymmetric key parser 'x509' registered
[    0.070109] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.070122] io scheduler noop registered
[    0.070130] io scheduler deadline registered
[    0.070227] io scheduler cfq registered (default)
[    0.070239] io scheduler mq-deadline registered
[    0.070247] io scheduler kyber registered
[    0.075187] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.140109] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.143438] printk: console [ttyS0] disabled
[    0.163725] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.806640] printk: console [ttyS0] enabled
[    0.814511] libphy: Fixed MDIO Bus: probed
[    0.818628] CAN device driver interface
[    0.823249] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.829068] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.835334] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.842647] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.849864] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.854848] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.861643] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.867297] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.873185] libphy: stmmac: probed
[    0.877269] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[    0.883634] libphy: mdio_mux: probed
[    0.887239] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[    0.893638] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[    0.901099] usbcore: registered new interface driver mt7601u
[    0.906960] usbcore: registered new interface driver mt76x0u
[    0.912725] usbcore: registered new interface driver mt76x2u
[    0.918457] usbcore: registered new interface driver rt2500usb
[    0.924386] usbcore: registered new interface driver rt73usb
[    0.930081] usbcore: registered new interface driver rt2800usb
[    0.935983] usbcore: registered new interface driver rtl8187
[    0.941767] usbcore: registered new interface driver rtl8192cu
[    0.947636] usbcore: registered new interface driver rtl8xxxu
[    0.953407] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.959926] ehci-platform: EHCI generic platform driver
[    0.965463] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.971075] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.979290] ehci-platform 1c1a000.usb: irq 27, io mem 0x01c1a000
[    1.011266] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.018448] hub 1-0:1.0: USB hub found
[    1.022404] hub 1-0:1.0: 1 port detected
[    1.026992] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.033310] ohci-platform: OHCI generic platform driver
[    1.038864] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.045596] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.053669] ohci-platform 1c1a400.usb: irq 28, io mem 0x01c1a400
[    1.126427] hub 2-0:1.0: USB hub found
[    1.130257] hub 2-0:1.0: 1 port detected
[    1.137560] usbcore: registered new interface driver cdc_acm
[    1.143330] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.151449] usbcore: registered new interface driver usblp
[    1.156972] usbcore: registered new interface driver cdc_wdm
[    1.162707] usbcore: registered new interface driver usbtmc
[    1.168312] usbcore: registered new interface driver uas
[    1.173758] usbcore: registered new interface driver usb-storage
[    1.179809] usbcore: registered new interface driver ums-realtek
[    1.185905] usbcore: registered new interface driver mdc800
[    1.191501] mdc800: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800 Digital Camera
[    1.199192] usbcore: registered new interface driver microtekX6
[    1.205265] usbcore: registered new interface driver usbserial_generic
[    1.211869] usbserial: USB Serial support registered for generic
[    1.217928] usbcore: registered new interface driver ch341
[    1.223479] usbserial: USB Serial support registered for ch341-uart
[    1.229780] usbcore: registered new interface driver cp210x
[    1.235399] usbserial: USB Serial support registered for cp210x
[    1.241418] usbcore: registered new interface driver usb_debug
[    1.247272] usbserial: USB Serial support registered for debug
[    1.253158] usbserial: USB Serial support registered for xhci_dbc
[    1.259286] usbcore: registered new interface driver ftdi_sio
[    1.265081] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.272541] usbcore: registered new interface driver pl2303
[    1.278143] usbserial: USB Serial support registered for pl2303
[    1.284164] usbcore: registered new interface driver usb_serial_simple
[    1.290718] usbserial: USB Serial support registered for carelink
[    1.296869] usbserial: USB Serial support registered for zio
[    1.302581] usbserial: USB Serial support registered for funsoft
[    1.308608] usbserial: USB Serial support registered for flashloader
[    1.315002] usbserial: USB Serial support registered for google
[    1.320939] usbserial: USB Serial support registered for libtransistor
[    1.327515] usbserial: USB Serial support registered for vivopay
[    1.333563] usbserial: USB Serial support registered for moto_modem
[    1.339847] usbserial: USB Serial support registered for motorola_tetra
[    1.346496] usbserial: USB Serial support registered for novatel_gps
[    1.352879] usbserial: USB Serial support registered for hp4x
[    1.358641] usbserial: USB Serial support registered for suunto
[    1.364593] usbserial: USB Serial support registered for siemens_mpi
[    1.372460] sun4i-a10-lradc-keys 1c22800.lradc: Linked as a consumer to regulator.1
[    1.380476] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    1.389757] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    1.396662] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.401431] i2c /dev entries driver
[    1.409323] ov2640 1-0030: ov2640 Product ID 26:42 Manufacturer ID 7f:a2
[    1.416140] i2c i2c-1: OV2640 Probed
[    1.422091] Driver for 1-wire Dallas network protocol.
[    1.428312] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.436365] Bluetooth: HCI UART driver ver 2.3
[    1.440813] Bluetooth: HCI UART protocol H4 registered
[    1.445981] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[    1.452534] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.2
[    1.485302] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.492830] sunxi-mmc 1c10000.mmc: Linked as a consumer to regulator.2
[    1.523862] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    1.532346] ledtrig-cpu: registered to indicate activity on CPUs
[    1.539265] usbcore: registered new interface driver usbhid
[    1.544938] usbhid: USB HID core driver
[    1.550904] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.558536] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.565522] NET: Registered protocol family 17
[    1.570040] can: controller area network core (rev 20170425 abi 9)
[    1.576416] NET: Registered protocol family 29
[    1.580868] can: raw protocol (rev 20170425)
[    1.585189] can: broadcast manager protocol (rev 20170425 t)
[    1.590849] can: netlink gateway (rev 20170425) max_hops=1
[    1.596865] Bluetooth: RFCOMM TTY layer initialized
[    1.601910] Bluetooth: RFCOMM socket layer initialized
[    1.607092] Bluetooth: RFCOMM ver 1.11
[    1.610939] Key type dns_resolver registered
[    1.615440] Registering SWP/SWPB emulation handler
[    1.621559] Loading compiled-in X.509 certificates
[    1.631505] simple-framebuffer 43f80000.framebuffer: framebuffer at 0x43f80000, 0x7f800 bytes, mapped to 0x(ptrval)
[    1.642016] simple-framebuffer 43f80000.framebuffer: format=x8r8g8b8, mode=480x272x32, linelength=1920
[    1.654352] Console: switching to colour frame buffer device 60x34
[    1.662404] simple-framebuffer 43f80000.framebuffer: fb0: simplefb registered!
[    1.671407] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.682263] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[    1.690837] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.696686] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.704643] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.713920] hub 3-0:1.0: USB hub found
[    1.718030] mmc0: new high speed SDHC card at address 1234
[    1.725155] mmcblk0: mmc0:1234 SA32G 28.9 GiB 
[    1.730234] hub 3-0:1.0: 1 port detected
[    1.737460] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.745105] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.751672]  mmcblk0: p1 p2
[    1.757208] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.764864] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.772331] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    1.779827] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.786485] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:19:05 UTC (1145)
[    1.794954] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.806297] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.813082] vcc5v0: disabling
[    1.816055] ALSA device list:
[    1.819018]   No soundcards found.
[    1.823229] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.831922] cfg80211: failed to load regulatory.db
[    1.927169] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.935444] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.942598] devtmpfs: mounted
[    1.946905] Freeing unused kernel memory: 1024K
[    1.951937] Run /sbin/init as init process
[    2.073071] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting logging: OK
Populating /dev using udev: [    2.211071] udevd[119]: starting version 3.2.5
[    2.219006] random: udevd: uninitialized urandom read (16 bytes read)
[    2.228599] random: udevd: uninitialized urandom read (16 bytes read)
[    2.235413] random: udevd: uninitialized urandom read (16 bytes read)
[    2.282000] udevd[120]: starting eudev-3.2.5
done
Starting watchdog...
Initializing random number generator... [    4.209578] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting system message bus: [    4.259585] random: dbus-uuidgen: uninitialized urandom read (12 bytes read)
[    4.267131] random: dbus-uuidgen: uninitialized urandom read (8 bytes read)
done
Starting network: OK
Starting dhcpcd...
all: IPv6 kernel autoconf disabled
no interfaces have a carrier
forked to background, child pid 175
[    4.519391] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[    4.527059] sun4i-codec 1c22c00.codec: Failed to register our card
[    4.536465] Generic PHY 0.1:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0.1:01, irq=POLL)
[    4.549193] dwmac-sun8i 1c30000.ethernet eth0: No Safety Features support found
[    4.556707] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[    4.564393] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
Starting dropbear sshd: OK

Welcome to Buildroot
Blueberry-PI login: [    5.601852] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    8.428132] random: fast init done

Welcome to Buildroot
Blueberry-PI login: root
Password: 
root@Blueberry-PI:~#

按理来说应该是uboot显示没问题的话(这里直接采用的荔枝派提供的配置文件),Linux启动后也不会有啥问题,但是偏偏碰到了这么个问题,现在是一脸懵逼不知道从哪里下手,希望各位大佬帮忙分析下

最近编辑记录 来日方长 (2019-11-23 17:17:03)

离线

#2 2019-11-23 17:42:40

jimmy
Moderator
注册时间: 2017-10-29
累计积分: 290

Re: 求助,480*272的lcd在linux起来后不能正常显示

linux 4.14???貌似显示架构改了,你看下荔枝派nano就知道了,linux设备树要再设置一次lcd的dts.

离线

#3 2019-11-25 10:15:55

来日方长
会员
注册时间: 2019-10-25
累计积分: 6

Re: 求助,480*272的lcd在linux起来后不能正常显示

jimmy 说:

linux 4.14???貌似显示架构改了,你看下荔枝派nano就知道了,linux设备树要再设置一次lcd的dts.

太感谢了 这个问题弄了我好久

离线

#4 2019-11-25 10:18:28

歌以咏志
会员
注册时间: 2019-09-21
累计积分: 47

Re: 求助,480*272的lcd在linux起来后不能正常显示

来日方长 说:

太感谢了 这个问题弄了我好久

大神现在搞定了吗?可以显示正常了吗?

离线

#5 2019-11-25 10:21:08

来日方长
会员
注册时间: 2019-10-25
累计积分: 6

Re: 求助,480*272的lcd在linux起来后不能正常显示

歌以咏志 说:

大神现在搞定了吗?可以显示正常了吗?

可以了 能够正常显示
需要修改设备树 增加panel节点 还有pio里边得增加lcd引脚 具体的可以参考荔枝派Nano的设备树 我就是根据那个弄好的

最近编辑记录 来日方长 (2019-11-25 10:24:30)

离线

#6 2019-11-25 10:28:08

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,562

Re: 求助,480*272的lcd在linux起来后不能正常显示

可以分享一下修改后的文件吗,方便后来到这里的朋友参考。

离线

#7 2019-11-25 10:45:10

来日方长
会员
注册时间: 2019-10-25
累计积分: 6

Re: 求助,480*272的lcd在linux起来后不能正常显示

这个是修改后的设备树文件sun8i-v3s-blueberrypi-480x272LCD.zip

离线

#8 2019-11-25 10:55:58

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 8,562

Re: 求助,480*272的lcd在linux起来后不能正常显示

来日方长 说:

这个是修改后的设备树文件sun8i-v3s-blueberrypi-480x272LCD.zip

感谢您的分享!

离线

页脚