<?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>topic i.mx6ull Bootup With Uncompress Kernel in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ull-Bootup-With-Uncompress-Kernel/m-p/760149#M118137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to benchmark the performance of booting using uncompress kernel. I am using yocto guide from NXP and currently my kernel version is 4.9.11. By default, the yocto system generated zImage. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the yocto build system below path, i found the file name 'Image'&lt;/P&gt;&lt;P&gt;yocto/build-fb/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/4.9.11-r0/build/arch/arm/boot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use uboot-image to convert this file into uImage file with the following command:&lt;/P&gt;&lt;PRE&gt;uboot-mkimage -A arm -O linux -T kernel -C none -a 80800000 -e 80800000 -n myuImage -d Image uImage&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I boot uImage file, the boot up process stop at 'Starting kernel ...'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Uboot command as below:&lt;/P&gt;&lt;PRE&gt;run mmcargs;
run loadfdt;
fatload mmc 1 0x80800000 uImage&amp;nbsp; (from SD)bootm 0x80800000 - 0x83000000 &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Console output as below:&lt;/P&gt;&lt;PRE&gt;17350720 bytes read in 766 ms (21.6 MiB/s)
=&amp;gt; bootm 0x80800000 - 0x83000000
## Booting kernel from Legacy Image at 80800000 ...
&amp;nbsp;&amp;nbsp; Image Name:&amp;nbsp;&amp;nbsp; myuImage
&amp;nbsp;&amp;nbsp; Image Type:&amp;nbsp;&amp;nbsp; ARM Linux Kernel Image (uncompressed)
&amp;nbsp;&amp;nbsp; Data Size:&amp;nbsp;&amp;nbsp;&amp;nbsp; 17350656 Bytes = 16.5 MiB
&amp;nbsp;&amp;nbsp; Load Address: 80800000
&amp;nbsp;&amp;nbsp; Entry Point:&amp;nbsp; 80800000
&amp;nbsp;&amp;nbsp; Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
&amp;nbsp;&amp;nbsp; Booting using the fdt blob at 0x83000000
&amp;nbsp;&amp;nbsp; Loading Kernel Image ... OK
&amp;nbsp;&amp;nbsp; Using Device Tree in place at 83000000, end 8300be5d
Modify /soc/aips-bus@02200000/epdc@0228c000:status disabled
ft_system_setup for mx6




Starting kernel ...&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jan 2018 06:19:21 GMT</pubDate>
    <dc:creator>tkcheng01</dc:creator>
    <dc:date>2018-01-26T06:19:21Z</dc:date>
    <item>
      <title>i.mx6ull Bootup With Uncompress Kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ull-Bootup-With-Uncompress-Kernel/m-p/760149#M118137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to benchmark the performance of booting using uncompress kernel. I am using yocto guide from NXP and currently my kernel version is 4.9.11. By default, the yocto system generated zImage. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the yocto build system below path, i found the file name 'Image'&lt;/P&gt;&lt;P&gt;yocto/build-fb/tmp/work/imx6ull14x14evk-poky-linux-gnueabi/linux-imx/4.9.11-r0/build/arch/arm/boot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use uboot-image to convert this file into uImage file with the following command:&lt;/P&gt;&lt;PRE&gt;uboot-mkimage -A arm -O linux -T kernel -C none -a 80800000 -e 80800000 -n myuImage -d Image uImage&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I boot uImage file, the boot up process stop at 'Starting kernel ...'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Uboot command as below:&lt;/P&gt;&lt;PRE&gt;run mmcargs;
run loadfdt;
fatload mmc 1 0x80800000 uImage&amp;nbsp; (from SD)bootm 0x80800000 - 0x83000000 &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Console output as below:&lt;/P&gt;&lt;PRE&gt;17350720 bytes read in 766 ms (21.6 MiB/s)
=&amp;gt; bootm 0x80800000 - 0x83000000
## Booting kernel from Legacy Image at 80800000 ...
&amp;nbsp;&amp;nbsp; Image Name:&amp;nbsp;&amp;nbsp; myuImage
&amp;nbsp;&amp;nbsp; Image Type:&amp;nbsp;&amp;nbsp; ARM Linux Kernel Image (uncompressed)
&amp;nbsp;&amp;nbsp; Data Size:&amp;nbsp;&amp;nbsp;&amp;nbsp; 17350656 Bytes = 16.5 MiB
&amp;nbsp;&amp;nbsp; Load Address: 80800000
&amp;nbsp;&amp;nbsp; Entry Point:&amp;nbsp; 80800000
&amp;nbsp;&amp;nbsp; Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
&amp;nbsp;&amp;nbsp; Booting using the fdt blob at 0x83000000
&amp;nbsp;&amp;nbsp; Loading Kernel Image ... OK
&amp;nbsp;&amp;nbsp; Using Device Tree in place at 83000000, end 8300be5d
Modify /soc/aips-bus@02200000/epdc@0228c000:status disabled
ft_system_setup for mx6




Starting kernel ...&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 06:19:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ull-Bootup-With-Uncompress-Kernel/m-p/760149#M118137</guid>
      <dc:creator>tkcheng01</dc:creator>
      <dc:date>2018-01-26T06:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6ull Bootup With Uncompress Kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ull-Bootup-With-Uncompress-Kernel/m-p/760150#M118138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi tk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look on&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://stackoverflow.com/questions/45314335/why-using-a-uimage-instead-of-a-zimage" title="https://stackoverflow.com/questions/45314335/why-using-a-uimage-instead-of-a-zimage"&gt;linux - Why using a uImage instead of a zImage - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and post it on kernel mail list as this is general linux question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 11:33:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ull-Bootup-With-Uncompress-Kernel/m-p/760150#M118138</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-01-26T11:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6ull Bootup With Uncompress Kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6ull-Bootup-With-Uncompress-Kernel/m-p/760151#M118139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the feedback. Additional reference from &lt;A href="https://free-electrons.com/blog/uncompressed-linux-kernel-on-arm/" rel="nofollow noopener noreferrer" target="_blank"&gt;this link&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Below command is working well.&lt;/P&gt;&lt;PRE&gt;$ mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n 'Linux' -d arch/arm/boot/Image arch/arm/boot/uImage&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 03:23:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6ull-Bootup-With-Uncompress-Kernel/m-p/760151#M118139</guid>
      <dc:creator>tkcheng01</dc:creator>
      <dc:date>2018-01-29T03:23:00Z</dc:date>
    </item>
  </channel>
</rss>

