Bug 1132456

Summary: Raspberry Pi 3B console video fails using DSI interface
Product: [openSUSE] openSUSE Tumbleweed Reporter: Lawrence Kearney <lawrence.kearney>
Component: KernelAssignee: openSUSE Kernel Bugs <kernel-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: afaerber, guillaume.gardet, ivan.ivanov, jslaby, lawrence.kearney, mbrugger, ptesarik, tiwai, tzimmermann, yousaf.kaukab
Version: Current   
Target Milestone: ---   
Hardware: aarch64   
OS: All   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lawrence Kearney 2019-04-14 11:07:00 UTC
Hello openSUSE team! I was referenced to submit a bug for this issue post SUSECON :-) .

Current kernel: 4.20.13-1-default
Display: Raspberry Pi 7' Touch Screen Display (800x480)

DSI support was implemented in an earlier kernel ( I cannot remember or find the version), but I have tried many instances of Tumbleweed since with no success.

Essentially the system boots with video support. Grub loads, even producing the graphical menu screen, loads the kernel, but when the system switches to console output video is lost.

I've tried several grub settings to explicitly specify the resolution and colour depth supported by the display, and disabling the serial console, but the issue persists.

From dmesg:

localhost:~ # dmesg | grep frame
[    9.932213] efifb: framebuffer at 0x3ea83000, using 1500k, total 1500k
[    9.932630] fb0: EFI VGA frame buffer device
[   34.444400] vc4-drm soc:gpu: fb0: DRM emulated frame buffer device
[   55.507274] Console: switching to colour frame buffer device 90x30

localhost:~ # dmesg | grep console
[    0.000000] Kernel command line: BOOT_IMAGE=(hd0,msdos2)/boot/Image-4.20.13-1-default loglevel=3 splash=silent plymouth.enable=0 swiotlb=512 cma=300M console=ttyS0,115200n8 root=UUID=13eb3e13-0653-4c8d-b182-ea8b6487471b rw
[    9.932618] fbcon: Deferring console take-over
[    9.969514] printk: console [ttyS0] disabled
[    9.969662] printk: console [ttyS0] enabled
[   34.444369] fbcon: Deferring console take-over
[   55.503658] fbcon: Taking over console

