<?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 Yocto image using mfgtool. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-image-using-mfgtool/m-p/318380#M42291</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;This is Rohit, I am trying to get yocto wokring on a ARM Board (EMB-3500 iMX6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board doesn't support booting from Memory card. So we use the mfgtools to flash the image to on board Nand. We have Ubuntu Image which works with no issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Ubuntu Image has 3 files,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. rootfs.tar.bz2&lt;/P&gt;&lt;P&gt;2. u-boot.bin&lt;/P&gt;&lt;P&gt;3. uImage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have build a Yocto iMX6qSabreauto core-image-full-cmdline image, copied the "core-image-full-cmdline-imx6qsabreauto.tar.bz2" and "uImage-imx6qsabreauto.bin" in place of "rootfs.tar.bz2" and "uImage"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried to flash the image to Nand, it fails to boot. I get following error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MMC read: dev # 3, block # 2048, count 8192 ... 8192 blocks read: OK&lt;/P&gt;&lt;P&gt;## Booting kernel from Legacy Image at 10800000 ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Image Name:&amp;nbsp;&amp;nbsp; Linux-3.10.17-1.0.0_ga+g232293e&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Image Type:&amp;nbsp;&amp;nbsp; ARM Linux Kernel Image (uncompressed)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Data Size:&amp;nbsp;&amp;nbsp;&amp;nbsp; 5264120 Bytes =&amp;nbsp; 5 MB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Load Address: 10008000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Entry Point:&amp;nbsp; 10008000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Verifying Checksum ... Bad Data CRC&lt;/P&gt;&lt;P&gt;ERROR: can't get kernel image!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to use the working kernel (Ubuntu - uImage). The kernel loads, but the board turns off automatically. I get following message before it turn off,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXT3-fs: barriers not enabled&lt;/P&gt;&lt;P&gt;kjournald starting.&amp;nbsp; Commit interval 5 seconds&lt;/P&gt;&lt;P&gt;EXT3-fs (mmcblk0p1): using internal journal&lt;/P&gt;&lt;P&gt;EXT3-fs (mmcblk0p1): recovery complete&lt;/P&gt;&lt;P&gt;EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode&lt;/P&gt;&lt;P&gt;VFS: Mounted root (ext3 filesystem) on device 179:1.&lt;/P&gt;&lt;P&gt;Freeing init memory: 212K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help in fixing this issue is really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jun 2014 19:51:44 GMT</pubDate>
    <dc:creator>rohitreddy</dc:creator>
    <dc:date>2014-06-12T19:51:44Z</dc:date>
    <item>
      <title>Yocto image using mfgtool.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-image-using-mfgtool/m-p/318380#M42291</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;This is Rohit, I am trying to get yocto wokring on a ARM Board (EMB-3500 iMX6).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The board doesn't support booting from Memory card. So we use the mfgtools to flash the image to on board Nand. We have Ubuntu Image which works with no issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Ubuntu Image has 3 files,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. rootfs.tar.bz2&lt;/P&gt;&lt;P&gt;2. u-boot.bin&lt;/P&gt;&lt;P&gt;3. uImage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have build a Yocto iMX6qSabreauto core-image-full-cmdline image, copied the "core-image-full-cmdline-imx6qsabreauto.tar.bz2" and "uImage-imx6qsabreauto.bin" in place of "rootfs.tar.bz2" and "uImage"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried to flash the image to Nand, it fails to boot. I get following error,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MMC read: dev # 3, block # 2048, count 8192 ... 8192 blocks read: OK&lt;/P&gt;&lt;P&gt;## Booting kernel from Legacy Image at 10800000 ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Image Name:&amp;nbsp;&amp;nbsp; Linux-3.10.17-1.0.0_ga+g232293e&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Image Type:&amp;nbsp;&amp;nbsp; ARM Linux Kernel Image (uncompressed)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Data Size:&amp;nbsp;&amp;nbsp;&amp;nbsp; 5264120 Bytes =&amp;nbsp; 5 MB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Load Address: 10008000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Entry Point:&amp;nbsp; 10008000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Verifying Checksum ... Bad Data CRC&lt;/P&gt;&lt;P&gt;ERROR: can't get kernel image!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to use the working kernel (Ubuntu - uImage). The kernel loads, but the board turns off automatically. I get following message before it turn off,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXT3-fs: barriers not enabled&lt;/P&gt;&lt;P&gt;kjournald starting.&amp;nbsp; Commit interval 5 seconds&lt;/P&gt;&lt;P&gt;EXT3-fs (mmcblk0p1): using internal journal&lt;/P&gt;&lt;P&gt;EXT3-fs (mmcblk0p1): recovery complete&lt;/P&gt;&lt;P&gt;EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode&lt;/P&gt;&lt;P&gt;VFS: Mounted root (ext3 filesystem) on device 179:1.&lt;/P&gt;&lt;P&gt;Freeing init memory: 212K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help in fixing this issue is really appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 19:51:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-image-using-mfgtool/m-p/318380#M42291</guid>
      <dc:creator>rohitreddy</dc:creator>
      <dc:date>2014-06-12T19:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto image using mfgtool.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-image-using-mfgtool/m-p/318381#M42292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ubuntu and Yocto configuration differ in several places mentioned below:&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;the Ubuntu parameter and Yocto parameter in U-boot is different, and you'd better burn the&amp;nbsp; u-boot image provided by the Yocto into iNAND when booting Yocto using the MFGTool.&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;the Ubuntu partition map is different from Yocto.&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When booting the Ubuntu, u-boot image is located starting from the 1KB address of SD Card, and uImage is located starting from 1MB address of SD Card, and filesystem is located in the first partition, whose type is ext.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; When booting the Yocto,&amp;nbsp; u-boot image is located starting from the 1KB address of SD Card, while uImage is stored in the first partition, whose type is FAT and filesystem is located in the second partition, whose type is ext.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I print the Yocto's u-boot parameter:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;baudrate=115200&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;boot_fdt=try&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;bootcmd=mmc dev ${mmcdev};if mmc rescan; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run netboot; fi; fi; else run ni&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;bootcmd_mfg=run mfgtool_args;bootm ${loadaddr} ${initrd_addr} ${fdt_addr};&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;bootdelay=1&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;bootscript=echo Running bootscript from mmc ...; source&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;console=ttymxc0&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;ethact=FEC&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;ethaddr=00:04:9f:02:19:3c&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;ethprime=FEC&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;fdt_addr=0x18000000&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;fdt_file=imx6q-sabresd.dtb&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;fdt_high=0xffffffff&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;initrd_addr=0x12C00000&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;initrd_high=0xffffffff&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;ip_dyn=yes&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;loadaddr=0x12000000&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;mfgtool_args=setenv bootargs console=ttymxc0,115200 rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mass_storage.idPr&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;mmcargs=setenv bootargs console=${console},${baudrate} ${smp} root=${mmcroot}&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;mmcboot=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootm ${loadaddr} - ${fdt_addr}; else if ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;mmcdev=1&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;mmcpart=1&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;mmcroot=/dev/mmcblk0p2 rootwait rw&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;netargs=setenv bootargs console=${console},${baudrate} ${smp} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${uimage}; if test ${boot_fd;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;script=boot.scr&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;uimage=uImage&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;So in order to boot the yocto into the iNAND, here is the referenced partition table :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;partition 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FAT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (store the uImage and .dtb file)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #ff0000;"&gt;partition 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ext&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (store the filesystem)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;you need manually create the first (FAT)partition and second(ext) partition, store the corresponding file into the partition.&lt;/P&gt;&lt;P&gt;if you wish to burn the Yocto into the iNAND using the MFGTool, I suggest that you need to modify the configuration in the MFGTool.&lt;/P&gt;&lt;P&gt;in &amp;lt;mfgtool dir&amp;gt;/Profiles/MX6Q Linux Update/OS Firmware/ucl2.xml&lt;/P&gt;&lt;P&gt;take the Sabre-SD for example.&lt;/P&gt;&lt;P&gt;&amp;lt;LIST name="Sabre-SD" desc="Choose SD as media"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-mx6q-sabresd.bin" &amp;gt;Loading U-boot&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="load" file="uImage" address="0x10800000"&lt;/P&gt;&lt;P&gt;&amp;nbsp; loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Loading Kernel.&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="load" file="initramfs.cpio.gz.uboot" address="0x10C00000"&lt;/P&gt;&lt;P&gt;&amp;nbsp; loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Loading Initramfs.&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="jump" &amp;gt; Jumping to OS image. &amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;!-- --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="mknod block,mmcblk1,/dev/mmcblk1,block"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="send" file="mksdcard.sh.tar"&amp;gt;Sending partition shell&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ tar xf $FILE "&amp;gt; Partitioning...&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; sh mksdcard.sh /dev/mmcblk1&lt;/STRONG&gt;&lt;/SPAN&gt;"&amp;gt; Partitioning...&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="mknod block/mmcblk1,mmcblk1p1,/dev/mmcblk1p1,block"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="send" file="files/&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;u-boot-mx6q-sabresd.bin&lt;/STRONG&gt;&lt;/SPAN&gt;"&amp;gt;Sending u-boot.bin&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk1 bs=1k seek=1 skip=1 conv=fsync"&amp;gt;write u-boot.bin to sd card&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="send" file="files/&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;uImage&lt;/STRONG&gt;&lt;/SPAN&gt;"&amp;gt;Sending kernel uImage&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk1 bs=1M seek=1 conv=fsync"&amp;gt;write kernel image to sd card&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ mkfs.ext3 -j /dev/mmcblk1p1"&amp;gt;Formatting rootfs partition&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ mkdir -p /mnt/mmcblk1p1"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ mount -t ext3 /dev/mmcblk1p1 /mnt/mmcblk1p1"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="pipe tar -jxv -C /mnt/mmcblk1p1" file="files/&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;rootfs.tar.bz2&lt;/STRONG&gt;&lt;/SPAN&gt;"&amp;gt;Sending and writting rootfs&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="frf"&amp;gt;Finishing rootfs write&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ umount /mnt/mmcblk1p1"&amp;gt;Unmounting rootfs partition&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ echo Update Complete!"&amp;gt;Done&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/LIST&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;you need to modify the xml script to do the following thing:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. dd the u-boot image into the iNAND&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. create the first (FAT)partition and second(ext) partition, store the uImage and .dtb file into the FAT partition, store the filesystem files into the ext2 parition.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before the MFGTool support the Yocto officially, this is gone be a little bit compliated for the beginners.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 05:46:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-image-using-mfgtool/m-p/318381#M42292</guid>
      <dc:creator>yahuicao</dc:creator>
      <dc:date>2014-06-16T05:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto image using mfgtool.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-image-using-mfgtool/m-p/318382#M42293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.nxp.com/people/yahuicao"&gt;yahuicao&lt;/A&gt;&lt;/STRONG&gt; for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have creating 2 Partitions on the On board NAND FAT and EXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have copied the &lt;STRONG&gt;u-boot-imx6qsabreauto.imx, uImage--3.10.17-r0-imx6qsabreauto-20140606174532.bin and&amp;nbsp; core-image-full-cmdline-imx6qsabreauto-20140606174532.rootfs.tar.bz2 to &lt;/STRONG&gt;files directory, changed the ucl2.xml accordingly and tried to burn the Image. It wont boot into u-boot also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want make sure if I am using the right files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have build a uboot for nand (UBOOT_CONFIG=“nand” but still not able to boot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 22:37:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-image-using-mfgtool/m-p/318382#M42293</guid>
      <dc:creator>rohitreddy</dc:creator>
      <dc:date>2014-06-18T22:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Yocto image using mfgtool.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-image-using-mfgtool/m-p/318383#M42294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, you just mentioned you have created 2 partitions on the board? So you manually created the parations instead of MFGTool?&lt;/P&gt;&lt;P&gt;and &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;could you attach your ucl2.xml and the burning log of the MFGTool? I can check it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Just Now, I checked the freescale website and I found the MFGTool for the 3.10.17 has been released, and it supported the Yocto. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I think it will be your answer. :-)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.freescale.com/webapp/sps/download/license.jsp?colCode=IMX_6_MFG_L3.10.17_1.0.0_TOOL&amp;amp;appType=file2&amp;amp;location=null&amp;amp;DOWNLOAD_ID=null" title="https://www.freescale.com/webapp/sps/download/license.jsp?colCode=IMX_6_MFG_L3.10.17_1.0.0_TOOL&amp;amp;appType=file2&amp;amp;location=null&amp;amp;DOWNLOAD_ID=null"&gt;i.MX 6Family Manufacturing Toolkit for L3.10.17&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 06:07:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-image-using-mfgtool/m-p/318383#M42294</guid>
      <dc:creator>yahuicao</dc:creator>
      <dc:date>2014-06-19T06:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Yocto image using mfgtool.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Yocto-image-using-mfgtool/m-p/318384#M42295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yahui,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have downloaded the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MFGTool for the 3.10.17 and selected "eMMC" tried to burn the image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nothing shows up on the serial. So we used the old uImage, u-boot-mx6q-sabresd.bin and initramfs.cpio.gz.uboot. Again we are getting the same error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NET: Registered protocol family 26&lt;/P&gt;&lt;P&gt;TCP cubic registered&lt;/P&gt;&lt;P&gt;NET: Registered protocol family 17&lt;/P&gt;&lt;P&gt;can: controller area network core (rev 20090105 abi 8)&lt;/P&gt;&lt;P&gt;NET: Registered protocol family 29&lt;/P&gt;&lt;P&gt;can: raw protocol (rev 20090105)&lt;/P&gt;&lt;P&gt;hub 2-1:1.0: USB hub found&lt;/P&gt;&lt;P&gt;hub 2-1:1.0: 7 ports detected&lt;/P&gt;&lt;P&gt;can: broadcast manager protocol (rev 20090105 t)&lt;/P&gt;&lt;P&gt;Bluetooth: RFCOMM TTY layer initialized&lt;/P&gt;&lt;P&gt;Bluetooth: RFCOMM socket layer initialized&lt;/P&gt;&lt;P&gt;Bluetooth: RFCOMM ver 1.11&lt;/P&gt;&lt;P&gt;Bluetooth: BNEP (Ethernet Emulation) ver 1.3&lt;/P&gt;&lt;P&gt;Bluetooth: BNEP filters: protocol multicast&lt;/P&gt;&lt;P&gt;Bluetooth: HIDP (Human Interface Emulation) ver 1.2&lt;/P&gt;&lt;P&gt;lib80211: common routines for IEEE802.11 drivers&lt;/P&gt;&lt;P&gt;VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4&lt;/P&gt;&lt;P&gt;Bus freq driver module loaded&lt;/P&gt;&lt;P&gt;Bus freq driver Enabled&lt;/P&gt;&lt;P&gt;mxc_dvfs_core_probe&lt;/P&gt;&lt;P&gt;DVFS driver module loaded&lt;/P&gt;&lt;P&gt;rtc-rx8025 1-0032: setting system clock to 1970-01-02 01:38:01 UTC (92281)&lt;/P&gt;&lt;P&gt;EXT3-fs: barriers not enabled&lt;/P&gt;&lt;P&gt;kjournald starting.&amp;nbsp; Commit interval 5 seconds&lt;/P&gt;&lt;P&gt;EXT3-fs (mmcblk0p1): using internal journal&lt;/P&gt;&lt;P&gt;EXT3-fs (mmcblk0p1): recovery complete&lt;/P&gt;&lt;P&gt;EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode&lt;/P&gt;&lt;P&gt;VFS: Mounted root (ext3 filesystem) on device 179:1.&lt;/P&gt;&lt;P&gt;Freeing init memory: 212K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 18:13:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Yocto-image-using-mfgtool/m-p/318384#M42295</guid>
      <dc:creator>rohitreddy</dc:creator>
      <dc:date>2014-06-23T18:13:58Z</dc:date>
    </item>
  </channel>
</rss>

