<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: How do I customize the splashscreen image in U-boot?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457354#M71504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weidong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a newer version of this patch? If you read the device info carefully, we are using 4.4.2 (KitKat), and those patches are for 4.2.2 &amp;amp; 4.3.2 (Jelly Bean). Or is there no major changes within the kernel/uboot for 4.4.2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Sep 2015 14:53:12 GMT</pubDate>
    <dc:creator>micschrag</dc:creator>
    <dc:date>2015-09-18T14:53:12Z</dc:date>
    <item>
      <title>How do I customize the splashscreen image in U-boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457351#M71501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Device info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Processor: iMX6Q (Dual Core Version)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Uboot Version: 2009.08&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BSP Version: Freescale Android BSP for KitKat 4.4.2_r1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to customize the splashscreen within U-boot, but have run into a problem: Whenever I put in a custom splashscreen, the screen appears blank. Here is an explanation of what processes I have tried so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a bit of research, I came across a thread that had the following manual outlining a process for setting up my splashscreen: &lt;A _jive_internal="true" href="https://community.nxp.com/servlet/JiveServlet/download/2004-305293-320516-257543/uboot_mx6x.pdf" title="https://community.freescale.com/servlet/JiveServlet/download/320516-257543/uboot_mx6x.pdf"&gt;https://community.freescale.com/servlet/JiveServlet/download/320516-257543/uboot_mx6x.pdf&lt;/A&gt; (section 5.4). After successfully implementing steps 1 and 2 (enabling and setting variables), I was able to see the default Freescale splashscreen (the one I had seen on a development board I have).Now, I proceeded to step 3, and downloaded a 600x400 .jpeg file, converted it to .bmp by editing it in MS Paint, and got the bin2txt.py tool (&lt;A href="https://urldefense.proofpoint.com/v2/url?u=https-3A__community.freescale.com_docs_DOC-2D93833&amp;amp;d=AwMFaQ&amp;amp;c=ok-E3KPLB6bVatyrbVmWeA&amp;amp;r=JZ_WChEvCOQ0FtObk4uu-uWCJLG343BrGF5PC9WJ5hU&amp;amp;m=fTrxFV03D-tn5Cs0ugTmWP19-qGtH6QgYKVzyY2uaUQ&amp;amp;s=4kYdEtKpRq7PYepJJUo4NsxJRxXbp8F-NhOHHElrMAk&amp;amp;e="&gt;https://community.freescale.com/docs/DOC-93833&lt;/A&gt;), then converted my bmp image using the tool. Here is where there might be an issue: the tool converted my file into a .h file. When I compared this .h file with the Freescale .c file, i noticed that there was little difference besides the declaration of the array, and a logo_size method. I added these items, and added the .o file into the Makefile. Now, I backed up the Freescale splashscreen file, and copied my .c file over the old file. When I rebooted the device, the splashscreen was blank. Here is the debug I have attempted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of these changes have been made using a clean build.&lt;/P&gt;&lt;P&gt;1. I tried a different image to make sure there wasn't an error with the one I was using.&lt;/P&gt;&lt;P&gt;2. I tried saving the file in 16 color bmp format instead&lt;/P&gt;&lt;P&gt;3. I tried editing /board/freescale/&lt;SPAN class="jstree-clicked change-type-MODIFY"&gt;mx6q_sabresd/&lt;SPAN class="jstree-clicked change-type-MODIFY"&gt;mx6q_sabresd.c, and changed the following code items (and they are the same name as the constant items in the my_logo.c file)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="jstree-clicked change-type-MODIFY"&gt;&lt;SPAN class="jstree-clicked change-type-MODIFY"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="source"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #ifdef CONFIG_VIDEO_MX5&lt;/CODE&gt;&lt;/P&gt;&lt;P class="deleted-lines line" data-line="101" data-line-type="REMOVED"&gt;&lt;CODE class="source"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extern unsigned char my_logo[]; &lt;/CODE&gt;&lt;/P&gt;&lt;P class="deleted-lines line" data-line="102" data-line-type="REMOVED"&gt;&lt;CODE class="source"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extern int &lt;SPAN class="ediff-change"&gt;my_logo_size&lt;/SPAN&gt;;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="source"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; extern int g_ipu_hw_rev;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: auto; margin-bottom: auto;"&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;and &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (s != NULL) {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addr = simple_strtoul(s, NULL, 16);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #if defined(CONFIG_ARCH_MMU)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; addr = ioremap_nocache(iomem_to_phys(addr), my_logo_size);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #endif&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; memcpy((char *)addr, (char *)my_logo, my_logo_size);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;/P&gt;&lt;P&gt;All of these changed ended up producing the same result: a blank screen with no logo appearing. I have one more item to test: trying to grab a bmp without the paint conversion, but then I am out of ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 15:08:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457351#M71501</guid>
      <dc:creator>micschrag</dc:creator>
      <dc:date>2015-09-17T15:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I customize the splashscreen image in U-boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457352#M71502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The bmp without conversion did not work any better than my other attempts. I have rolled back the changes, and am now back from whence I have began.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 20:40:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457352#M71502</guid>
      <dc:creator>micschrag</dc:creator>
      <dc:date>2015-09-17T20:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do I customize the splashscreen image in U-boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457353#M71503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; you can refer to this post :&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-98109"&gt;Patch to support uboot logo keep from uboot to kernel to Android for JB4.2.2_1.1.0-GA and L3.0.35_4.1.0-GA BSP (HDMI, LC…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Hope it can help you!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 02:29:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457353#M71503</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2015-09-18T02:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I customize the splashscreen image in U-boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457354#M71504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weidong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a newer version of this patch? If you read the device info carefully, we are using 4.4.2 (KitKat), and those patches are for 4.2.2 &amp;amp; 4.3.2 (Jelly Bean). Or is there no major changes within the kernel/uboot for 4.4.2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2015 14:53:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457354#M71504</guid>
      <dc:creator>micschrag</dc:creator>
      <dc:date>2015-09-18T14:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I customize the splashscreen image in U-boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457355#M71505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;Yes, you can customize the u-Boot splash screen.&lt;/P&gt;&lt;P&gt;And I think that you were taking the right approach. However I don't see that you modified the /board/freescale/common/Makefile to include your &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;my_logo.c file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;You could do something like:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;-COBJS-${CONFIG_VIDEO_MX5}&lt;/TD&gt;&lt;TD&gt;+= fsl_bmp_600x400.o fsl_bmp_reversed_600x400.o&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;+COBJS-${CONFIG_VIDEO_MX5}&lt;/TD&gt;&lt;TD&gt;+= fsl_bmp_600x400.o fsl_bmp_reversed_600x400.o my_logo.o&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:17:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457355#M71505</guid>
      <dc:creator>leiwang111</dc:creator>
      <dc:date>2015-09-22T15:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I customize the splashscreen image in U-boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457356#M71506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to my initial description "I added these items, and added the .o file into the Makefile". This portion of my description covers that process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:57:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457356#M71506</guid>
      <dc:creator>micschrag</dc:creator>
      <dc:date>2015-09-22T15:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I customize the splashscreen image in U-boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457357#M71507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I miss-read your post. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What board are you working with? Is it a SabreSD board or a custom board. I don't think SabreSD board display u-Boot splashscreen by default. Some environment variables need to be added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also since you don't have problem displaying the default splashscreen (I believe it is fsl_bmp_600x400.c or Sabre). I think one easy thing to try is to replace the array content (const unsigned char fsl_bmp_600x400[] ) with what you generated without change the variable names and anything else. Or even better just partially replacing elements of that big array (with equal number of elements of course) to see if you can see any change in the displayed splash image. Those elements just simply map to each pixel in 8-bit color format of your image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That might give you some hint with what is going on. I had no problem to customize the u-Boot splashscreen at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 16:23:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457357#M71507</guid>
      <dc:creator>leiwang111</dc:creator>
      <dc:date>2015-09-22T16:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: How do I customize the splashscreen image in U-boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457358#M71508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am finally able to display a custom splashscreen, and here is the information I needed to do so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Make a 600x400 bmp, and &lt;STRONG&gt;save as 8bpp (256 color)&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This step was where I was having an issue. I found that I needed an 8 bit depth bmp by digging through the u-boot source code (&lt;TT&gt;uboot-imx/include/configs/mx6dl_sabresd.h)&lt;/TT&gt;&lt;/P&gt;&lt;P&gt;2. Convert the bmp to a c header file by running the bin2txt.py tool (see above).&lt;/P&gt;&lt;P&gt;3. Change the header file into a c file by adding a few lines to it (make it a const and add a size function to the bottom).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; An example can be found in the fsl_bmp-600x400.c file (uboot-imx/board/freescale/common/)&lt;/P&gt;&lt;P&gt;4. Add the call for the new splashscreen to the MakeFile (uboot-imx/board/freescale/common/).&lt;/P&gt;&lt;P&gt;5. (If Needed) Change the references to the fsl splashscreen to our custom one in uboot-imx/board/freescale/mx6q_sabresd/mx6q_sabresd.c&lt;/P&gt;&lt;P&gt;6. Perform a clean build. These changes should be present in your next set of images.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Oct 2015 15:27:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-do-I-customize-the-splashscreen-image-in-U-boot/m-p/457358#M71508</guid>
      <dc:creator>micschrag</dc:creator>
      <dc:date>2015-10-01T15:27:45Z</dc:date>
    </item>
  </channel>
</rss>

