<?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のトピックFIT Image with ramdisk</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/FIT-Image-with-ramdisk/m-p/1369880#M182914</link>
    <description>&lt;P&gt;I have the following problem:&lt;/P&gt;&lt;P&gt;I have uImage + dtb + ramdisk&lt;/P&gt;&lt;P&gt;All it works if I boot in "standard mode" (U-BOOT)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;bootargs=&amp;nbsp; root=/dev/ram rw ramdisk_size=256000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;fatload mmc 0:1&amp;nbsp; 0x12000000&amp;nbsp;uImage&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;fatload&amp;nbsp;mmc 0:1 ramdisk-image-imx6dl.ext3.gz.u-boot&amp;nbsp;0x20000000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;fatload mmc 0:1 0x18000000 fdt.dtb&lt;BR /&gt;bootm 0x12000000 0x20000000 0x18000000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I create a fit image the system is not able to load the ramdisk&lt;/P&gt;&lt;P&gt;my its is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/dts-v1/;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/ {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; description = "FIT image with single Linux kernel, FDT blob and Ramdisk";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; #address-cells = &amp;lt;1&amp;gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; images {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;kernel@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;description = "Kernel";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;data = /incbin/("./vmlinux.bin.gz");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type = "kernel";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;arch = "arm";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;os = "linux";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;compression = "gzip";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;load = &amp;lt;0x10008000&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;entry = &amp;lt;0x10008000&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hash@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;algo = "sha1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;signature@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;algo = "sha1,rsa2048";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;key-name-hint = "eng";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; fdt@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; description = "Device tree";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; data = /incbin/("./fdt.dtb");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; type = "flat_dt";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; arch = "arm";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; compression = "none";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; hash@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; algo = "sha1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; };&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; signature@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; algo = "sha1,rsa2048";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; key-name-hint = "eng";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; };&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;};&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;ramdisk@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; description = "Ramdisk Image";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; data = /incbin/("./ramdisk-image-imx6dl.ext3.gz.u-boot");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; type = "ramdisk";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; arch = "arm";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; os = "linux";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; compression = "gzip";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; hash@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; algo = "sha1";&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;signature@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;algo = "sha1,rsa2048";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;key-name-hint = "eng";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; };&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;configurations {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; default = "conf@1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; conf@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; description = "Boot Linux kernel, FDT blob and Ramdisk";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; kernel = "kernel@1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; fdt = "fdt@1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; ramdisk = "ramdisk@1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; };&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After boot the system crashed with the following message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RAMDISK: Couldn't find valid RAM disk image starting at 0.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A Fit image without ramdisk works fine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where am I wrong?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Nov 2021 10:30:12 GMT</pubDate>
    <dc:creator>mirkoardinghi1</dc:creator>
    <dc:date>2021-11-11T10:30:12Z</dc:date>
    <item>
      <title>FIT Image with ramdisk</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/FIT-Image-with-ramdisk/m-p/1369880#M182914</link>
      <description>&lt;P&gt;I have the following problem:&lt;/P&gt;&lt;P&gt;I have uImage + dtb + ramdisk&lt;/P&gt;&lt;P&gt;All it works if I boot in "standard mode" (U-BOOT)&lt;/P&gt;&lt;P&gt;&lt;EM&gt;bootargs=&amp;nbsp; root=/dev/ram rw ramdisk_size=256000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;fatload mmc 0:1&amp;nbsp; 0x12000000&amp;nbsp;uImage&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;fatload&amp;nbsp;mmc 0:1 ramdisk-image-imx6dl.ext3.gz.u-boot&amp;nbsp;0x20000000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;fatload mmc 0:1 0x18000000 fdt.dtb&lt;BR /&gt;bootm 0x12000000 0x20000000 0x18000000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I create a fit image the system is not able to load the ramdisk&lt;/P&gt;&lt;P&gt;my its is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/dts-v1/;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;/ {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; description = "FIT image with single Linux kernel, FDT blob and Ramdisk";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; #address-cells = &amp;lt;1&amp;gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; images {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;kernel@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;description = "Kernel";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;data = /incbin/("./vmlinux.bin.gz");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;type = "kernel";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;arch = "arm";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;os = "linux";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;compression = "gzip";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;load = &amp;lt;0x10008000&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;entry = &amp;lt;0x10008000&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hash@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;algo = "sha1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;signature@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;algo = "sha1,rsa2048";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;key-name-hint = "eng";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;};&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; fdt@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; description = "Device tree";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; data = /incbin/("./fdt.dtb");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; type = "flat_dt";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; arch = "arm";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; compression = "none";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; hash@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; algo = "sha1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; };&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; signature@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; algo = "sha1,rsa2048";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; key-name-hint = "eng";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; };&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;};&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;ramdisk@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; description = "Ramdisk Image";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; data = /incbin/("./ramdisk-image-imx6dl.ext3.gz.u-boot");&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; type = "ramdisk";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; arch = "arm";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; os = "linux";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; compression = "gzip";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; hash@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; algo = "sha1";&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;signature@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;algo = "sha1,rsa2048";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;key-name-hint = "eng";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; };&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;configurations {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; default = "conf@1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; conf@1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; description = "Boot Linux kernel, FDT blob and Ramdisk";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; kernel = "kernel@1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; fdt = "fdt@1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; ramdisk = "ramdisk@1";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; };&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;After boot the system crashed with the following message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;RAMDISK: Couldn't find valid RAM disk image starting at 0.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;A Fit image without ramdisk works fine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Where am I wrong?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 10:30:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/FIT-Image-with-ramdisk/m-p/1369880#M182914</guid>
      <dc:creator>mirkoardinghi1</dc:creator>
      <dc:date>2021-11-11T10:30:12Z</dc:date>
    </item>
  </channel>
</rss>

