您尚未登录。

楼主 # 2023-08-08 02:17:18

domng
会员
注册时间: 2023-08-07
已发帖子: 10
积分: 10

lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

屏幕现象如下:

视频中u-boot可以成功显示,但linux阶段屏幕会变白,然后慢慢变黑。

u-boot编译时把

LCD panel timing details设置为

x:800,y:480,depth:18,pclk_khz:33000,le:87,ri:40,up:31,lo:13,hs:1,vs:1,sync:3,vmode:0

LCD panel backlight pwm pin设置为PE6

linux部分按照
按照CSDN上【f1c200s/f1c100s】RGB接口 LCD驱动适配

在suniv-f1c100s.dtsi的pio: pinctrl@1c20800中添加了

			lcd_rgb666_pins: lcd-rgb666-pins {
				pins = "PD0", "PD1", "PD2", "PD3", "PD4",
				       "PD5", "PD6", "PD7", "PD8", "PD9",
				       "PD10", "PD11", "PD12", "PD13", "PD14",
				       "PD15", "PD16", "PD17", "PD18", "PD19",
				       "PD20", "PD21";
				function = "lcd";
			};

在suniv-f1c200s-lctech-pi.dts中添加了panel的定义

        panel: panel {
                compatible = "alientek,alientek_7_inch", "simple-panel";
                #address-cells = <1>;
                #size-cells = <0>;
                #enable-gpios = <&pio 4 6 GPIO_ACTIVE_HIGH>;
                reset-gpios = <&pio 4 4 GPIO_ACTIVE_LOW>

                port@0 {
                        reg = <0>;
                        #address-cells = <1>;
                        #size-cells = <0>;

                        panel_input: endpoint@0 {
                                reg = <0>;
                                remote-endpoint = <&tcon0_out_lcd>;
                        };
                };
        };

在panel-simple.c中添加了alientek参数的定义。

但修改前后现象都是u-boot可以成功显示,但linux阶段屏幕会变白,然后慢慢变黑。。

尝试修改成panel-simple中其它屏幕的型号也不行。

linux系统下也没有/dev/fb0这个设备文件。

最后附上启动log,恳请诸位帮忙分析一下问题的原因。 smile smile smile

U-Boot SPL 2023.10-rc1-00188-g7755b22007-dirty (Aug 06 2023 - 16:31:31 +0000)
DRAM: 64 MiB
Trying to boot from MMC1


U-Boot 2023.10-rc1-00188-g7755b22007-dirty (Aug 06 2023 - 16:31:31 +0000) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lctech Pi F1C200s
DRAM:  64 MiB
Core:  30 devices, 17 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20ca0
MMC:   mmc@1c0f000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
Setting up a 800x480 lcd console (overscan 0x0)
In:    serial@1c25400
Out:   serial@1c25400
Err:   serial@1c25400
Net:   No ethernet found.
Hit any key to stop autoboot:  0
5130208 bytes read in 221 ms (22.1 MiB/s)
8520 bytes read in 3 ms (2.7 MiB/s)
Kernel image @ 0x80008000 [ 0x000000 - 0x4e47e0 ]
## Flattened Device Tree blob at 80c08000
   Booting using the fdt blob at 0x80c08000
Working FDT set to 80c08000
   Loading Device Tree to 81d78000, end 81d7d147 ... OK
