<?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>S32GのトピックGoldbox RDB3 S32G299 M7_0 not boot from EMMC.</title>
    <link>https://community.nxp.com/t5/S32G/Goldbox-RDB3-S32G299-M7-0-not-boot-from-EMMC/m-p/1712642#M4586</link>
    <description>&lt;P&gt;I am following the steps in "S32G-VNP-GLDBOX3 SOFTWARE ENABLEMENT GUIDE" to&amp;nbsp;&lt;/P&gt;&lt;P&gt;Light Up RGB LED using S32 Real Time Drivers, from M7_0 core, boot from EMMC (a little modification instead of boot from SD card - I only have one SD card with Linux BSP.&amp;nbsp; I don't want to erase the SD card with my own binary file.&amp;nbsp; I would like to save the SD card as a recovery boot)&lt;/P&gt;&lt;P&gt;Code is compiled and should run, Tested with below 2 senario.&lt;/P&gt;&lt;P&gt;1. S32 debugger probe, and I see the RED LED lights on - again change the blue LED to red LED.&lt;/P&gt;&lt;P&gt;2. if I boot from SD card, then copy the "blinker.bin" from SD card(bin file is copied to SD card after compilation, before boot) to Sram at 0x3400 0000, and start_M7 at 0x3450 1000, I see the RED LED lights solid on as well. with below command after interrup the uboot:&amp;nbsp;&lt;/P&gt;&lt;P&gt;(note for this blinker.bin, I commented out&amp;nbsp; /*Clock_Ip_Init(Mcu_aClockConfigPB);*/ cause BSP should already init the clock)&lt;/P&gt;&lt;P&gt;dcach off&lt;/P&gt;&lt;P&gt;initsram 0x34000000 0x700000&lt;/P&gt;&lt;P&gt;fatload mmc 0:1 0x34000000 blinker.bin&lt;/P&gt;&lt;P&gt;startm7 0x34501000&lt;/P&gt;&lt;P&gt;__________________________________________________&lt;/P&gt;&lt;P&gt;Here is the issue:&lt;/P&gt;&lt;P&gt;If I use IVT tool to create IVT (only app_bootloader, no DCD, no other items) image, then export blob image with emmc/sd selection, I got a blob image with&lt;/P&gt;&lt;P&gt;0x1000 IVT table&lt;/P&gt;&lt;P&gt;0x1200 app_bootloader header&lt;/P&gt;&lt;P&gt;0x1240 blinker.bin&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next, I choose switches:&lt;/P&gt;&lt;P&gt;SW 11 on - LED option on&lt;/P&gt;&lt;P&gt;SW 3 off - choose emmc&lt;/P&gt;&lt;P&gt;SW 4 only pin6/7 ON -&amp;nbsp; emmc boot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I do flash tool, I choose:&amp;nbsp;&lt;/P&gt;&lt;P&gt;SW10 pin1/2 all off - serial boot&lt;/P&gt;&lt;P&gt;so I flash the blob.bin with emmc.bin algo into device.&amp;nbsp; after it successfully finished, I power off.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I choose&lt;/P&gt;&lt;P&gt;SW 10 pin1-on, Pn2-off for emmc boot.&lt;/P&gt;&lt;P&gt;power on again.&lt;/P&gt;&lt;P&gt;But I never see my red LED solid on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my blob binary file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vsong_0-1693262400225.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238491i9D9E473E78128ECE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vsong_0-1693262400225.png" alt="vsong_0-1693262400225.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;vsong_0-1693262400225.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and my ram_start is at:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vsong_1-1693262466024.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238492i3B4A53593CAEF507/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vsong_1-1693262466024.png" alt="vsong_1-1693262466024.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;vsong_1-1693262466024.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;song&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 22:41:26 GMT</pubDate>
    <dc:creator>vsong</dc:creator>
    <dc:date>2023-08-28T22:41:26Z</dc:date>
    <item>
      <title>Goldbox RDB3 S32G299 M7_0 not boot from EMMC.</title>
      <link>https://community.nxp.com/t5/S32G/Goldbox-RDB3-S32G299-M7-0-not-boot-from-EMMC/m-p/1712642#M4586</link>
      <description>&lt;P&gt;I am following the steps in "S32G-VNP-GLDBOX3 SOFTWARE ENABLEMENT GUIDE" to&amp;nbsp;&lt;/P&gt;&lt;P&gt;Light Up RGB LED using S32 Real Time Drivers, from M7_0 core, boot from EMMC (a little modification instead of boot from SD card - I only have one SD card with Linux BSP.&amp;nbsp; I don't want to erase the SD card with my own binary file.&amp;nbsp; I would like to save the SD card as a recovery boot)&lt;/P&gt;&lt;P&gt;Code is compiled and should run, Tested with below 2 senario.&lt;/P&gt;&lt;P&gt;1. S32 debugger probe, and I see the RED LED lights on - again change the blue LED to red LED.&lt;/P&gt;&lt;P&gt;2. if I boot from SD card, then copy the "blinker.bin" from SD card(bin file is copied to SD card after compilation, before boot) to Sram at 0x3400 0000, and start_M7 at 0x3450 1000, I see the RED LED lights solid on as well. with below command after interrup the uboot:&amp;nbsp;&lt;/P&gt;&lt;P&gt;(note for this blinker.bin, I commented out&amp;nbsp; /*Clock_Ip_Init(Mcu_aClockConfigPB);*/ cause BSP should already init the clock)&lt;/P&gt;&lt;P&gt;dcach off&lt;/P&gt;&lt;P&gt;initsram 0x34000000 0x700000&lt;/P&gt;&lt;P&gt;fatload mmc 0:1 0x34000000 blinker.bin&lt;/P&gt;&lt;P&gt;startm7 0x34501000&lt;/P&gt;&lt;P&gt;__________________________________________________&lt;/P&gt;&lt;P&gt;Here is the issue:&lt;/P&gt;&lt;P&gt;If I use IVT tool to create IVT (only app_bootloader, no DCD, no other items) image, then export blob image with emmc/sd selection, I got a blob image with&lt;/P&gt;&lt;P&gt;0x1000 IVT table&lt;/P&gt;&lt;P&gt;0x1200 app_bootloader header&lt;/P&gt;&lt;P&gt;0x1240 blinker.bin&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next, I choose switches:&lt;/P&gt;&lt;P&gt;SW 11 on - LED option on&lt;/P&gt;&lt;P&gt;SW 3 off - choose emmc&lt;/P&gt;&lt;P&gt;SW 4 only pin6/7 ON -&amp;nbsp; emmc boot&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I do flash tool, I choose:&amp;nbsp;&lt;/P&gt;&lt;P&gt;SW10 pin1/2 all off - serial boot&lt;/P&gt;&lt;P&gt;so I flash the blob.bin with emmc.bin algo into device.&amp;nbsp; after it successfully finished, I power off.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I choose&lt;/P&gt;&lt;P&gt;SW 10 pin1-on, Pn2-off for emmc boot.&lt;/P&gt;&lt;P&gt;power on again.&lt;/P&gt;&lt;P&gt;But I never see my red LED solid on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is my blob binary file.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vsong_0-1693262400225.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238491i9D9E473E78128ECE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vsong_0-1693262400225.png" alt="vsong_0-1693262400225.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;vsong_0-1693262400225.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and my ram_start is at:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vsong_1-1693262466024.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238492i3B4A53593CAEF507/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vsong_1-1693262466024.png" alt="vsong_1-1693262466024.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;vsong_1-1693262466024.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;song&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 22:41:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Goldbox-RDB3-S32G299-M7-0-not-boot-from-EMMC/m-p/1712642#M4586</guid>
      <dc:creator>vsong</dc:creator>
      <dc:date>2023-08-28T22:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Goldbox RDB3 S32G299 M7_0 not boot from EMMC.</title>
      <link>https://community.nxp.com/t5/S32G/Goldbox-RDB3-S32G299-M7-0-not-boot-from-EMMC/m-p/1713458#M4601</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We understand that the problem is the following:&lt;/P&gt;
&lt;P&gt;You are trying to boot with IVT + eMMC under the M7_0 core and cannot see it running, is this correct?&lt;/P&gt;
&lt;P&gt;If so, we are seeing that you are not modifying the linker file as told under the "SW Enablement Guide" [Page 18, rev 2.1]:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielAguirre_0-1693336422938.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238737i3A852A99CB93F6A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielAguirre_0-1693336422938.png" alt="DanielAguirre_0-1693336422938.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;DanielAguirre_0-1693336422938.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Since you are booting through the uSDHC interface (it is shared between SD and eMMC) this is a restriction that the linker needs to comply with.&lt;/P&gt;
&lt;P&gt;We modified our linker file and see it work no problem. Just as a note, since you are not initializing the Clock, the blink will be slower since the clocks are not being configured.&lt;/P&gt;
&lt;P&gt;Please, let us know.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 19:17:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Goldbox-RDB3-S32G299-M7-0-not-boot-from-EMMC/m-p/1713458#M4601</guid>
      <dc:creator>Daniel-Aguirre</dc:creator>
      <dc:date>2023-08-29T19:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Goldbox RDB3 S32G299 M7_0 not boot from EMMC.</title>
      <link>https://community.nxp.com/t5/S32G/Goldbox-RDB3-S32G299-M7-0-not-boot-from-EMMC/m-p/1714588#M4622</link>
      <description>&lt;P&gt;Thank you for the solution.&amp;nbsp; After I change the linker file, the RDB boot from eMMC card with Red LED solid on.&amp;nbsp; The solution works!&lt;/P&gt;&lt;P&gt;Still have some questions about the linker file.&amp;nbsp; The reason I didn't use the suggested linker file modification is in&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;"S32G-VNP-GLDBOX3 SOFTWARE ENABLEMENT GUIDE", the internal operation uses 0x3400 8000 to 3400 8200, ADMA starts 0x3400 0000 for 8k(0x0000 2000).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vsong_1-1693450595267.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238957iAC9ADEEADB7129E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vsong_1-1693450595267.png" alt="vsong_1-1693450595267.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;vsong_1-1693450595267.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while in "S32G reference manual",&amp;nbsp; internal operations uses 0x3400 8000 to&amp;nbsp; 0x3407 9C00, ADMA starts 0x3400 2000 for 4k (0x0000 1000)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vsong_2-1693450769838.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238965iA52E8A52A9BFFBD5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vsong_2-1693450769838.png" alt="vsong_2-1693450769838.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;vsong_2-1693450769838.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am not sure which one is correct.&amp;nbsp; So I choose not to change anything in the linker file.&lt;/P&gt;&lt;P&gt;Your solution definitely working, but now you give another internal operation address as 0x3400 8000 to 0x3407 8000, with ADMA at 0x343F F000 for 4k (0x0000 1000).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vsong_0-1693450434551.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/238955i4513144670CAB1FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vsong_0-1693450434551.png" alt="vsong_0-1693450434551.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;vsong_0-1693450434551.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For above 3 reference, which one is correct?&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;</description>
      <pubDate>Thu, 31 Aug 2023 03:04:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Goldbox-RDB3-S32G299-M7-0-not-boot-from-EMMC/m-p/1714588#M4622</guid>
      <dc:creator>vsong</dc:creator>
      <dc:date>2023-08-31T03:04:20Z</dc:date>
    </item>
  </channel>
</rss>

