<?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: Re: Update u-boot via serial communication</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318904#M42422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer!&lt;/P&gt;&lt;P&gt;Sending to 0x10800000 worked, as well as giving `loadb` no argument at all (it chose 0x12000000 by default).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I try to run the newly uploaded bootloader in RAM with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; go 0x10800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;U-Boot &amp;gt; go 0x10800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;## Starting application at 0x10800000 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;data abort&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAYBE you should read doc/README.arm-unaligned-accesses&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;pc : [&amp;lt;10800038&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lr : [&amp;lt;4ff7b188&amp;gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sp : 4f576e10&amp;nbsp; ip : 0000001c&amp;nbsp;&amp;nbsp;&amp;nbsp; fp : 4f577b28&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r10: 4ffbb200&amp;nbsp; r9 : 4f576f38&amp;nbsp;&amp;nbsp;&amp;nbsp; r8 : 00000002&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r7 : 4f577b38&amp;nbsp; r6 : 10800000&amp;nbsp;&amp;nbsp;&amp;nbsp; r5 : 00000002&amp;nbsp; r4 : 4f577b3c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r3 : 10800000&amp;nbsp; r2 : 4f577b3c&amp;nbsp;&amp;nbsp;&amp;nbsp; r1 : 00000000&amp;nbsp; r0 : 00000001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Flags: nZCv&amp;nbsp; IRQs off&amp;nbsp; FIQs off&amp;nbsp; Mode SVC_32&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Resetting CPU ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;resetting ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read arm-unaligned-accesses. Since the flashed bootloader is supposed to start at byte 1024, I tried uploading to 0x10800400 instead, but that didn't help. The imx file is ok (I checked this by loading it with a card reader on host), so I wonder how to solve running the new bootloader from RAM, to verify it works before flashing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One other thing I do not understand is that when I put the imx onto the SD card in my host's card reader, I put it at address 1024 (dd with bs=1k seek=1). I suppose it puts the beginning of the imx file onto address 1024.&lt;/P&gt;&lt;P&gt;In your description it seems like you mmc-write not the *beginning* of the imx to 1024, but imx+1024 (0x10800400) to 1024.&lt;/P&gt;&lt;P&gt;Obviously there is something I misunderstand, but it seems to me they are placed differently. I don't get why both work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2014 11:13:06 GMT</pubDate>
    <dc:creator>gauthier</dc:creator>
    <dc:date>2014-06-18T11:13:06Z</dc:date>
    <item>
      <title>Update u-boot via serial communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318902#M42420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have build a u-boot.imx for my imx6qsabresd. I would like to download it to target without removing the SD card, using Kermit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have done so far:&lt;/P&gt;&lt;P&gt;- setup kermit on host with the following settings:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set line /dev/ttyUSB0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set speed 115200&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set carrier-watch off&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set handshake none&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set flow-control none&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;robust&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set file type bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set file name lit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set rec pack 1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set send pack 1000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;set window 5&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- start Kermit and connect to target.&lt;/P&gt;&lt;P&gt;- reset the target and stop autoboot to get into u-boot&lt;/P&gt;&lt;P&gt;- tell u-boot to take a transfer with&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;U-Boot &amp;gt; loadb 0x0400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(is this the correct address to put u-boot?)&lt;/P&gt;&lt;P&gt;- disconnected to return to kermit, and started file transfer:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;C-Kermit&amp;gt; send u-boot.imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(is this the correct file?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I only get packet time outs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried earlier to put the file at &lt;SPAN style="font-family: courier new,courier;"&gt;0x00800000&lt;/SPAN&gt;, and there I got 40 packets of size ~1000 sent. Then the packets timed out. This tells me the transmission is ok, maybe there wasn't enough room there to put the ~300 kB of u-boot. Maybe I just can't write there from the serial link?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I update my u-boot with a serial connection? What am I doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jun 2014 14:29:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318902#M42420</guid>
      <dc:creator>gauthier</dc:creator>
      <dc:date>2014-06-13T14:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Update u-boot via serial communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318903#M42421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gauthier:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Your kermit configuration is OK. I think the problem lies in the load address. the command loadb load the file into the DDR ram, if you are not sure where to put the file downloaded by loadb, then use the 0x10800000 which is the kernel load address by default and there must be enough space for your u-boot image.&lt;/P&gt;&lt;P&gt;After you have downloaded the u-boot image into the DDR, then use the mmc write command, I list my operations below:&lt;/P&gt;&lt;P&gt;U-Boot 2009.08 (Aug 16 2013 - 12:04:20)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CPU: Freescale i.MX6 family TO1.2 at 792 MHz&lt;/P&gt;&lt;P&gt;Thermal sensor with ratio = 175&lt;/P&gt;&lt;P&gt;Temperature:&amp;nbsp; 43 C, calibration data 0x5534cd69&lt;/P&gt;&lt;P&gt;mx6q pll1: 792MHz&lt;/P&gt;&lt;P&gt;mx6q pll2: 528MHz&lt;/P&gt;&lt;P&gt;mx6q pll3: 480MHz&lt;/P&gt;&lt;P&gt;mx6q pll8: 50MHz&lt;/P&gt;&lt;P&gt;ipg clock&amp;nbsp;&amp;nbsp;&amp;nbsp; : 66000000Hz&lt;/P&gt;&lt;P&gt;ipg per clock : 66000000Hz&lt;/P&gt;&lt;P&gt;uart clock&amp;nbsp;&amp;nbsp;&amp;nbsp; : 80000000Hz&lt;/P&gt;&lt;P&gt;cspi clock&amp;nbsp;&amp;nbsp;&amp;nbsp; : 60000000Hz&lt;/P&gt;&lt;P&gt;ahb clock&amp;nbsp;&amp;nbsp;&amp;nbsp; : 132000000Hz&lt;/P&gt;&lt;P&gt;axi clock&amp;nbsp; : 264000000Hz&lt;/P&gt;&lt;P&gt;emi_slow clock: 132000000Hz&lt;/P&gt;&lt;P&gt;ddr clock&amp;nbsp;&amp;nbsp;&amp;nbsp; : 528000000Hz&lt;/P&gt;&lt;P&gt;usdhc1 clock&amp;nbsp; : 198000000Hz&lt;/P&gt;&lt;P&gt;usdhc2 clock&amp;nbsp; : 198000000Hz&lt;/P&gt;&lt;P&gt;usdhc3 clock&amp;nbsp; : 198000000Hz&lt;/P&gt;&lt;P&gt;usdhc4 clock&amp;nbsp; : 198000000Hz&lt;/P&gt;&lt;P&gt;nfc clock&amp;nbsp;&amp;nbsp;&amp;nbsp; : 24000000Hz&lt;/P&gt;&lt;P&gt;Board: i.MX6Q-SABRESD: RevC Board: 0x63312 [POR ]&lt;/P&gt;&lt;P&gt;Boot Device: MMC&lt;/P&gt;&lt;P&gt;I2C:&amp;nbsp; ready&lt;/P&gt;&lt;P&gt;DRAM:&amp;nbsp; 1 GB&lt;/P&gt;&lt;P&gt;MMC:&amp;nbsp; FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3&lt;/P&gt;&lt;P&gt;*** Warning - bad CRC or MMC, using default environment&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In:&amp;nbsp;&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;Out:&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;Err:&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;i2c: I2C3 SDA is low, start i2c recovery...&lt;/P&gt;&lt;P&gt;I2C3 Recovery success&lt;/P&gt;&lt;P&gt;Found PFUZE100! deviceid=10,revid=10&lt;/P&gt;&lt;P&gt;Net:&amp;nbsp; got MAC address from IIM: 00:04:9f:02:19:3c&lt;/P&gt;&lt;P&gt;FEC0 [PRIME]&lt;/P&gt;&lt;P&gt;Hit any key to stop autoboot:&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MX6Q SABRESD U-Boot &amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MX6Q SABRESD U-Boot &amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MX6Q SABRESD U-Boot &amp;gt;&lt;/STRONG&gt; loadb 0x10800000&lt;/P&gt;&lt;P&gt;## Ready for binary (kermit) download to 0x10800000 at 115200 bps...&lt;/P&gt;&lt;P&gt;Now escape back to the kermit shell prompt (&lt;STRONG&gt;ctrl+\&lt;/STRONG&gt; followed by &lt;STRONG&gt;ctrl+c&lt;/STRONG&gt; by default). Tell kermit to transmit the file you want by doing:&lt;/P&gt;&lt;P&gt;C-Kermit&amp;gt;send /path/to/file/you/want/to/load&lt;/P&gt;&lt;P&gt;（Start transfer）&lt;/P&gt;&lt;P&gt;……………………&lt;/P&gt;&lt;P&gt;……………………&lt;/P&gt;&lt;P&gt;……………………&lt;/P&gt;&lt;P&gt;……………………&lt;/P&gt;&lt;P&gt;……………………&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;C-Kermit&amp;gt;&lt;/STRONG&gt;connect&lt;/P&gt;&lt;P&gt;Connecting to /dev/ttyUSB0, speed 115200&lt;/P&gt;&lt;P&gt;Escape character: Ctrl-\ (ASCII 28, FS): enabled&lt;/P&gt;&lt;P&gt;Type the escape character followed by C to get back,&lt;/P&gt;&lt;P&gt;or followed by ? to see other options.&lt;/P&gt;&lt;P&gt;----------------------------------------------------&lt;/P&gt;&lt;P&gt;## Total Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x0006b7a4 = 440228 Bytes&lt;/P&gt;&lt;P&gt;## Start Addr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x10800000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MX6Q SABRESD U-Boot &amp;gt;&lt;/STRONG&gt; mmc dev 2&lt;/P&gt;&lt;P&gt;mmc2 is current device&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(here chose your SD Card, here mmc dev 2 refers to SD3(J507) )&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;MX6Q SABRESD U-Boot &amp;gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;EM&gt; mmc write 0x10800400 0x2 0x400&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MMC write: dev # 2, block # 2, count 1024 ... 1024 blocks write: OK&lt;/P&gt;&lt;P&gt;（Assume u-boot is less than 512KB, and we write the image from 0x2 block with the length of 0x400(1024),By default, 1 block = 512 byte, so 0x400 block = 512KB.&lt;/P&gt;&lt;P&gt;Notes: We need to &lt;SPAN style="color: #ff0000;"&gt;skip the first 1KB address of the SD Card&lt;/SPAN&gt;, which is used for the MBR and partition table. So write the DDR address into the flash &lt;STRONG&gt;from the address 0x10800000 + 0x400&lt;/STRONG&gt; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition , you can refer to the &lt;A href="http://blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:serial_port_loading_files" title="http://blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:serial_port_loading_files"&gt;bootloaders:u-boot:serial_port_loading_files [Analog Devices Open Source| Mixed-signal and Digital Signal Processing …&lt;/A&gt; for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the u-boot has been updated . Reboot your board, and enjoy it ! : - )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 01:52:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318903#M42421</guid>
      <dc:creator>yahuicao</dc:creator>
      <dc:date>2014-06-17T01:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Update u-boot via serial communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318904#M42422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer!&lt;/P&gt;&lt;P&gt;Sending to 0x10800000 worked, as well as giving `loadb` no argument at all (it chose 0x12000000 by default).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when I try to run the newly uploaded bootloader in RAM with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; go 0x10800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;U-Boot &amp;gt; go 0x10800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;## Starting application at 0x10800000 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;data abort&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAYBE you should read doc/README.arm-unaligned-accesses&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;pc : [&amp;lt;10800038&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lr : [&amp;lt;4ff7b188&amp;gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sp : 4f576e10&amp;nbsp; ip : 0000001c&amp;nbsp;&amp;nbsp;&amp;nbsp; fp : 4f577b28&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r10: 4ffbb200&amp;nbsp; r9 : 4f576f38&amp;nbsp;&amp;nbsp;&amp;nbsp; r8 : 00000002&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r7 : 4f577b38&amp;nbsp; r6 : 10800000&amp;nbsp;&amp;nbsp;&amp;nbsp; r5 : 00000002&amp;nbsp; r4 : 4f577b3c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r3 : 10800000&amp;nbsp; r2 : 4f577b3c&amp;nbsp;&amp;nbsp;&amp;nbsp; r1 : 00000000&amp;nbsp; r0 : 00000001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Flags: nZCv&amp;nbsp; IRQs off&amp;nbsp; FIQs off&amp;nbsp; Mode SVC_32&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Resetting CPU ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;resetting ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read arm-unaligned-accesses. Since the flashed bootloader is supposed to start at byte 1024, I tried uploading to 0x10800400 instead, but that didn't help. The imx file is ok (I checked this by loading it with a card reader on host), so I wonder how to solve running the new bootloader from RAM, to verify it works before flashing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One other thing I do not understand is that when I put the imx onto the SD card in my host's card reader, I put it at address 1024 (dd with bs=1k seek=1). I suppose it puts the beginning of the imx file onto address 1024.&lt;/P&gt;&lt;P&gt;In your description it seems like you mmc-write not the *beginning* of the imx to 1024, but imx+1024 (0x10800400) to 1024.&lt;/P&gt;&lt;P&gt;Obviously there is something I misunderstand, but it seems to me they are placed differently. I don't get why both work. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 11:13:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318904#M42422</guid>
      <dc:creator>gauthier</dc:creator>
      <dc:date>2014-06-18T11:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Update u-boot via serial communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318905#M42423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, actually,&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt; compiled u-boot.imx contains a 1KB pad at the head&lt;/STRONG&gt;&lt;/SPAN&gt;, and if you want to execute the downloaded image in DDR, you need to execute at u-boot:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;go 0x10800400&lt;/STRONG&gt; (Suppose you execute 'loadb 0x10800000' to download the image at 0x10800000)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;(So if you go 0x10800000, the code at the 0x010800000 is not executable, and you will get exception as you mentioned.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, the u-boot consist of 1st stage and 2nd stage, while the 1st stage&lt;STRONG&gt;(mainly initialize the memory system like DDR, nand ,clocks and so on)&lt;/STRONG&gt; is executed in the on-chip ram of the i.MX at boot time. So execute the u-boot image directly the way above will not work normally.&lt;/P&gt;&lt;P&gt;If you want to debug the u-boot at the ram, you need to extract the 2nd stage to the DDR and 'go' there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second problem, you mentioned:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;' when I put the imx onto the SD card in my host's card reader, I put it at address 1024 (dd with bs=1k seek=1)'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Here I think you missed some parameter with the dd to burn the u-boot, the correct command is :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;dd&lt;/STRONG&gt; with&lt;STRONG&gt; bs=1k seek=1 &lt;SPAN style="color: #ff0000;"&gt;skip=1&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;So it copys the u-boot.imx image from the start of 1024 address to the iNAND's 1024 address. And it works the same as the way I have done on the u-boot mmc write operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Here&lt;STRONG&gt; the first 1024 bytes of the u-boot.imx is padding data(no meaning), while the first 1024 bytes of iNAND stores the MBR and partition table, which is very critical and can't be overwritten.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 06:33:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318905#M42423</guid>
      <dc:creator>yahuicao</dc:creator>
      <dc:date>2014-06-19T06:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Update u-boot via serial communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318906#M42424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried downloading at 0x10800000, then 'go' at 0x10800400. What starts is not the u-boot I just downloaded, but the u-boot in flash. I am sure that the imx I transmitted to 0x1080000 with loadb/send was another version (2014.04). No error message. When I had the alignment error I understood, the u-boot to fall back to was the one in flash. Here I get no hint on what went wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the whole procedure:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;U-Boot 2013.10 (Jun 09 2014 - 16:34:51)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CPU:&amp;nbsp; Freescale i.MX6Q rev1.2 at 792 MHz&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Reset cause: POR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Board: MX6-SabreSD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DRAM:&amp;nbsp; 1 GiB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;MMC:&amp;nbsp; FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;*** Warning - bad CRC, using default environment&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;auto-detected panel HDMI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Display: HDMI (1024x768)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;In:&amp;nbsp;&amp;nbsp;&amp;nbsp; serial&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Out:&amp;nbsp; serial&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Err:&amp;nbsp; serial&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Net:&amp;nbsp; FEC [PRIME]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Hit any key to stop autoboot:&amp;nbsp; 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;U-Boot &amp;gt; loadb 0x10800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;## Ready for binary (kermit) download to 0x10800000 at 115200 bps...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;(Back at sobel)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;----------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;(/home/gauthier/) C-Kermit&amp;gt;cd code/u-boot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;(/home/gauthier/code/u-boot/) C-Kermit&amp;gt;send u-boot.imx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;(/home/gauthier/code/u-boot/) C-Kermit&amp;gt;connect&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Connecting to /dev/ttyUSB0, speed 115200&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Escape character: Ctrl-\ (ASCII 28, FS): enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Type the escape character followed by C to get back,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;or followed by ? to see other options.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;----------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;## Total Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x00050c00 = 330752 Bytes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;## Start Addr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x10800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;U-Boot &amp;gt; go 0x10800400&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;## Starting application at 0x10800400 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;U-Boot 2013.10 (Jun 09 2014 - 16:34:51)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;CPU:&amp;nbsp; Freescale i.MX6Q rev1.2 at 792 MHz&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Reset cause: WDOG&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Board: MX6-SabreSD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;DRAM:&amp;nbsp; 1 GiB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;MMC:&amp;nbsp; FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;*** Warning - bad CRC, using default environment&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;auto-detected panel HDMI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Display: HDMI (1024x768)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure I understand why 'go' does not work there. Since I am already in u-boot (the one in flash), "initialize the memory system like DDR, nand ,clock and so on" is already done? Why would it need to be done again?&lt;/P&gt;&lt;P&gt;I would be happy to test "extract the 2nd stage to the DDR and 'go' there", but I really don't know how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second problem: when I have used dd &lt;STRONG&gt;without&lt;/STRONG&gt; skip, u-boot.imx have worked fine. Both the one generated by the fsl-community, and the ones I have compiled myself.&lt;/P&gt;&lt;P&gt;I tried to dd an imx with skip, and the bootloader did not start. The &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-94989"&gt;guide by Daiane&lt;/A&gt; does it without skip.&lt;/P&gt;&lt;P&gt;What you say does make sense though, but I don't understand why it's working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From &lt;A _jive_internal="true" href="https://community.nxp.com/thread/309765"&gt;this answer&lt;/A&gt;, it seems that the header in the imx format is: "This IVT header is for our boot ROM to identify the u-boot's location &amp;amp; function etc...", "which mode need to execute, DCD or PLUG, if DCD mode, then where to find the DRAM config data, and after DRAM configured, where to read the reset uboot image and where to put this image, in which DRAM address". Maybe that is what you meant?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 09:11:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318906#M42424</guid>
      <dc:creator>gauthier</dc:creator>
      <dc:date>2014-06-19T09:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Re: Update u-boot via serial communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318907#M42425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, maybe I didn't make it clearly that I download the u-boot.bin into the DDR by loadb and mmc-write it into the iNAND, I haven't used u-boot.imx before. After check this page &lt;A href="https://community.nxp.com/thread/309765"&gt;u-boot.bin and u-boot.imx&lt;/A&gt;, I think the u-boot.imx equals another 1KB data at the head(which is meaningful here) plus u-boot.bin. &lt;STRONG&gt;Above all, I tested with the u-boot.bin, while you tested with the u-boot.imx. So this is the problem.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked&amp;nbsp; your u-boot operation procedure, after go 0x10800400,&amp;nbsp; the log shows that the system crashes and then reboot. So I don't suggest that you execute the whole u-boot image in the DDR. About executing the second stage in DDR, it is a little bit complicated and you need to study the code in u-boot and modify the link table of the u-boot. For the purpose of debuging, you need to pay much effort and it isn't quite straightforward as it seems..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 09:53:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318907#M42425</guid>
      <dc:creator>yahuicao</dc:creator>
      <dc:date>2014-06-19T09:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Re: Re: Update u-boot via serial communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318908#M42426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that makes sense!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At my first try (my second post), there was an apparent crash:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;U-Boot &amp;gt; go 0x10800000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;## Starting application at 0x10800000 ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;data abort&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAYBE you should read doc/README.arm-unaligned-accesses&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;pc : [&amp;lt;10800038&amp;gt;]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lr : [&amp;lt;4ff7b188&amp;gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;sp : 4f576e10&amp;nbsp; ip : 0000001c&amp;nbsp;&amp;nbsp;&amp;nbsp; fp : 4f577b28&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r10: 4ffbb200&amp;nbsp; r9 : 4f576f38&amp;nbsp;&amp;nbsp;&amp;nbsp; r8 : 00000002&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r7 : 4f577b38&amp;nbsp; r6 : 10800000&amp;nbsp;&amp;nbsp;&amp;nbsp; r5 : 00000002&amp;nbsp; r4 : 4f577b3c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;r3 : 10800000&amp;nbsp; r2 : 4f577b3c&amp;nbsp;&amp;nbsp;&amp;nbsp; r1 : 00000000&amp;nbsp; r0 : 00000001&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Flags: nZCv&amp;nbsp; IRQs off&amp;nbsp; FIQs off&amp;nbsp; Mode SVC_32&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;Resetting CPU ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;resetting ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;In the following try (go 0x18000400), the Reset cause is the watchdog. Is that why you write that the system crashes? &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 11:29:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318908#M42426</guid>
      <dc:creator>gauthier</dc:creator>
      <dc:date>2014-06-19T11:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Re: Re: Re: Update u-boot via serial communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318909#M42427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I checked that line "&lt;SPAN style="color: #3366ff;"&gt;Reset cause: WDOG&lt;/SPAN&gt;",and I think the reset cause is the watchdog.&lt;/P&gt;&lt;P&gt;So if you want to update the &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;u-boot.imx&lt;/STRONG&gt;&lt;/SPAN&gt; in the iNAND &lt;STRONG&gt;instead of u-boot.bin&lt;/STRONG&gt;, just execute &lt;SPAN style="color: #0000ff;"&gt;'mmc write 0x10800000 0x2 0x400'&lt;/SPAN&gt; after&lt;SPAN style="color: #0000ff;"&gt; 'loadb 0x10800000'&lt;/SPAN&gt;, and I've verified that it works OK:smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 01:32:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318909#M42427</guid>
      <dc:creator>yahuicao</dc:creator>
      <dc:date>2014-06-20T01:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Re: Re: Re: Update u-boot via serial communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318910#M42428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Well, could you please set this question as answered if you think this is done ? Thanks:smileyhappy:&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jun 2014 01:23:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318910#M42428</guid>
      <dc:creator>yahuicao</dc:creator>
      <dc:date>2014-06-23T01:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Update u-boot via serial communication</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318911#M42429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I update the uboot.imx with the serial , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;execute &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;'mmc write 0x10800000 0x1 0x400'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; after&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt; 'loadb 0x10800000'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;, and&amp;nbsp; it &lt;STRONG&gt; write success, but when set "go 0x10800000" or "go 0x10800400", or reset , the u-boot is not updated.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U-Boot 2009.08 (Nov 13 2013 - 11:06:28)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CPU: Freescale i.MX6 family TO1.2 at 792 MHz&lt;/P&gt;&lt;P&gt;Temperature:&amp;nbsp;&amp;nbsp; 39 C, calibration data 0x54b4a77d&lt;/P&gt;&lt;P&gt;mx6q pll1: 792MHz&lt;/P&gt;&lt;P&gt;mx6q pll2: 528MHz&lt;/P&gt;&lt;P&gt;mx6q pll3: 480MHz&lt;/P&gt;&lt;P&gt;mx6q pll8: 50MHz&lt;/P&gt;&lt;P&gt;ipg clock&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 66000000Hz&lt;/P&gt;&lt;P&gt;ipg per clock : 66000000Hz&lt;/P&gt;&lt;P&gt;uart clock&amp;nbsp;&amp;nbsp;&amp;nbsp; : 80000000Hz&lt;/P&gt;&lt;P&gt;cspi clock&amp;nbsp;&amp;nbsp;&amp;nbsp; : 60000000Hz&lt;/P&gt;&lt;P&gt;ahb clock&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 132000000Hz&lt;/P&gt;&lt;P&gt;axi clock&amp;nbsp;&amp;nbsp; : 264000000Hz&lt;/P&gt;&lt;P&gt;emi_slow clock: 132000000Hz&lt;/P&gt;&lt;P&gt;ddr clock&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 528000000Hz&lt;/P&gt;&lt;P&gt;usdhc1 clock&amp;nbsp; : 198000000Hz&lt;/P&gt;&lt;P&gt;usdhc2 clock&amp;nbsp; : 198000000Hz&lt;/P&gt;&lt;P&gt;usdhc3 clock&amp;nbsp; : 198000000Hz&lt;/P&gt;&lt;P&gt;usdhc4 clock&amp;nbsp; : 198000000Hz&lt;/P&gt;&lt;P&gt;nfc clock&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 24000000Hz&lt;/P&gt;&lt;P&gt;Board: MX6Q-SABRELITE:[ POR]&lt;/P&gt;&lt;P&gt;Boot Device: I2C&lt;/P&gt;&lt;P&gt;I2C:&amp;nbsp;&amp;nbsp; ready&lt;/P&gt;&lt;P&gt;DRAM:&amp;nbsp;&amp;nbsp; 1 GB&lt;/P&gt;&lt;P&gt;MMC:&amp;nbsp;&amp;nbsp; FSL_USDHC: 0,FSL_USDHC: 1&lt;/P&gt;&lt;P&gt;JEDEC ID: 0xbf:0x25:0x41&lt;/P&gt;&lt;P&gt;Reading SPI NOR flash 0xc0000 [0x2000 bytes] -&amp;gt; ram 0x276009b8&lt;/P&gt;&lt;P&gt;SUCCESS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In:&amp;nbsp;&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;Out:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;Err:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;Net:&amp;nbsp;&amp;nbsp; got MAC address from IIM: 00:00:00:00:00:00&lt;/P&gt;&lt;P&gt;FEC0 [PRIME]&lt;/P&gt;&lt;P&gt;Hit any key to stop autoboot:&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;MX6Q SABRELITE U-Boot &amp;gt; loadb 0x10800000&lt;/P&gt;&lt;P&gt;## Ready for binary (kermit) download to 0x10800000 at 115200 bps...&lt;/P&gt;&lt;P&gt;## Total Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x0004e55c = 320860 Bytes&lt;/P&gt;&lt;P&gt;## Start Addr&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 0x10800000&lt;/P&gt;&lt;P&gt;MX6Q SABRELITE U-Boot &amp;gt; mmc dev 1&lt;/P&gt;&lt;P&gt;mmc1 is current device&lt;/P&gt;&lt;P&gt;MX6Q SABRELITE U-Boot &amp;gt; mmc dev 3&lt;/P&gt;&lt;P&gt;MMC Device 3 not found&lt;/P&gt;&lt;P&gt;no mmc device at slot 3&lt;/P&gt;&lt;P&gt;MX6Q SABRELITE U-Boot &amp;gt; mmc dev 2&lt;/P&gt;&lt;P&gt;MMC Device 2 not found&lt;/P&gt;&lt;P&gt;no mmc device at slot 2&lt;/P&gt;&lt;P&gt;MX6Q SABRELITE U-Boot &amp;gt; mmc dev 1&lt;/P&gt;&lt;P&gt;mmc1 is current device&lt;/P&gt;&lt;P&gt;MX6Q SABRELITE U-Boot &amp;gt;&amp;nbsp; mmc write 0x10800400 0x1 0x400&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MMC write: dev # 1, block # 1, count 1024 ... 1024 blocks write: OK&lt;/P&gt;&lt;P&gt;MX6Q SABRELITE U-Boot &amp;gt; go 0x10800000&lt;/P&gt;&lt;P&gt;## Starting application at 0x10800000 ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 03:54:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Update-u-boot-via-serial-communication/m-p/318911#M42429</guid>
      <dc:creator>andyhuang</dc:creator>
      <dc:date>2014-07-30T03:54:01Z</dc:date>
    </item>
  </channel>
</rss>