Working FDT set to 81d78000
Cannot setup simplefb: node not found

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.4.8 (root@ubuntu-VMware-Virtual-Platform) (arm-none-eabi-gcc (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 12.3.1 20230626, GNU ld (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 2.40.0.20230627) #7 Mon Aug  7 15:46:13 UTC 2023
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lctech Pi F1C200s
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space.
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 51708K/65536K available (8192K kernel code, 609K rwdata, 1908K rodata, 1024K init, 261K bss, 13828K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000007] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000083] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000553] Console: colour dummy device 80x30
[    0.000642] Calibrating delay loop... 430.08 BogoMIPS (lpj=2150400)
[    0.060105] pid_max: default: 32768 minimum: 301
[    0.060453] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060497] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061561] CPU: Testing write buffer coherency: ok
[    0.064738] Setting up static identity map for 0x80100000 - 0x80100058
[    0.066088] devtmpfs: initialized
[    0.069609] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.069660] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.069838] pinctrl core: initialized pinctrl subsystem
[    0.072416] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.073437] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.074857] thermal_sys: Registered thermal governor 'step_wise'
[    0.074921] cpuidle: using governor menu
[    0.086019] SCSI subsystem initialized
[    0.086225] usbcore: registered new interface driver usbfs
[    0.086306] usbcore: registered new interface driver hub
[    0.086399] usbcore: registered new device driver usb
[    0.086765] pps_core: LinuxPPS API ver. 1 registered
[    0.086783] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.086851] PTP clock support registered
[    0.087234] Advanced Linux Sound Architecture Driver Initialized.
[    0.090265] clocksource: Switched to clocksource timer
[    0.117442] NET: Registered PF_INET protocol family
[    0.117842] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.118906] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.118967] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.118991] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.119029] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.119076] TCP: Hash tables configured (established 1024 bind 1024)
[    0.119264] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.119312] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.119671] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.120973] RPC: Registered named UNIX socket transport module.
[    0.121003] RPC: Registered udp transport module.
[    0.121011] RPC: Registered tcp transport module.
[    0.121016] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.124188] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.125470] Initialise system trusted keyrings
[    0.126509] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.128164] NFS: Registering the id_resolver key type
[    0.128275] Key type id_resolver registered
[    0.128289] Key type id_legacy registered
[    0.266176] Key type asymmetric registered
[    0.266203] Asymmetric key parser 'x509' registered
[    0.266403] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.266428] io scheduler mq-deadline registered
[    0.266438] io scheduler kyber registered
[    0.435596] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.444719] SCSI Media Changer driver v0.25
[    0.446078] usbcore: registered new interface driver usb-storage
[    0.446656] UDC core: g_ether: couldn't find an available UDC
[    0.446733] UDC core: g_cdc: couldn't find an available UDC
[    0.446939] i2c_dev: i2c /dev entries driver
[    0.448230] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.450644] usbcore: registered new interface driver usbhid
[    0.450667] usbhid: USB HID core driver
[    0.460975] NET: Registered PF_PACKET protocol family
[    0.461230] Key type dns_resolver registered
[    0.471731] Loading compiled-in X.509 certificates
[    0.489019] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.494629] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.495536] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pa not found, using dummy regulator
[    0.497033] printk: console [ttyS0] disabled
[    0.517246] 1c25400.serial: ttyS0 at MMIO 0x1c25400 (irq = 116, base_baud = 6250000) is a 16550A
[    0.517361] printk: console [ttyS0] enabled
[    1.079119] usb_phy_generic usb_phy_generic.0.auto: dummy supplies not allowed for exclusive requests
[    1.090900] g_ether gadget.0: HOST MAC fa:79:b8:77:af:90
[    1.096250] g_ether gadget.0: MAC 4e:78:dc:0c:17:20
[    1.101425] g_ether gadget.0: Ethernet Gadget, version: Memorial Day 2008
[    1.108228] g_ether gadget.0: g_ether ready
[    1.114722] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.126648] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.141216] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.146944] clk: Disabling unused clocks
[    1.151063] ALSA device list:
[    1.154043]   #0: Loopback 1
[    1.157510] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.166210] cfg80211: failed to load regulatory.db
[    1.171115] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.178659] Waiting for root device /dev/mmcblk0p2...
[    1.219618] mmc0: new high speed SDHC card at address 59b4
[    1.226737] mmcblk0: mmc0:59b4 MS    7.51 GiB
[    1.234789]  mmcblk0: p1 p2
[    2.283828] EXT4-fs (mmcblk0p2): recovery complete
[    2.293997] EXT4-fs (mmcblk0p2): mounted filesystem 5a1517ce-e9cd-4ec6-804f-77faaa1bb9d5 r/w with ordered data mode. Quota mode: disabled.
[    2.306587] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.322533] devtmpfs: mounted
[    2.327989] Freeing unused kernel image (initmem) memory: 1024K
[    2.334070] Run /sbin/init as init process
[    2.958426] systemd[1]: System time before build time, advancing clock.
[    2.994153] systemd[1]: Failed to find module 'autofs4'
[    3.053872] systemd[1]: systemd 252.12-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    3.086660] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 12 (bookworm)!

[    3.137867] systemd[1]: Hostname set to <ubuntu-VMware-Virtual-Platform>.
[    4.571173] systemd-fstab-generator[40]: Ignoring "noauto" option for root device
[    6.463922] systemd[1]: Queued start job for default target graphical.target.
[    6.485697] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[  OK  ] Created slice system-getty.slice - Slice /system/getty.
[    6.534693] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[  OK  ] Created slice system-modpr…lice - Slice /system/modprobe.
[    6.584846] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[  OK  ] Created slice system-seria… - Slice /system/serial-getty.
[    6.633143] systemd[1]: Created slice user.slice - User and Session Slice.
[  OK  ] Created slice user.slice - User and Session Slice.
[    6.671973] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started systemd-ask-passwo…quests to Console Directory Watch.
[    6.721915] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[  OK  ] Started systemd-ask-passwo… Requests to Wall Directory Watch.
[    6.762005] systemd[1]: proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point was skipped because of an unmet condition check (ConditionPathExists=/proc/sys/fs/binfmt_misc).
[    6.782727] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[  OK  ] Reached target cryptsetup.…get - Local Encrypted Volumes.
[    6.821869] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[  OK  ] Reached target integrityse…Local Integrity Protected Volumes.
[    6.862161] systemd[1]: Reached target paths.target - Path Units.
[  OK  ] Reached target paths.target - Path Units.
[    6.901617] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[  OK  ] Reached target remote-fs.target - Remote File Systems.
[    6.941303] systemd[1]: Reached target slices.target - Slice Units.
[  OK  ] Reached target slices.target - Slice Units.
[    6.982036] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[  OK  ] Reached target veritysetup… - Local Verity Protected Volumes.
[    7.023432] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[  OK  ] Listening on systemd-fsckd…sck to fsckd communication Socket.
[    7.062194] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[  OK  ] Listening on systemd-initc… initctl Compatibility Named Pipe.
[    7.147119] systemd[1]: systemd-journald-audit.socket - Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit).
[    7.163616] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[  OK  ] Listening on systemd-journ…t - Journal Socket (/dev/log).
[    7.203319] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[  OK  ] Listening on systemd-journald.socket - Journal Socket.
[    7.245590] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[  OK  ] Listening on systemd-udevd….socket - udev Control Socket.
[    7.293190] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[  OK  ] Listening on systemd-udevd…l.socket - udev Kernel Socket.
[    7.334295] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    7.352269] systemd[1]: dev-mqueue.mount - POSIX Message Queue File System was skipped because of an unmet condition check (ConditionPathExists=/proc/sys/fs/mqueue).
[    7.378915] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
         Mounting sys-kernel-debug.… - Kernel Debug File System...
