We are working product based on IMX8MQ (MIMX8MQ6DVAJZAA) processor.
Also taking the above approach i have some clk_enable, clk_get_rate and clk_set_rate apis which i enable by adding the CONFIG_CLK and CONFIG_IMX_CLK but after that the board is getting reboot
so I have explicitly enabled the mipi dsi and lcdif clock from board file
I want to display the bmp images after we get uboot CLI prompt using bmp display. I have managed to initialise panel and all the register values are set to proper everything goes alright still I am not able to get display.
There is no doubt on init sequence as it is working in kernel. Using all pixel on command of ST7703 we are able to get the all pixel on.
Still what we write on frame buffer is not updated on panel and bmp command is also not working. Getting something like this in logs on giving bmp display.
u-boot=> bmp d $splashimage video_bmp_display() hdr_size=40, bmp_bpix=24 video_bmp_display() Display-bmp: 800 x 480 with 16777216 colours, display 1 please guide what is getting wrong.
Can you give any pointer regarding this issue?
Thanks in advance!
having a few question:
1. Which version of u-boot you were using?
2. And are there other changes that you did to get the display in uboot other that in patch? if you can also share if any that will be really helpful..
3. we are working on imx8mm based processor so do you see any challenge in this and a st7703 based panel
4. What do you think which are the changes we need to do considering that we are using imx8mm
We really need urgent help on this as we already had missed the deadline for the task and not getting any proper reference for the same other than the one you shared so that will be very helpful if you can guide us with this.
We are working on a product based on IMX8MM processor.
I am also facing the same issue and similar requirement (we need to show the battery status at u-boot on LCD )
I tried to port the driver taking reference of kernel but unable to read/write from panel through driver.
I followed following steps:
Step-1 Added the dsi_host user class which is not in present u-boot version( U-Boot 2019.04-lf-5.4.y_v2019.04_var01+gbf77d94114)
Step-2 Added the MIPI DSI host controller driver
Step-3 Added the mipi_display.c that contains a set of dsi helpers function
Step-4 Added the panel driver taking reference of the following
Step-5 We added videobridge that can connect/bind the dsi-host controller and the panel driver
Step-6 added Lcdif support taking some reference from this
Step-7 done changes in dtsi taking this reference dtsi
Step-8 Tried to probe UCLASS_VIDEO from board file using the uboot_probe_all
After all this getting timeout while reading from register @jemish_1990 were you able to get the logo on the LCD please share your knowledge with us.
Thanks in advance!
Our products also use IMx8MQ, and we hope to display the LOGO in the Uboot stage. Do you currently solve the output function of IMx8MQ in the Uboot stage？
yes, uboot don't configure lcd panel, why do you need configure this in the uboot level? you can refer to the board file in the uboot, maybe you can add your panel in the uboot file, I don't test this
maybe you can add your panel in the uboot file, I don't test this
It's not that simple that we will add structure for panel in existing board file and it will work. As I said in our system LCD is driven by eLCDIF controller via MIPI DSI controller. We must need to add DSI host controller support at uboot level.
Do you any suggestion for that?
I already have the patch you suggested but it won't help as it is for IPU.
Let's make my question simple. Can you provide me DSI clock/power initialization sequence at U-boot so atleast I can read/write DSI registers.
yes, imx8mq uses lcdif, this patch is for IPU, just for reference, we don't have specific source code for imx8mq, for mipi dsi init, you can refer to the dts file:
if you need keep the logo in the kernel, when kernel load lcdif driver, try to keep the lcdif settings, like clock from changing
I have all the clock values and I printed those clock values in kernel.
But still I am missing something critical and that's why I need help of NXP to provide me clock/power initialization of DSI at u-boot level.
We want to configure LCD panel at u-boot because we want to display our product LOGO on LCD at u-boot level which will give indication to user that product is power on at early stage. Currently kernel logo is working but it almost take 5 to 6 seconds to get displayed. As product perspective it's not good sign. Do you have any suggestion for that?