F1C200s使用panel simple点亮屏幕白屏问题?
-
如题,使用F1C200s,uboot、kernel、rootfs启动正常。使用的屏幕为40Pin RGB 800*480屏幕。
使用Linux5.2主线内核修改设备树和sun4i_tcon.c、sun4i_drv.c、sun4i_backend.c以及panel_simple.c文件后可以正常点亮屏幕,输出内容正常,可以正常看到logo。
在使用Linux5.7.1内核使用同5.2版本一样的设备树,对以上文件做同样的修改后,上电白屏,网上没有5.7.1版本的教程,特来求助。两个版本的启动log如下:
// 5.2内核正常启动
U-Boot SPL 2018.01-05679-g013ca45-dirty (Jan 08 2023 - 14:52:27) DRAM: 64 MiB Trying to boot from MMC1 U-Boot 2018.01-05679-g013ca45-dirty (Jan 08 2023 - 14:52:27 +0800) Allwinner Technology CPU: Allwinner F Series (SUNIV) Model: Lichee Pi Nano DRAM: 64 MiB MMC: SUNXI SD/MMC: 0 In: serial@1c25000 Out: serial@1c25000 Err: serial@1c25000 Net: No ethernet found. starting USB... No controllers found Hit any key to stop autoboot: 0 reading zImage 4172352 bytes read in 215 ms (18.5 MiB/s) reading suniv-f1c100s-licheepi-nano.dtb 8003 bytes read in 26 ms (299.8 KiB/s) ## Flattened Device Tree blob at 80c08000 Booting using the fdt blob at 0x80c08000 Loading Device Tree to 816fb000, end 816fff42 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.2.0 (project01@likaiqin-virtual-machine) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #11 Mon Jan 9 21:14:14 CST 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: Lichee Pi Nano [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: bootargs=console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw drm.debug=0x1f debug [ 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: 55168K/65536K available (6144K kernel code, 240K rwdata, 1556K rodata, 1024K init, 241K bss, 10368K 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.000000] random: get_random_bytes called from start_kernel+0x254/0x42c with crng_init=0 [ 0.000047] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000126] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000666] Console: colour dummy device 80x30 [ 0.001453] printk: console [tty0] enabled [ 0.001561] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808) [ 0.070304] pid_max: default: 32768 minimum: 301 [ 0.070772] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.070868] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.072534] CPU: Testing write buffer coherency: ok [ 0.074486] Setting up static identity map for 0x80100000 - 0x80100058 [ 0.076767] devtmpfs: initialized [ 0.083849] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.084023] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.084368] pinctrl core: initialized pinctrl subsystem [ 0.086796] NET: Registered protocol family 16 [ 0.088415] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.090685] cpuidle: using governor menu [ 0.144601] SCSI subsystem initialized [ 0.145044] usbcore: registered new interface driver usbfs [ 0.145310] usbcore: registered new interface driver hub [ 0.145556] usbcore: registered new device driver usb [ 0.146098] pps_core: LinuxPPS API ver. 1 registered [ 0.146180] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.146313] PTP clock support registered [ 0.146912] Advanced Linux Sound Architecture Driver Initialized. [ 0.148742] clocksource: Switched to clocksource timer [ 0.178202] NET: Registered protocol family 2 [ 0.179957] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) [ 0.180142] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.180253] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.180340] TCP: Hash tables configured (established 1024 bind 1024) [ 0.180666] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.180787] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.181366] NET: Registered protocol family 1 [ 0.182913] RPC: Registered named UNIX socket transport module. [ 0.183026] RPC: Registered udp transport module. [ 0.183080] RPC: Registered tcp transport module. [ 0.183128] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.185634] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.187771] Initialise system trusted keyrings [ 0.188418] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.212263] NFS: Registering the id_resolver key type [ 0.212427] Key type id_resolver registered [ 0.212487] Key type id_legacy registered [ 0.218551] Key type asymmetric registered [ 0.218654] Asymmetric key parser 'x509' registered [ 0.218991] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.219095] io scheduler mq-deadline registered [ 0.219148] io scheduler kyber registered [ 0.230774] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.231694] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator [ 0.233277] pwm-backlight backlight: backlight supply power not found, using dummy regulator [ 0.491053] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.518287] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 22, base_baud = 6250000) is a 16550A [ 0.970447] printk: console [ttyS0] enabled [ 0.975794] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator [ 1.008125] 1c25400.serial: ttyS1 at MMIO 0x1c25400 (irq = 23, base_baud = 6250000) is a 16550A [ 1.018971] [drm:drm_core_init] Initialized [ 1.023690] [drm:sun4i_drv_probe] Adding component /soc/display-backend@1e60000 [ 1.031372] [drm:sun4i_drv_probe] Adding component /soc/lcd-controller@1c0c000 [ 1.038865] [drm:sun4i_drv_traverse_endpoints] Endpoint is our panel... skipping [ 1.048124] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator [ 1.061334] [drm:compare_of] Comparing of node /soc/display-backend@1e60000 with /soc/display-backend@1e60000 [ 1.071494] [drm:compare_of] Comparing of node /soc/display-backend@1e60000 with /soc/lcd-controller@1c0c000 [ 1.087812] SCSI Media Changer driver v0.25 [ 1.093637] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.100360] ehci-platform: EHCI generic platform driver [ 1.105960] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.112361] ohci-platform: OHCI generic platform driver [ 1.118095] usbcore: registered new interface driver usb-storage [ 1.125027] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers [ 1.134233] i2c /dev entries driver [ 1.141897] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator [ 1.179915] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB [ 1.189630] usbcore: registered new interface driver usbhid [ 1.195275] usbhid: USB HID core driver [ 1.215590] NET: Registered protocol family 17 [ 1.220484] Key type dns_resolver registered [ 1.227375] Loading compiled-in X.509 certificates [ 1.241677] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator [ 1.252689] [drm:compare_of] Comparing of node /soc/display-backend@1e60000 with /soc/lcd-controller@1c0c000 [ 1.262731] [drm:compare_of] Comparing of node /soc/lcd-controller@1c0c000 with /soc/lcd-controller@1c0c000 [ 1.273109] sun4i-backend 1e60000.display-backend: Couldn't find matching frontend, frontend features disabled [ 1.284054] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc073b2f4) [ 1.293200] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0739f4c) [ 1.301079] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.307730] [drm] No driver support for vblank timestamp query. [ 1.313807] [drm:drm_minor_register] [ 1.317529] [drm:drm_minor_register] [ 1.322224] [drm:drm_minor_register] new minor registered 0 [ 1.328333] [drm:drm_sysfs_connector_add] adding "Unknown-1" to sysfs [ 1.334987] [drm:drm_sysfs_hotplug_event] generating hotplug event [ 1.341450] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0 [ 1.349396] [drm:drm_mode_object_get] OBJ ID: 48 (2) [ 1.354423] [drm:drm_setup_crtcs] [ 1.357880] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:48:Unknown-1] [ 1.365595] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:48:Unknown-1] status updated from unknown to connected [ 1.376899] [drm:sun4i_rgb_mode_valid] Validating modes... [ 1.382507] [drm:sun4i_rgb_mode_valid] Horizontal parameters OK [ 1.388472] [drm:sun4i_rgb_mode_valid] Vertical parameters OK [ 1.394313] [drm:sun4i_rgb_mode_valid] RGB panel used, skipping clock rate checks [ 1.394334] [drm:sun4i_rgb_mode_valid] Clock rate OK [ 1.407190] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:48:Unknown-1] probed modes : [ 1.416262] [drm:drm_mode_debug_printmodeline] Modeline "800x480": 60 31000 800 848 888 976 480 483 496 528 0x48 0x0 [ 1.426923] [drm:drm_setup_crtcs] connector 48 enabled? yes [ 1.432613] [drm:drm_setup_crtcs] Not using firmware configuration [ 1.438905] [drm:drm_setup_crtcs] looking for cmdline mode on connector 48 [ 1.445826] [drm:drm_setup_crtcs] looking for preferred mode on connector 48 0 [ 1.453153] [drm:drm_setup_crtcs] found mode 800x480 [ 1.458164] [drm:drm_setup_crtcs] picking CRTCs for 8192x8192 config [ 1.464628] [drm:drm_setup_crtcs] desired mode 800x480 set on crtc 46 (0,0) [ 1.471701] [drm:drm_mode_object_get] OBJ ID: 48 (2) [ 1.476719] [drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 0 primary plane [ 1.484683] [drm:drm_fb_helper_generic_probe] surface width(800), height(480) and bpp(32) [ 1.498149] [drm:drm_mode_addfb2] [FB:49] [ 1.502410] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (2) [ 1.509178] [drm:drm_sysfs_hotplug_event] generating hotplug event [ 1.516796] [drm:drm_atomic_state_init] Allocated atomic state (ptrval) [ 1.516846] [drm:drm_atomic_get_plane_state] Added [PLANE:30:plane-0] (ptrval) state to (ptrval) [ 1.516879] [drm:drm_atomic_get_plane_state] Added [PLANE:34:plane-1] (ptrval) state to (ptrval) [ 1.516930] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:34:plane-1] state (ptrval) [ 1.516966] [drm:drm_atomic_get_plane_state] Added [PLANE:38:plane-2] (ptrval) state to (ptrval) [ 1.517081] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:38:plane-2] state (ptrval) [ 1.517121] [drm:drm_atomic_get_plane_state] Added [PLANE:42:plane-3] (ptrval) state to (ptrval) [ 1.517149] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:42:plane-3] state (ptrval) [ 1.517190] [drm:drm_atomic_get_crtc_state] Added [CRTC:46:crtc-0] (ptrval) state to (ptrval) [ 1.517257] [drm:drm_atomic_set_mode_for_crtc] Set [MODE:800x480] for [CRTC:46:crtc-0] state (ptrval) [ 1.517290] [drm:drm_atomic_set_crtc_for_plane] Link [PLANE:30:plane-0] state (ptrval) to [CRTC:46:crtc-0] [ 1.517322] [drm:drm_atomic_set_fb_for_plane] Set [FB:49] for [PLANE:30:plane-0] state (ptrval) [ 1.517339] [drm:drm_mode_object_get] OBJ ID: 49 (1) [ 1.517375] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:46:crtc-0] to (ptrval) [ 1.517410] [drm:drm_mode_object_get] OBJ ID: 48 (3) [ 1.517436] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:48:Unknown-1] (ptrval) state to (ptrval) [ 1.517452] [drm:drm_mode_object_get] OBJ ID: 48 (4) [ 1.517482] [drm:drm_atomic_set_crtc_for_connector] Link [CONNECTOR:48:Unknown-1] state (ptrval) to [CRTC:46:crtc-0] [ 1.517504] [drm:drm_atomic_check_only] checking (ptrval) [ 1.517560] [drm:drm_atomic_helper_check_modeset] [CRTC:46:crtc-0] mode changed [ 1.517580] [drm:drm_atomic_helper_check_modeset] [CRTC:46:crtc-0] enable changed [ 1.517599] [drm:drm_atomic_helper_check_modeset] [CRTC:46:crtc-0] active changed [ 1.517633] [drm:drm_atomic_helper_check_modeset] Updating routing for [CONNECTOR:48:Unknown-1] [ 1.517666] [drm:drm_atomic_helper_check_modeset] [CONNECTOR:48:Unknown-1] using [ENCODER:47:None-47] on [CRTC:46:crtc-0] [ 1.517690] [drm:drm_atomic_helper_check_modeset] [CRTC:46:crtc-0] needs all connectors, enable: y, active: y [ 1.517721] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:46:crtc-0] to (ptrval) [ 1.517750] [drm:drm_atomic_add_affected_planes] Adding all current planes for [CRTC:46:crtc-0] to (ptrval) [ 1.517784] [drm:sun4i_rgb_mode_valid] Validating modes... [ 1.517800] [drm:sun4i_rgb_mode_valid] Horizontal parameters OK [ 1.517815] [drm:sun4i_rgb_mode_valid] Vertical parameters OK [ 1.517830] [drm:sun4i_rgb_mode_valid] RGB panel used, skipping clock rate checks [ 1.517845] [drm:sun4i_rgb_mode_valid] Clock rate OK [ 1.517878] [drm:drm_atomic_normalize_zpos] [CRTC:46:crtc-0] calculating normalized zpos values [ 1.517902] [drm:drm_atomic_normalize_zpos] [PLANE:30:plane-0] processing zpos value 0 [ 1.517921] [drm:drm_atomic_normalize_zpos] [PLANE:30:plane-0] normalized zpos value 0 [ 1.517954] [drm:sun4i_backend_atomic_check] Starting checking our planes [ 1.517982] [drm:sun4i_backend_plane_uses_scaler] Input size 800x480, output size 800x480 [ 1.518015] [drm:sun4i_backend_atomic_check] Plane FB format is XR24 little-endian (0x34325258) [ 1.518032] [drm:sun4i_backend_atomic_check] Plane zpos is 0 [ 1.518057] [drm:sun4i_backend_atomic_check] State valid with 1 planes, 0 alpha, 0 video, 0 YUV [ 1.518084] [drm:drm_atomic_commit] committing (ptrval) [ 1.518172] [drm:drm_calc_timestamping_constants] crtc 46: hwmode: htotal 976, vtotal 528, vdisplay 480 [ 1.518201] [drm:drm_calc_timestamping_constants] crtc 46: clock 31000 kHz framedur 16623483 linedur 31483 [ 1.518233] [drm:drm_atomic_helper_commit_modeset_disables] modeset on [CRTC:46:crtc-0] [ 1.522507] [drm:sun4i_tcon_get_clk_delay] TCON 0 clock delay 30 [ 1.522589] [drm:sun4i_tcon_mode_set] Setting horizontal total 976, backporch 128 [ 1.522612] [drm:sun4i_tcon_mode_set] Setting vertical total 528, backporch 45 [ 1.522632] [drm:sun4i_tcon_mode_set] Setting HSYNC 40, VSYNC 13 [ 1.522661] [drm:sun4i_tcon_set_mux.constprop.5] Muxing encoder None-47 to CRTC crtc-0: -524 [ 1.522700] [drm:drm_atomic_helper_commit_modeset_disables] modeset on [ENCODER:47:None-47] [ 1.522725] [drm:drm_atomic_helper_commit_modeset_enables] enabling [CRTC:46:crtc-0] [ 1.522742] [drm:sun4i_crtc_atomic_enable] Enabling the CRTC [ 1.522801] [drm:drm_atomic_helper_commit_modeset_enables] enabling [ENCODER:47:None-47] [ 1.522819] [drm:sun4i_rgb_encoder_enable] Enabling RGB output [ 1.522862] [drm:sun4i_crtc_enable_vblank] Enabling VBLANK on crtc (ptrval) [ 1.522880] [drm:sun4i_tcon_enable_vblank] Enabling VBLANK interrupt [ 1.522915] [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0 [ 1.522971] [drm:sun4i_backend_update_layer_formats] Switching display backend interlaced mode off [ 1.523000] [drm:sun4i_backend_update_layer_buffer] Layer line width: 25600 bits [ 1.523027] [drm:sun4i_backend_update_layer_buffer] Setting buffer address to 0x03000000 [ 1.523046] [drm:sun4i_backend_update_layer_buffer] Setting address lower bits to 0x18000000 [ 1.523065] [drm:sun4i_backend_update_layer_buffer] Setting address high bits to 0x0 [ 1.523085] [drm:sun4i_backend_update_layer_coord] Updating layer 0 [ 1.523106] [drm:sun4i_backend_update_layer_coord] Primary layer, updating global size W: 800 H: 480 [ 1.523126] [drm:sun4i_backend_update_layer_coord] Layer size W: 800 H: 480 [ 1.523145] [drm:sun4i_backend_update_layer_coord] Layer coordinates X: 0 Y: 0 [ 1.523168] [drm:sun4i_backend_update_layer_zpos] Setting layer 0's priority to 0 and pipe 0 [ 1.523187] [drm:sun4i_backend_layer_enable] Enabling layer 0 [ 1.523208] [drm:sun4i_crtc_atomic_flush] Committing plane changes [ 1.523223] [drm:sun4i_backend_commit] Committing changes [ 1.539569] [drm:drm_atomic_state_default_clear] Clearing atomic state (ptrval) [ 1.539663] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (5) [ 1.539709] [drm:__drm_atomic_state_free] Freeing atomic state (ptrval) [ 1.539930] [drm:drm_atomic_state_init] Allocated atomic state (ptrval) [ 1.539965] [drm:drm_mode_object_get] OBJ ID: 49 (2) [ 1.539994] [drm:drm_atomic_get_plane_state] Added [PLANE:30:plane-0] (ptrval) state to (ptrval) [ 1.540028] [drm:drm_mode_object_get] OBJ ID: 50 (1) [ 1.540055] [drm:drm_atomic_get_crtc_state] Added [CRTC:46:crtc-0] (ptrval) state to (ptrval) [ 1.540084] [drm:drm_atomic_get_plane_state] Added [PLANE:34:plane-1] (ptrval) state to (ptrval) [ 1.540130] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:34:plane-1] state (ptrval) [ 1.540165] [drm:drm_atomic_get_plane_state] Added [PLANE:38:plane-2] (ptrval) state to (ptrval) [ 1.540192] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:38:plane-2] state (ptrval) [ 1.540221] [drm:drm_atomic_get_plane_state] Added [PLANE:42:plane-3] (ptrval) state to (ptrval) [ 1.540246] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:42:plane-3] state (ptrval) [ 1.540290] [drm:drm_atomic_set_fb_for_plane] Set [FB:49] for [PLANE:30:plane-0] state (ptrval) [ 1.540307] [drm:drm_mode_object_get] OBJ ID: 49 (3) [ 1.540325] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (4) [ 1.540358] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:46:crtc-0] to (ptrval) [ 1.540388] [drm:drm_mode_object_get] OBJ ID: 48 (5) [ 1.540402] [drm:drm_mode_object_get] OBJ ID: 48 (6) [ 1.540427] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:48:Unknown-1] (ptrval) state to (ptrval) [ 1.540447] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (6) [ 1.540477] [drm:drm_atomic_set_crtc_for_connector] Link [CONNECTOR:48:Unknown-1] state (ptrval) to [NOCRTC] [ 1.540496] [drm:drm_mode_object_get] OBJ ID: 48 (5) [ 1.540525] [drm:drm_atomic_set_crtc_for_connector] Link [CONNECTOR:48:Unknown-1] state (ptrval) to [CRTC:46:crtc-0] [ 1.540547] [drm:drm_atomic_check_only] checking (ptrval) [ 1.540627] [drm:drm_atomic_helper_check_modeset] Updating routing for [CONNECTOR:48:Unknown-1] [ 1.540665] [drm:drm_atomic_helper_check_modeset] [CONNECTOR:48:Unknown-1] keeps [ENCODER:47:None-47], now on [CRTC:46:crtc-0] [ 1.540718] [drm:sun4i_backend_atomic_check] Starting checking our planes [ 1.540750] [drm:sun4i_backend_plane_uses_scaler] Input size 800x480, output size 800x480 [ 1.540786] [drm:sun4i_backend_atomic_check] Plane FB format is XR24 little-endian (0x34325258) [ 1.540805] [drm:sun4i_backend_atomic_check] Plane zpos is 0 [ 1.540832] [drm:sun4i_backend_atomic_check] State valid with 1 planes, 0 alpha, 0 video, 0 YUV [ 1.540859] [drm:drm_atomic_commit] committing (ptrval) [ 1.540958] [drm:drm_calc_timestamping_constants] crtc 46: hwmode: htotal 976, vtotal 528, vdisplay 480 [ 1.540987] [drm:drm_calc_timestamping_constants] crtc 46: clock 31000 kHz framedur 16623483 linedur 31483 [ 1.541057] [drm:sun4i_backend_update_layer_formats] Switching display backend interlaced mode off [ 1.541086] [drm:sun4i_backend_update_layer_buffer] Layer line width: 25600 bits [ 1.541117] [drm:sun4i_backend_update_layer_buffer] Setting buffer address to 0x03000000 [ 1.541137] [drm:sun4i_backend_update_layer_buffer] Setting address lower bits to 0x18000000 [ 1.541155] [drm:sun4i_backend_update_layer_buffer] Setting address high bits to 0x0 [ 1.541175] [drm:sun4i_backend_update_layer_coord] Updating layer 0 [ 1.541197] [drm:sun4i_backend_update_layer_coord] Primary layer, updating global size W: 800 H: 480 [ 1.541217] [drm:sun4i_backend_update_layer_coord] Layer size W: 800 H: 480 [ 1.541237] [drm:sun4i_backend_update_layer_coord] Layer coordinates X: 0 Y: 0 [ 1.541261] [drm:sun4i_backend_update_layer_zpos] Setting layer 0's priority to 0 and pipe 0 [ 1.541281] [drm:sun4i_backend_layer_enable] Enabling layer 0 [ 1.541303] [drm:sun4i_crtc_atomic_flush] Committing plane changes [ 1.541319] [drm:sun4i_backend_commit] Committing changes [ 1.551096] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.555263] mmc0: new high speed SDHC card at address e624 [ 1.556363] [drm:drm_atomic_state_default_clear] Clearing atomic state (ptrval) [ 1.556406] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (6) [ 1.556426] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (5) [ 1.556445] [drm:drm_mode_object_put.part.0] OBJ ID: 50 (2) [ 1.556469] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (3) [ 1.556509] [drm:__drm_atomic_state_free] Freeing atomic state (ptrval) [ 1.577428] Console: switching to colour frame buffer device 100x30 [ 1.577602] [drm:drm_atomic_state_init] Allocated atomic state (ptrval) [ 1.577645] [drm:drm_mode_object_get] OBJ ID: 49 (2) [ 1.577677] [drm:drm_atomic_get_plane_state] Added [PLANE:30:plane-0] (ptrval) state to (ptrval) [ 1.577712] [drm:drm_mode_object_get] OBJ ID: 50 (1) [ 1.577738] [drm:drm_atomic_get_crtc_state] Added [CRTC:46:crtc-0] (ptrval) state to (ptrval) [ 1.577767] [drm:drm_atomic_get_plane_state] Added [PLANE:34:plane-1] (ptrval) state to (ptrval) [ 1.577815] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:34:plane-1] state (ptrval) [ 1.577850] [drm:drm_atomic_get_plane_state] Added [PLANE:38:plane-2] (ptrval) state to (ptrval) [ 1.577876] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:38:plane-2] state (ptrval) [ 1.577906] [drm:drm_atomic_get_plane_state] Added [PLANE:42:plane-3] (ptrval) state to (ptrval) [ 1.577932] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:42:plane-3] state (ptrval) [ 1.577977] [drm:drm_atomic_set_fb_for_plane] Set [FB:49] for [PLANE:30:plane-0] state (ptrval) [ 1.577994] [drm:drm_mode_object_get] OBJ ID: 49 (3) [ 1.578012] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (4) [ 1.578047] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:46:crtc-0] to (ptrval) [ 1.578080] [drm:drm_mode_object_get] OBJ ID: 48 (5) [ 1.578094] [drm:drm_mode_object_get] OBJ ID: 48 (6) [ 1.578120] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:48:Unknown-1] (ptrval) state to (ptrval) [ 1.578140] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (6) [ 1.578170] [drm:drm_atomic_set_crtc_for_connector] Link [CONNECTOR:48:Unknown-1] state (ptrval) to [NOCRTC] [ 1.578190] [drm:drm_mode_object_get] OBJ ID: 48 (5) [ 1.578219] [drm:drm_atomic_set_crtc_for_connector] Link [CONNECTOR:48:Unknown-1] state (ptrval) to [CRTC:46:crtc-0] [ 1.578244] [drm:drm_atomic_check_only] checking (ptrval) [ 1.578329] [drm:drm_atomic_helper_check_modeset] Updating routing for [CONNECTOR:48:Unknown-1] [ 1.578369] [drm:drm_atomic_helper_check_modeset] [CONNECTOR:48:Unknown-1] keeps [ENCODER:47:None-47], now on [CRTC:46:crtc-0] [ 1.578429] [drm:sun4i_backend_atomic_check] Starting checking our planes [ 1.578460] [drm:sun4i_backend_plane_uses_scaler] Input size 800x480, output size 800x480 [ 1.578493] [drm:sun4i_backend_atomic_check] Plane FB format is XR24 little-endian (0x34325258) [ 1.578512] [drm:sun4i_backend_atomic_check] Plane zpos is 0 [ 1.578540] [drm:sun4i_backend_atomic_check] State valid with 1 planes, 0 alpha, 0 video, 0 YUV [ 1.578567] [drm:drm_atomic_commit] committing (ptrval) [ 1.578676] [drm:drm_calc_timestamping_constants] crtc 46: hwmode: htotal 976, vtotal 528, vdisplay 480 [ 1.578707] [drm:drm_calc_timestamping_constants] crtc 46: clock 31000 kHz framedur 16623483 linedur 31483 [ 1.578919] [drm:sun4i_backend_update_layer_formats] Switching display backend interlaced mode off [ 1.578956] [drm:sun4i_backend_update_layer_buffer] Layer line width: 25600 bits [ 1.578986] [drm:sun4i_backend_update_layer_buffer] Setting buffer address to 0x03000000 [ 1.579007] [drm:sun4i_backend_update_layer_buffer] Setting address lower bits to 0x18000000 [ 1.579027] [drm:sun4i_backend_update_layer_buffer] Setting address high bits to 0x0 [ 1.579050] [drm:sun4i_backend_update_layer_coord] Updating layer 0 [ 1.579072] [drm:sun4i_backend_update_layer_coord] Primary layer, updating global size W: 800 H: 480 [ 1.579094] [drm:sun4i_backend_update_layer_coord] Layer size W: 800 H: 480 [ 1.579113] [drm:sun4i_backend_update_layer_coord] Layer coordinates X: 0 Y: 0 [ 1.579135] [drm:sun4i_backend_update_layer_zpos] Setting layer 0's priority to 0 and pipe 0 [ 1.579157] [drm:sun4i_backend_layer_enable] Enabling layer 0 [ 1.579179] [drm:sun4i_crtc_atomic_flush] Committing plane changes [ 1.579195] [drm:sun4i_backend_commit] Committing changes [ 1.582834] mmcblk0: mmc0:e624 SU08G 7.40 GiB [ 1.586146] mmcblk0: p1 p2 [ 1.589745] [drm:drm_atomic_state_default_clear] Clearing atomic state (ptrval) [ 1.589789] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (6) [ 1.589812] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (5) [ 1.589832] [drm:drm_mode_object_put.part.0] OBJ ID: 50 (2) [ 1.589856] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (3) [ 1.589892] [drm:__drm_atomic_state_free] Freeing atomic state (ptrval) [ 2.378472] random: fast init done [ 5.878038] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device [ 5.898283] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 5.929615] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 5.948647] ALSA device list: [ 5.963335] #0: Loopback 1 [ 5.978327] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 5.998553] cfg80211: failed to load regulatory.db [ 6.262431] EXT4-fs (mmcblk0p2): recovery complete [ 6.279936] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 6.299538] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 6.320526] devtmpfs: mounted [ 6.342437] Freeing unused kernel memory: 1024K [ 6.358928] Run /sbin/init as init process [ 6.648926] [drm:vblank_disable_fn] disabling vblank on crtc 0 [ 6.666079] [drm:sun4i_crtc_disable_vblank] Disabling VBLANK on crtc (ptrval) [ 6.684377] [drm:sun4i_tcon_enable_vblank] Disabling VBLANK interrupt [ 7.281989] systemd[1]: System time before build time, advancing clock. [ 7.321633] systemd[1]: Failed to lookup module alias 'autofs4': Function not implemented [ 7.400058] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 7.458222] systemd[1]: No virtualization found in DMI [ 7.476282] systemd[1]: No virtualization found in CPUID [ 7.494040] systemd[1]: Virtualization XEN not found, /proc/xen does not exist [ 7.514600] systemd[1]: No virtualization found in /proc/device-tree/* [ 7.535006] systemd[1]: UML virtualization not found in /proc/cpuinfo. [ 7.554981] systemd[1]: This platform does not support /proc/sysinfo [ 7.574644] systemd[1]: Found VM virtualization none [ 7.592864] systemd[1]: Detected architecture arm.
// 5.7.1版本内核启动后RGB屏幕白屏,但rootfs等正常
U-Boot SPL 2018.01-05679-g013ca45-dirty (Jan 08 2023 - 14:52:27) DRAM: 64 MiB Trying to boot from MMC1 U-Boot 2018.01-05679-g013ca45-dirty (Jan 08 2023 - 14:52:27 +0800) Allwinner Technology CPU: Allwinner F Series (SUNIV) Model: Lichee Pi Nano DRAM: 64 MiB MMC: SUNXI SD/MMC: 0 In: serial@1c25000 Out: serial@1c25000 Err: serial@1c25000 Net: No ethernet found. starting USB... No controllers found Hit any key to stop autoboot: 0 reading zImage 4172352 bytes read in 215 ms (18.5 MiB/s) reading suniv-f1c100s-licheepi-nano.dtb 8003 bytes read in 26 ms (299.8 KiB/s) ## Flattened Device Tree blob at 80c08000 Booting using the fdt blob at 0x80c08000 Loading Device Tree to 816fb000, end 816fff42 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.2.0 (project01@likaiqin-virtual-machine) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #11 Mon Jan 9 21:14:14 CST 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: Lichee Pi Nano [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: bootargs=console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw drm.debug=0x1f debug [ 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: 55168K/65536K available (6144K kernel code, 240K rwdata, 1556K rodata, 1024K init, 241K bss, 10368K 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.000000] random: get_random_bytes called from start_kernel+0x254/0x42c with crng_init=0 [ 0.000047] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000126] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000666] Console: colour dummy device 80x30 [ 0.001453] printk: console [tty0] enabled [ 0.001561] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808) [ 0.070304] pid_max: default: 32768 minimum: 301 [ 0.070772] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.070868] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.072534] CPU: Testing write buffer coherency: ok [ 0.074486] Setting up static identity map for 0x80100000 - 0x80100058 [ 0.076767] devtmpfs: initialized [ 0.083849] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.084023] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.084368] pinctrl core: initialized pinctrl subsystem [ 0.086796] NET: Registered protocol family 16 [ 0.088415] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.090685] cpuidle: using governor menu [ 0.144601] SCSI subsystem initialized [ 0.145044] usbcore: registered new interface driver usbfs [ 0.145310] usbcore: registered new interface driver hub [ 0.145556] usbcore: registered new device driver usb [ 0.146098] pps_core: LinuxPPS API ver. 1 registered [ 0.146180] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.146313] PTP clock support registered [ 0.146912] Advanced Linux Sound Architecture Driver Initialized. [ 0.148742] clocksource: Switched to clocksource timer [ 0.178202] NET: Registered protocol family 2 [ 0.179957] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes) [ 0.180142] TCP established hash table entries: 1024 (order: 0, 4096 bytes) [ 0.180253] TCP bind hash table entries: 1024 (order: 0, 4096 bytes) [ 0.180340] TCP: Hash tables configured (established 1024 bind 1024) [ 0.180666] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.180787] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.181366] NET: Registered protocol family 1 [ 0.182913] RPC: Registered named UNIX socket transport module. [ 0.183026] RPC: Registered udp transport module. [ 0.183080] RPC: Registered tcp transport module. [ 0.183128] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.185634] NetWinder Floating Point Emulator V0.97 (double precision) [ 0.187771] Initialise system trusted keyrings [ 0.188418] workingset: timestamp_bits=30 max_order=14 bucket_order=0 [ 0.212263] NFS: Registering the id_resolver key type [ 0.212427] Key type id_resolver registered [ 0.212487] Key type id_legacy registered [ 0.218551] Key type asymmetric registered [ 0.218654] Asymmetric key parser 'x509' registered [ 0.218991] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.219095] io scheduler mq-deadline registered [ 0.219148] io scheduler kyber registered [ 0.230774] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 0.231694] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pe not found, using dummy regulator [ 0.233277] pwm-backlight backlight: backlight supply power not found, using dummy regulator [ 0.491053] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.518287] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 22, base_baud = 6250000) is a 16550A [ 0.970447] printk: console [ttyS0] enabled [ 0.975794] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pa not found, using dummy regulator [ 1.008125] 1c25400.serial: ttyS1 at MMIO 0x1c25400 (irq = 23, base_baud = 6250000) is a 16550A [ 1.018971] [drm:drm_core_init] Initialized [ 1.023690] [drm:sun4i_drv_probe] Adding component /soc/display-backend@1e60000 [ 1.031372] [drm:sun4i_drv_probe] Adding component /soc/lcd-controller@1c0c000 [ 1.038865] [drm:sun4i_drv_traverse_endpoints] Endpoint is our panel... skipping [ 1.048124] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator [ 1.061334] [drm:compare_of] Comparing of node /soc/display-backend@1e60000 with /soc/display-backend@1e60000 [ 1.071494] [drm:compare_of] Comparing of node /soc/display-backend@1e60000 with /soc/lcd-controller@1c0c000 [ 1.087812] SCSI Media Changer driver v0.25 [ 1.093637] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.100360] ehci-platform: EHCI generic platform driver [ 1.105960] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.112361] ohci-platform: OHCI generic platform driver [ 1.118095] usbcore: registered new interface driver usb-storage [ 1.125027] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers [ 1.134233] i2c /dev entries driver [ 1.141897] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator [ 1.179915] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB [ 1.189630] usbcore: registered new interface driver usbhid [ 1.195275] usbhid: USB HID core driver [ 1.215590] NET: Registered protocol family 17 [ 1.220484] Key type dns_resolver registered [ 1.227375] Loading compiled-in X.509 certificates [ 1.241677] suniv-f1c100s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pd not found, using dummy regulator [ 1.252689] [drm:compare_of] Comparing of node /soc/display-backend@1e60000 with /soc/lcd-controller@1c0c000 [ 1.262731] [drm:compare_of] Comparing of node /soc/lcd-controller@1c0c000 with /soc/lcd-controller@1c0c000 [ 1.273109] sun4i-backend 1e60000.display-backend: Couldn't find matching frontend, frontend features disabled [ 1.284054] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc073b2f4) [ 1.293200] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0739f4c) [ 1.301079] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 1.307730] [drm] No driver support for vblank timestamp query. [ 1.313807] [drm:drm_minor_register] [ 1.317529] [drm:drm_minor_register] [ 1.322224] [drm:drm_minor_register] new minor registered 0 [ 1.328333] [drm:drm_sysfs_connector_add] adding "Unknown-1" to sysfs [ 1.334987] [drm:drm_sysfs_hotplug_event] generating hotplug event [ 1.341450] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0 [ 1.349396] [drm:drm_mode_object_get] OBJ ID: 48 (2) [ 1.354423] [drm:drm_setup_crtcs] [ 1.357880] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:48:Unknown-1] [ 1.365595] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:48:Unknown-1] status updated from unknown to connected [ 1.376899] [drm:sun4i_rgb_mode_valid] Validating modes... [ 1.382507] [drm:sun4i_rgb_mode_valid] Horizontal parameters OK [ 1.388472] [drm:sun4i_rgb_mode_valid] Vertical parameters OK [ 1.394313] [drm:sun4i_rgb_mode_valid] RGB panel used, skipping clock rate checks [ 1.394334] [drm:sun4i_rgb_mode_valid] Clock rate OK [ 1.407190] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:48:Unknown-1] probed modes : [ 1.416262] [drm:drm_mode_debug_printmodeline] Modeline "800x480": 60 31000 800 848 888 976 480 483 496 528 0x48 0x0 [ 1.426923] [drm:drm_setup_crtcs] connector 48 enabled? yes [ 1.432613] [drm:drm_setup_crtcs] Not using firmware configuration [ 1.438905] [drm:drm_setup_crtcs] looking for cmdline mode on connector 48 [ 1.445826] [drm:drm_setup_crtcs] looking for preferred mode on connector 48 0 [ 1.453153] [drm:drm_setup_crtcs] found mode 800x480 [ 1.458164] [drm:drm_setup_crtcs] picking CRTCs for 8192x8192 config [ 1.464628] [drm:drm_setup_crtcs] desired mode 800x480 set on crtc 46 (0,0) [ 1.471701] [drm:drm_mode_object_get] OBJ ID: 48 (2) [ 1.476719] [drm:__drm_fb_helper_initial_config_and_unlock] test CRTC 0 primary plane [ 1.484683] [drm:drm_fb_helper_generic_probe] surface width(800), height(480) and bpp(32) [ 1.498149] [drm:drm_mode_addfb2] [FB:49] [ 1.502410] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (2) [ 1.509178] [drm:drm_sysfs_hotplug_event] generating hotplug event [ 1.516796] [drm:drm_atomic_state_init] Allocated atomic state (ptrval) [ 1.516846] [drm:drm_atomic_get_plane_state] Added [PLANE:30:plane-0] (ptrval) state to (ptrval) [ 1.516879] [drm:drm_atomic_get_plane_state] Added [PLANE:34:plane-1] (ptrval) state to (ptrval) [ 1.516930] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:34:plane-1] state (ptrval) [ 1.516966] [drm:drm_atomic_get_plane_state] Added [PLANE:38:plane-2] (ptrval) state to (ptrval) [ 1.517081] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:38:plane-2] state (ptrval) [ 1.517121] [drm:drm_atomic_get_plane_state] Added [PLANE:42:plane-3] (ptrval) state to (ptrval) [ 1.517149] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:42:plane-3] state (ptrval) [ 1.517190] [drm:drm_atomic_get_crtc_state] Added [CRTC:46:crtc-0] (ptrval) state to (ptrval) [ 1.517257] [drm:drm_atomic_set_mode_for_crtc] Set [MODE:800x480] for [CRTC:46:crtc-0] state (ptrval) [ 1.517290] [drm:drm_atomic_set_crtc_for_plane] Link [PLANE:30:plane-0] state (ptrval) to [CRTC:46:crtc-0] [ 1.517322] [drm:drm_atomic_set_fb_for_plane] Set [FB:49] for [PLANE:30:plane-0] state (ptrval) [ 1.517339] [drm:drm_mode_object_get] OBJ ID: 49 (1) [ 1.517375] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:46:crtc-0] to (ptrval) [ 1.517410] [drm:drm_mode_object_get] OBJ ID: 48 (3) [ 1.517436] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:48:Unknown-1] (ptrval) state to (ptrval) [ 1.517452] [drm:drm_mode_object_get] OBJ ID: 48 (4) [ 1.517482] [drm:drm_atomic_set_crtc_for_connector] Link [CONNECTOR:48:Unknown-1] state (ptrval) to [CRTC:46:crtc-0] [ 1.517504] [drm:drm_atomic_check_only] checking (ptrval) [ 1.517560] [drm:drm_atomic_helper_check_modeset] [CRTC:46:crtc-0] mode changed [ 1.517580] [drm:drm_atomic_helper_check_modeset] [CRTC:46:crtc-0] enable changed [ 1.517599] [drm:drm_atomic_helper_check_modeset] [CRTC:46:crtc-0] active changed [ 1.517633] [drm:drm_atomic_helper_check_modeset] Updating routing for [CONNECTOR:48:Unknown-1] [ 1.517666] [drm:drm_atomic_helper_check_modeset] [CONNECTOR:48:Unknown-1] using [ENCODER:47:None-47] on [CRTC:46:crtc-0] [ 1.517690] [drm:drm_atomic_helper_check_modeset] [CRTC:46:crtc-0] needs all connectors, enable: y, active: y [ 1.517721] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:46:crtc-0] to (ptrval) [ 1.517750] [drm:drm_atomic_add_affected_planes] Adding all current planes for [CRTC:46:crtc-0] to (ptrval) [ 1.517784] [drm:sun4i_rgb_mode_valid] Validating modes... [ 1.517800] [drm:sun4i_rgb_mode_valid] Horizontal parameters OK [ 1.517815] [drm:sun4i_rgb_mode_valid] Vertical parameters OK [ 1.517830] [drm:sun4i_rgb_mode_valid] RGB panel used, skipping clock rate checks [ 1.517845] [drm:sun4i_rgb_mode_valid] Clock rate OK [ 1.517878] [drm:drm_atomic_normalize_zpos] [CRTC:46:crtc-0] calculating normalized zpos values [ 1.517902] [drm:drm_atomic_normalize_zpos] [PLANE:30:plane-0] processing zpos value 0 [ 1.517921] [drm:drm_atomic_normalize_zpos] [PLANE:30:plane-0] normalized zpos value 0 [ 1.517954] [drm:sun4i_backend_atomic_check] Starting checking our planes [ 1.517982] [drm:sun4i_backend_plane_uses_scaler] Input size 800x480, output size 800x480 [ 1.518015] [drm:sun4i_backend_atomic_check] Plane FB format is XR24 little-endian (0x34325258) [ 1.518032] [drm:sun4i_backend_atomic_check] Plane zpos is 0 [ 1.518057] [drm:sun4i_backend_atomic_check] State valid with 1 planes, 0 alpha, 0 video, 0 YUV [ 1.518084] [drm:drm_atomic_commit] committing (ptrval) [ 1.518172] [drm:drm_calc_timestamping_constants] crtc 46: hwmode: htotal 976, vtotal 528, vdisplay 480 [ 1.518201] [drm:drm_calc_timestamping_constants] crtc 46: clock 31000 kHz framedur 16623483 linedur 31483 [ 1.518233] [drm:drm_atomic_helper_commit_modeset_disables] modeset on [CRTC:46:crtc-0] [ 1.522507] [drm:sun4i_tcon_get_clk_delay] TCON 0 clock delay 30 [ 1.522589] [drm:sun4i_tcon_mode_set] Setting horizontal total 976, backporch 128 [ 1.522612] [drm:sun4i_tcon_mode_set] Setting vertical total 528, backporch 45 [ 1.522632] [drm:sun4i_tcon_mode_set] Setting HSYNC 40, VSYNC 13 [ 1.522661] [drm:sun4i_tcon_set_mux.constprop.5] Muxing encoder None-47 to CRTC crtc-0: -524 [ 1.522700] [drm:drm_atomic_helper_commit_modeset_disables] modeset on [ENCODER:47:None-47] [ 1.522725] [drm:drm_atomic_helper_commit_modeset_enables] enabling [CRTC:46:crtc-0] [ 1.522742] [drm:sun4i_crtc_atomic_enable] Enabling the CRTC [ 1.522801] [drm:drm_atomic_helper_commit_modeset_enables] enabling [ENCODER:47:None-47] [ 1.522819] [drm:sun4i_rgb_encoder_enable] Enabling RGB output [ 1.522862] [drm:sun4i_crtc_enable_vblank] Enabling VBLANK on crtc (ptrval) [ 1.522880] [drm:sun4i_tcon_enable_vblank] Enabling VBLANK interrupt [ 1.522915] [drm:drm_vblank_enable] enabling vblank on crtc 0, ret: 0 [ 1.522971] [drm:sun4i_backend_update_layer_formats] Switching display backend interlaced mode off [ 1.523000] [drm:sun4i_backend_update_layer_buffer] Layer line width: 25600 bits [ 1.523027] [drm:sun4i_backend_update_layer_buffer] Setting buffer address to 0x03000000 [ 1.523046] [drm:sun4i_backend_update_layer_buffer] Setting address lower bits to 0x18000000 [ 1.523065] [drm:sun4i_backend_update_layer_buffer] Setting address high bits to 0x0 [ 1.523085] [drm:sun4i_backend_update_layer_coord] Updating layer 0 [ 1.523106] [drm:sun4i_backend_update_layer_coord] Primary layer, updating global size W: 800 H: 480 [ 1.523126] [drm:sun4i_backend_update_layer_coord] Layer size W: 800 H: 480 [ 1.523145] [drm:sun4i_backend_update_layer_coord] Layer coordinates X: 0 Y: 0 [ 1.523168] [drm:sun4i_backend_update_layer_zpos] Setting layer 0's priority to 0 and pipe 0 [ 1.523187] [drm:sun4i_backend_layer_enable] Enabling layer 0 [ 1.523208] [drm:sun4i_crtc_atomic_flush] Committing plane changes [ 1.523223] [drm:sun4i_backend_commit] Committing changes [ 1.539569] [drm:drm_atomic_state_default_clear] Clearing atomic state (ptrval) [ 1.539663] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (5) [ 1.539709] [drm:__drm_atomic_state_free] Freeing atomic state (ptrval) [ 1.539930] [drm:drm_atomic_state_init] Allocated atomic state (ptrval) [ 1.539965] [drm:drm_mode_object_get] OBJ ID: 49 (2) [ 1.539994] [drm:drm_atomic_get_plane_state] Added [PLANE:30:plane-0] (ptrval) state to (ptrval) [ 1.540028] [drm:drm_mode_object_get] OBJ ID: 50 (1) [ 1.540055] [drm:drm_atomic_get_crtc_state] Added [CRTC:46:crtc-0] (ptrval) state to (ptrval) [ 1.540084] [drm:drm_atomic_get_plane_state] Added [PLANE:34:plane-1] (ptrval) state to (ptrval) [ 1.540130] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:34:plane-1] state (ptrval) [ 1.540165] [drm:drm_atomic_get_plane_state] Added [PLANE:38:plane-2] (ptrval) state to (ptrval) [ 1.540192] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:38:plane-2] state (ptrval) [ 1.540221] [drm:drm_atomic_get_plane_state] Added [PLANE:42:plane-3] (ptrval) state to (ptrval) [ 1.540246] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:42:plane-3] state (ptrval) [ 1.540290] [drm:drm_atomic_set_fb_for_plane] Set [FB:49] for [PLANE:30:plane-0] state (ptrval) [ 1.540307] [drm:drm_mode_object_get] OBJ ID: 49 (3) [ 1.540325] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (4) [ 1.540358] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:46:crtc-0] to (ptrval) [ 1.540388] [drm:drm_mode_object_get] OBJ ID: 48 (5) [ 1.540402] [drm:drm_mode_object_get] OBJ ID: 48 (6) [ 1.540427] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:48:Unknown-1] (ptrval) state to (ptrval) [ 1.540447] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (6) [ 1.540477] [drm:drm_atomic_set_crtc_for_connector] Link [CONNECTOR:48:Unknown-1] state (ptrval) to [NOCRTC] [ 1.540496] [drm:drm_mode_object_get] OBJ ID: 48 (5) [ 1.540525] [drm:drm_atomic_set_crtc_for_connector] Link [CONNECTOR:48:Unknown-1] state (ptrval) to [CRTC:46:crtc-0] [ 1.540547] [drm:drm_atomic_check_only] checking (ptrval) [ 1.540627] [drm:drm_atomic_helper_check_modeset] Updating routing for [CONNECTOR:48:Unknown-1] [ 1.540665] [drm:drm_atomic_helper_check_modeset] [CONNECTOR:48:Unknown-1] keeps [ENCODER:47:None-47], now on [CRTC:46:crtc-0] [ 1.540718] [drm:sun4i_backend_atomic_check] Starting checking our planes [ 1.540750] [drm:sun4i_backend_plane_uses_scaler] Input size 800x480, output size 800x480 [ 1.540786] [drm:sun4i_backend_atomic_check] Plane FB format is XR24 little-endian (0x34325258) [ 1.540805] [drm:sun4i_backend_atomic_check] Plane zpos is 0 [ 1.540832] [drm:sun4i_backend_atomic_check] State valid with 1 planes, 0 alpha, 0 video, 0 YUV [ 1.540859] [drm:drm_atomic_commit] committing (ptrval) [ 1.540958] [drm:drm_calc_timestamping_constants] crtc 46: hwmode: htotal 976, vtotal 528, vdisplay 480 [ 1.540987] [drm:drm_calc_timestamping_constants] crtc 46: clock 31000 kHz framedur 16623483 linedur 31483 [ 1.541057] [drm:sun4i_backend_update_layer_formats] Switching display backend interlaced mode off [ 1.541086] [drm:sun4i_backend_update_layer_buffer] Layer line width: 25600 bits [ 1.541117] [drm:sun4i_backend_update_layer_buffer] Setting buffer address to 0x03000000 [ 1.541137] [drm:sun4i_backend_update_layer_buffer] Setting address lower bits to 0x18000000 [ 1.541155] [drm:sun4i_backend_update_layer_buffer] Setting address high bits to 0x0 [ 1.541175] [drm:sun4i_backend_update_layer_coord] Updating layer 0 [ 1.541197] [drm:sun4i_backend_update_layer_coord] Primary layer, updating global size W: 800 H: 480 [ 1.541217] [drm:sun4i_backend_update_layer_coord] Layer size W: 800 H: 480 [ 1.541237] [drm:sun4i_backend_update_layer_coord] Layer coordinates X: 0 Y: 0 [ 1.541261] [drm:sun4i_backend_update_layer_zpos] Setting layer 0's priority to 0 and pipe 0 [ 1.541281] [drm:sun4i_backend_layer_enable] Enabling layer 0 [ 1.541303] [drm:sun4i_crtc_atomic_flush] Committing plane changes [ 1.541319] [drm:sun4i_backend_commit] Committing changes [ 1.551096] mmc0: host does not support reading read-only switch, assuming write-enable [ 1.555263] mmc0: new high speed SDHC card at address e624 [ 1.556363] [drm:drm_atomic_state_default_clear] Clearing atomic state (ptrval) [ 1.556406] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (6) [ 1.556426] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (5) [ 1.556445] [drm:drm_mode_object_put.part.0] OBJ ID: 50 (2) [ 1.556469] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (3) [ 1.556509] [drm:__drm_atomic_state_free] Freeing atomic state (ptrval) [ 1.577428] Console: switching to colour frame buffer device 100x30 [ 1.577602] [drm:drm_atomic_state_init] Allocated atomic state (ptrval) [ 1.577645] [drm:drm_mode_object_get] OBJ ID: 49 (2) [ 1.577677] [drm:drm_atomic_get_plane_state] Added [PLANE:30:plane-0] (ptrval) state to (ptrval) [ 1.577712] [drm:drm_mode_object_get] OBJ ID: 50 (1) [ 1.577738] [drm:drm_atomic_get_crtc_state] Added [CRTC:46:crtc-0] (ptrval) state to (ptrval) [ 1.577767] [drm:drm_atomic_get_plane_state] Added [PLANE:34:plane-1] (ptrval) state to (ptrval) [ 1.577815] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:34:plane-1] state (ptrval) [ 1.577850] [drm:drm_atomic_get_plane_state] Added [PLANE:38:plane-2] (ptrval) state to (ptrval) [ 1.577876] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:38:plane-2] state (ptrval) [ 1.577906] [drm:drm_atomic_get_plane_state] Added [PLANE:42:plane-3] (ptrval) state to (ptrval) [ 1.577932] [drm:drm_atomic_set_fb_for_plane] Set [NOFB] for [PLANE:42:plane-3] state (ptrval) [ 1.577977] [drm:drm_atomic_set_fb_for_plane] Set [FB:49] for [PLANE:30:plane-0] state (ptrval) [ 1.577994] [drm:drm_mode_object_get] OBJ ID: 49 (3) [ 1.578012] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (4) [ 1.578047] [drm:drm_atomic_add_affected_connectors] Adding all current connectors for [CRTC:46:crtc-0] to (ptrval) [ 1.578080] [drm:drm_mode_object_get] OBJ ID: 48 (5) [ 1.578094] [drm:drm_mode_object_get] OBJ ID: 48 (6) [ 1.578120] [drm:drm_atomic_get_connector_state] Added [CONNECTOR:48:Unknown-1] (ptrval) state to (ptrval) [ 1.578140] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (6) [ 1.578170] [drm:drm_atomic_set_crtc_for_connector] Link [CONNECTOR:48:Unknown-1] state (ptrval) to [NOCRTC] [ 1.578190] [drm:drm_mode_object_get] OBJ ID: 48 (5) [ 1.578219] [drm:drm_atomic_set_crtc_for_connector] Link [CONNECTOR:48:Unknown-1] state (ptrval) to [CRTC:46:crtc-0] [ 1.578244] [drm:drm_atomic_check_only] checking (ptrval) [ 1.578329] [drm:drm_atomic_helper_check_modeset] Updating routing for [CONNECTOR:48:Unknown-1] [ 1.578369] [drm:drm_atomic_helper_check_modeset] [CONNECTOR:48:Unknown-1] keeps [ENCODER:47:None-47], now on [CRTC:46:crtc-0] [ 1.578429] [drm:sun4i_backend_atomic_check] Starting checking our planes [ 1.578460] [drm:sun4i_backend_plane_uses_scaler] Input size 800x480, output size 800x480 [ 1.578493] [drm:sun4i_backend_atomic_check] Plane FB format is XR24 little-endian (0x34325258) [ 1.578512] [drm:sun4i_backend_atomic_check] Plane zpos is 0 [ 1.578540] [drm:sun4i_backend_atomic_check] State valid with 1 planes, 0 alpha, 0 video, 0 YUV [ 1.578567] [drm:drm_atomic_commit] committing (ptrval) [ 1.578676] [drm:drm_calc_timestamping_constants] crtc 46: hwmode: htotal 976, vtotal 528, vdisplay 480 [ 1.578707] [drm:drm_calc_timestamping_constants] crtc 46: clock 31000 kHz framedur 16623483 linedur 31483 [ 1.578919] [drm:sun4i_backend_update_layer_formats] Switching display backend interlaced mode off [ 1.578956] [drm:sun4i_backend_update_layer_buffer] Layer line width: 25600 bits [ 1.578986] [drm:sun4i_backend_update_layer_buffer] Setting buffer address to 0x03000000 [ 1.579007] [drm:sun4i_backend_update_layer_buffer] Setting address lower bits to 0x18000000 [ 1.579027] [drm:sun4i_backend_update_layer_buffer] Setting address high bits to 0x0 [ 1.579050] [drm:sun4i_backend_update_layer_coord] Updating layer 0 [ 1.579072] [drm:sun4i_backend_update_layer_coord] Primary layer, updating global size W: 800 H: 480 [ 1.579094] [drm:sun4i_backend_update_layer_coord] Layer size W: 800 H: 480 [ 1.579113] [drm:sun4i_backend_update_layer_coord] Layer coordinates X: 0 Y: 0 [ 1.579135] [drm:sun4i_backend_update_layer_zpos] Setting layer 0's priority to 0 and pipe 0 [ 1.579157] [drm:sun4i_backend_layer_enable] Enabling layer 0 [ 1.579179] [drm:sun4i_crtc_atomic_flush] Committing plane changes [ 1.579195] [drm:sun4i_backend_commit] Committing changes [ 1.582834] mmcblk0: mmc0:e624 SU08G 7.40 GiB [ 1.586146] mmcblk0: p1 p2 [ 1.589745] [drm:drm_atomic_state_default_clear] Clearing atomic state (ptrval) [ 1.589789] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (6) [ 1.589812] [drm:drm_mode_object_put.part.0] OBJ ID: 48 (5) [ 1.589832] [drm:drm_mode_object_put.part.0] OBJ ID: 50 (2) [ 1.589856] [drm:drm_mode_object_put.part.0] OBJ ID: 49 (3) [ 1.589892] [drm:__drm_atomic_state_free] Freeing atomic state (ptrval) [ 2.378472] random: fast init done [ 5.878038] sun4i-drm display-engine: fb0: sun4i-drmdrmfb frame buffer device [ 5.898283] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 5.929615] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 5.948647] ALSA device list: [ 5.963335] #0: Loopback 1 [ 5.978327] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 5.998553] cfg80211: failed to load regulatory.db [ 6.262431] EXT4-fs (mmcblk0p2): recovery complete [ 6.279936] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 6.299538] VFS: Mounted root (ext4 filesystem) on device 179:2. [ 6.320526] devtmpfs: mounted [ 6.342437] Freeing unused kernel memory: 1024K [ 6.358928] Run /sbin/init as init process [ 6.648926] [drm:vblank_disable_fn] disabling vblank on crtc 0 [ 6.666079] [drm:sun4i_crtc_disable_vblank] Disabling VBLANK on crtc (ptrval) [ 6.684377] [drm:sun4i_tcon_enable_vblank] Disabling VBLANK interrupt [ 7.281989] systemd[1]: System time before build time, advancing clock. [ 7.321633] systemd[1]: Failed to lookup module alias 'autofs4': Function not implemented [ 7.400058] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid) [ 7.458222] systemd[1]: No virtualization found in DMI [ 7.476282] systemd[1]: No virtualization found in CPUID [ 7.494040] systemd[1]: Virtualization XEN not found, /proc/xen does not exist [ 7.514600] systemd[1]: No virtualization found in /proc/device-tree/* [ 7.535006] systemd[1]: UML virtualization not found in /proc/cpuinfo. [ 7.554981] systemd[1]: This platform does not support /proc/sysinfo [ 7.574644] systemd[1]: Found VM virtualization none [ 7.592864] systemd[1]: Detected architecture arm.
-
@kashine
mainline linux 哪个版本能用就建议先用着那个版本. -
@whycan 好的晕哥。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号