agherzan / meta-raspberrypi

Yocto/OE BSP layer for the Raspberry Pi boards
https://www.yoctoproject.org/
MIT License
520 stars 407 forks source link

RPI3 official touchscreen / HDMI is not working #600

Closed clementlgl closed 4 years ago

clementlgl commented 4 years ago

I'm trying to work with Official Raspberry PI 7" Touchscreen and the latest branch (Zeus). When I build rpi-basic-image with rocko, the psplash is displayed. But the same image on Zeus, the touchscreen display just the 4 raspberry and the kernel boot.

I have connected a display on HDMI and I have the same result ...

I work with raspberry Pi 3 B

My conf/local.conf

MACHINE = "raspberrypi3"
DISTRO = "poky"
PACKAGE_CLASSES = "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K \
    ABORT,/tmp,10M,1K \
"

PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"

DL_DIR ?= "/home/bionic/claigle/Dev/Yocto/download"

Have you the same problem ?

Thank you

texierp commented 4 years ago

Hi @clementlgl ,

It seems you have the same problem as https://github.com/agherzan/meta-raspberrypi/issues/500

I think the variable DISABLE_VC4GRAPHICS = "1" solves your issue.

FYI, here is my configuration for the rpi3 and it works fine:

PJ

agherzan commented 4 years ago

I don't have a screen to test. It would be nice to see if this happens on rPi4 as well.

kraj commented 4 years ago

I dont test zeus but on master pi4/vc4graphics work fine with weston/wayland and pi3 works ok with eglfs/userland graphics, I did see it stuck with boot logo with vc4graphics

clementlgl commented 4 years ago

Thank you for your answers.

Indeed, with DISABLE_VC4GRAPHICS = "1" it works ! But with sysvinit the psplash do not work, I switched to systemd.