[    7.433834] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[    7.452772] systemd[1]: kmod-static-nodes.service - Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/6.4.8/modules.devname).
[    7.489808] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
         Starting modprobe@configfs…m - Load Kernel Module configfs...
[    7.558684] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
         Starting modprobe@dm_mod.s…[0m - Load Kernel Module dm_mod...
[    7.627935] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
         Starting modprobe@drm.service - Load Kernel Module drm...
[    7.696776] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
         Starting modprobe@efi_psto…- Load Kernel Module efi_pstore...
[    7.765027] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
         Starting modprobe@fuse.ser…e - Load Kernel Module fuse...
[    7.834900] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
         Starting modprobe@loop.ser…e - Load Kernel Module loop...
[    7.892804] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathIsReadWrite=!/).
[    7.911515] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    7.924515] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.941145] systemd[1]: Starting systemd-journald.service - Journal Service...
         Starting systemd-journald.service - Journal Service...
[    8.016121] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
         Starting systemd-modules-l…rvice - Load Kernel Modules...
[    8.118253] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
         Starting systemd-remount-f…nt Root and Kernel File Systems...
[    8.221496] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
         Starting systemd-udev-trig…[0m - Coldplug All udev Devices...
[    8.416682] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[  OK  ] Mounted sys-kernel-debug.m…nt - Kernel Debug File System.
[    8.515299] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    8.557102] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[  OK  ] Finished modprobe@configfs…[0m - Load Kernel Module configfs.
[    8.830493] EXT4-fs (mmcblk0p2): re-mounted 5a1517ce-e9cd-4ec6-804f-77faaa1bb9d5 r/w. Quota mode: disabled.
[    8.870172] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    8.930831] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[  OK  ] Finished modprobe@dm_mod.s…e - Load Kernel Module dm_mod.
[    8.992488] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    9.021624] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[  OK  ] Finished modprobe@drm.service - Load Kernel Module drm.
[    9.056001] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    9.082726] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[  OK  ] Finished modprobe@efi_psto…m - Load Kernel Module efi_pstore.
[    9.142679] systemd[1]: Started systemd-journald.service - Journal Service.
[  OK  ] Started systemd-journald.service - Journal Service.
[  OK  ] Finished modprobe@fuse.service - Load Kernel Module fuse.
[  OK  ] Finished modprobe@loop.service - Load Kernel Module loop.
[  OK  ] Finished systemd-modules-l…service - Load Kernel Modules.
[  OK  ] Finished systemd-remount-f…ount Root and Kernel File Systems.
         Activating swap opt-images…wap.swap - /opt/images/swap...
         Mounting sys-kernel-config…ernel Configuration File System...
[    9.573941] Adding 511996k swap on /opt/images/swap.  Priority:-2 extents:4 across:1110016k SS
         Starting systemd-journal-f…h Journal to Persistent Storage...
         Starting systemd-random-se…ice - Load/Save Random Seed...
         Starting systemd-sysctl.se…ce - Apply Kernel Variables...
         Starting systemd-sysusers.…rvice - Create System Users...
[  OK  ] Activated swap opt-images-swap.swap - /opt/images/swap.
[  OK  ] Mounted sys-kernel-config.… Kernel Configuration File System.
[  OK  ] Reached target swap.target - Swaps.
[   10.281820] systemd-journald[58]: Received client request to flush runtime journal.
[   10.315505] systemd-journald[58]: File /var/log/journal/6473300491e64a0e8b2653fcf8f6153c/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  OK  ] Finished systemd-sysctl.service - Apply Kernel Variables.
[  OK  ] Finished systemd-sysusers.service - Create System Users.
         Starting systemd-tmpfiles-…ate Static Device Nodes in /dev...
[  OK  ] Finished systemd-journal-f…ush Journal to Persistent Storage.
[  OK  ] Finished systemd-tmpfiles-…reate Static Device Nodes in /dev.
[  OK  ] Reached target local-fs-pr…reparation for Local File Systems.
         Mounting tmp.mount - /tmp...
         Starting systemd-udevd.ser…ger for Device Events and Files...
[   12.530421] random: crng init done
[  OK  ] Mounted tmp.mount - /tmp.
[  OK  ] Reached target local-fs.target - Local File Systems.
         Starting systemd-binfmt.se…et Up Additional Binary Formats...
         Starting systemd-tmpfiles-… Volatile Files and Directories...
[  OK  ] Finished systemd-random-se…rvice - Load/Save Random Seed.
[FAILED] Failed to start systemd-bi… Set Up Additional Binary Formats.
See 'systemctl status systemd-binfmt.service' for details.
[  OK  ] Started systemd-udevd.serv…nager for Device Events and Files.
[  OK  ] Finished systemd-tmpfiles-…te Volatile Files and Directories.
         Starting systemd-update-ut…rd System Boot/Shutdown in UTMP...
[  OK  ] Finished systemd-udev-trig…e - Coldplug All udev Devices.
[  OK  ] Found device dev-ttyS0.device - /dev/ttyS0.
[  OK  ] Finished systemd-update-ut…cord System Boot/Shutdown in UTMP.
[  OK  ] Reached target sound.target - Sound Card.
[  OK  ] Reached target sysinit.target - System Initialization.
[  OK  ] Started apt-daily.timer - Daily apt download activities.
[  OK  ] Started apt-daily-upgrade.… apt upgrade and clean activities.
[  OK  ] Started dpkg-db-backup.tim… Daily dpkg database backup timer.
[  OK  ] Started e2scrub_all.timer??etadata Check for All Filesystems.
[  OK  ] Started fstrim.timer - Discard unused blocks once a week.
[  OK  ] Started logrotate.timer - Daily rotation of log files.
[  OK  ] Started systemd-tmpfiles-c… Cleanup of Temporary Directories.
[  OK  ] Reached target timers.target - Timer Units.
[  OK  ] Reached target usb-gadget.…m - Hardware activated USB gadget.
[  OK  ] Listening on dbus.socket??- D-Bus System Message Bus Socket.
[  OK  ] Reached target sockets.target - Socket Units.
[  OK  ] Reached target basic.target - Basic System.
[  OK  ] Started cron.service -…kground program processing daemon.
         Starting dbus.service - D-Bus System Message Bus...
         Starting e2scrub_reap.serv…e ext4 Metadata Check Snapshots...
         Starting ifupdown-pre.serv…ynchronize boot up for ifupdown...
         Starting runOnBoot.service...
         Starting systemd-logind.se…ice - User Login Management...
[  OK  ] Finished ifupdown-pre.serv… synchronize boot up for ifupdown.
         Starting networking.service - Raise network interfaces...
[  OK  ] Started dbus.service - D-Bus System Message Bus.
[   26.082918] UDC core: gg: couldn't find an available UDC or it's busy
[  OK  ] Started runOnBoot.service.
[  OK  ] Finished networking.service - Raise network interfaces.
[  OK  ] Reached target network.target - Network.
[  OK  ] Reached target network-online.target - Network is Online.
         Starting ssh.service - OpenBSD Secure Shell server...
         Starting systemd-user-sess…vice - Permit User Sessions...
[  OK  ] Started systemd-logind.service - User Login Management.
[  OK  ] Finished systemd-user-sess…ervice - Permit User Sessions.
[  OK  ] Started getty@tty1.service - Getty on tty1.
[  OK  ] Started serial-getty@ttyS0…rvice - Serial Getty on ttyS0.
[  OK  ] Reached target getty.target - Login Prompts.
[  OK  ] Started ssh.service - OpenBSD Secure Shell server.
[  OK  ] Finished e2scrub_reap.serv…ine ext4 Metadata Check Snapshots.
[  OK  ] Reached target multi-user.target - Multi-User System.
[  OK  ] Reached target graphical.target - Graphical Interface.
         Starting systemd-update-ut… Record Runlevel Change in UTMP...
[  OK  ] Finished systemd-update-ut… - Record Runlevel Change in UTMP.

Debian GNU/Linux 12 ubuntu-VMware-Virtual-Platform ttyS0

ubuntu-VMware-Virtual-Platform login:

离线

#1 2023-08-08 10:49:39

Del
会员
注册时间: 2022-05-25
已发帖子: 4
积分: 4

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

昨天我刚买了显示屏也遇到这个问题,只要在uboot启动后设置bootargs时添加console=tty0就好了

离线

楼主 #2 2023-08-08 14:25:19

domng
会员
注册时间: 2023-08-07
已发帖子: 10
积分: 10

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

Del 说:

昨天我刚买了显示屏也遇到这个问题,只要在uboot启动后设置bootargs时添加console=tty0就好了

是主线内核吗?修改过设备树以及simple-panel.c代码吗?

离线

楼主 #3 2023-08-08 22:23:38

domng
会员
注册时间: 2023-08-07
已发帖子: 10
积分: 10

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

我当前的bootargs就是 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw  把console=ttyS0改为tty0后串口没输出了,应该不是要改为tty0。。

roll roll roll

离线

楼主 #4 2023-08-08 22:43:43

domng
会员
注册时间: 2023-08-07
已发帖子: 10
积分: 10

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

目录/sys/class/graphics/下没有fb0,只有一个fbcon

离线

楼主 #5 2023-08-09 02:14:39

domng
会员
注册时间: 2023-08-07
已发帖子: 10
积分: 10

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

看晕哥回过的帖子,屏幕驱动有FB和DRM的区别,或许我的屏幕是DRM驱动?

离线

#6 2023-08-09 08:18:31

Del
会员
注册时间: 2022-05-25
已发帖子: 4
积分: 4

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

domng 说:

目录/sys/class/graphics/下没有fb0,只有一个fbcon

没有fb0,那估计驱动还没对,我也是刚用,下载的是Nano的内核`https://gitee.com/LicheePiNano/Linux.git`
里面设备树的panel节点是这样的
```code
    panel: panel {
        compatible = "qiaodian,qd43003c0-40", "simple-panel";
        #address-cells = <1>;
        #size-cells = <0>;
        enable-gpios = <&pio 4 6 GPIO_ACTIVE_HIGH>;

        port@0 {
            reg = <0>;
            #address-cells = <1>;
            #size-cells = <0>;

            panel_input: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&tcon0_out_lcd>;
            };
        };
    };
```
code
`menuconfig`里面也要相应配置Device Driver下的LCD作为Console

