<?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中的主题 Problem for making kernel for imx6DQ board</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-for-making-kernel-for-imx6DQ-board/m-p/371911#M53131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of the project requriement, I need to compile the kernel to replace the original one. Lacking of the Android compiling environment, so I decided to unpacking the original boot.img, and replace the kernel image and then pack it again through the tools &lt;SPAN style="color: #ff0000;"&gt;mkbootimg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt; I followed the User Guide to compile the kernel using &lt;SPAN style="color: #ff0000;"&gt;make uImage&lt;/SPAN&gt;, and then cp the &lt;SPAN style="color: #ff0000;"&gt;uImage&lt;/SPAN&gt; to the path where I wanted to pack boot.img, but it didn't work.&lt;/LI&gt;&lt;LI&gt; Then I compared the uImage and orginal kernel image which I got from unpacking, and I found that the &lt;SPAN style="color: #ff0000;"&gt;uImage&lt;/SPAN&gt; owned an &lt;SPAN style="color: #ff0000;"&gt;external header&lt;/SPAN&gt; including some description of the kernel. My informatin is like this, '&lt;SPAN style="color: #ff0000;"&gt;Linux-3.0.35-06522-xxxxxxx&lt;/SPAN&gt;' and other dump information&lt;/LI&gt;&lt;LI&gt; So I suspected that maybe &lt;SPAN style="color: #ff0000;"&gt;zImage&lt;/SPAN&gt; should be the right one. After the test, I got that point.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is what's the function of &lt;SPAN style="color: #ff0000;"&gt;uImage&lt;/SPAN&gt;. As the User Guide said, the uboot can only boot the image which is added by '&lt;SPAN style="color: #ff0000;"&gt;mkimage&lt;/SPAN&gt;' tool. But the truth is not like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the text I extract from the User Guilde elaborating the function of &lt;SPAN style="color: #ff0000;"&gt;mkimage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Any image that should be loaded by U-Boot must have an unique image head. For&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;example, data must be added at the head of the loaded image to tell U-Boot about the&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;image (i.e., it's a kernel, or ramfs, etc) and how to load the image (i.e., load/execute&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;address). Before you can load any image into RAM by U-Boot, you need a tool to add&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;this information and generate a new image which can be recognized by U-Boot. The tool&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;is delivered together with U-Boot. After you set up U-Boot using the steps outlined&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;above, you can find the tool (mkimage) under tools/. The process of using mkimage to&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;generate an image (for example, kernel image and ramfs image), which is to be loaded by&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;U-Boot, is outlined in the subsequent sections of this document.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Dec 2014 12:56:58 GMT</pubDate>
    <dc:creator>qiancui</dc:creator>
    <dc:date>2014-12-23T12:56:58Z</dc:date>
    <item>
      <title>Problem for making kernel for imx6DQ board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-for-making-kernel-for-imx6DQ-board/m-p/371911#M53131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of the project requriement, I need to compile the kernel to replace the original one. Lacking of the Android compiling environment, so I decided to unpacking the original boot.img, and replace the kernel image and then pack it again through the tools &lt;SPAN style="color: #ff0000;"&gt;mkbootimg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt; I followed the User Guide to compile the kernel using &lt;SPAN style="color: #ff0000;"&gt;make uImage&lt;/SPAN&gt;, and then cp the &lt;SPAN style="color: #ff0000;"&gt;uImage&lt;/SPAN&gt; to the path where I wanted to pack boot.img, but it didn't work.&lt;/LI&gt;&lt;LI&gt; Then I compared the uImage and orginal kernel image which I got from unpacking, and I found that the &lt;SPAN style="color: #ff0000;"&gt;uImage&lt;/SPAN&gt; owned an &lt;SPAN style="color: #ff0000;"&gt;external header&lt;/SPAN&gt; including some description of the kernel. My informatin is like this, '&lt;SPAN style="color: #ff0000;"&gt;Linux-3.0.35-06522-xxxxxxx&lt;/SPAN&gt;' and other dump information&lt;/LI&gt;&lt;LI&gt; So I suspected that maybe &lt;SPAN style="color: #ff0000;"&gt;zImage&lt;/SPAN&gt; should be the right one. After the test, I got that point.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is what's the function of &lt;SPAN style="color: #ff0000;"&gt;uImage&lt;/SPAN&gt;. As the User Guide said, the uboot can only boot the image which is added by '&lt;SPAN style="color: #ff0000;"&gt;mkimage&lt;/SPAN&gt;' tool. But the truth is not like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the text I extract from the User Guilde elaborating the function of &lt;SPAN style="color: #ff0000;"&gt;mkimage&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;Any image that should be loaded by U-Boot must have an unique image head. For&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;example, data must be added at the head of the loaded image to tell U-Boot about the&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;image (i.e., it's a kernel, or ramfs, etc) and how to load the image (i.e., load/execute&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;address). Before you can load any image into RAM by U-Boot, you need a tool to add&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;this information and generate a new image which can be recognized by U-Boot. The tool&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;is delivered together with U-Boot. After you set up U-Boot using the steps outlined&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;above, you can find the tool (mkimage) under tools/. The process of using mkimage to&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;generate an image (for example, kernel image and ramfs image), which is to be loaded by&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;U-Boot, is outlined in the subsequent sections of this document.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 12:56:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-for-making-kernel-for-imx6DQ-board/m-p/371911#M53131</guid>
      <dc:creator>qiancui</dc:creator>
      <dc:date>2014-12-23T12:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem for making kernel for imx6DQ board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-for-making-kernel-for-imx6DQ-board/m-p/371912#M53132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as I know newer versions of U-boot are able to use a zImage.&lt;/P&gt;&lt;P&gt;Which error are you getting when tryin to use the uImage ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Alejandro &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Jan 2015 17:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-for-making-kernel-for-imx6DQ-board/m-p/371912#M53132</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-01-12T17:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem for making kernel for imx6DQ board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-for-making-kernel-for-imx6DQ-board/m-p/371913#M53133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Alejandro&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx for your reply, the problem is that when I used the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;uImage&lt;/SPAN&gt;, the Uboot can't boot the kernel successfully because of the added header filled by the tool 'mkimage'. But based on the this condition, why the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; User Guilde&lt;/SPAN&gt; still propose that the uImage should be generated for Uboot? I can't understand the function of uImage.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 05:46:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-for-making-kernel-for-imx6DQ-board/m-p/371913#M53133</guid>
      <dc:creator>qiancui</dc:creator>
      <dc:date>2015-01-14T05:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem for making kernel for imx6DQ board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-for-making-kernel-for-imx6DQ-board/m-p/371914#M53134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check in the boot script and the environment variables that you are using the bootm command and not the bootz.&lt;/P&gt;&lt;P&gt;The bootz command is used for the zImage not the uImage. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jan 2015 21:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-for-making-kernel-for-imx6DQ-board/m-p/371914#M53134</guid>
      <dc:creator>alejandrolozan1</dc:creator>
      <dc:date>2015-01-14T21:00:44Z</dc:date>
    </item>
  </channel>
</rss>

