DB410 LK splashscreen

Hi

I am using custom LCD panel with Android on Dragonboard410c using SN65DSI84 DSI to LVDS bridge and it is working with Android. Problem i have is LK where i dont get any splash screen, so until androids bootanimation is shown screen is black. What i would like to know is if LK is able to show some splashscreen. I tried setting DISPLAY_SPLASH_SCREEN=1 in LKs makefile and i have set right panel using fastboot:
sudo fastboot oem select-display-panel TWS5101DHTL40N
That is added in LK following DSI Display Porting Guide.PDF instructions

Any pointers will be appreciated

Which version of Android are you using? qcom or linaro image?

Qcom at the moment.

Thanks

HI Roko,

Please make sure below changes are updated into your source code.

1)To enable the continuous splash display, change DISPLAY_SPLASH_SCREEN to 1 at bootable/bootloader/lk/target/msm8916/rules.mk.

2)please check target_cont_splash_screen() function in bootable/bootloader/lk/target/msm8916/init.c. whether it returns 1 or not.

if you still face the issue to analyze it further please upload your boot up logs.

Thanks,
Ramesh

Hi

So after checking LK sources and boot log i see that LK is searching for splash partition. I guess i need to make splash partition on emmc and put some splash.img there?
I guess there is no default splash screen?

this is my boot log :

[0] [0] welcome to lk
[10] [10] platform_init()
[10] [10] target_init()
[50] [50] SDHC Running in HS200 mode
[70] [70] Done initialization of the card
[80] [80] pm8x41_get_is_cold_boot: cold boot
[90] [90] OEM panel override:TWS5101DHTL40N
[140] [140] Config MIPI_VIDEO_PANEL.
[150] [150] ERROR: splash Partition invalid
[170] [170] Turn on MIPI_VIDEO_PANEL.
[190] [190] Video lane tested successfully
[210] [210] pm8x41_get_is_cold_boot: cold boot
[220] [220] Unable to locate /bootselect partition
[220] [220] boot_verifier: Device is in ORANGE boot state.
[220] [220] Device is unlocked! Skipping verification…
[230] [230] Loading boot image (17268736): start
[350] [350] Loading boot image (17268736): done
[360] [360] use_signed_kernel=1, is_unlocked=1, is_tampered=0.
[810] [810] Best match DTB tags 247/00000018/0x00000000/0/2000b/0/0/0/90a4e327/28634
[810] [810] Using pmic info 0x2000b/0x0/0x0/0x0 for device 0x2000b/0x0/0x0/0x0
[820] [820] target_display_panel_node:510: hw_id=24 panel_name=" TWS5101DHTL40N"
[830] [830] cmdline: console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 earlyprit
[930] [930] Updating device tree: done
[940] [940] Turn off MIPI_VIDEO_PANEL.
[950] [950] Target_cont_splash=1
[950] [950] Continuous splash enabled, keeping panel alive.
[960] [960] booting linux @ 0x80080000, ramdisk @ 0x82000000 (1071987), tags/device tree @ 0x81e00000
[970] [970] Jumping to kernel via monitor

How long is LK even running for before the kernel takes over? I’d be inclined to just skip the LK splash and add a kernel splash.

I was thinking same thing since LK is fast. Will try to do that

Best regards