离线

#7 2023-08-09 08:21:09

Del
会员
注册时间: 2022-05-25
已发帖子: 4
积分: 4

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

domng 说:

我当前的bootargs就是 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw  把console=ttyS0改为tty0后串口没输出了,应该不是要改为tty0。。

roll roll roll

可以设置成console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw
这样可以串口和屏幕都有输出

离线

#8 2023-08-09 11:30:21

Fomalhaut
会员
注册时间: 2021-10-28
已发帖子: 36
积分: 31

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

主线linux内核不是还没出到6.8吗?

离线

楼主 #9 2023-08-09 12:26:43

domng
会员
注册时间: 2023-08-07
已发帖子: 10
积分: 10

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

Fomalhaut 说:

主线linux内核不是还没出到6.8吗?

写错了,是linux 6.4.8,log如下

[    0.000000] Linux version 6.4.8 (root@ubuntu-VMware-Virtual-Platform) (arm-none-eabi-gcc (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 12.3.1 20230626, GNU ld (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 2.40.0.20230627) #7 Mon Aug  7 15:46:13 UTC 2023

离线

楼主 #10 2023-08-09 12:55:13

domng
会员
注册时间: 2023-08-07
已发帖子: 10
积分: 10

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

从最新的log中看,有两行报错信息:一个是没找到supply power,另一个是没找到connector_type

[    1.085298] panel-simple panel: supply power not found, using dummy regulator
[    1.092946] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator
[    1.102105] panel-simple panel: Specify missing connector_type

完整log如下:

U-Boot SPL 2023.10-rc1-00188-g7755b22007-dirty (Aug 08 2023 - 18:38:17 +0000)
DRAM: 64 MiB
Trying to boot from MMC1


U-Boot 2023.10-rc1-00188-g7755b22007-dirty (Aug 08 2023 - 18:38:17 +0000) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lctech Pi F1C200s
DRAM:  64 MiB
Core:  30 devices, 17 uclasses, devicetree: separate
WDT:   Not starting watchdog@1c20ca0
MMC:   mmc@1c0f000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1...
Setting up a 800x480 lcd console (overscan 0x0)
In:    serial@1c25400
Out:   serial@1c25400
Err:   serial@1c25400
Net:   No ethernet found.
Hit any key to stop autoboot:  0
5130208 bytes read in 214 ms (22.9 MiB/s)
8865 bytes read in 2 ms (4.2 MiB/s)
Kernel image @ 0x80008000 [ 0x000000 - 0x4e47e0 ]
## Flattened Device Tree blob at 80c08000
   Booting using the fdt blob at 0x80c08000
Working FDT set to 80c08000
   Loading Device Tree to 81d78000, end 81d7d2a0 ... OK
Working FDT set to 81d78000
Cannot setup simplefb: node not found

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.4.8 (root@ubuntu-VMware-Virtual-Platform) (arm-none-eabi-gcc (Arm GNU Toolchain 12.3.Rel1 (Buil                                                                                                                                                                d arm-12.35)) 12.3.1 20230626, GNU ld (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 2.40.0.20230627) #7 Mon Aug  7 15:46:13                                                                                                                                                                 UTC 2023
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lctech Pi F1C200s
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space.
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 51704K/65536K available (8192K kernel code, 609K rwdata, 1908K rodata, 1024K init, 261K bss, 13832K res                                                                                                                                                                erved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000006] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000076] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000516] Console: colour dummy device 80x30
[    0.000607] Calibrating delay loop... 430.08 BogoMIPS (lpj=2150400)
[    0.060097] pid_max: default: 32768 minimum: 301
[    0.060448] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.060491] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.061565] CPU: Testing write buffer coherency: ok
[    0.064747] Setting up static identity map for 0x80100000 - 0x80100058
[    0.066103] devtmpfs: initialized
[    0.070053] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.070180] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.070388] pinctrl core: initialized pinctrl subsystem
[    0.072887] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.073729] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.075129] thermal_sys: Registered thermal governor 'step_wise'
[    0.075192] cpuidle: using governor menu
[    0.087656] SCSI subsystem initialized
[    0.087861] usbcore: registered new interface driver usbfs
[    0.087936] usbcore: registered new interface driver hub
[    0.088023] usbcore: registered new device driver usb
[    0.088371] pps_core: LinuxPPS API ver. 1 registered
[    0.088388] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.088425] PTP clock support registered
[    0.088811] Advanced Linux Sound Architecture Driver Initialized.
[    0.091841] clocksource: Switched to clocksource timer
[    0.119083] NET: Registered PF_INET protocol family
[    0.119493] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.120561] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.120624] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.120649] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.120682] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.120730] TCP: Hash tables configured (established 1024 bind 1024)
[    0.120919] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.120969] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.121326] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.122638] RPC: Registered named UNIX socket transport module.
[    0.122668] RPC: Registered udp transport module.
[    0.122675] RPC: Registered tcp transport module.
[    0.122681] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.125851] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.127147] Initialise system trusted keyrings
[    0.128189] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.129925] NFS: Registering the id_resolver key type
[    0.130027] Key type id_resolver registered
[    0.130042] Key type id_legacy registered
[    0.271459] Key type asymmetric registered
[    0.271485] Asymmetric key parser 'x509' registered
[    0.271689] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.271716] io scheduler mq-deadline registered
[    0.271726] io scheduler kyber registered
[    0.441279] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.450905] SCSI Media Changer driver v0.25
[    0.452401] usbcore: registered new interface driver usb-storage
[    0.452991] UDC core: g_ether: couldn't find an available UDC
[    0.453069] UDC core: g_cdc: couldn't find an available UDC
[    0.453287] i2c_dev: i2c /dev entries driver
[    0.454618] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.456948] usbcore: registered new interface driver usbhid
[    0.456969] usbhid: USB HID core driver
[    0.467392] NET: Registered PF_PACKET protocol family
[    0.467613] Key type dns_resolver registered
[    0.478111] Loading compiled-in X.509 certificates
[    0.495606] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.501105] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.502056] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pa not found, using dummy regulator
[    0.503527] printk: console [ttyS0] disabled
[    0.523748] 1c25400.serial: ttyS0 at MMIO 0x1c25400 (irq = 116, base_baud = 6250000) is a 16550A
[    0.523863] printk: console [ttyS0] enabled
[    1.085298] panel-simple panel: supply power not found, using dummy regulator
[    1.092946] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator
[    1.102105] panel-simple panel: Specify missing connector_type
[    1.109212] usb_phy_generic usb_phy_generic.0.auto: dummy supplies not allowed for exclusive requests
[    1.120906] g_ether gadget.0: HOST MAC 86:5a:b6:40:14:41
[    1.126345] g_ether gadget.0: MAC 56:9f:c1:b8:67:08
[    1.131446] g_ether gadget.0: Ethernet Gadget, version: Memorial Day 2008
[    1.138311] g_ether gadget.0: g_ether ready
[    1.144774] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.156741] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.171150] Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.176959] clk: Disabling unused clocks
[    1.181003] ALSA device list:
[    1.184041]   #0: Loopback 1
[    1.187525] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.196224] cfg80211: failed to load regulatory.db
[    1.201098] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.208684] Waiting for root device /dev/mmcblk0p2...
[    1.253424] mmc0: new high speed SDXC card at address aaaa
[    1.260451] mmcblk0: mmc0:aaaa SH128 119 GiB
[    1.268600]  mmcblk0: p1 p2
[    1.736439] EXT4-fs (mmcblk0p2): mounted filesystem 6e9dda79-fdd3-4b64-871d-044c29b524bb r/w with ordered data mode. Quota                                                                                                                                                                 mode: disabled.
[    1.749039] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.763186] devtmpfs: mounted
[    1.768638] Freeing unused kernel image (initmem) memory: 1024K
[    1.774736] Run /sbin/init as init process
[    2.414910] systemd[1]: System time before build time, advancing clock.
[    2.446275] systemd[1]: Failed to find module 'autofs4'
[    2.503801] systemd[1]: systemd 252.12-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOM                                                                                                                                                                P +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALIT                                                                                                                                                                Y +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    2.536640] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 12 (bookworm)!

