Hi! I am using the iMX6ULL with the Toradex 7 inch capacitive touchscreen. I have compiled U-Boot according to these articles [1, 2] and managed to display a custom splash screen (800x480 px) during U-Boot loading. Basically, I compiled U-Boot separately and replaced the u-boot-nand.imx file from the image archive (.tar)
The problem is that the splash screen image is not shown on the entire screen, as seen below. Afterwards, my custom kernel splash screen is shown correctly. In fact, I have the same issue with the Toradex Easy Installer (it is not shown on the entire screen). Also, if I look more carefully at the logo shown in this article, it appears to be shifted, suggesting the same or a similar problem.
How can this issue be resolved?
Hi @CristianM , videomode
in u-boot needs to be modifiedy as well. It is videomode=video=ctfb:x:640,y:480,depth:18,pclk:39722,le:48,ri:16,up:33,lo:10,hs:96,vs:2,sync:0,vmode:0
by default.
Hi. Currently I set it as below by manually editing the u-boot-initial-env
file located in the image archive (tar) before flashing the image.
videomode=video=ctfb:x:800,y:480,depth:18,pclk:39722,le:48,ri:16,up:33,lo:10,hs:96,vs:2,sync:0,vmode:0
But the result is the same. I’ve also tried setting it at runtime by using this command, but got the same result:
fw_setenv videomode 'video=ctfb:x:800,y:480,depth:18,pclk:39722,le:48,ri:16,up:33,lo:10,hs:96,vs:2,sync:0,vmode:0'
What am I doing wrong?
Hi @CristianM,
You can also try to adjust the positioning of the image through the parameter splashpos
.
More details here.
Best regards,
André Curvello
My splash screen size is the same as the screen size (800x480 px), so there is no need to adjust its position.
Where do I need to make the changes suggested by benjamin.tx? Or what changes do I need to make? I find this issue interesting because it happens with also with the Toradex Easy Installer.
Hi @CristianM, I know.
But there may be a chance that the original position of your image is “shifted”.
So, please, just try changing the splashpos to see if that make any effect.
Can you also take a picture of the same thing on Easy Installer as well?
Thanks.
Best regards,
André Curvello
I’ve tried this command and got the following image:
fw_setenv splashpos 100,100
[upload|1ugUZi9Ap9NQrpOb+i+mTCwec38=]
As you can see, this solution did not help. Below you can see how the Toradex Easy Installer is displayed:
[upload|yg7Opno8bY06O4ePhczWWBx98wg=]
Unfortunately your images are not displayed. Could you attach them as a file?
And mentioned issue with the Toradex Easy Installer is not an issue. The Toradex Easy Installer is configured for 640x480 resolution so the right side of your display just not used.
Default U_boot resolution is 640x480-24. You need to change it at U_Boot Device Tree to match your display parameters :
clock-frequency = <33230769>;
hactive = <800>;
vactive = <480>;
hsync-len = <128>;
hfront-porch = <40>;
hback-porch = <88>;
vsync-len = <1>;
vfront-porch = <10>;
vback-porch = <33>;
pixelclk-active = <1>;
Hi. You can find the pictures attached to this comment.link text