<?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 Re: Bare Metal Code flashing on Cortex-A53 core in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1577994#M199608</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I followed the steps which are given in the &lt;STRONG&gt;i.MX_Linux_User_Guide.pdf&amp;nbsp;&lt;/STRONG&gt;to create &lt;STRONG&gt;imx-boot&lt;/STRONG&gt; image for imx8mm-evk. Once after creation of flash.bin, i am trying to load it into target using UUU tool.&lt;/P&gt;&lt;P&gt;Flash command to load u-boot and SPL:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sudo uuu -b spl iMX8M/flash.bin. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am getting the build log as follow,&lt;/P&gt;&lt;P&gt;U-Boot SPL 2021.04 (Jan 03 2023 - 17:14:17 +0530)&lt;BR /&gt;Can't find PMIC:PCA9450&lt;BR /&gt;DDRINFO: start DRAM init&lt;BR /&gt;DDRINFO: DRAM rate 3000MTS&lt;BR /&gt;DDRINFO:ddrphy calibration done&lt;BR /&gt;DDRINFO: ddrmix config done&lt;BR /&gt;SEC0: RNG instantiated&lt;BR /&gt;Normal Boot&lt;BR /&gt;Trying to boot from USB SDP&lt;BR /&gt;SDP: initialize...&lt;BR /&gt;SDP: handle requests...&lt;BR /&gt;Downloading file of size 1276592 to 0x40400000... done&lt;BR /&gt;Jumping to header at 0x40400000&lt;BR /&gt;Header Tag is not an IMX image&lt;BR /&gt;Found header at 0x40428fa0&lt;BR /&gt;NOTICE: BL31: v2.4(release):lf-5.10.72-2.2.0-0-g5782363f9&lt;BR /&gt;NOTICE: BL31: Built : 15:35:24, Jan 3 2023&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;U-Boot 2021.04 (Jan 03 2023 - 17:14:17 +0530)&lt;/P&gt;&lt;P&gt;CPU: i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)&lt;BR /&gt;CPU: Commercial temperature grade (0C to 95C) at 44C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: NXP i.MX8MM EVK board&lt;BR /&gt;DRAM: 2 GiB&lt;BR /&gt;TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x52]&lt;BR /&gt;Power supply on USB2&lt;BR /&gt;TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50]&lt;BR /&gt;MMC: FSL_SDHC: 1, FSL_SDHC: 2&lt;BR /&gt;Loading Environment from MMC... *** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P&gt;[*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c&lt;BR /&gt;fail to probe panel device adv7535@3d&lt;BR /&gt;mxs_video lcdif@32e00000: failed to get any video link display timings&lt;BR /&gt;probe video device failed, ret -22&lt;/P&gt;&lt;P&gt;[0] lcdif@32e00000, video&lt;BR /&gt;[1] mipi_dsi@32e10000, video_bridge&lt;BR /&gt;[2] adv7535@3d, panel&lt;BR /&gt;adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c&lt;BR /&gt;fail to probe panel device adv7535@3d&lt;BR /&gt;mxs_video lcdif@32e00000: failed to get any video link display timings&lt;BR /&gt;probe video device failed, ret -22&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;SEC0: RNG instantiated&lt;/P&gt;&lt;P&gt;BuildInfo:&lt;BR /&gt;- ATF 5782363&lt;/P&gt;&lt;P&gt;switch to partitions #0, OK&lt;BR /&gt;mmc1 is current device&lt;BR /&gt;Detect USB boot. Will enter fastboot mode!&lt;BR /&gt;Net: eth0: ethernet@30be0000&lt;BR /&gt;Fastboot: Normal&lt;BR /&gt;Boot from USB for mfgtools&lt;BR /&gt;*** Warning - Use default environment for mfgtools&lt;BR /&gt;, using default environment&lt;/P&gt;&lt;P&gt;Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;/P&gt;&lt;P&gt;## Checking Image at 43800000 ...&lt;BR /&gt;Unknown image format!&lt;BR /&gt;Run fastboot ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to load Baremetal startup code into imx8mmini-Cortex-a53 core. Before that i want to create imx-boot to understand the flow. Can anyone give suggestion and correct my mistake?&lt;/P&gt;</description>
    <pubDate>Thu, 05 Jan 2023 12:42:27 GMT</pubDate>
    <dc:creator>Navaneethasubramanian</dc:creator>
    <dc:date>2023-01-05T12:42:27Z</dc:date>
    <item>
      <title>Bare Metal Code flashing on Cortex-A53 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1561781#M198166</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on OS porting for imx8m mini. I want to replace kernel with our OS. For that i need one bootloader instead of pre-build bootloader. I have taken Bare metal example project from ARM DS-5 examples. I referred the below link to create bootable image for imx processor. But there is no instruction to create bootable image for imx8mmini. Is below link is only to create bootable image for IMX8QM and IMX8QX? Is any other way to generate bootloader for imx8m mini?&lt;/P&gt;&lt;P&gt;&lt;A title="Creating bootable image for imx processor." href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8-Boot-process-and-creating-a-bootable-image/ta-p/1101253" target="_self"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX8-Boot-process-and-creating-a-bootable-image/ta-p/1101253&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Navaneethan ST&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2022 06:14:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1561781#M198166</guid>
      <dc:creator>Navaneethasubramanian</dc:creator>
      <dc:date>2022-11-30T06:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bare Metal Code flashing on Cortex-A53 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1566479#M198478</link>
      <description>&lt;P&gt;you can refer to the enclosed file&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 02:56:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1566479#M198478</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2022-12-08T02:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Bare Metal Code flashing on Cortex-A53 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1577994#M199608</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I followed the steps which are given in the &lt;STRONG&gt;i.MX_Linux_User_Guide.pdf&amp;nbsp;&lt;/STRONG&gt;to create &lt;STRONG&gt;imx-boot&lt;/STRONG&gt; image for imx8mm-evk. Once after creation of flash.bin, i am trying to load it into target using UUU tool.&lt;/P&gt;&lt;P&gt;Flash command to load u-boot and SPL:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sudo uuu -b spl iMX8M/flash.bin. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am getting the build log as follow,&lt;/P&gt;&lt;P&gt;U-Boot SPL 2021.04 (Jan 03 2023 - 17:14:17 +0530)&lt;BR /&gt;Can't find PMIC:PCA9450&lt;BR /&gt;DDRINFO: start DRAM init&lt;BR /&gt;DDRINFO: DRAM rate 3000MTS&lt;BR /&gt;DDRINFO:ddrphy calibration done&lt;BR /&gt;DDRINFO: ddrmix config done&lt;BR /&gt;SEC0: RNG instantiated&lt;BR /&gt;Normal Boot&lt;BR /&gt;Trying to boot from USB SDP&lt;BR /&gt;SDP: initialize...&lt;BR /&gt;SDP: handle requests...&lt;BR /&gt;Downloading file of size 1276592 to 0x40400000... done&lt;BR /&gt;Jumping to header at 0x40400000&lt;BR /&gt;Header Tag is not an IMX image&lt;BR /&gt;Found header at 0x40428fa0&lt;BR /&gt;NOTICE: BL31: v2.4(release):lf-5.10.72-2.2.0-0-g5782363f9&lt;BR /&gt;NOTICE: BL31: Built : 15:35:24, Jan 3 2023&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;U-Boot 2021.04 (Jan 03 2023 - 17:14:17 +0530)&lt;/P&gt;&lt;P&gt;CPU: i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)&lt;BR /&gt;CPU: Commercial temperature grade (0C to 95C) at 44C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Model: NXP i.MX8MM EVK board&lt;BR /&gt;DRAM: 2 GiB&lt;BR /&gt;TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x52]&lt;BR /&gt;Power supply on USB2&lt;BR /&gt;TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50]&lt;BR /&gt;MMC: FSL_SDHC: 1, FSL_SDHC: 2&lt;BR /&gt;Loading Environment from MMC... *** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P&gt;[*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c&lt;BR /&gt;fail to probe panel device adv7535@3d&lt;BR /&gt;mxs_video lcdif@32e00000: failed to get any video link display timings&lt;BR /&gt;probe video device failed, ret -22&lt;/P&gt;&lt;P&gt;[0] lcdif@32e00000, video&lt;BR /&gt;[1] mipi_dsi@32e10000, video_bridge&lt;BR /&gt;[2] adv7535@3d, panel&lt;BR /&gt;adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c&lt;BR /&gt;fail to probe panel device adv7535@3d&lt;BR /&gt;mxs_video lcdif@32e00000: failed to get any video link display timings&lt;BR /&gt;probe video device failed, ret -22&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;SEC0: RNG instantiated&lt;/P&gt;&lt;P&gt;BuildInfo:&lt;BR /&gt;- ATF 5782363&lt;/P&gt;&lt;P&gt;switch to partitions #0, OK&lt;BR /&gt;mmc1 is current device&lt;BR /&gt;Detect USB boot. Will enter fastboot mode!&lt;BR /&gt;Net: eth0: ethernet@30be0000&lt;BR /&gt;Fastboot: Normal&lt;BR /&gt;Boot from USB for mfgtools&lt;BR /&gt;*** Warning - Use default environment for mfgtools&lt;BR /&gt;, using default environment&lt;/P&gt;&lt;P&gt;Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;&lt;BR /&gt;Hit any key to stop autoboot: 0&lt;/P&gt;&lt;P&gt;## Checking Image at 43800000 ...&lt;BR /&gt;Unknown image format!&lt;BR /&gt;Run fastboot ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to load Baremetal startup code into imx8mmini-Cortex-a53 core. Before that i want to create imx-boot to understand the flow. Can anyone give suggestion and correct my mistake?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 12:42:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1577994#M199608</guid>
      <dc:creator>Navaneethasubramanian</dc:creator>
      <dc:date>2023-01-05T12:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bare Metal Code flashing on Cortex-A53 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1579339#M199776</link>
      <description>&lt;P&gt;what mistake do you mean? you have boot up from your uboot, do you mean the error message "Unknown image format!" ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 13:27:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1579339#M199776</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-01-09T13:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Bare Metal Code flashing on Cortex-A53 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1580693#M199908</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are working on OS porting. we want to port our OS in cortext-a53 core of i.mx8m mini. To understand the boot flow i used the prebuild images. we don't want u-boot and kernel. From the powerup / reset, startup code of a53 core should run. I hope it is possible, but the procedure which i followed may be wrong. Can you please give the suggestion to proceed my further OS porting?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Navaneethan&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 08:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1580693#M199908</guid>
      <dc:creator>Navaneethasubramanian</dc:creator>
      <dc:date>2023-01-11T08:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Bare Metal Code flashing on Cortex-A53 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1581686#M199998</link>
      <description>&lt;P&gt;pls refer to below information&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Baremetal framework source code:&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://github.com/openil/u-boot/tree/Baremetal-Framework-imx_v2020.04_5.4.24_2.1.0" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/openil/u-boot/tree/Baremetal-Framework-imx_v2020.04_5.4.24_2.1.0&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;branch: Baremetal-Framework-imx_v2020.04_5.4.24_2.1.0&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;tag: OpenIL-v1.10-Baremetal-imx-202012 (for imx8mmevk and imx8mpevk)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI&gt;User guide
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;OpenILUG_Rev1.10 and IIoT Baremetal UG: &lt;A href="https://openil.org/guide_list.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.openil.org/guide_list.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 12 Jan 2023 11:02:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1581686#M199998</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-01-12T11:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Bare Metal Code flashing on Cortex-A53 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1587449#M200589</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have downloaded the Baremetal framework source code and followed the userguide to build the Sdcard.img using imx8mmevk_baremetal_defconfig. In this method Sdcard.img is generated but it includes uboot-spl, uboot and kernel rootfs. I need baremetal programing support for Cortex-A53 core without&amp;nbsp;uboot-spl, uboot and kernel rootfs.&amp;nbsp;We just want to initialize&amp;nbsp;the Cortex-A53 core and on top of that want to run our own OS. Baremetal code for AARCH64, i have taken from ARM DS-5 examples. I hope that AARCH64 baremetal code can be replaced with uboot. Can you please guide me to run the bare metal&amp;nbsp;application code on Cortex-A53 core?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Navaneethan&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 05:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1587449#M200589</guid>
      <dc:creator>Navaneethasubramanian</dc:creator>
      <dc:date>2023-01-25T05:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bare Metal Code flashing on Cortex-A53 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1588647#M200682</link>
      <description>&lt;P&gt;for this question, you should check ARM community, hope this link is helpful for you&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://community.arm.com/support-forums/f/architectures-and-processors-forum/49318/bare-metal-code-development-for-imx8m-mini" target="_blank"&gt;https://community.arm.com/support-forums/f/architectures-and-processors-forum/49318/bare-metal-code-development-for-imx8m-mini&lt;/A&gt;"&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 04:17:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1588647#M200682</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-01-27T04:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Bare Metal Code flashing on Cortex-A53 core</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1589568#M200770</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In above link clear solution won't be given by ARM. Our main task to run the simple baremetal application on cortex-A53 core instead of Linux. How can i edit the u-boot code to start our baremetal application. Kindly help us to port our OS in cortex-A53 core.&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Navaneethan&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2023 07:25:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Bare-Metal-Code-flashing-on-Cortex-A53-core/m-p/1589568#M200770</guid>
      <dc:creator>Navaneethasubramanian</dc:creator>
      <dc:date>2023-01-30T07:25:34Z</dc:date>
    </item>
  </channel>
</rss>

