<?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 How does one run the sai_low_power_audio.bin example via U-boot? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-does-one-run-the-sai-low-power-audio-bin-example-via-U-boot/m-p/1542002#M196696</link>
    <description>&lt;P&gt;I am looking for help to run the sai_low_power_audio.bin example.&amp;nbsp; So far I have loaded the example in the TCM and set the DTB as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;u-boot=&amp;gt; fatload mmc 1:1 0x48000000 sai_low_power_audio.bin&lt;BR /&gt;42744 bytes read in 5 ms (8.2 MiB/s)&lt;BR /&gt;u-boot=&amp;gt; cp.b 0x48000000 0x7e0000 0x20000 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;u-boot=&amp;gt; bootaux 0x7e0000&lt;BR /&gt;## Starting auxiliary core stack = 0x20020000, pc = 0x1FFE031D...&lt;BR /&gt;u-boot=&amp;gt; setenv fdtfile 'fsl-imx8mm-evk-m4.dtb'&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I see the output on the M4 console that shows the example has started:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#################### &amp;nbsp;LOW POWER AUDIO TASK ####################&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Build Time: Oct 21 2022--08:13:27 &amp;nbsp;&lt;BR /&gt;********************************&lt;BR /&gt;Wait the Linux kernel boot up to create the link between M core and A core.&lt;BR /&gt;&lt;BR /&gt;********************************&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now I need to start linux, how is that done properly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My fist attempt results in the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;u-boot=&amp;gt; boot&lt;BR /&gt;starting USB...&lt;BR /&gt;Bus usb@32e40000: Port not available.&lt;BR /&gt;USB is stopped. Please issue 'usb start' first.&lt;BR /&gt;switch to partitions #0, OK&lt;BR /&gt;mmc1 is current device&lt;BR /&gt;Scanning mmc 1:1...&lt;BR /&gt;libfdt fdt_check_header(): FDT_ERR_BADMAGIC&lt;BR /&gt;Scanning disk mmc@30b50000.blk...&lt;BR /&gt;Scanning disk mmc@30b60000.blk...&lt;BR /&gt;Found 6 disks&lt;BR /&gt;Unable to open OP-TEE session (err=-5)&lt;BR /&gt;mm_communicate failed!&lt;BR /&gt;Error: Cannot initialize UEFI sub-system, r = 3&lt;BR /&gt;switch to partitions #0, OK&lt;BR /&gt;mmc2(part 0) is current device&lt;BR /&gt;Scanning mmc 2:1...&lt;BR /&gt;libfdt fdt_check_header(): FDT_ERR_BADMAGIC&lt;BR /&gt;Error: Cannot initialize UEFI sub-system, r = 3&lt;BR /&gt;Running BSP bootcmd ...&lt;BR /&gt;switch to partitions #0, OK&lt;BR /&gt;mmc1 is current device&lt;BR /&gt;Failed to load 'boot.scr'&lt;BR /&gt;30931456 bytes read in 1761 ms (16.8 MiB/s)&lt;BR /&gt;Booting from mmc ...&lt;BR /&gt;Failed to load 'fsl-imx8mm-evk-m4.dtb'&lt;BR /&gt;WARN: Cannot load the DT&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2022 13:48:42 GMT</pubDate>
    <dc:creator>mwilliams</dc:creator>
    <dc:date>2022-10-21T13:48:42Z</dc:date>
    <item>
      <title>How does one run the sai_low_power_audio.bin example via U-boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-does-one-run-the-sai-low-power-audio-bin-example-via-U-boot/m-p/1542002#M196696</link>
      <description>&lt;P&gt;I am looking for help to run the sai_low_power_audio.bin example.&amp;nbsp; So far I have loaded the example in the TCM and set the DTB as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;u-boot=&amp;gt; fatload mmc 1:1 0x48000000 sai_low_power_audio.bin&lt;BR /&gt;42744 bytes read in 5 ms (8.2 MiB/s)&lt;BR /&gt;u-boot=&amp;gt; cp.b 0x48000000 0x7e0000 0x20000 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;u-boot=&amp;gt; bootaux 0x7e0000&lt;BR /&gt;## Starting auxiliary core stack = 0x20020000, pc = 0x1FFE031D...&lt;BR /&gt;u-boot=&amp;gt; setenv fdtfile 'fsl-imx8mm-evk-m4.dtb'&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I see the output on the M4 console that shows the example has started:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#################### &amp;nbsp;LOW POWER AUDIO TASK ####################&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Build Time: Oct 21 2022--08:13:27 &amp;nbsp;&lt;BR /&gt;********************************&lt;BR /&gt;Wait the Linux kernel boot up to create the link between M core and A core.&lt;BR /&gt;&lt;BR /&gt;********************************&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now I need to start linux, how is that done properly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My fist attempt results in the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;u-boot=&amp;gt; boot&lt;BR /&gt;starting USB...&lt;BR /&gt;Bus usb@32e40000: Port not available.&lt;BR /&gt;USB is stopped. Please issue 'usb start' first.&lt;BR /&gt;switch to partitions #0, OK&lt;BR /&gt;mmc1 is current device&lt;BR /&gt;Scanning mmc 1:1...&lt;BR /&gt;libfdt fdt_check_header(): FDT_ERR_BADMAGIC&lt;BR /&gt;Scanning disk mmc@30b50000.blk...&lt;BR /&gt;Scanning disk mmc@30b60000.blk...&lt;BR /&gt;Found 6 disks&lt;BR /&gt;Unable to open OP-TEE session (err=-5)&lt;BR /&gt;mm_communicate failed!&lt;BR /&gt;Error: Cannot initialize UEFI sub-system, r = 3&lt;BR /&gt;switch to partitions #0, OK&lt;BR /&gt;mmc2(part 0) is current device&lt;BR /&gt;Scanning mmc 2:1...&lt;BR /&gt;libfdt fdt_check_header(): FDT_ERR_BADMAGIC&lt;BR /&gt;Error: Cannot initialize UEFI sub-system, r = 3&lt;BR /&gt;Running BSP bootcmd ...&lt;BR /&gt;switch to partitions #0, OK&lt;BR /&gt;mmc1 is current device&lt;BR /&gt;Failed to load 'boot.scr'&lt;BR /&gt;30931456 bytes read in 1761 ms (16.8 MiB/s)&lt;BR /&gt;Booting from mmc ...&lt;BR /&gt;Failed to load 'fsl-imx8mm-evk-m4.dtb'&lt;BR /&gt;WARN: Cannot load the DT&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 13:48:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-does-one-run-the-sai-low-power-audio-bin-example-via-U-boot/m-p/1542002#M196696</guid>
      <dc:creator>mwilliams</dc:creator>
      <dc:date>2022-10-21T13:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: How does one run the sai_low_power_audio.bin example via U-boot?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-does-one-run-the-sai-low-power-audio-bin-example-via-U-boot/m-p/1542009#M196698</link>
      <description>&lt;P&gt;I had the wrong dtb file, the correct file is imx8mm-evk-rpmsg.dtb.&lt;/P&gt;&lt;P&gt;Now when booting linux I see:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#################### &amp;nbsp;LOW POWER AUDIO TASK ####################&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Build Time: Oct 21 2022--08:13:27 &amp;nbsp;&lt;BR /&gt;********************************&lt;BR /&gt;Wait the Linux kernel boot up to create the link between M core and A core.&lt;BR /&gt;&lt;BR /&gt;********************************&lt;BR /&gt;The rpmsg channel between M core and A core created!&lt;BR /&gt;********************************&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Task A is working now.&lt;BR /&gt;&lt;BR /&gt;No audio playback, M core enters STOP mode!&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2022 13:56:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-does-one-run-the-sai-low-power-audio-bin-example-via-U-boot/m-p/1542009#M196698</guid>
      <dc:creator>mwilliams</dc:creator>
      <dc:date>2022-10-21T13:56:45Z</dc:date>
    </item>
  </channel>
</rss>

