<?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: falcon boot mode for imx8mp</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1703110#M210608</link>
    <description>&lt;P&gt;Yep, there's another thread where we got it working.&lt;BR /&gt;&lt;BR /&gt;Basically, the memory variable needs passed into the kernel boot args.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-Falcon-Boot-Support/m-p/1640610#M204881" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-Falcon-Boot-Support/m-p/1640610#M204881&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;u-boot=&amp;gt; edit mmcargs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edit: setenv bootargs ${jh_clk} ${mcore_clk} console=${console} root=${mmcroot} earlycon=ec_imx6q,0x30890000,115200 mem=6000MB&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2023 15:43:00 GMT</pubDate>
    <dc:creator>evanwilliams</dc:creator>
    <dc:date>2023-08-10T15:43:00Z</dc:date>
    <item>
      <title>falcon boot mode for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1381928#M184013</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to implement falcon boot mode on imx8mp evk, i came across few links regarding the falcon boot mode implementation, like README and some community posts. i made a patch for the yocto build but the boot freezes after spl. After spending some time on reading the documents i couldn't find the proper solution and the falcon boot only recognises the uImage, however imx8 aarch64 uses Image.gz. i couldn't find much of a info about this. Is there any link that can help me to add the falcon boot mode for the imx8mp evk?&lt;/P&gt;&lt;P&gt;any help on this topic will help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kris.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 11:24:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1381928#M184013</guid>
      <dc:creator>KrisJ</dc:creator>
      <dc:date>2021-12-06T11:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: falcon boot mode for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1382483#M184057</link>
      <description>&lt;P&gt;Hi Kris&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what uboot used in the case. One can try nxp uboot releases from source.codeaurora.org/external/imx/uboot-imx repository and follow documentation:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/README.falcon?h=lf_v2021.04" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/doc/README.falcon?h=lf_v2021.04&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon?h=lf_v2021.04" target="_blank"&gt;https://source.codeaurora.org/external/imx/uboot-imx/tree/arch/arm/cpu/armv8/fsl-layerscape/doc/README.falcon?h=lf_v2021.04&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 08:13:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1382483#M184057</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-12-07T08:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: falcon boot mode for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1384881#M184269</link>
      <description>&lt;P&gt;I followed the README.falcon and also these links:&lt;/P&gt;&lt;P&gt;&lt;A href="https://bootlin.com/pub/conferences/2021/lee/opdenacker-understanding-u-boot-falcon-mode/opdenacker-understanding-u-boot-falcon-mode.pdf" target="_blank"&gt;https://bootlin.com/pub/conferences/2021/lee/opdenacker-understanding-u-boot-falcon-mode/opdenacker-understanding-u-boot-falcon-mode.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.denx.de/u-boot/custodians/u-boot-imx/-/commit/d96796ca23b2ebcb7ce58c250e5a44152a652a45" target="_blank"&gt;https://source.denx.de/u-boot/custodians/u-boot-imx/-/commit/d96796ca23b2ebcb7ce58c250e5a44152a652a45&lt;/A&gt;&lt;/P&gt;&lt;P&gt;i made a patch to the u-boot-imx by following this:&amp;nbsp;&lt;A href="https://variwiki.com/index.php?title=Yocto_Customizing_U-Boot&amp;amp;release=RELEASE_HARDKNOTT_V1.2_DART-MX8M-PLUS" target="_blank"&gt;https://variwiki.com/index.php?title=Yocto_Customizing_U-Boot&amp;amp;release=RELEASE_HARDKNOTT_V1.2_DART-MX8M-PLUS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;after the bitbake and sd card creation, the imx8 stops after the spl and doesn't print any messages&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;U-Boot SPL 2020.04-lf_v2020.04_var01+g7ffdddacd2 (Jun 06 2021 - 16:01:28 +0000)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Normal Boot&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Trying to boot from BOOTROM&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;image offset 0x8000, pagesize 0x200, ivt offset 0x0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;with out the patch of falcon mode, imx8 boot perfectly, so i guess the falcon mode changes are affecting the boot&lt;/P&gt;&lt;P&gt;attaching the patch file so that you can point out the mistakes in it.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kris.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 13:36:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1384881#M184269</guid>
      <dc:creator>KrisJ</dc:creator>
      <dc:date>2021-12-10T13:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: falcon boot mode for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1386416#M184415</link>
      <description>&lt;P&gt;Any one have suggestions on this topic?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kris.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 11:55:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1386416#M184415</guid>
      <dc:creator>KrisJ</dc:creator>
      <dc:date>2021-12-14T11:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: falcon boot mode for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1387393#M184513</link>
      <description>&lt;P&gt;Hi Igorpadykov&lt;/P&gt;&lt;P&gt;Can you suggest any Changes on this topic?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kris.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 15:12:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1387393#M184513</guid>
      <dc:creator>KrisJ</dc:creator>
      <dc:date>2021-12-15T15:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: falcon boot mode for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1633297#M204168</link>
      <description>&lt;P&gt;Hello, I am also attempting to boot falcon mode for the imx8mp.&lt;/P&gt;&lt;P&gt;Following AN13709 the imx8mp_evk boots through bl31 and sets the entry point address to 0x40400000, and Argument 0 to 0x43000000.&lt;BR /&gt;It appears that bl31 does not load the uImage kernel properly and causes the processor to hang.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;I verified that the RAM is loaded with the correct uImage data.&lt;/P&gt;&lt;P&gt;I'm confident the locations in the SD card are correct and have adequate memory space.&lt;BR /&gt;The SPL code prints it has loaded uImage to the correct address that bl31 expects, and the flattened device tree to&amp;nbsp;0x43000000.&lt;BR /&gt;&lt;BR /&gt;It's also worth noting that AN13709 is for the imx8mn, so the imx8mp required an update for ATF to be loaded to address 0x97000 instead of 0x96000.&lt;BR /&gt;&lt;BR /&gt;Could someone help me understand how to jump from bl31 context to uImage at 0x40400000? (And also how this may differ between the imx8mn and imx8mp?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 16:08:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1633297#M204168</guid>
      <dc:creator>evanwilliams</dc:creator>
      <dc:date>2023-04-17T16:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: falcon boot mode for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1703102#M210607</link>
      <description>&lt;P&gt;Thanks for the update on ATF load address (0x970000). This saved me some debug time.&lt;/P&gt;&lt;P&gt;Do you any have any progress? I am also stuck in ATF. bl31 is not jumping to the uImage. Kernel is not booting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 15:30:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1703102#M210607</guid>
      <dc:creator>harlin</dc:creator>
      <dc:date>2023-08-10T15:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: falcon boot mode for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1703110#M210608</link>
      <description>&lt;P&gt;Yep, there's another thread where we got it working.&lt;BR /&gt;&lt;BR /&gt;Basically, the memory variable needs passed into the kernel boot args.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-Falcon-Boot-Support/m-p/1640610#M204881" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-Falcon-Boot-Support/m-p/1640610#M204881&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;u-boot=&amp;gt; edit mmcargs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edit: setenv bootargs ${jh_clk} ${mcore_clk} console=${console} root=${mmcroot} earlycon=ec_imx6q,0x30890000,115200 mem=6000MB&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 15:43:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1703110#M210608</guid>
      <dc:creator>evanwilliams</dc:creator>
      <dc:date>2023-08-10T15:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: falcon boot mode for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1704409#M210752</link>
      <description>&lt;P&gt;Thanks for the reply &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215793"&gt;@evanwilliams&lt;/a&gt; .&lt;/P&gt;&lt;P&gt;Even after setting the ${mmcargs}, I am still stuck at ATF jump to bl33 (Linux kernel). I verified the memory 0x40480000 -&amp;gt; kernel loadaddr and 0x43000000 -&amp;gt; FDT args using md command. Memory is written correctly. I have also aligned ATF and uImage for this loadaddr.&lt;/P&gt;&lt;P&gt;* setting&amp;nbsp; mem=6000MB, didn't help either.&lt;/P&gt;&lt;P&gt;Steps::&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;u-boot=&amp;gt; edit mmcargs
edit: setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk1p1 rootwait rw cma=960M
u-boot=&amp;gt; run mmcargs; run loadfdt;
u-boot=&amp;gt; ext4load mmc 1:1 $loadaddr boot/uImage;mmc write $loadaddr 0x2FAF200 0xc000
u-boot=&amp;gt; spl export fdt $loadaddr - $fdt_addr_r
u-boot=&amp;gt; mmc write 0x43000000 0x2FAF080 0x80&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;SPL Log::&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;U-Boot SPL 2021.04-lf_v2021.04_var02+gfe9769c023 (Aug 14 2023 - 14:38:00 +0000)
&amp;gt;&amp;gt;SPL: board_init_r()
spl_init
SEC0:  RNG instantiated
Normal Boot
Trying to boot from MMC1
spl: mmc boot mode: raw
hdr read sector 2faf200, count=1
SPL: payload image:                     Linux Kernel load addr: 0x4047ffc0 size: 17479752
read 855d sectors to 4047ffc0
SPL::mmc_load_legacy end
Jumping to Linux
SPL::before Image_entry
INFO:    iMX8MP: Preparing to boot 64-bit Linux kernel
NOTICE:  BL31: v2.4(release):devtool-patched-0-g646bcc384-dirty
NOTICE:  BL31: Built : 10:10:04, Aug 14 2023
INFO:    GICv3 with legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    BL31: Initializing runtime services
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address :: = 0x40480000
INFO:    SPSR = 0x3c9&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to switch on all the debug log ir printout the registers values in ATF just before the jump?&lt;/P&gt;&lt;P&gt;Additionally, would it be possible to share your uboot and ATF patches for comparison.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 15:25:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1704409#M210752</guid>
      <dc:creator>harlin</dc:creator>
      <dc:date>2023-08-14T15:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: falcon boot mode for imx8mp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1706404#M210975</link>
      <description>&lt;P&gt;Finally got the kernel logs &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;mmcargs needs earlycon=ec_imx6q,{uart}, 115200. inorder to see early boot logs.&lt;/P&gt;&lt;P&gt;I see that Kernel panics at MMU init. time to debug further.&lt;/P&gt;&lt;P&gt;thanks for yours inputs &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215793"&gt;@evanwilliams&lt;/a&gt; .&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 08:10:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/falcon-boot-mode-for-imx8mp/m-p/1706404#M210975</guid>
      <dc:creator>harlin</dc:creator>
      <dc:date>2023-08-17T08:10:50Z</dc:date>
    </item>
  </channel>
</rss>

