setup-gummiboot-conf: Add HDMI/DP specific splash .conf entries 56/31956/3 accepted/tizen/common/20141215.134716 accepted/tizen/ivi/20141216.072406 submit/tizen_common/20141215.131200 submit/tizen_ici/20141215.131200 submit/tizen_ivi/20141215.131200 submit/tizen_ivi/20141216.060843
authorMikko Ylinen <mikko.ylinen@intel.com>
Fri, 12 Dec 2014 13:15:21 +0000 (15:15 +0200)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Fri, 12 Dec 2014 14:31:21 +0000 (06:31 -0800)
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:<output>: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 <mikko.ylinen@intel.com>
setup-scripts-bootloader-conf

index 6c56f8b..af5a25e 100755 (executable)
@@ -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
 }