<?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: flash u-boot from uboot using ums</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1494947#M192985</link>
    <description>&lt;P&gt;You probably need to change the boot configuration to boot from main eMMC instead of the special boot part. &amp;nbsp;I'm not in front of my board but I think its the following command&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;mmc partconf 2 0 0 0&lt;/PRE&gt;&lt;P&gt;(I think without the parameters the mmc partconf may show you the current settings too)&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jul 2022 16:41:37 GMT</pubDate>
    <dc:creator>dvlogic</dc:creator>
    <dc:date>2022-07-25T16:41:37Z</dc:date>
    <item>
      <title>flash u-boot from uboot using ums</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1493516#M192835</link>
      <description>&lt;P&gt;I have imx8mn evk board.&lt;/P&gt;&lt;P&gt;I want to be able to test changes in u-boot.&amp;nbsp; &amp;nbsp;I prefer to flash u-boot only to save cycle time instead of flashing the full image.&lt;/P&gt;&lt;P&gt;I am using the ums from the bootloader and able to see boot and rootfs partitions of the emmc on my host/build machine by running ums 0 mmc 2&lt;/P&gt;&lt;P&gt;the u-boot image is not located in the boot partition. I believe its in a known address in the emmc.&lt;/P&gt;&lt;P&gt;I guess I should be able to do a dd command with if=my new u-boot image, of =/dev/mmc and a known offset. can someone confirm its possible. and give me the offsest address and block size.&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Roy&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 17:26:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1493516#M192835</guid>
      <dc:creator>razriel</dc:creator>
      <dc:date>2022-07-21T17:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: flash u-boot from uboot using ums</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1493617#M192840</link>
      <description>&lt;P&gt;I've done that when I was developing my custom u-boot. &amp;nbsp;The dd command is as follows:&lt;/P&gt;&lt;P&gt;dd if=imx-boot of=/dev/imxdisk bs=1k seek=32 conv=fsync&lt;/P&gt;&lt;P&gt;where my /dev/imxdisk is the mounted USB drive exposed by the ums mmc 2 command (Auto-mounted using the following udev rule)&lt;/P&gt;&lt;P&gt;KERNEL=="sd[b-z]", SUBSYSTEM=="block", ATTRS{idVendor}=="0525", ATTRS{idProduct}=="a4a5", ACTION=="add", \&lt;BR /&gt;MODE="0666", SYMLINK+="imxdisk"&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 22:06:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1493617#M192840</guid>
      <dc:creator>dvlogic</dc:creator>
      <dc:date>2022-07-21T22:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: flash u-boot from uboot using ums</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1493649#M192843</link>
      <description>&lt;P&gt;you can refer to the linux user guide, which includes detailed information about this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 00:55:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1493649#M192843</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-07-22T00:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: flash u-boot from uboot using ums</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1493887#M192861</link>
      <description>&lt;P&gt;Can you please add page or chapter in the guide ? I was checking it and could not find.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 08:12:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1493887#M192861</guid>
      <dc:creator>razriel</dc:creator>
      <dc:date>2022-07-22T08:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: flash u-boot from uboot using ums</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1494316#M192906</link>
      <description>&lt;P&gt;I mean download images to the board by uuu or dd command, you can refer to the user guide, for ums, you can refer to the link as below:&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://developer.technexion.com/docs/using-u-boots-ums-command-to-write-flash-storage-over-usb-otg" target="_blank"&gt;https://developer.technexion.com/docs/using-u-boots-ums-command-to-write-flash-storage-over-usb-otg&lt;/A&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Jul 2022 11:16:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1494316#M192906</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-07-23T11:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: flash u-boot from uboot using ums</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1494932#M192981</link>
      <description>&lt;P&gt;I am still unable to see changes I have created in u-boot running&lt;/P&gt;&lt;P&gt;I am doing the followng procedure:&lt;/P&gt;&lt;P&gt;1. creating patch file to be called by bbappend file of my custom u-boot in yocto.&lt;/P&gt;&lt;P&gt;2. the patch file print another printf line in SPL part of "DDRINFO: ddr init"&lt;/P&gt;&lt;P&gt;3. running bitbake imx-image-core&lt;/P&gt;&lt;P&gt;4. verifying source code of u-boot is changed in build/tmp/work/.../git/drivers/ddr_init.c&lt;/P&gt;&lt;P&gt;5. running ums 0 emmc 2 in u-boot terminal&lt;/P&gt;&lt;P&gt;6. running sudo&amp;nbsp;&lt;SPAN&gt;dd if=imx-boot of=/dev/sda bs=1k seek=32 conv=fsync in my ununtu build machine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;getting message write is succefull ~1.8 MB in ~0.3 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;7. Ctrl C to stop ums in u-boot consloe and running reset command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;8. u-boot loads again with no print new print&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;what am I doing wrong ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Roy&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 15:38:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1494932#M192981</guid>
      <dc:creator>razriel</dc:creator>
      <dc:date>2022-07-25T15:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: flash u-boot from uboot using ums</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1494947#M192985</link>
      <description>&lt;P&gt;You probably need to change the boot configuration to boot from main eMMC instead of the special boot part. &amp;nbsp;I'm not in front of my board but I think its the following command&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;mmc partconf 2 0 0 0&lt;/PRE&gt;&lt;P&gt;(I think without the parameters the mmc partconf may show you the current settings too)&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 16:41:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1494947#M192985</guid>
      <dc:creator>dvlogic</dc:creator>
      <dc:date>2022-07-25T16:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: flash u-boot from uboot using ums</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1494987#M192990</link>
      <description>&lt;P&gt;this is what I get&lt;/P&gt;&lt;P&gt;u-boot=&amp;gt; mmc partconf 2&lt;BR /&gt;EXT_CSD[179], PARTITION_CONFIG:&lt;BR /&gt;BOOT_ACK: 0x0&lt;BR /&gt;BOOT_PARTITION_ENABLE: 0x1&lt;BR /&gt;PARTITION_ACCESS: 0x0&lt;/P&gt;&lt;P&gt;can you please explain more about mmc partconf.&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I flash the full image in download mode where to u-boot is flashed ?&lt;/P&gt;&lt;P&gt;what actully happend when I did the dd to seek=32&amp;nbsp; ? it was written to another location ?&lt;/P&gt;&lt;P&gt;this issue is not clear to me and I cannot find much information about it&amp;nbsp; in the linux user manual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Roy&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 18:50:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1494987#M192990</guid>
      <dc:creator>razriel</dc:creator>
      <dc:date>2022-07-25T18:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: flash u-boot from uboot using ums</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1494998#M192992</link>
      <description>&lt;P&gt;The dd command will write into the main raw eMMC memory partition area. &amp;nbsp;The eMMC will also have a boot partition. &amp;nbsp;I believe when you use the uuu command, it will write the u-boot into the boot partition and enable it in the eMMC part configuration.&lt;/P&gt;&lt;PRE&gt;u-boot=&amp;gt; mmc partconf 2&lt;BR /&gt;EXT_CSD[179], PARTITION_CONFIG:&lt;BR /&gt;BOOT_ACK: 0x0&lt;BR /&gt;BOOT_PARTITION_ENABLE: 0x1&lt;BR /&gt;PARTITION_ACCESS: 0x0&lt;/PRE&gt;&lt;P&gt;The second 0 in the "mmc partconf 2 0 0 0" will disable the eMMC from booting from the boot partition and instead boot from the main partition.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps - by no means am I an expert, I've just figured most of this out through reading and trial and error. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 19:14:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1494998#M192992</guid>
      <dc:creator>dvlogic</dc:creator>
      <dc:date>2022-07-25T19:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: flash u-boot from uboot using ums</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1495005#M192996</link>
      <description>&lt;P&gt;thanks. it worked.&lt;/P&gt;&lt;P&gt;now I am able to see my changes in the print.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 19:23:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/flash-u-boot-from-uboot-using-ums/m-p/1495005#M192996</guid>
      <dc:creator>razriel</dc:creator>
      <dc:date>2022-07-25T19:23:54Z</dc:date>
    </item>
  </channel>
</rss>