[    2.579217] systemd[1]: Hostname set to <ubuntu-VMware-Virtual-Platform>.
[    4.059314] systemd-fstab-generator[40]: Ignoring "noauto" option for root device
[    5.968609] systemd[1]: Queued start job for default target graphical.target.
[    5.989431] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[  OK  ] Created slice system-getty.slice - Slice /system/getty.
[    6.036227] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[  OK  ] Created slice system-modprlice - Slice /system/modprobe.
[    6.086136] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[  OK  ] Created slice system-seria - Slice /system/serial-getty.
[    6.134514] systemd[1]: Created slice user.slice - User and Session Slice.
[  OK  ] Created slice user.slice - User and Session Slice.
[    6.173444] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started systemd-ask-passwoquests to Console Directory Watch.
[    6.223343] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[  OK  ] Started systemd-ask-passwo Requests to Wall Directory Watch.
[    6.263709] systemd[1]: proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point w                                                                                                                                                                as skipped because of an unmet condition check (ConditionPathExists=/proc/sys/fs/binfmt_misc).
[    6.284342] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[  OK  ] Reached target cryptsetup.get - Local Encrypted Volumes.
[    6.323443] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[  OK  ] Reached target integrityseLocal Integrity Protected Volumes.
[    6.363663] systemd[1]: Reached target paths.target - Path Units.
[  OK  ] Reached target paths.target - Path Units.
[    6.403049] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[  OK  ] Reached target remote-fs.target - Remote File Systems.
[    6.442997] systemd[1]: Reached target slices.target - Slice Units.
[  OK  ] Reached target slices.target - Slice Units.
[    6.483733] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[  OK  ] Reached target veritysetup - Local Verity Protected Volumes.
[    6.525031] systemd[1]: Listening on systemd-fsckd.socket - fsck to fsckd communication Socket.
[  OK  ] Listening on systemd-fsckdsck to fsckd communication Socket.
[    6.563725] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[  OK  ] Listening on systemd-initc initctl Compatibility Named Pipe.
[    6.650422] systemd[1]: systemd-journald-audit.socket - Journal Audit Socket was skipped because of an unmet condition chec                                                                                                                                                                k (ConditionSecurity=audit).
[    6.667295] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[  OK  ] Listening on systemd-journt - Journal Socket (/dev/log).
[    6.715320] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[  OK  ] Listening on systemd-journald.socket - Journal Socket.
[    6.756948] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[  OK  ] Listening on systemd-udevd.socket - udev Control Socket.
[    6.805593] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[  OK  ] Listening on systemd-udevdl.socket - udev Kernel Socket.
[    6.855424] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (Condi                                                                                                                                                                tionPathExists=/sys/kernel/mm/hugepages).
[    6.873125] systemd[1]: dev-mqueue.mount - POSIX Message Queue File System was skipped because of an unmet condition check                                                                                                                                                                 (ConditionPathExists=/proc/sys/fs/mqueue).
[    6.898699] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
         Mounting sys-kernel-debug. - Kernel Debug File System...