[    0.000503] Console: colour dummy device 80x25
[    0.000588] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000597] pid_max: default: 32768 minimum: 301
[    0.000751] LSM: Security Framework initializing
[    0.000860] AppArmor: AppArmor initialized
[    0.001922] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.002401] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.002458] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.002481] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.004079] ASID allocator initialised with 32768 entries
[    0.004180] rcu: Hierarchical SRCU implementation.
[    0.006547] Remapping and enabling EFI services.
[    0.007000] smp: Bringing up secondary CPUs ...
[    0.007744] Detected VIPT I-cache on CPU1
[    0.007792] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.008662] Detected VIPT I-cache on CPU2
[    0.008689] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.009483] Detected VIPT I-cache on CPU3
[    0.009504] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.009633] smp: Brought up 1 node, 4 CPUs
[    0.009638] SMP: Total of 4 processors activated.
[    0.009645] CPU features: detected: 32-bit EL0 Support
[    0.009649] CPU features: detected: CRC32 instructions
[    0.012520] CPU: All CPU(s) started at EL2
[    0.012540] alternatives: patching kernel code
[    0.013745] devtmpfs: initialized
[    0.021585] Registered cp15_barrier emulation handler
[    0.021599] Registered setend emulation handler
[    0.021969] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.022011] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.030352] pinctrl core: initialized pinctrl subsystem
[    0.031515] SMBIOS 3.0 present.
[    0.031528] DMI: raspberrypi rpi/rpi, BIOS 2019.01 02/14/2019
[    0.032183] NET: Registered protocol family 16
[    0.033941] audit: initializing netlink subsys (disabled)
[    0.034138] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1
[    0.035198] cpuidle: using governor ladder
[    0.035216] cpuidle: using governor menu
[    0.035425] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
[    0.035433] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.037142] DMA: preallocated 256 KiB pool for atomic allocations
[    0.037942] Serial: AMBA PL011 UART driver
[    0.055808] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.057167] ACPI: Interpreter disabled.
[    0.058033] vgaarb: loaded
[    0.058501] SCSI subsystem initialized
[    0.058682] libata version 3.00 loaded.
[    0.059076] pps_core: LinuxPPS API ver. 1 registered
[    0.059080] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.059098] PTP clock support registered
[    0.059258] EDAC MC: Ver: 3.0.0
[    0.059377] EDAC DEBUG: edac_mc_sysfs_init: device mc created
[    0.059745] Registered efivars operations
[    0.059887] efivars: get_next_variable: status=8000000000000007
[    0.060874] NetLabel: Initializing
[    0.060879] NetLabel:  domain hash size = 128
[    0.060882] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.060954] NetLabel:  unlabeled traffic allowed by default
[    0.061340] clocksource: Switched to clocksource arch_sys_counter
[    0.131754] VFS: Disk quotas dquot_6.6.0
[    0.131824] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.132421] AppArmor: AppArmor Filesystem Enabled
[    0.132494] pnp: PnP ACPI: disabled
[    0.139807] NET: Registered protocol family 2
[    0.140386] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes)
[    0.140434] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.140531] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    0.140638] TCP: Hash tables configured (established 8192 bind 8192)
[    0.140830] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.140858] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.141061] NET: Registered protocol family 1
[    0.141083] NET: Registered protocol family 44
[    0.141090] PCI: CLS 0 bytes, default 64
[    0.141265] Unpacking initramfs...
[    9.637995] Freeing initrd memory: 30340K
[    9.639644] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[    9.640086] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    9.640232] kvm [1]: 8-bit VMID
[    9.640242] kvm [1]: IPA Size Limit: 40bits
[    9.641512] kvm [1]: Hyp mode initialized successfully
[    9.645552] Initialise system trusted keyrings
[    9.645927] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[    9.646305] zbud: loaded
[    9.914010] Key type asymmetric registered
[    9.914024] Asymmetric key parser 'x509' registered
[    9.914127] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    9.914474] io scheduler noop registered
[    9.914484] io scheduler deadline registered
[    9.914584] io scheduler cfq registered (default)
[    9.914593] io scheduler kyber registered
[    9.914681] io scheduler bfq registered
[    9.926339] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[    9.932110] efifb: probing for efifb
[    9.932202] efifb: No BGRT, not showing boot graphics
[    9.932213] efifb: framebuffer at 0x3ea83000, using 1500k, total 1500k
[    9.932224] efifb: mode is 800x480x32, linelength=3200, pages=1
[    9.932231] efifb: scrolling: redraw
[    9.932242] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    9.932618] fbcon: Deferring console take-over
[    9.932630] fb0: EFI VGA frame buffer device
[    9.951253] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[    9.969514] printk: console [ttyS0] disabled
[    9.969601] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 61, base_baud = 31250000) is a 16550
[    9.969662] printk: console [ttyS0] enabled
[    9.971518] Serial: AMBA driver
[    9.972547] msm_serial: driver initialized
[    9.975338] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    9.977430] libphy: Fixed MDIO Bus: probed
[    9.978356] mousedev: PS/2 mouse device common for all mice
[    9.985228] ledtrig-cpu: registered to indicate activity on CPUs
[    9.986159] EFI Variables Facility v0.08 2004-May-17
[    9.986233] efivars: get_next_variable: status=8000000000000007
[    9.986607] hidraw: raw HID events driver (C) Jiri Kosina
[    9.987195] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    9.992623] NET: Registered protocol family 10
[   10.030289] Segment Routing with IPv6
[   10.032083] registered taskstats version 1
[   10.032105] Loading compiled-in X.509 certificates
[   10.032254] zswap: loaded using pool lzo/zbud
[   10.059827] cryptd: max_cpu_qlen set to 1000
[   10.218591] Key type big_key registered
[   10.245025] Key type encrypted registered
[   10.245056] AppArmor: AppArmor sha1 policy hashing enabled
[   10.245103] ima: No TPM chip found, activating TPM-bypass!
[   10.245161] ima: Allocated hash algorithm: sha256
[   10.245328] evm: Initialising EVM extended attributes:
[   10.245336] evm: security.selinux
[   10.245344] evm: security.apparmor
[   10.245351] evm: security.ima
[   10.245359] evm: security.capability
[   10.245367] evm: HMAC attrs: 0x1
[   10.254253] 3f201000.serial: ttyAMA1 at MMIO 0x3f201000 (irq = 66, base_baud = 0) is a PL011 rev2
[   10.257952] raspberrypi-firmware soc:firmware: Attached to firmware from 2019-01-22 16:50
[   10.262163] hctosys: unable to open rtc device (rtc0)
[   10.283212] Freeing unused kernel memory: 5504K
[   10.331712] Run /init as init process
[   10.389248] systemd[1]: System time before build time, advancing clock.
[   10.405308] efivars: get_next_variable: status=8000000000000007
[   10.410237] systemd[1]: systemd 239 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)
[   10.411431] systemd[1]: Detected architecture arm64.
[   10.411458] systemd[1]: Running in initial RAM disk.
[   10.451797] systemd[1]: No hostname configured.
[   10.451842] systemd[1]: Set hostname to <localhost>.
[   10.452166] random: systemd: uninitialized urandom read (16 bytes read)
[   10.452222] systemd[1]: Initializing machine ID from random generator.
[   10.501029] random: systemd-fstab-g: uninitialized urandom read (60 bytes read)
[   10.501211] random: systemd-fstab-g: uninitialized urandom read (1024 bytes read)
[   11.511239] systemd[1]: Reached target Timers.
[   11.542612] systemd[1]: Listening on Journal Socket.
[   11.582578] systemd[1]: Starting Setup Virtual Console...
[   11.618366] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[   13.114354] device-mapper: uevent: version 1.0.3
[   13.114747] device-mapper: ioctl: 4.39.0-ioctl (2018-04-03) initialised: dm-devel@redhat.com
[   15.671549] random: fast init done
[   15.975190] usb_phy_generic phy: phy supply vcc not found, using dummy regulator
[   15.975341] usb_phy_generic phy: Linked as a consumer to regulator.0
[   16.128334] sdhci: Secure Digital Host Controller Interface driver
[   16.128347] sdhci: Copyright(c) Pierre Ossman
[   16.130301] sdhci-pltfm: SDHCI platform and OF driver helper
[   16.152386] usbcore: registered new interface driver usbfs
[   16.152508] usbcore: registered new interface driver hub
[   16.152746] usbcore: registered new device driver usb
[   16.168881] mmc1: SDHCI controller on 3f300000.mmc [3f300000.mmc] using PIO
[   16.189200] dwc2 3f980000.usb: 3f980000.usb supply vusb_d not found, using dummy regulator
[   16.189353] dwc2 3f980000.usb: Linked as a consumer to regulator.0
[   16.189379] dwc2 3f980000.usb: 3f980000.usb supply vusb_a not found, using dummy regulator
[   16.200092] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[   16.204024] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[   16.205901] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[   16.209248] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[   16.224059] sdhost-bcm2835 3f202000.mmc: loaded - DMA enabled (>1)
[   16.282915] mmc1: new high speed SDIO card at address 0001
[   16.338239] mmc0: host does not support reading read-only switch, assuming write-enable
[   16.340060] mmc0: new high speed SDHC card at address 0001
[   16.342054] mmcblk0: mmc0:0001 GB1QT 29.8 GiB
[   16.346731]  mmcblk0: p1 p2 p3
[   16.411476] dwc2 3f980000.usb: dwc2_check_params: Invalid parameter lpm=1
[   16.411496] dwc2 3f980000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1
[   16.411507] dwc2 3f980000.usb: dwc2_check_params: Invalid parameter besl=1
[   16.411520] dwc2 3f980000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1
[   16.411598] dwc2 3f980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[   16.413659] dwc2 3f980000.usb: DWC OTG Controller
[   16.413738] dwc2 3f980000.usb: new USB bus registered, assigned bus number 1
[   16.413810] dwc2 3f980000.usb: irq 41, io mem 0x3f980000
[   16.414396] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.20
[   16.414410] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   16.414421] usb usb1: Product: DWC OTG Controller
[   16.414433] usb usb1: Manufacturer: Linux 4.20.13-1-default dwc2_hsotg
[   16.414444] usb usb1: SerialNumber: 3f980000.usb
[   16.415676] hub 1-0:1.0: USB hub found
[   16.415790] hub 1-0:1.0: 1 port detected
[   16.861420] usb 1-1: new high-speed USB device number 2 using dwc2
[   17.121802] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[   17.121822] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   17.122975] hub 1-1:1.0: USB hub found
[   17.123095] hub 1-1:1.0: 4 ports detected
[   17.441408] usb 1-1.1: new high-speed USB device number 3 using dwc2
[   17.571990] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
[   17.572007] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   17.573248] hub 1-1.1:1.0: USB hub found
[   17.573461] hub 1-1.1:1.0: 3 ports detected
[   18.291469] usb 1-1.1.1: new high-speed USB device number 4 using dwc2
[   18.422389] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800, bcdDevice= 3.00
[   18.422409] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   19.189574] random: crng init done
[   19.189589] random: 7 urandom warning(s) missed due to ratelimiting
[   21.693329] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   26.430640] systemd-journald[251]: Received SIGTERM from PID 1 (systemd).
[   26.853007] printk: systemd: 14 output lines suppressed due to ratelimiting
[   28.130765] systemd[1]: systemd 239 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)
[   28.132213] systemd[1]: Detected architecture arm64.
[   29.620249] systemd[1]: nss-lookup.target: Dependency Before=nss-lookup.target dropped
[   29.952769] systemd[1]: Stopped Switch Root.
[   29.982502] systemd[1]: systemd-journald.service: Service has no hold-off time (RestartSec=0), scheduling restart.
[   29.982963] systemd[1]: systemd-journald.service: Scheduled restart job, restart counter is at 1.
[   29.983075] systemd[1]: Stopped Journal Service.
[   30.024582] systemd[1]: Starting Journal Service...
[   30.060028] systemd[1]: Mounting POSIX Message Queue File System...
[   30.102502] systemd[1]: Reached target Remote File Systems (Pre).
[   30.695091] EXT4-fs (mmcblk0p2): re-mounted. Opts: nobarrier
[   31.923389] systemd-journald[644]: Received request to flush runtime journal from PID 1
[   31.933079] systemd-journald[644]: File /var/log/journal/15e77b57ed844ae8b97d64082fbc67f7/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   33.044410] vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[   33.068534] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[   33.101429] vchiq: vchiq_init_state: slot_zero = ffff00000bf59000, is_master = 0
[   33.104554] bcm2835-rng 3f104000.rng: hwrng registered
[   33.692495] lan78xx 1-1.1.1:1.0 (unnamed net_device) (uninitialized): No External EEPROM. Setting MAC Speed
[   33.695934] libphy: lan78xx-mdiobus: probed
[   33.847624] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   33.862833] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   33.894911] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[   33.894939] cfg80211: failed to load regulatory.db
[   33.909202] usbcore: registered new interface driver lan78xx
[   34.094274] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[   34.095147] usbcore: registered new interface driver brcmfmac
[   34.145002] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.txt failed with error -2
[   34.296080] Bluetooth: Core ver 2.22
[   34.296276] NET: Registered protocol family 31
[   34.296285] Bluetooth: HCI device and connection manager initialized
[   34.296317] Bluetooth: HCI socket layer initialized
[   34.296335] Bluetooth: L2CAP socket layer initialized
[   34.296370] Bluetooth: SCO socket layer initialized
[   34.306083] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[   34.398759] vc4_hdmi 3f902000.hdmi: ASoC: Failed to create component debugfs directory
[   34.405582] vc4_hdmi 3f902000.hdmi: vc4-hdmi-hifi <-> 3f902000.hdmi mapping ok
[   34.406799] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[   34.407230] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4])
[   34.407496] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[   34.407719] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   34.408194] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[   34.408574] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[   34.408958] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[   34.432349] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[   34.432378] checking generic (3ea83000 177000) vs hw (0 ffffffffffffffff)
[   34.432387] fb0: switching to vc4drmfb from EFI VGA
[   34.435270] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[   34.435292] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   34.435300] [drm] Driver supports precise vblank timestamp query.
[   34.444369] fbcon: Deferring console take-over
[   34.444400] vc4-drm soc:gpu: fb0: DRM emulated frame buffer device
[   35.073775] Adding 497588k swap on /dev/mmcblk0p3.  Priority:-2 extents:1 across:497588k SSFS
[   35.161547] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[   35.192831] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   38.448710] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   38.481476] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   38.907702] NET: Registered protocol family 17
[   55.503658] fbcon: Taking over console
[   55.507274] Console: switching to colour frame buffer device 90x30

