<?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 Re: i.mx6 sabre sdp ramdisk root file system problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289457#M34778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to add 'keepinitrd' to kernel boot parameter on u-boot, please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically Linux is finding initramfs for root file system as default on init process of Linux if you check &lt;SPAN style="color: #3d3d3d; font-family: '맑은 고딕';"&gt;CONFIG_BLK_DEV_INITRD&lt;/SPAN&gt; on kernel menuconfig and initramfs differs to RAM disk.&lt;/P&gt;&lt;P&gt;So the init process frees the allocated RAM region for root file system if rootfs which is loaded to DRAM is not initramfs.&lt;/P&gt;&lt;P&gt;But The parameter 'keepinitrd' prevents to free RAM region as RAM filesystem on executing the init process even if the loaded RAMfs isn't initramfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect that 'keepinitrd' can resolve your error. Please try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Alex Yang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jan 2014 05:33:33 GMT</pubDate>
    <dc:creator>alexyang</dc:creator>
    <dc:date>2014-01-09T05:33:33Z</dc:date>
    <item>
      <title>i.mx6 sabre sdp ramdisk root file system problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289452#M34773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on imx6s sabre sdp and trying to boot with ramdisk root file system, but it's not working.&lt;/P&gt;&lt;P&gt;With i.mx51, ramdisk root file system boot was successful with almost same configuarion.&lt;/P&gt;&lt;P&gt;Could somebody tell me what I missed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what have i done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. kernel config.&lt;/P&gt;&lt;P&gt;at kernel menuconfig, i've selected following configuration&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;General setup &amp;gt; initial ram filesystem and ram disk support&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;--&amp;gt; &lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;CONFIG_BLK_DEV_INITRD=y, CONFIG_RD_GZIP=y &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Device drivers &amp;gt; block devices &amp;gt; ram block device support&lt;/P&gt;&lt;P&gt;--&amp;gt; &lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;CONFIG_BLK_DEV_RAM=y, CONFIG_BLK_DEV_RAM_COUNT=16, CONFIG_BLK_DEV_RAM_SIZE=4096&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;2. ramdisk creation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;I made ramdisk image with rootfs created by ltib&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;dd if=/dev/zero of=ramdisk bs=1k count=131072&amp;nbsp; ==&amp;gt; 128MB ramdisk&lt;BR /&gt;mkfs.ext2 ramdisk&lt;BR /&gt;mount -t ext2 -o loop ramdisk /mnt/rootfs&lt;BR /&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;cp -a ./ltib/rootfs/* /mnt/rootfs&lt;BR /&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;umount dir_ramdisk&lt;BR /&gt;gzip ramdisk&amp;nbsp; ==&amp;gt; which create ramdisk.gz&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;3. ramdisk deployment&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;I placed u-boot, uImage, ramdisk.gz on SD slot 3 SD card, &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;0~1M : u-boot area&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;1M~5M : kernel area&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;5M~55M : ramdisk.gz area&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;with the following commend on linux host computer. (sdcard is recognized as /dev/sdc in my linux host&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;dd if=u-boot of=/dev/sdc bs=512 seek=2 skip=2 conv=fsync&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;dd if=uImage of=/dev/sdc&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;/SPAN&gt; bs=512 seek=2048 conv=fsync&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;dd if=ramdisk.gz of=/dev/sdc&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;/SPAN&gt; bs=512 seek=10240 conv=fsync&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;4. kernel c&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;/SPAN&gt;mdline configuration at u-boot command&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;the following is what I entered at u-boot command line.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;set bootargs &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;/SPAN&gt;console=ttymxc0,115200 nosmp video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 ldb=sin1 ip=10.175.93.16 &lt;STRONG&gt;initrd=0x10c00000,50M root=/dev/ram0 ramdisk_size=131072&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;mmc dev 2&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;mmc read 0x10800000 0x800 0x2000&amp;nbsp; ==&amp;gt; read 4Mbyte from 1M offset. kernel&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;mmc read 0x10c00000 0x2800 0x19000 ==&amp;gt; read 50Mbyte from 5M offset, ramdisk.gz&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;bootm&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: '맑은 고딕'; font-size: 10pt;"&gt;and then, kernel booting halted with the following message&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;mmcblk1: mmc2:b02c SD04G 3.69 GiB&lt;/P&gt;&lt;P&gt;mmcblk1: p1&lt;/P&gt;&lt;P&gt;PHY: 1:01 - Link is Up - 100/Full&lt;/P&gt;&lt;P&gt;IP-Config: Guessing netmask 255.0.0.0&lt;/P&gt;&lt;P&gt;IP-Config: Complete:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; device=eth0, addr=10.175.93.16, mask=255.0.0.0, gw=255.255.255.255,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; host=10.175.93.16, domain=, nis-domain=(none),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RAMDISK: Couldn't find valid RAM disk image starting at 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;List of all partitions:&lt;/P&gt;&lt;P&gt;1f00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1024 mtdblock0&amp;nbsp; (driver?)&lt;/P&gt;&lt;P&gt;1f01&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3072 mtdblock1&amp;nbsp; (driver?)&lt;/P&gt;&lt;P&gt;b300&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7757824 mmcblk0&amp;nbsp; driver: mmcblk&lt;/P&gt;&lt;P&gt;b310&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2048 mmcblk0boot1&amp;nbsp; (driver?)&lt;/P&gt;&lt;P&gt;b308&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2048 mmcblk0boot0&amp;nbsp; (driver?)&lt;/P&gt;&lt;P&gt;b318&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3872256 mmcblk1&amp;nbsp; driver: mmcblk&lt;/P&gt;&lt;P&gt;&amp;nbsp; b319&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3814912 mmcblk1p1 00000000-0000-0000-0000-000000000000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;No filesystem could mount root, tried:&amp;nbsp; ext3 ext2 ext4 cramfs vfat msdos&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)&lt;/P&gt;&lt;P&gt;[&amp;lt;8004a834&amp;gt;] (unwind_backtrace+0x0/0xf8) from [&amp;lt;8050c514&amp;gt;] (panic+0x74/0x18c)&lt;/P&gt;&lt;P&gt;[&amp;lt;8050c514&amp;gt;] (panic+0x74/0x18c) from [&amp;lt;80008dac&amp;gt;] (mount_block_root+0x1e0/0x224)&lt;/P&gt;&lt;P&gt;[&amp;lt;80008dac&amp;gt;] (mount_block_root+0x1e0/0x224) from [&amp;lt;80008fc4&amp;gt;] (mount_root+0xe8/0x108)&lt;/P&gt;&lt;P&gt;[&amp;lt;80008fc4&amp;gt;] (mount_root+0xe8/0x108) from [&amp;lt;80009148&amp;gt;] (prepare_namespace+0x164/0x1bc)&lt;/P&gt;&lt;P&gt;[&amp;lt;80009148&amp;gt;] (prepare_namespace+0x164/0x1bc) from [&amp;lt;80008a04&amp;gt;] (kernel_init+0x108/0x13c)&lt;/P&gt;&lt;P&gt;[&amp;lt;80008a04&amp;gt;] (kernel_init+0x108/0x13c) from [&amp;lt;80044aa4&amp;gt;] (kernel_thread_exit+0x0/0x8)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 03:47:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289452#M34773</guid>
      <dc:creator>jongjinyi</dc:creator>
      <dc:date>2014-01-07T03:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 sabre sdp ramdisk root file system problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289453#M34774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there is a  related issue on this thread&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/362688#362688" target="test_blank"&gt;https://community.freescale.com/message/362688#362688&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it may be worth trying the same first approach: placing the ramdisk on RAM and calling bootm with two parameters (kernel_address ramdisk_address)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 04:26:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289453#M34774</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2014-01-07T04:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 sabre sdp ramdisk root file system problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289454#M34775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But calling bootm with two parameter will be working with ramdisk image processed by mkimage - u-boot tool.&lt;/P&gt;&lt;P&gt;Normally created ramdisk image - built on loop device and then gzipped - will not be recognized by u-boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder why my approach is not working.&lt;/P&gt;&lt;P&gt;I checked every steps I have done several times, but I cannot find any mistake.&lt;/P&gt;&lt;P&gt;On the other CPU platform including i.mx51, I could successfully boot the system with ramdisk root file system by using same approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any difference on imx6s linux kernel?&lt;/P&gt;&lt;P&gt;shouldn't ramdisk image be loaded at 0x10c00000?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, there is new u-boot environment variable. &lt;/P&gt;&lt;P&gt;rd_loadaddr=(0x10800000+0x300000)&lt;/P&gt;&lt;P&gt;does it mean ramdisk load address?&lt;/P&gt;&lt;P&gt;if it means ramdisk load address, it should be 0x10800000+0x400000, because kernel size is 3.7MB.&lt;/P&gt;&lt;P&gt;How can I use this environment variable?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 12:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289454#M34775</guid>
      <dc:creator>jongjinyi</dc:creator>
      <dc:date>2014-01-07T12:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 sabre sdp ramdisk root file system problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289455#M34776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried the first approach from the link &lt;A _jive_internal="true" data-containerid="2004" data-containertype="14" data-objectid="362688" data-objecttype="2" href="https://community.nxp.com/message/362688#362688" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #6a737b;"&gt;https://community.freescale.com/message/362688#362688&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But it's not working in my case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To make ramdisk image which can be recognized by u-boot, I used following command&lt;/P&gt;&lt;P&gt;mkimage -n 'Ramdisk' -A arm -O linux -T ramdisk -C gzip -a 0x10c00000 -e 0x10c00000 -d ramdisk.gz ramdisk.gz.uboot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I removed initrd=0x10c00000,50M parameter from u-boot bootargs.&lt;/P&gt;&lt;P&gt;But it shows the same result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any recommanded option when using mkimage?&lt;/P&gt;&lt;P&gt;I checked rootfs.ext2.gz.uboot which was created by ltib, but it show 0x0 form load address and entry point.&lt;/P&gt;&lt;P&gt;mkimage -l rootfs.ext2.gz.uboot&lt;/P&gt;&lt;P&gt;Image Name:&amp;nbsp;&amp;nbsp; uboot ext2 ramdisk rootfs&lt;/P&gt;&lt;P&gt;Created:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tue Jan&amp;nbsp; 7 13:37:21 2014&lt;/P&gt;&lt;P&gt;Image Type:&amp;nbsp;&amp;nbsp; ARM Linux RAMDisk Image (gzip compressed)&lt;/P&gt;&lt;P&gt;Data Size:&amp;nbsp;&amp;nbsp;&amp;nbsp; 6394243 Bytes = 6244.38 kB = 6.10 MB&lt;/P&gt;&lt;P&gt;Load Address: 0x00000000&lt;/P&gt;&lt;P&gt;Entry Point:&amp;nbsp; 0x00000000&lt;/P&gt;&lt;P&gt;I think it doesn't make sense.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 00:05:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289455#M34776</guid>
      <dc:creator>jongjinyi</dc:creator>
      <dc:date>2014-01-08T00:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 sabre sdp ramdisk root file system problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289456#M34777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The manufacting tool has a XML file indicating the way to flash a particular board/profile, can you look at this file (or flash a demo image using it) to see how it handles? you can at least see the kernel command line with the correct address value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 05:12:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289456#M34777</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2014-01-09T05:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 sabre sdp ramdisk root file system problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289457#M34778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to add 'keepinitrd' to kernel boot parameter on u-boot, please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically Linux is finding initramfs for root file system as default on init process of Linux if you check &lt;SPAN style="color: #3d3d3d; font-family: '맑은 고딕';"&gt;CONFIG_BLK_DEV_INITRD&lt;/SPAN&gt; on kernel menuconfig and initramfs differs to RAM disk.&lt;/P&gt;&lt;P&gt;So the init process frees the allocated RAM region for root file system if rootfs which is loaded to DRAM is not initramfs.&lt;/P&gt;&lt;P&gt;But The parameter 'keepinitrd' prevents to free RAM region as RAM filesystem on executing the init process even if the loaded RAMfs isn't initramfs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I expect that 'keepinitrd' can resolve your error. Please try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Alex Yang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 05:33:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-sabre-sdp-ramdisk-root-file-system-problem/m-p/289457#M34778</guid>
      <dc:creator>alexyang</dc:creator>
      <dc:date>2014-01-09T05:33:33Z</dc:date>
    </item>
  </channel>
</rss>