[    6.944994] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check                                                                                                                                                                 (ConditionPathExists=/sys/kernel/tracing).
[    6.964111] systemd[1]: kmod-static-nodes.service - Create List of Static Device Nodes was skipped because of an unmet cond                                                                                                                                                                ition check (ConditionFileNotEmpty=/lib/modules/6.4.8/modules.devname).
[    6.997461] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
         Starting modprobe@configfsm - Load Kernel Module configfs...
[    7.068659] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
         Starting modprobe@dm_mod.s[0m - Load Kernel Module dm_mod...
[    7.143420] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
         Starting modprobe@drm.service - Load Kernel Module drm...
[    7.185194] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
         Starting modprobe@efi_psto- Load Kernel Module efi_pstore...
[    7.268164] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
         Starting modprobe@fuse.sere - Load Kernel Module fuse...
[    7.338446] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
         Starting modprobe@loop.sere - Load Kernel Module loop...
[    7.394421] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condit                                                                                                                                                                ion check (ConditionPathIsReadWrite=!/).
[    7.412966] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF                                                                                                                                                                /cgroup firewalling.
[    7.425970] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.449146] systemd[1]: Starting systemd-journald.service - Journal Service...
         Starting systemd-journald.service - Journal Service...
[    7.499632] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
         Starting systemd-modules-lrvice - Load Kernel Modules...
[    7.570730] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
         Starting systemd-remount-fnt Root and Kernel File Systems...
[    7.670617] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
         Starting systemd-udev-trig[0m - Coldplug All udev Devices...
[    7.829559] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[  OK  ] Mounted sys-kernel-debug.mnt - Kernel Debug File System.
[    7.926955] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    7.973049] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[  OK  ] Finished modprobe@configfs[0m - Load Kernel Module configfs.
[    8.271340] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    8.313178] EXT4-fs (mmcblk0p2): re-mounted 6e9dda79-fdd3-4b64-871d-044c29b524bb r/w. Quota mode: disabled.
[    8.358662] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[  OK  ] Finished modprobe@dm_mod.se - Load Kernel Module dm_mod.
[    8.463666] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    8.492718] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[  OK  ] Finished modprobe@drm.service - Load Kernel Module drm.
[    8.527241] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    8.564560] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[  OK  ] Finished modprobe@efi_pstom - Load Kernel Module efi_pstore.
[    8.607155] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    8.634181] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[  OK  ] Finished modprobe@fuse.service - Load Kernel Module fuse.
[    8.694195] systemd[1]: Started systemd-journald.service - Journal Service.
[  OK  ] Started systemd-journald.service - Journal Service.
[  OK  ] Finished modprobe@loop.service - Load Kernel Module loop.
[  OK  ] Finished systemd-modules-lservice - Load Kernel Modules.
[  OK  ] Finished systemd-remount-fount Root and Kernel File Systems.
         Activating swap opt-imageswap.swap - /opt/images/swap...
         Mounting sys-kernel-configernel Configuration File System...
[    9.038178] Adding 511996k swap on /opt/images/swap.  Priority:-2 extents:4 across:50450428k SS
         Starting systemd-journal-fh Journal to Persistent Storage...
         Starting systemd-random-seice - Load/Save Random Seed...
         Starting systemd-sysctl.sece - Apply Kernel Variables...
         Starting systemd-sysusers.rvice - Create System Users...
[  OK  ] Activated swap opt-images-swap.swap - /opt/images/swap.
[  OK  ] Mounted sys-kernel-config. Kernel Configuration File System.
[  OK  ] Reached target swap.target - Swaps.
[    9.800153] systemd-journald[58]: Received client request to flush runtime journal.
[    9.857470] systemd-journald[58]: File /var/log/journal/6473300491e64a0e8b2653fcf8f6153c/system.journal corrupted or unclea                                                                                                                                                                nly shut down, renaming and replacing.
[  OK  ] Finished systemd-sysctl.service - Apply Kernel Variables.
[  OK  ] Finished systemd-sysusers.service - Create System Users.
         Starting systemd-tmpfiles-ate Static Device Nodes in /dev...
[  OK  ] Finished systemd-tmpfiles-reate Static Device Nodes in /dev.
[  OK  ] Reached target local-fs-prreparation for Local File Systems.
         Mounting tmp.mount - /tmp...
         Starting systemd-udevd.serger for Device Events and Files...
[  OK  ] Mounted tmp.mount - /tmp.
[  OK  ] Reached target local-fs.target - Local File Systems.
         Starting systemd-binfmt.seet Up Additional Binary Formats...
[  OK  ] Finished systemd-journal-fush Journal to Persistent Storage.
         Starting systemd-tmpfiles- Volatile Files and Directories...
