<?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: Creating M4 Partition</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Creating-M4-Partition/m-p/887054#M134337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anjalik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check if the SC_BD_FLAGS_ALT_CONFIG is set under the boot flags (more details in the Usage chapter &lt;BR /&gt;of the sc_fw_port.pdf), the flags are set while building the image with mkimage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function rm_dump(pt_boot); dumps the partitioning state of the whole system, &lt;BR /&gt;it can be called before and after the partitioning to make sure the device was partitioned as expected.&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, 10 Apr 2019 01:56:41 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-04-10T01:56:41Z</dc:date>
    <item>
      <title>Creating M4 Partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Creating-M4-Partition/m-p/887053#M134336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For creating the M4 partition , I added -p3 option in soc.mak file and when I enabled the ALT_DEBUG_UART macro in the board.c file , the partition and memory regions were listed out and the partition 3 is visible. When I disable the ALT_DEBUG_UART macro no prints are displayed in M4 side and A53 side. I tried moving the debug related pads and resource in the below function from SC partiiton to boot partition&lt;/P&gt;&lt;P&gt;void board_config_sc(sc_rm_pt_t pt_sc)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; #ifdef ALT_DEBUG_UART &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void) rm_set_resource_movable(SC_PT, SC_R_M4_0_UART, SC_R_M4_0_UART,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_FALSE);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void) rm_set_pad_movable(SC_PT, SC_P_ADC_IN3, SC_P_ADC_IN2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_FALSE);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ifndef ALT_DEBUG_UART&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;(void) rm_set_pad_movable(SC_PT, SC_P_ADC_IN3, SC_P_ADC_IN2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_TRUE);&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;(void) rm_set_resource_movable(SC_PT, SC_R_M4_0_UART, SC_R_M4_0_UART,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_TRUE);&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void) rm_move_all(SC_PT,SC_PT, BOOT_PT, SC_TRUE,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_TRUE);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void) rm_set_resource_movable(pt_sc, SC_R_SC_I2C, SC_R_SC_I2C,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_FALSE);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void) rm_set_pad_movable(pt_sc, SC_P_PMIC_I2C_SCL, SC_P_PMIC_I2C_SDA,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_FALSE);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void) rm_set_pad_movable(pt_sc, SC_P_SCU_GPIO0_00, SC_P_SCU_GPIO0_01,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_FALSE);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the system_config functions , the moved the pads and resources from Boot partiion to M4 as below;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; BRD_ERR(rm_set_pad_movable(pt_boot,SC_P_ADC_IN3,SC_P_ADC_IN2,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_TRUE));&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BRD_ERR(rm_set_resource_movable(pt_boot,SC_R_M4_0_UART,SC_R_M4_0_UART,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_TRUE));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;and finally&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BRD_ERR(rm_move_all(pt_boot, pt_boot, pt_m4_0, SC_TRUE, SC_TRUE));&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to configure the uart in M4 Partition .But this does not seems&amp;nbsp; to be working and the prints are still not coming&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Any help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2019 12:04:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Creating-M4-Partition/m-p/887053#M134336</guid>
      <dc:creator>anjalikkrishna</dc:creator>
      <dc:date>2019-04-08T12:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Creating M4 Partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Creating-M4-Partition/m-p/887054#M134337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anjalik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check if the SC_BD_FLAGS_ALT_CONFIG is set under the boot flags (more details in the Usage chapter &lt;BR /&gt;of the sc_fw_port.pdf), the flags are set while building the image with mkimage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The function rm_dump(pt_boot); dumps the partitioning state of the whole system, &lt;BR /&gt;it can be called before and after the partitioning to make sure the device was partitioned as expected.&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, 10 Apr 2019 01:56:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Creating-M4-Partition/m-p/887054#M134337</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-04-10T01:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating M4 Partition</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Creating-M4-Partition/m-p/887055#M134338</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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have added the flag and -p3 parameter in soc.mak in the mkimage. And M4 partition is created as third partition. But the problem I am facing is when I comment the ALT_DEBUG_UART in the board.c file no prints are not coming in the A35 or M4 side. If the ALT_DEBUG_UART is enabled , in the below function , the UART and ADC pads are made as non-movable in SC partition&lt;/P&gt;&lt;P&gt;void board_config_sc(sc_rm_pt_t pt_sc)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifef ALT_DEBUG_UART&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void) rm_set_resource_movable(SC_PT, SC_R_M4_0_UART, SC_R_M4_0_UART,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_FALSE);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (void) rm_set_pad_movable(SC_PT, SC_P_ADC_IN3, SC_P_ADC_IN2,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SC_FALSE);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to move the same to M4 partition by making it movable and assigning it to boot partition and finally to M4 . But the prints are still not visible in both the sides.&lt;/P&gt;&lt;P&gt;My doubt is when the M4 partition is created is there any further changes to be done for enabling the debug prints in M4 and A53?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2019 05:33:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Creating-M4-Partition/m-p/887055#M134338</guid>
      <dc:creator>anjalikkrishna</dc:creator>
      <dc:date>2019-04-10T05:33:09Z</dc:date>
    </item>
  </channel>
</rss>

