U-Boot: splash logo on HDMI (needs a sun9i display driver) #51
Labels
No labels
blocked-physical
cleanup
hardware
infra
kernel
P1-critical
P2-high
P3-normal
P4-later
reliability
security
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tiagoagueda/a80#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Nice to have, not needed for anything. Filed so the register knowledge is captured
while it is fresh.
A picture works under Linux (#22). Showing one from U-Boot is a different job, because
U-Boot has no display support for the A80 at all:
drivers/video/sunxi/sunxi_display.cdrivers/video/sunxi/sunxi_de2.cdrivers/video/sunxi/sunxi_dw_hdmi.cgrep -rl sun9i drivers/video/returns nothing, and our.confighas zeroVIDEO,SPLASHorBMPoptions enabled.The A80 falls between the two families: it is DE1, but with the mandatory DRC and CMU
stages that
sunxi_display.cknows nothing about - the blocks that took a whole session towork out in #22.
What it would take
Essentially reimplementing the kernel work in U-Boot:
0x20000000offset, and the global alpha for formats with no alpha channellatch, enable
TCON1_Src_Sel = 01(DE 1)Two things make this tractable rather than speculative:
sunxi_dw_hdmi.calready exists and is the same IP family (DW HDMI TX)46-hdmi-picture.md and
patches/linux-drm-sun9i-display/
sunxi_display.cis a reasonable structural template for a DE1 pipeline.Also
U-Boot's splash wants a BMP, not a JPEG -
CONFIG_SPLASH_SCREENplusCONFIG_CMD_BMP, with the image in a partition or embedded in the image. Converting thefile is trivial; the driver is the work.
Rough shape: a day or two of genuinely new code.
Done when