<?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中的主题 Quick note about changing the default Linux Tux logo -blog archive</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Quick-note-about-changing-the-default-Linux-Tux-logo-blog/m-p/187518#M9031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Before you change the default logo, make sure you have the Linux logo enabled: under the “&lt;STRONG&gt;Linux Kernel Configuration&lt;/STRONG&gt;” menu go to “&lt;STRONG&gt;Device Drivers-&amp;gt;Graphics support-&amp;gt;Bootup logo&lt;/STRONG&gt;”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;In my case, on the iMX53 QSB, I have the “&lt;STRONG&gt;Standard 224-color Linux logo&lt;/STRONG&gt;” checked. You can also select the monochrome or the 16-color one, but you will need to play with the settings of the “&lt;STRONG&gt;ppmquant&lt;/STRONG&gt;” command noted below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Good bet is that if you did see Tux booting your custom uImage before, chances&amp;nbsp;are that you already have everything that you need enabled. I am not going to go into details of how to enable/troubleshoot the u-Boot video driver and/or the kernel video output, because is beyond the scope of this note.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;You will need your custom image or logo in PPM format. I personally like using GIMP2 (GNU Image Manipulation Program 2) to do my images.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Save the image in PPM binary format. I named mine “&lt;SPAN style="color: rgb(0, 0, 0);"&gt;&lt;STRONG&gt;logo.tmp&lt;/STRONG&gt;&lt;/SPAN&gt;”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Next, you need to adjust number of colors to be at 224 using “&lt;STRONG style="color: rgb(0, 0, 0); "&gt;ppmquant&lt;/STRONG&gt;”. If you want to use 16 colors you will need the palette file “&lt;SPAN style="color: rgb(0, 0, 0);"&gt;&lt;STRONG&gt;clut_vga16.ppm&lt;/STRONG&gt;&lt;/SPAN&gt;” located in &lt;STRONG&gt;“&amp;lt;install directory&amp;gt;/ltib/rpm/BUILD/linux/drivers/video/logo&lt;/STRONG&gt;” along with your logo.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Convert the temporary PPM binary image in 224 color binary PPM:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="font-size-3" style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif;"&gt;ppmquant 224 logo.tmp &amp;gt; logo_224.tmp&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;The image needs converted now to ASCII format and it is ready for compiling:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="font-size-3" style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif;"&gt;pnmnoraw logo_224.tmp &amp;gt; logo_linux_clut224.ppm&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Now copy “&lt;STRONG&gt;logo_linux_clut224.ppm&lt;/STRONG&gt;” into “&lt;STRONG&gt;&amp;lt;install directory&amp;gt;/ltib/rpm/BUILD/linux/drivers/video/logo&lt;/STRONG&gt;” overwriting the existing default file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Make sure you successfully recompile your kernel. The Linux kernel make process should take care of converting your ASCII PPM 224 color logo into a C source file and compile/link it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;I have experimented with different size images and so far I had no trouble displaying them all. One caveat though: if you have a big image, make sure that you partition your SD card properly to accommodate the size increase of your uImage file.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Nov 2011 20:13:35 GMT</pubDate>
    <dc:creator>IvicaEftimovski</dc:creator>
    <dc:date>2011-11-15T20:13:35Z</dc:date>
    <item>
      <title>Quick note about changing the default Linux Tux logo -blog archive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Quick-note-about-changing-the-default-Linux-Tux-logo-blog/m-p/187518#M9031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Before you change the default logo, make sure you have the Linux logo enabled: under the “&lt;STRONG&gt;Linux Kernel Configuration&lt;/STRONG&gt;” menu go to “&lt;STRONG&gt;Device Drivers-&amp;gt;Graphics support-&amp;gt;Bootup logo&lt;/STRONG&gt;”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;In my case, on the iMX53 QSB, I have the “&lt;STRONG&gt;Standard 224-color Linux logo&lt;/STRONG&gt;” checked. You can also select the monochrome or the 16-color one, but you will need to play with the settings of the “&lt;STRONG&gt;ppmquant&lt;/STRONG&gt;” command noted below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Good bet is that if you did see Tux booting your custom uImage before, chances&amp;nbsp;are that you already have everything that you need enabled. I am not going to go into details of how to enable/troubleshoot the u-Boot video driver and/or the kernel video output, because is beyond the scope of this note.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;You will need your custom image or logo in PPM format. I personally like using GIMP2 (GNU Image Manipulation Program 2) to do my images.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Save the image in PPM binary format. I named mine “&lt;SPAN style="color: rgb(0, 0, 0);"&gt;&lt;STRONG&gt;logo.tmp&lt;/STRONG&gt;&lt;/SPAN&gt;”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Next, you need to adjust number of colors to be at 224 using “&lt;STRONG style="color: rgb(0, 0, 0); "&gt;ppmquant&lt;/STRONG&gt;”. If you want to use 16 colors you will need the palette file “&lt;SPAN style="color: rgb(0, 0, 0);"&gt;&lt;STRONG&gt;clut_vga16.ppm&lt;/STRONG&gt;&lt;/SPAN&gt;” located in &lt;STRONG&gt;“&amp;lt;install directory&amp;gt;/ltib/rpm/BUILD/linux/drivers/video/logo&lt;/STRONG&gt;” along with your logo.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Convert the temporary PPM binary image in 224 color binary PPM:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="font-size-3" style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif;"&gt;ppmquant 224 logo.tmp &amp;gt; logo_224.tmp&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;The image needs converted now to ASCII format and it is ready for compiling:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="font-size-3" style="color: rgb(255, 0, 0); font-family: arial,helvetica,sans-serif;"&gt;pnmnoraw logo_224.tmp &amp;gt; logo_linux_clut224.ppm&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Now copy “&lt;STRONG&gt;logo_linux_clut224.ppm&lt;/STRONG&gt;” into “&lt;STRONG&gt;&amp;lt;install directory&amp;gt;/ltib/rpm/BUILD/linux/drivers/video/logo&lt;/STRONG&gt;” overwriting the existing default file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;Make sure you successfully recompile your kernel. The Linux kernel make process should take care of converting your ASCII PPM 224 color logo into a C source file and compile/link it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="font-size-3" style="font-family: arial,helvetica,sans-serif;"&gt;I have experimented with different size images and so far I had no trouble displaying them all. One caveat though: if you have a big image, make sure that you partition your SD card properly to accommodate the size increase of your uImage file.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2011 20:13:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Quick-note-about-changing-the-default-Linux-Tux-logo-blog/m-p/187518#M9031</guid>
      <dc:creator>IvicaEftimovski</dc:creator>
      <dc:date>2011-11-15T20:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Quick note about changing the default Linux Tux logo -blog archive</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Quick-note-about-changing-the-default-Linux-Tux-logo-blog/m-p/187519#M9032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;A href="https://community.nxp.com/people/IvicaEftimovski"&gt;IvicaEftimovski&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;Is it possiable to change more than one Image During BootUp without using any Player &lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 06:37:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Quick-note-about-changing-the-default-Linux-Tux-logo-blog/m-p/187519#M9032</guid>
      <dc:creator>hemanthkumarcha</dc:creator>
      <dc:date>2014-05-06T06:37:50Z</dc:date>
    </item>
  </channel>
</rss>

