-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Waveshare-DSI-LCD can not display for yocto image with linux-raspberrypi 6.1.34 & 6.1.38 #1211
Comments
hi all , root@raspberrypi4-64: config.txt dtparam=i2c1=on |
I am not sure how to guide you from here. I think the right way would be to ask, as you already did, on waveshare. |
Here are the steps I used to get this working for me. You do need to update the kernel version provided in meta-raspberrypi to a version that includes I created a file called
Then you need to add the driver dtbo file into
For rest that you need I just used the default as a template and worked You also need to enable i2c and configure the driver for you panel
This was sufficient to get my 10" display working. |
HI @omarhogni I did not do this step before : RPI_KERNEL_DEVICETREE_OVERLAYS += " |
@omarhogni |
|
RPI_EXTRA_CONFIG = '\n \ ----- CUSTOM OPTIONS SET IN local.conf ----------\n \Raspberry Pi 10_1 dsi " display/touch screen \n \dtparam=i2c_arm=on \n ----- END CUSTOM OPTIONS SET IN local.conf ------ \n \'
I am using Author: Vivien Didelot vivien.didelot@gmail.com anyway similarly LINUX_VERSION = "6.1.46" when building, it will download the commit of source code. (maybe the currently master of meta-raspberrypi updated version already support DSI LCD, so you do not need this step 3, in file meta-raspberrypi/conf/machine/include/rpi-base.inc to add overlays/vc4-kms-dsi-waveshare-panel.dtbo and then, It will be : overlays/vc4-kms-v3d-pi4.dtbo (same, maybe updated master of meta-raspberrypi version already added it, please have a look) hope it can help you if master of meta-raspberrypi version is already added it (I forget from what kernel version , it already support DSI), so you do not need step 2 to download "6.1.46" and commit "e89e7655a197d28df49da2be7e2003436cf52197". you only need step 1 and step 3 ,I think |
I have tried to create a custom yocto image on top of boot2qt. I am running into the following problems:
I tried to troubleshoot, but I am out of ideas. Context:
Output of
Output of
My entire config.txt file:
Linux kernel version:
Confirmed that I have waveshare overlay:
Note: I also tried using a compiled dtbo file from a linux kernel 6.6 Here is the
Problem: my screen is blank. My Qt app says "No screens available" or "No DRM device" depending on which vc4-* overlay I load. Ahh, I'm out of ideas and lost. If anyone can give me any sort of hints that helped them, I'd appreciate it!
|
Long couple days, but fixed.
Thank you for the hints! I wonder if these problems never would have occurred if I updated the kernel to 6.6.x. I avoided this as I am a newbie when it comes to yocto and upgrading all layers seems daunting to me. Regardless, learned a lot of pieces from this debacle 😆 |
Thanks for your help. The display is no working. Unfortunately the application is not working properly. It s a html5/js page which runs on localhost in cog webengine. It has some problems with the framebuffer: swiotlb_tbl_map_single: 376 callbacks suppressed |
@bhaggenmiller |
Mhm on PI OS it works fine. Therefore i don t think the app is the problem. |
Hi
I post my issue here:
https://github.com/waveshare/Waveshare-DSI-LCD/issues/4#issuecomment-1662683896
in that page shows if the kernel > 6.1.25 , it can support Waveshare-DSI-LCD,
I used meta-raspberrypi with yocto
commit dff85b9
linux-raspberrypi-6.1: Update to 6.1.34 release
but it seems the kernel can not communicate with i2c,
so do I need to modify the default dtb(dts )file to enable i2c?
how can I do ? I want to know if the issue is about i2c communicate or something else?
Thank you very much.
The text was updated successfully, but these errors were encountered: