<?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のトピックRe: IMX.258 uboot and uImage update without Mfgtool</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX-258-uboot-and-uImage-update-without-Mfgtool/m-p/668097#M102781</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi recep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are ATK sources on that link so one can write own custom&lt;/P&gt;&lt;P&gt;application for such purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jun 2017 23:47:41 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2017-06-21T23:47:41Z</dc:date>
    <item>
      <title>IMX.258 uboot and uImage update without Mfgtool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-258-uboot-and-uImage-update-without-Mfgtool/m-p/668094#M102778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an IMX.258 board and I want to update u-boot and uImage without MfgTool. Previously, board is programmed with Mtgtool. I can access to telnet console. u-boot and uImage files in filesystem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rootfs has nandwrite and flash_eraseall commands and ability to write flash is successful. After write process, I am getting a dump with nanddump command. I am able to see the same file contents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mfgtool ucl.xm file contents here;(This is working)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;LIST name="UpdateUImage" desc="update kernel"&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="find" body="BootStrap" timeout="60"/&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="init" body="Memory" file ="mx25ddr2.xml" /&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="load" file="uImage" address="0x80100000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Doing preLoad."&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="load" file="initramfs.cpio.gz.uboot" address="0x80800000" loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Doing preLoad."&amp;lt;/CMD&amp;gt; &lt;BR /&gt; &amp;lt;CMD type="load" file="u-boot.bin" address="0x83F00000" loadSection="OTH" setSection="APP" HasFlashHeader="TRUE" &amp;gt;Loading OS image.&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="jump" &amp;gt; Jumping to OS image. &amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="find" body="Updater" timeout="180"&amp;gt; Wait for MSC device. &amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="push" body="mknod class/mtd,mtd0,/dev/mtd0"&amp;gt;create new node: MTD0 &amp;lt;/CMD&amp;gt; &lt;BR /&gt; &amp;lt;CMD type="push" body="mknod class/mtd,mtd1,/dev/mtd1"&amp;gt;create new node: MTD1 &amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="push" body="mknod class/mtd,mtd2,/dev/mtd2"&amp;gt;create new node: MTD2 &amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="push" body="mknod class/misc,ubi_ctrl,/dev/ubi_ctrl"&amp;gt;create new node: ubi_ctrl &amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="push" body="$ flash_eraseall /dev/mtd0"&amp;gt;Erasing image partition&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="push" body="$ flash_eraseall /dev/mtd1"&amp;gt;Erasing kernel partition&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CMD type="push" body="$ echo 1 &amp;gt; /sys/devices/platform/mxc_nandv2_flash.0/disable_bi_swap"&amp;gt;disable bi swap&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="push" body="send" file="files/u-boot-signed.bin"&amp;gt;Sending signed u-boot.bin&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="push" body="$ nandwrite /dev/mtd0 $FILE -p"&amp;gt;Flashing firmware&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="push" body="$ echo 0 &amp;gt; /sys/devices/platform/mxc_nandv2_flash.0/disable_bi_swap"&amp;gt;enable bi swap&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CMD type="push" body="$ free &amp;amp;&amp;amp; echo 3 &amp;gt; /proc/sys/vm/drop_caches &amp;amp;&amp;amp; free" timeout="60"&amp;gt;release memory&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;CMD type="push" body="send" file="files/uImage"&amp;gt;Sending uImage&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="push" body="$ nandwrite /dev/mtd1 $FILE -p"&amp;gt;Flashing firmware&amp;lt;/CMD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;CMD type="push" body="frf"&amp;gt;Finish Flashing NAND&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;CMD type="push" body="$ echo Update Complete!"&amp;gt;Done&amp;lt;/CMD&amp;gt;&lt;BR /&gt; &amp;lt;/LIST&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Similarly, I am using these commands to program uboot and uImage in runtime(This is not working)&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;flash_eraseall /dev/mtd0&lt;BR /&gt;flash_eraseall /dev/mtd1&lt;BR /&gt;nandwrite /dev/mtd0 /home/user/u-boot-signed.bin -p&lt;BR /&gt;nandwrite /dev/mtd1 /home/user/uImage -p&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But OS is not booting because after power off and power on, device is opened in programming mode.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;P&gt;*Files using for programming are&amp;nbsp;the same for both cases.(image files in filesystem and Mfgtool image files)&lt;/P&gt;&lt;P&gt;*Without u-boot write, only uImage write is working and booting successfully&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Your suggestions are appreciated.&amp;nbsp;Thank you&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 11:01:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-258-uboot-and-uImage-update-without-Mfgtool/m-p/668094#M102778</guid>
      <dc:creator>recepyigitbasi</dc:creator>
      <dc:date>2017-06-21T11:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: IMX.258 uboot and uImage update without Mfgtool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-258-uboot-and-uImage-update-without-Mfgtool/m-p/668095#M102779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi recep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for nand programming without MfgTool may be recommended to use ATK Tool :&lt;/P&gt;&lt;P&gt;Programmers (Flash, etc.) (2) &lt;BR /&gt;Flash tool for downloading, programing, dumping and erasing images in Flash memory to the i.MX EVK(REV 1.71)&lt;BR /&gt;&lt;A href="http://www.nxp.com/products/automotive-products/energy-power-management/pmics/power-management-for-i.mx-application-processors/i.mx25-product-development-kit:IMX25PDK?tab=Design_Tools_Tab"&gt;http://www.nxp.com/products/automotive-products/energy-power-management/pmics/power-management-for-i.mx-application-processors/i.mx25-product-development-kit:IMX25PDK?tab=Design_Tools_Tab&lt;/A&gt;&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>Wed, 21 Jun 2017 23:16:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-258-uboot-and-uImage-update-without-Mfgtool/m-p/668095#M102779</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-06-21T23:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: IMX.258 uboot and uImage update without Mfgtool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-258-uboot-and-uImage-update-without-Mfgtool/m-p/668096#M102780</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;The main purpose of the programming via console is remote kernel update. Thé board must update kernel itself. I have to program via console or native application in file system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thank for your reply.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 23:38:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-258-uboot-and-uImage-update-without-Mfgtool/m-p/668096#M102780</guid>
      <dc:creator>recepyigitbasi</dc:creator>
      <dc:date>2017-06-21T23:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: IMX.258 uboot and uImage update without Mfgtool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-258-uboot-and-uImage-update-without-Mfgtool/m-p/668097#M102781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi recep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are ATK sources on that link so one can write own custom&lt;/P&gt;&lt;P&gt;application for such purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 23:47:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-258-uboot-and-uImage-update-without-Mfgtool/m-p/668097#M102781</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-06-21T23:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: IMX.258 uboot and uImage update without Mfgtool</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX-258-uboot-and-uImage-update-without-Mfgtool/m-p/668098#M102782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does Custom application run in board itself(for arm)or other machine(win 10)?&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a Source code for atk on that link. But it's extension is exe.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 00:05:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX-258-uboot-and-uImage-update-without-Mfgtool/m-p/668098#M102782</guid>
      <dc:creator>recepyigitbasi</dc:creator>
      <dc:date>2017-06-22T00:05:00Z</dc:date>
    </item>
  </channel>
</rss>