[   11.951994] random: crng init done
[  OK  ] Finished systemd-random-service - Load/Save Random Seed.
[FAILED] Failed to start systemd-bi Set Up Additional Binary Formats.
See 'systemctl status systemd-binfmt.service' for details.
[  OK  ] Started systemd-udevd.servnager for Device Events and Files.
[  OK  ] Finished systemd-tmpfiles-te Volatile Files and Directories.
         Starting systemd-update-utrd System Boot/Shutdown in UTMP...
[  OK  ] Finished systemd-update-utcord System Boot/Shutdown in UTMP.
[  OK  ] Found device dev-ttyS0.device - /dev/ttyS0.
[  OK  ] Finished systemd-udev-trige - Coldplug All udev Devices.
[  OK  ] Reached target sound.target - Sound Card.
[  OK  ] Reached target sysinit.target - System Initialization.
[  OK  ] Started apt-daily.timer - Daily apt download activities.
[  OK  ] Started apt-daily-upgrade. apt upgrade and clean activities.
[  OK  ] Started dpkg-db-backup.tim Daily dpkg database backup timer.
[  OK  ] Started e2scrub_all.timer??etadata Check for All Filesystems.
[  OK  ] Started fstrim.timer - Discard unused blocks once a week.
[  OK  ] Started logrotate.timer - Daily rotation of log files.
[  OK  ] Started systemd-tmpfiles-c Cleanup of Temporary Directories.
[  OK  ] Reached target timers.target - Timer Units.
[  OK  ] Reached target usb-gadget.m - Hardware activated USB gadget.
[  OK  ] Listening on dbus.socket??- D-Bus System Message Bus Socket.
[  OK  ] Reached target sockets.target - Socket Units.
[  OK  ] Reached target basic.target - Basic System.
[  OK  ] Started cron.service -kground program processing daemon.
         Starting dbus.service - D-Bus System Message Bus...
         Starting e2scrub_reap.serve ext4 Metadata Check Snapshots...
         Starting ifupdown-pre.servynchronize boot up for ifupdown...
         Starting runOnBoot.service...
         Starting systemd-logind.seice - User Login Management...
[  OK  ] Finished ifupdown-pre.serv synchronize boot up for ifupdown.
         Starting networking.service - Raise network interfaces...
[   25.252732] UDC core: gg: couldn't find an available UDC or it's busy
[  OK  ] Started dbus.service - D-Bus System Message Bus.
[  OK  ] Started runOnBoot.service.
[  OK  ] Finished networking.service - Raise network interfaces.
[  OK  ] Reached target network.target - Network.
[  OK  ] Reached target network-online.target - Network is Online.
         Starting ssh.service - OpenBSD Secure Shell server...
         Starting systemd-user-sessvice - Permit User Sessions...
[  OK  ] Started systemd-logind.service - User Login Management.
[  OK  ] Finished systemd-user-sesservice - Permit User Sessions.
[  OK  ] Started getty@tty1.service - Getty on tty1.
[  OK  ] Started serial-getty@ttyS0rvice - Serial Getty on ttyS0.
[  OK  ] Reached target getty.target - Login Prompts.
[  OK  ] Started ssh.service - OpenBSD Secure Shell server.
[  OK  ] Finished e2scrub_reap.servine ext4 Metadata Check Snapshots.
[  OK  ] Reached target multi-user.target - Multi-User System.
[  OK  ] Reached target graphical.target - Graphical Interface.
         Starting systemd-update-ut Record Runlevel Change in UTMP...
[  OK  ] Finished systemd-update-ut - Record Runlevel Change in UTMP.

Debian GNU/Linux 12 ubuntu-VMware-Virtual-Platform ttyS0

ubuntu-VMware-Virtual-Platform login:

最近编辑记录 domng (2023-08-09 12:55:32)

离线

#11 2023-08-09 20:40:07

Fomalhaut
会员
注册时间: 2021-10-28
已发帖子: 36
积分: 31

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

设备树是不是enable-gpios前面多了个#?

离线

楼主 #12 2023-08-09 23:13:18

domng
会员
注册时间: 2023-08-07
已发帖子: 10
积分: 10

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

Fomalhaut 说:

设备树是不是enable-gpios前面多了个#?

这是我注释掉的,因为我看网上的教程,这一行有的是enable gpio 有的是reset gpio。
以前试过注释掉其中一行,屏幕还是同样的现象。

刚才试了把两行都取消注释,屏幕也还是同样的现象,感觉问题不是在这附近。

离线

楼主 #13 2023-08-21 03:12:30

domng
会员
注册时间: 2023-08-07
已发帖子: 10
积分: 10

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

今天又按照这位博主的方法用linux 6.4.11从头到尾修改了一遍 。

不过因为我的屏幕是800x480的屏幕,所以屏幕型号从ampire,am-480272h3tmqw-t01h改成了urt,umsh-8596md-t

【f1c200s笔记五】点亮屏幕

但屏幕还是没显示。。

离线

#15 2023-08-22 12:39:44

15615756201
会员
注册时间: 2023-08-22
已发帖子: 5
积分: 0

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

可以看全志官方的移植教程

离线

#16 2023-08-26 12:30:14

Fomalhaut
会员
注册时间: 2021-10-28
已发帖子: 36
积分: 31

Re: lctech pi F1C200S u-boot RGB 屏幕正常显示,但Linux 6.8主线内核无法显示

@domng
设备树文件是用#注释的吗?我记得是/**/啊。

离线

页脚

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

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