Advise me if I can provide any additional info and thank you!


-- lawrence
Comment 1 Nicolas Patricio Saenz Julienne 2019-04-15 13:13:16 UTC
Hi Lawrence would you mind sharing your config.txt file. It should be available at /boot/efi/config.txt.
Comment 2 Nicolas Patricio Saenz Julienne 2019-04-15 13:43:28 UTC
The simplest test you can do is blacklist the vc4 kernel module. For instance by adding "modprobe.blacklist=vc4" to the kernel command line in grub. It should work out of the box with that, but you'll lose any access to vc4.

An alternative is to use vc4, to do so you need to create a device-tree overlay using this as a reference: https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/bindings/display/panel/raspberrypi,7inch-touchscreen.txt I tested it myself some time ago and it was working fine, yet it's a little cumbersome to prepare.
Comment 3 Lawrence Kearney 2019-04-17 09:03:58 UTC
(In reply to Nicolas Patricio Saenz Julienne from comment #1)
> Hi Lawrence would you mind sharing your config.txt file. It should be
> available at /boot/efi/config.txt.

# Get more options/information on http://elinux.org/RPiconfig
# or on https://www.raspberrypi.org/documentation/configuration/config-txt.md
#
# !!!!! This file will get overwritten by updates. Please use !!!!!
# !!!!! extraconfig.txt if you want to set additional         !!!!!
# !!!!! configuration options or add dt overlays.             !!!!!

# Our kernels are located on a Linux partition. Chainload U-Boot to load them.
kernel=u-boot.bin

# Use 32 MB for GPU for all RPis (Min 16 - Max 192 MB)
# We don't need that much memory reserved for it, because we drive most hardware
# from Linux, not the VPU OS
gpu_mem=32

# Turbo mode: 0 = enable dynamic freq/voltage - 1 = always max
force_turbo=0
# Start in turbo mode for 30 seconds or until cpufreq sets a frequency
initial_turbo=30

# DO NOT overvoltage manually to not void warranty!
over_voltage=0

# Fix mini UART input frequency, and setup/enable up the UART.
enable_uart=1

# Disable warning overlays as they don't work well together with linux's graphical output
avoid_warnings=1

# This overlay fixes divergences between the RPi device tree and what
# upstream provides
dtoverlay=upstream
dtoverlay=upstream-aux-interrupt

[pi1]

# Max ARM freq (default 700 MHz)
arm_freq=840

# Max core (GPU) freq (default 250 MHz)
core_freq=375

# SDRAM freq (default 400)
sdram_freq=400

[pi3]

[all]

# Allow u-boot to set arm_control
include ubootconfig.txt

# Allow user overrides of config options
include extraconfig.txt
Comment 4 Lawrence Kearney 2019-04-17 09:29:32 UTC
(In reply to Nicolas Patricio Saenz Julienne from comment #2)
> The simplest test you can do is blacklist the vc4 kernel module. For
> instance by adding "modprobe.blacklist=vc4" to the kernel command line in
> grub. It should work out of the box with that, but you'll lose any access to
> vc4.
> 
> An alternative is to use vc4, to do so you need to create a device-tree
> overlay using this as a reference:
> https://elixir.bootlin.com/linux/latest/source/Documentation/devicetree/
> bindings/display/panel/raspberrypi,7inch-touchscreen.txt I tested it myself
> some time ago and it was working fine, yet it's a little cumbersome to
> prepare.

This does enable console output to the display and permit keyboard interactive login. This test does seem to indicate where the issue lies.
Comment 8 Andreas Färber 2019-04-29 19:39:18 UTC
Lawrence, in the future please share full logs and config files as attachments, to keep comments readable. And please clear the needinfo flag after providing it.
Comment 9 Andreas Färber 2019-04-29 19:43:18 UTC
I wonder whether this unfinished -dt submission might be related?
https://build.opensuse.org/request/show/684245
Comment 11 Guillaume GARDET 2019-08-28 08:53:23 UTC
(In reply to Andreas Färber from comment #9)
> I wonder whether this unfinished -dt submission might be related?
> https://build.opensuse.org/request/show/684245

It is now in Factory. Is this bug still occurring?
Comment 12 Jiri Slaby 2023-01-23 06:47:05 UTC
(In reply to Guillaume GARDET from comment #11)
> (In reply to Andreas Färber from comment #9)
> > I wonder whether this unfinished -dt submission might be related?
> > https://build.opensuse.org/request/show/684245
> 
> It is now in Factory. Is this bug still occurring?

Hopefully?