beagleboard/Latest-Images

No Hdmi output after update && upgrade

Opened this issue · 2 comments

I am using bone-debian-9.9-lxqt-armhf-2019-08-03-4gb.img.xz on sd card and booting from sd.
Everything it's working fine , also if sometimes the system is frozen for 20/30 sec., but I have output on HDMI with resolution 1024x768 @60Hz.
I have kernel version 4.14.108-ti-r143

The same problem happens if I use bone-debian-9.12-imgtec-armhf-2020-04-06-4gb.img.xz

My board is element 14 BeagleBone Black Industrial, not any capes installed

root@beaglebone:/boot# /opt/scripts/tools/version.sh
root@beaglebone:# /opt/scripts/tools/version.sh
git:/opt/scripts/:[109f74fb87e6034ae1a8971a244064a8d5e090a5]
eeprom:[A335BNLTEIA03718BBBK063F]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2019-08-03]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot 2019.04-00002-gbb4af0f50f]:[location: dd MBR]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 2019.04-00002-g07d5700e21]:[location: dd MBR]
kernel:[4.14.108-ti-r143]
nodejs:[v6.17.0]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade ]
pkg:[bb-cape-overlays]:[4.14.20210821.0-0
stretch+20210821]
pkg:[bb-wl18xx-firmware]:[1.20190227.1-0rcnee0stretch+20190227]
pkg:[kmod]:[23-2rcnee1
stretch+20171005]
pkg:[librobotcontrol]:[1.0.5-git20200715.0-0stretch+20200716]
pkg:[firmware-ti-connectivity]:[20190717-2rcnee1
stretch+20200305]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal i2c bluetooth netdev gpio pwm eqep remoteproc admin spi tisdk weston-launch xenomai cloud9ide]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet]
dmesg | grep remote
[ 1.116787] remoteproc remoteproc0: wkup_m3 is available
[ 1.239297] remoteproc remoteproc0: powering up wkup_m3
[ 1.239419] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[ 1.241916] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 44.330886] remoteproc remoteproc1: 4a334000.pru is available
[ 44.342865] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[ 44.300745] pruss 4a300000.pruss: creating PRU cores and other child platform devices
[ 44.330886] remoteproc remoteproc1: 4a334000.pru is available
[ 44.331006] pru-rproc 4a334000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@34000 probed successfully
[ 44.342865] remoteproc remoteproc2: 4a338000.pru is available
[ 44.342983] pru-rproc 4a338000.pru: PRU rproc node /ocp/pruss_soc_bus@4a326004/pruss@0/pru@38000 probed successfully
dmesg | grep pinctrl-single
[ 0.796837] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 1.162588] pinctrl-single 44e10800.pinmux: pin PIN108 already requested by ocp:A15_pinmux; cannot claim for 0-0070
[ 1.173258] pinctrl-single 44e10800.pinmux: pin-108 (0-0070) status -22
[ 1.179946] pinctrl-single 44e10800.pinmux: could not request pin 108 (PIN108) from group nxp_hdmi_bonelt_pins on device pinctrl-single
dmesg | grep gpio-of-helper
[ 0.809770] gpio-of-helper ocp:cape-universal: ready
lsusb
Bus 001 Device 004: ID 0461:4e6e Primax Electronics, Ltd
Bus 001 Device 005: ID 03f0:094a HP, Inc Optical Mouse [672662-001]
Bus 001 Device 002: ID 2109:2815 VIA Labs, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END

root@beaglebone:~# cd /boot
root@beaglebone:/boot# cat uEnv.txt
#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=4.14.108-ti-r143
#uuid=
#dtb=

###U-Boot Overlays###
###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
###Master Enable
enable_uboot_overlays=1

###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/.dtbo
#uboot_overlay_addr1=/lib/firmware/.dtbo
#uboot_overlay_addr2=/lib/firmware/.dtbo
#uboot_overlay_addr3=/lib/firmware/.dtbo

###Additional custom capes
#uboot_overlay_addr4=/lib/firmware/.dtbo
#uboot_overlay_addr5=/lib/firmware/.dtbo
#uboot_overlay_addr6=/lib/firmware/.dtbo
#uboot_overlay_addr7=/lib/firmware/.dtbo

###Custom Cape
#dtb_overlay=/lib/firmware/.dtbo

###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1

###PRUSS OPTIONS
###pru_rproc (4.4.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
###pru_rproc (4.14.x-ti kernel)
uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
###pru_rproc (4.19.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo
###pru_uio (4.4.x-ti, 4.14.x-ti, 4.19.x-ti & mainline/bone kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo

###Cape Universal Enable
enable_uboot_cape_universal=1

###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1

###U-Boot fdt tweaks... (60000 = 384KB)
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###

cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet

#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet video=HDMI-A-1:1024x768@60e

#Use an overlayfs on top of a read-only root filesystem:
#cmdline=coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet overlayroot=tmpfs

##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh


root@beaglebone:/var/log# cat Xorg.0.log
[ 137.355]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 137.355] X Protocol Version 11, Revision 0
[ 137.355] Build Operating System: Linux 5.10.0-5-armmp-lpae armv7l Debian
[ 137.355] Current Operating System: Linux beaglebone 4.14.108-ti-r143 #1stretch SMP PREEMPT Thu May 27 20:03:25 UTC 2021 armv7l
[ 137.356] Kernel command line: console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 rng_core.default_quality=100 quiet
[ 137.356] Build Date: 15 April 2021 10:42:51AM
[ 137.356] xorg-server 2:1.19.2-1+deb9u8 (https://www.debian.org/support)
[ 137.356] Current version of pixman: 0.34.0
[ 137.356] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 137.357] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 137.357] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep 23 20:09:37 2021
[ 137.358] (==) Using config file: "/etc/X11/xorg.conf"
[ 137.358] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 137.359] (==) ServerLayout "Builtin Default Layout"
[ 137.359] (
) |-->Screen "Builtin Default fbdev Screen 0" (0)
[ 137.360] () | |-->Monitor "Builtin Default Monitor"
[ 137.361] (
) | |-->Device "Builtin Default fbdev Device 0"
[ 137.361] (==) Automatically adding devices
[ 137.361] (==) Automatically enabling devices
[ 137.361] (==) Automatically adding GPU devices
[ 137.361] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 137.361] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 137.361] Entry deleted from font path.
[ 137.361] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 137.362] Entry deleted from font path.
[ 137.362] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 137.362] Entry deleted from font path.
[ 137.362] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 137.362] Entry deleted from font path.
[ 137.362] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 137.362] Entry deleted from font path.
[ 137.362] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 137.362] Entry deleted from font path.
[ 137.362] (==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
[ 137.362] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 137.362] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 137.362] (II) Loader magic: 0x604f60
[ 137.362] (II) Module ABI versions:
[ 137.362] X.Org ANSI C Emulation: 0.4
[ 137.362] X.Org Video Driver: 23.0
[ 137.362] X.Org XInput driver : 24.1
[ 137.362] X.Org Server Extension : 10.0
[ 137.367] (++) using VT number 7

[ 137.368] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 137.371] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 137.373] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 137.373] (II) no primary bus or device found
[ 137.373] falling back to /sys/devices/platform/ocp/56000000.sgx/drm/card1
[ 137.374] (II) LoadModule: "glx"
[ 137.375] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 137.411] (II) Module glx: vendor="X.Org Foundation"
[ 137.411] compiled for 1.19.2, module version = 1.0.0
[ 137.411] ABI class: X.Org Server Extension, version 10.0
[ 137.411] (II) LoadModule: "fbdev"
[ 137.412] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 137.413] (II) Module fbdev: vendor="X.Org Foundation"
[ 137.413] compiled for 1.19.0, module version = 0.4.4
[ 137.413] Module class: X.Org Video Driver
[ 137.413] ABI class: X.Org Video Driver, version 23.0
[ 137.413] (II) FBDEV: driver for framebuffer: fbdev
[ 137.414] (WW) Falling back to old probe method for fbdev
[ 137.414] (II) Loading sub module "fbdevhw"
[ 137.415] (II) LoadModule: "fbdevhw"
[ 137.416] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 137.417] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 137.417] compiled for 1.19.2, module version = 0.0.2
[ 137.417] ABI class: X.Org Video Driver, version 23.0
[ 137.418] (EE) open /dev/fb0: No such file or directory
[ 137.418] (EE) No devices detected.
[ 137.418] (EE)
Fatal server error:
[ 137.418] (EE) no screens found(EE)
[ 137.418] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 137.418] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 137.419] (EE)
[ 137.420] (EE) Server terminated with error (1). Closing log file.

I hope somebody can help me.
Atomino

@atomino-max should be fixed now:

sudo apt-get update
sudo apt-get upgrade
sudo reboot

Please test and confirm..

I Robert, thanks a lot for your quick response.
Now I have Hdmi output correctly.
I take advantage of your availability to list 2 problems using vncviewer remotely:
1- after opening System Tools->QTerminal the keyboard seems not set correctly, i am using US keyboard on Mac pushing : qwerty the output is : c.gvn ( 5 bad chars instead of 6 )
again : up show : xm

2-If I open Accessories->PCManFm File Manager the system open a window on local screen (Hdmi output ) not on the remote connection

Kind regards
Max ( Atomino )