Plymouth: panel-mipi-dbi not loading firmware... and the bin file exists #20
-
|
First of all, thank you Notro for making this driver. It is a foundation for my future projects :) I am having a problem with loading the bin firmware file for my ili9488 (4" red pcb lcd). When I have this line in the DTS in my Orange Pi Zero 3, with Linux 6.12 (official Armbian image): The kernel loads the /lib/firmware/panel-mipi-dbi-spi.bin normally, and the LCD starts up normally. Then I copy the same DTS, same bin file to the newly running Armbian OS. Then when I reboot, the LCD remains white :( Then I check why: I checked that the file exists: Then, I changed my DTS this way: When I rebooted, the LCD remained white. Then I checked: Are there any kernel configurations needed for the panel-mipi-dbi-spi to be able to load a firmware? In all cases, with LCD working or not, the touch part keeps working (tested with evtest). (I am now looking at the differences in the linux kernel configuration from the image that works and the image that doesn't work) THANK YOU! My DTS file (works in orange pi zero 3 official armbian 6.12 minimal image): attached Is there any chance that the files in /lib/firmware are not available at the time that the kernel wants to open it? Is there a way to postpone the loading of panel-mipi-dbi-spi? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I don't know what was going on before. Now it works: loads the bin file. UPDATE: the problem was that plymouth, a pkg that gets bundled with xfce. I uninstalled plymouth, and the LCD started normally again! It seems to me that plymouth forces panel-mipi-dbi-spi to start at a time when only the initramfs is mounted... so it doesn't see the bin file. panel-mipi-dbi-spi doesn't have this problem in Raspberry Pi. It is only a problem in Armbian. |
Beta Was this translation helpful? Give feedback.
-
|
This plymouth issue is so misterious to me. Raspberry OS allows panel-mipi-dpi load the bin file, but Armbian doesn't. Additional similarities:
However, when plymouth was installed in armbian
I have learned to extract the initrd into a new folder with unmkinitramfs... I am starting to look into these files Update: there are no differences in /etc of both initrd's that could control panel-mipi-dbi update: inspecting dmesg more carefully. In raspberry (with plymouth), the mipi-dbi-spi is loaded AFTER the ext4-fs driver mounts the microSD. |
Beta Was this translation helpful? Give feedback.
I fixed the problem by including the bin file in the init ram fs
https://forum.armbian.com/topic/53568-how-to-add-a-specific-single-file-in-the-initrdimg-ideally-automatically-with-update-initramfs/