<?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のトピックU-boot memory values as function param</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-memory-values-as-function-param/m-p/1032853#M152485</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;I'm developing a SPI functionality in the u-boot, I'm able to manage my SPI HW with the "&lt;STRONG&gt;sspi&lt;/STRONG&gt;" command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=&amp;gt; sspi 1.0:3 1920 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0808080e0e0e0c0f0f0f0e0f8f8f0f0f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f0f0f0f8e0f0f0f0c0c0e0e0008080c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sending 240 bytes (I patched and removed the 32bytes limit) and it works as expected!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is when i'm trying to read these 240 bytes from memory. I'm able to load a file (from the rootfs) with that info in the RAM memory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=&amp;gt; ext4load mmc 0:2 0x90000000 /etc/spi/240bytes&lt;BR /&gt;240 bytes read in 391 ms (0 Bytes/s)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;With this command I can set those bytes in my RAM memory, address 0x90000000. I can check those bytes with "&lt;STRONG&gt;md&lt;/STRONG&gt;" command:&lt;EM&gt;&lt;EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;EM&gt;&lt;EM&gt;=&amp;gt; md 0x90000000&lt;BR /&gt;90000000: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000010: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000020: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000030: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000040: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000050: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000060: c0808080 e0e0e0c0 f0f0f0e0 f8f8f0f0 ................&lt;BR /&gt;90000070: f8f8f8f8 f8f8f8f8 f8f8f8f8 f8f8f8f8 ................&lt;BR /&gt;90000080: f0f0f0f8 e0f0f0f0 c0c0e0e0 008080c0 ................&lt;BR /&gt;90000090: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;900000a0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;900000b0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;900000c0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;900000d0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;900000e0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;How can I use those 240 bytes stored in memory as the last parameter of my sspi command?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;=&amp;gt; sspi 1.0:3 1920&amp;nbsp;&lt;STRONG&gt;memoryparam&lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Mar 2020 09:58:32 GMT</pubDate>
    <dc:creator>xavigarcía</dc:creator>
    <dc:date>2020-03-16T09:58:32Z</dc:date>
    <item>
      <title>U-boot memory values as function param</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-memory-values-as-function-param/m-p/1032853#M152485</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;I'm developing a SPI functionality in the u-boot, I'm able to manage my SPI HW with the "&lt;STRONG&gt;sspi&lt;/STRONG&gt;" command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=&amp;gt; sspi 1.0:3 1920 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0808080e0e0e0c0f0f0f0e0f8f8f0f0f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f8f0f0f0f8e0f0f0f0c0c0e0e0008080c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sending 240 bytes (I patched and removed the 32bytes limit) and it works as expected!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is when i'm trying to read these 240 bytes from memory. I'm able to load a file (from the rootfs) with that info in the RAM memory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=&amp;gt; ext4load mmc 0:2 0x90000000 /etc/spi/240bytes&lt;BR /&gt;240 bytes read in 391 ms (0 Bytes/s)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;With this command I can set those bytes in my RAM memory, address 0x90000000. I can check those bytes with "&lt;STRONG&gt;md&lt;/STRONG&gt;" command:&lt;EM&gt;&lt;EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;EM&gt;&lt;EM&gt;=&amp;gt; md 0x90000000&lt;BR /&gt;90000000: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000010: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000020: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000030: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000040: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000050: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;90000060: c0808080 e0e0e0c0 f0f0f0e0 f8f8f0f0 ................&lt;BR /&gt;90000070: f8f8f8f8 f8f8f8f8 f8f8f8f8 f8f8f8f8 ................&lt;BR /&gt;90000080: f0f0f0f8 e0f0f0f0 c0c0e0e0 008080c0 ................&lt;BR /&gt;90000090: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;900000a0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;900000b0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;900000c0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;900000d0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;900000e0: 00000000 00000000 00000000 00000000 ................&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;How can I use those 240 bytes stored in memory as the last parameter of my sspi command?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;EM&gt;=&amp;gt; sspi 1.0:3 1920&amp;nbsp;&lt;STRONG&gt;memoryparam&lt;/STRONG&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2020 09:58:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-memory-values-as-function-param/m-p/1032853#M152485</guid>
      <dc:creator>xavigarcía</dc:creator>
      <dc:date>2020-03-16T09:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: U-boot memory values as function param</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/U-boot-memory-values-as-function-param/m-p/1032854#M152486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Xavi García,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you still looking for a solution to this matter? I couldn’t find a parameter or function that would allow you to perform that task directly, at east in our implementation of uboot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may need to look for a workaround to achieve this.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Mar 2020 20:56:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/U-boot-memory-values-as-function-param/m-p/1032854#M152486</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2020-03-18T20:56:00Z</dc:date>
    </item>
  </channel>
</rss>

