<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6703</bug_id>
          
          <creation_ts>2014-09-09 17:05:06 +0000</creation_ts>
          <short_desc>Kernel hangs on boot when HDMI cable is plugged</short_desc>
          <delta_ts>2015-10-21 16:50:11 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-meta-fsl-arm</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daiane">angolini</reporter>
          <assigned_to name="Otavio Salvador">otavio</assigned_to>
          <cc>martin.hintermann</cc>
    
    <cc>picmaster</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45498</commentid>
    <comment_count>0</comment_count>
    <who name="Daiane">angolini</who>
    <bug_when>2014-09-09 17:05:06 +0000</bug_when>
    <thetext>If HDMI cable is plugged during the reset/boot process, kernel hangs at the beginning.

If kernel is loaded, and then the cable is inserted, no problem.

It was reproduced with imx6dlsabresd and imx6qsabresd,
kernel: 3.10.17-1.0.1_ga+gdac46c
u-boot: 2014.07+fslc+ga824e89</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45499</commentid>
    <comment_count>1</comment_count>
    <who name="Daiane">angolini</who>
    <bug_when>2014-09-09 17:05:39 +0000</bug_when>
    <thetext>https://lists.yoctoproject.org/pipermail/meta-freescale/2014-March/007732.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45602</commentid>
    <comment_count>2</comment_count>
    <who name="Daiane">angolini</who>
    <bug_when>2014-09-13 00:44:44 +0000</bug_when>
    <thetext>A workaround for this would be using the following command line in u-boot

=&gt; setenv panel Hannstar-XGA

to avoid the splash screen to be re-directed to HDMI, forcing it to be always on LDVS

However it does not fix the kernel crash, only avoid it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47009</commentid>
    <comment_count>3</comment_count>
    <who name="Nikolay Dimitrov">picmaster</who>
    <bug_when>2014-11-13 23:14:29 +0000</bug_when>
    <thetext>As discussed on the ML, there&apos;s another possible work-around (thanks to Fabio). 
Here are the steps to implement it on imx6q sabresd:

1. Disable the HDMI support in u-boot-fsl, rebuild U-Boot, write the new bootloader on the sdcard.
2. Add your video bootargs to &quot;mmcarg&quot; U-Boot env-var via &quot;editenv mmcarg&quot;:

video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24

3. &quot;setenv mmcdev 0&quot; if you&apos;re booting from SD2, otherwise skip to 4.
4. &quot;run bootcmd&quot;.
5. Observe that Xorg is now visible on the HDMI screen.

HDMI cable can be either connected during power-on, or attached later. In both cases HDMI video will work properly.

As already stated above, this is just a practical work-around and it doesn&apos;t solve the original issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47025</commentid>
    <comment_count>4</comment_count>
    <who name="Nikolay Dimitrov">picmaster</who>
    <bug_when>2014-11-14 11:00:46 +0000</bug_when>
    <thetext>&gt; 2. Add your video bootargs to &quot;mmcarg&quot; U-Boot env-var via &quot;editenv mmcarg&quot;:

&quot;mmcarg&quot; should be actually &quot;mmcargs&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55576</commentid>
    <comment_count>5</comment_count>
    <who name="Daiane">angolini</who>
    <bug_when>2015-10-21 16:50:11 +0000</bug_when>
    <thetext>It is working now (jethro) with u-boot 2015.10 (at least)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>