From: Mikko Ylinen Date: Fri, 12 Dec 2014 13:15:21 +0000 (+0200) Subject: setup-gummiboot-conf: Add HDMI/DP specific splash .conf entries X-Git-Tag: accepted/tizen/common/20141215.134716^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fadaptation%2Fsetup-scripts.git;a=commitdiff_plain;h=40e26bbb19f0450a0495263798ebe6cee4e736ae setup-gummiboot-conf: Add HDMI/DP specific splash .conf entries Unused digital display outputs cause a kernel boot timeout that adds to system boot up time: "[drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit banging on pin 5" The problem goes away by disabling unused outputs: video::d. However, the problem gets complicated since VTC1010 provides only DP-1 connector, and MinnowBoard MAX provides only HDMI-A-1 connector. The solution is to generate HDMI and DP specific splash .conf entries. The desired config entry can be enabled based on the platform. Change-Id: I8544ee7cf15d7b4fb8837147e5149cca2f8c6b7e Bug-Tizen: TC-2195 Signed-off-by: Mikko Ylinen --- diff --git a/setup-scripts-bootloader-conf b/setup-scripts-bootloader-conf index 6c56f8b..af5a25e 100755 --- a/setup-scripts-bootloader-conf +++ b/setup-scripts-bootloader-conf @@ -163,10 +163,18 @@ add_subcommand() # Add a splash entry for fastboot testing and disable fbcon if [ "$boot" = "gummiboot" ] && [ -f "$splash_path" ]; then - splash_opts="$options i915.fastboot=1 fbcon=map:9" + local splash_opts="$options i915.fastboot=1 fbcon=map:9" setup-$boot-conf $verbose --bootdir "$bootdir" add \ $force --splash "$splash_path" "$kernel-splash" \ "Splash $os_name" "$kernel" "$splash_opts" + splash_opts_dp="$splash_opts video=HDMI-A-1:d" + setup-$boot-conf $verbose --bootdir "$bootdir" add \ + $force --splash "$splash_path" "$kernel-splash-dp" \ + "Splash DP $os_name" "$kernel" "$splash_opts_dp" + splash_opts_hdmi="$splash_opts video=DP-1:d" + setup-$boot-conf $verbose --bootdir "$bootdir" add \ + $force --splash "$splash_path" "$kernel-splash-hdmi" \ + "Splash HDMI $os_name" "$kernel" "$splash_opts_hdmi" fi }