<?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: Anyone have experience using the UART as the BOOT device (using the serial download protocol)? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177275#M6905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to&amp;nbsp;understand the flash_header.S code in u-boot&amp;nbsp;as I'm reading&amp;nbsp;section&amp;nbsp;7. &amp;nbsp;There are two IVTs, DCD pointers are null in both of them, and text implies that there are several downloads using SDP and the "host manufacturing application".&amp;nbsp;&amp;nbsp;Then the UG refers to "MXC_DCD_ITEM" macros which are not-to-be found.&amp;nbsp; Is this explained anywhere? &amp;nbsp;Is this a typical example of how the imx53s boot?&lt;/P&gt;&lt;P&gt;I don't quite understand the need for the plugin and DCD code.&amp;nbsp; Sounds like the DCD is a block of code that should be executed to do boot-specific device initialization (DRAM in particular) and the plugin code just extends the capability of the rom bootloader to additional (more complex) devices.&amp;nbsp; Then, in the case of the u-boot flash_header.S code it appears that the plugin code is being used in the same way the DCD would be used.&amp;nbsp; Am I making any sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2012 16:18:42 GMT</pubDate>
    <dc:creator>EdSutter</dc:creator>
    <dc:date>2012-08-01T16:18:42Z</dc:date>
    <item>
      <title>Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177259#M6889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I modified my QSB so that I can install a jumper that will put the board in serial-bootloader mode (BOOT_MODE[1:0] = 11).&amp;nbsp; I've got a small bootloader built and fairly well tested that I would like to install into the imx's SRAM (using the serial download protocol) and run it.&amp;nbsp; I assume I need to convert the .elf file to a program image (as specified in section 7.6 of the reference manual).&amp;nbsp;&amp;nbsp;Does anyone have any experience with any of this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 17:23:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177259#M6889</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2012-07-24T17:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177260#M6890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Someone here has a python script to download and run programs. You may be able to use the mfg. tool as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://imxcommunity.org/group/imx53quickstartboard/forum/topics/serial-download-example-instructions-or-tool?commentId=4103961%3AComment%3A64579&amp;amp;xg_source=msg_com_gr_forum"&gt;http://imxcommunity.org/group/imx53quickstartboard/forum/topics/serial-download-example-instructions-or-tool?commentId=4103961%3AComment%3A64579&amp;amp;xg_source=msg_com_gr_forum&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got it working in Windows by installing ActivePython ( with python 2.7 ) and pyserial 2.5. Had to modify the COM port in the script, but it works for talking to the imx53. Had to boot the imx53 QSB board without a uSD card installed, this dropped it into serial mode. I think you have 32 seconds to talk to the part then.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I had it working in my VM as well, with less effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Randy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 17:40:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177260#M6890</guid>
      <dc:creator>RandyKrakora</dc:creator>
      <dc:date>2012-07-24T17:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177261#M6891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!&amp;nbsp;I was actually interested in getting more information on the whole process as well.&lt;/P&gt;&lt;P&gt;My assumption is the following...&lt;/P&gt;&lt;P&gt;1. I build some bootable image (call it: bootmonitor.elf).&lt;/P&gt;&lt;P&gt;2. Something (a tool or my own code?) converts&amp;nbsp;the .elf&amp;nbsp;to a "Program Image" file.&lt;/P&gt;&lt;P&gt;3. That file is transferred to internal SRAM using the serial downloader, and after the file is written to SRAM and the download is completed, the CPU retreives information from the headers at the beginning of the program image to start up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;P&gt;By the way, I downloaded the mfg tool's source code, but the VS2008 build failed.&amp;nbsp; :-(&amp;nbsp; I've got a question to that group as well.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 19:58:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177261#M6891</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2012-07-24T19:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177262#M6892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You should be able to use the mfg. tool to do what you want, I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look through the docs and the ucl files. You may even be able to find one out there that does exactly what you want. Basically, once the mfg tool downloads the special kernel and starts communicating with it, you can use linux commands ( in the ucl file ). I've not messed with it much, but I know some people have and get it to do lots of things. As far as converting your .elf file, there should be tools to do that as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2012 20:12:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177262#M6892</guid>
      <dc:creator>RandyKrakora</dc:creator>
      <dc:date>2012-07-24T20:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177263#M6893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;use boot load commands in LTIB. but a binary file has to be used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 08:24:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177263#M6893</guid>
      <dc:creator>KrishnaPavan</dc:creator>
      <dc:date>2012-07-25T08:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177264#M6894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any boot code must embed an Image Vector Table that helps the ROM code to localized the different bricks required at boot.&lt;/P&gt;&lt;P&gt;If this misses from the boot code or if the boot device is blank, the ROM code jumps to the serial download mode. So, that was probably not needed to tweak the QSB with a jumper.&lt;/P&gt;&lt;P&gt;You can find more details in the "System Boot" section of the reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Your bootmonitor.elf must contain that IVT and boot data section.&lt;/P&gt;&lt;P&gt;2. Moving from an elf to a binary is simple by using your ARM compiler objcopy command like:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;arm-none-eabi-objcopy -O binary&amp;nbsp;bootmonitor.elf bootmonitor.bin&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;3. When loading code to internal RAM at boot, the code can't be loaded anywhere. It has to be in the iRAM Free space which starts at 0xF8006000 (figure 2-2 in the manual). Otherwise, it overrides area reserved for the ROM code execution.&lt;/P&gt;&lt;P&gt;By using the mfgtool, you should be able to download and execute that code. A simple way to do that is to use a profile like this one in the ucl.xml:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;LIST name="DWLD_IN_SDP" desc="Download and execute a binary!"&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD type="find" body="Recovery" timeout="180"/&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD type="boot" body="Recovery" file ="bootmonitor.bin" &amp;gt; Loading bootmonitor &amp;lt;/CMD&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD type="jump" &amp;gt; Jumping to bootmonitor. &amp;lt;/CMD&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;lt;/LIST&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The destination where the code must be loaded is specified in the IVT, so that the mfgtool uses it to extract the address automatically.&lt;/P&gt;&lt;P&gt;You can use other methods, such the python script that I posted some time ago.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 09:29:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177264#M6894</guid>
      <dc:creator>FlorentAuger</dc:creator>
      <dc:date>2012-07-25T09:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177265#M6895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Florent,&amp;nbsp; thanks for the details.&amp;nbsp;&amp;nbsp;Referring to step 1 in your response...&lt;/P&gt;&lt;P&gt;At this point, I'm looking for the easiest way to insert the IVT and boot data section into the final binary image.&amp;nbsp;&amp;nbsp;Is there a standard way to do that or do I just do some post processing on the .elf (I've done a lot of that in the past) to insert the IVT/Bootdata onto the base of the binary image?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 11:57:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177265#M6895</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2012-07-25T11:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177266#M6896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, referring to the u-boot code, I see the file flash_header.S apparently constructs the IVT; however it appears to start at a 1K offset from the base of the u-boot.bin file.&amp;nbsp; Not quite sure what's up with that, but I assume that initial 1K (which appears to only have a branch-to-start instructino) is stripped off prior to loading it onto the SD card.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 12:48:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177266#M6896</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2012-07-25T12:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177267#M6897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, sorry I gotta RTFM... I see the offset, as explained in the RM! :-(&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 13:25:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177267#M6897</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2012-07-25T13:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177268#M6898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ed,&lt;/P&gt;&lt;P&gt;The IVT can be added through a piece of code such what you find in u-boot. I sometimes do it manually in a binary with hexplorer for instance, as the IVT + boot data is made of 11 words of 32-bit...whose most are zero. The elf file gives the code entry point, the linker script the load address, etc&lt;/P&gt;&lt;P&gt;No, the empty 1k is not stripped off, this is typically to let that space for the MBR and file system related information of a SD card, hard drive,...&lt;/P&gt;&lt;P&gt;The branch to entry point instruction at offset 0x0 is a legacy of another boot mode for some previous i.MX. You can dismiss that.&lt;/P&gt;&lt;P&gt;Finally, I think it's time to read the reference manual for all the remaining questions you have on boot, and especially section 7.6 "Program Image" :-)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2012 13:25:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177268#M6898</guid>
      <dc:creator>FlorentAuger</dc:creator>
      <dc:date>2012-07-25T13:25:45Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177269#M6899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Florent,&lt;/P&gt;&lt;P&gt;I'm able to do all the various commands (GetStatus, Read/WriteMemory, WriteFile) except that I never get a response when I do a Completed after a WriteFile.&amp;nbsp;My "Completed" command is just 16 arbitrary&amp;nbsp;bytes, so I just tried replacing that with a GetStatus (05050000...) and then I get the expected 88888888 response.&amp;nbsp; Does this make any sense?&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 14:02:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177269#M6899</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2012-07-30T14:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177270#M6900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just joined "Tools and Utilities" group, and now see&amp;nbsp;your instructions for using your python script say to do "Get Status" after the Writefile (instead of "Completed").&amp;nbsp; I'm not using your tool, just referring to the RM; hence, didn't see this.&amp;nbsp; Is this specified in some other documentation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 14:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177270#M6900</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2012-07-30T14:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177271#M6901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to get booted through the serial downloader.&amp;nbsp; After spinning my wheels on the "Completed" issue above (I just use GetStatus after WriteFile) I'm now able to do a raw boot over the serial port.&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, I'm just using a tool I wrote called uCon (&lt;A href="http://www.umonfw.com/ucon"&gt;http://www.umonfw.com/ucon&lt;/A&gt;) to do this, if anyone has interest in that lemme know.&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2012 18:21:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177271#M6901</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2012-07-30T18:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177272#M6902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ed,&lt;/P&gt;&lt;P&gt;Right, the command must actually be Get Status. That's certainly not clear from the RM, but I never noticed that this was missing.&lt;/P&gt;&lt;P&gt;Thanks for the catch.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 18:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177272#M6902</guid>
      <dc:creator>FlorentAuger</dc:creator>
      <dc:date>2012-07-31T18:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177273#M6903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, in the case of the bootmode == "serial downloader", the IVT apparently only uses the IVT header, entrypoint and self pointer correct?&amp;nbsp; Is there ever a case (in serial downloader mode) where other entries in the IVT are actually used?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2012 19:06:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177273#M6903</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2012-07-31T19:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177274#M6904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is correct if the security configuration for boot is open (section 7.2.6 of the RM for more information), and if you are not validating a secure boot.&lt;/P&gt;&lt;P&gt;In the case of close configuration, the boot code must be authenticated prior to its execution. So, the CSF pointer must be set, and the CSF be part of the downloaded code.&lt;/P&gt;&lt;P&gt;In both cases, if the DCD pointer is NULL, it will not be processed, but will if present.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 09:29:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177274#M6904</guid>
      <dc:creator>FlorentAuger</dc:creator>
      <dc:date>2012-08-01T09:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177275#M6905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to&amp;nbsp;understand the flash_header.S code in u-boot&amp;nbsp;as I'm reading&amp;nbsp;section&amp;nbsp;7. &amp;nbsp;There are two IVTs, DCD pointers are null in both of them, and text implies that there are several downloads using SDP and the "host manufacturing application".&amp;nbsp;&amp;nbsp;Then the UG refers to "MXC_DCD_ITEM" macros which are not-to-be found.&amp;nbsp; Is this explained anywhere? &amp;nbsp;Is this a typical example of how the imx53s boot?&lt;/P&gt;&lt;P&gt;I don't quite understand the need for the plugin and DCD code.&amp;nbsp; Sounds like the DCD is a block of code that should be executed to do boot-specific device initialization (DRAM in particular) and the plugin code just extends the capability of the rom bootloader to additional (more complex) devices.&amp;nbsp; Then, in the case of the u-boot flash_header.S code it appears that the plugin code is being used in the same way the DCD would be used.&amp;nbsp; Am I making any sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 16:18:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177275#M6905</guid>
      <dc:creator>EdSutter</dc:creator>
      <dc:date>2012-08-01T16:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Anyone have experience using the UART as the BOOT device (using the serial download protocol)?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177276#M6906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ed,&lt;/P&gt;&lt;P&gt;I am impressed by your analyze. You are totally right.&lt;/P&gt;&lt;P&gt;The purpose of the DCD is to initialize the chip and some of the memories early in the boot procedure. It is just a chunk of data processed by the ROM code.&lt;/P&gt;&lt;P&gt;A plugin could do the same with more flexibility that offers real code, as it is somehow an extended and customized function of the ROM code.&lt;/P&gt;&lt;P&gt;For most of the devices, the plugin method overloads the boot code and is not needed. It is simpler to use a single IVT + DCD table.&lt;/P&gt;&lt;P&gt;Not entering in too many details about why u-boot uses the plugin method, it is actually recommended to use the above method for a secure boot, as it makes the signature process much more complex to prevent backdoors.&lt;/P&gt;&lt;P&gt;You can still revert to the common DCD method from an older version like:&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx53_loco/flash_header.S?id=rel_imx_2.6.35_11.05.01" target="_blank"&gt;http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx53_loco/flash_header.S?id=rel_imx_2.6.35_11.05.01&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Though, I suggest to ensure that the value to configure are the same than in the last u-boot, and if not to change them in the DCD table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 17:10:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Anyone-have-experience-using-the-UART-as-the-BOOT-device-using/m-p/177276#M6906</guid>
      <dc:creator>FlorentAuger</dc:creator>
      <dc:date>2012-08-01T17:10:20Z</dc:date>
    </item>
  </channel>
</rss>

