<?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のトピックHypervisor support on S32G</title>
    <link>https://community.nxp.com/t5/S32G/Hypervisor-support-on-S32G/m-p/1550311#M1665</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to run a Hypervisor on NXP S32. ( Hypervisor based on&amp;nbsp;L4Re microkernel )&lt;/P&gt;&lt;P&gt;I've built the Arm Trusted firmware and used the uboot with it .&lt;/P&gt;&lt;P&gt;the board is booting correctly :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTICE: S32G TF-A: s32g_system_reNOTICE: BL2: v2.3(release):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTICE: BL2: Built : 17:34:57, Nov 7 2022&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTICE: BL2: Booting BL31&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTICE: BL31: v2.3(release):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTICE: BL31: Built : 17:35:03, Nov 7 2022&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;U-Boot 2020.04 (Nov 07 2022 - 17:34:30 +0000)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CPU: NXP S32G274A rev. 2.1.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Reset cause: Destructive Reset&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Model: NXP S32G2XX&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Board: NXP S32G274A-RDB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;DRAM: 3.5 GiB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;MMC: FSL_SDHC: 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then when I run the Hypervisor uimage i got the error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;=&amp;gt; load mmc 0:1 0x84FFFFC0 uImage&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;572744736 bytes read in 24531 ms (22.3 MiB/s)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;=&amp;gt; bootm 0x84FFFFC0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;## Booting kernel from Legacy Image at 84ffffc0 ...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Image Name: L4 Image&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Image Type: AArch64 Linux Kernel Image (uncompressed)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Data Size: 572744672 Bytes = 546.2 MiB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Load Address: 85000000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Entry Point: 85000000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Verifying Checksum ... OK&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;XIP Kernel Image&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Starting kernel ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;L4 Bootstrapper&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Version: 8.3.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Kernel requires EL2 (virtualization) but running in EL1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For info I added next flags when building uboot:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;echo "CONFIG_S32_ATF_BOOT_FLOW=y" &amp;gt;&amp;gt; ./configs/s32g274ardb2_defconfig&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;echo "CONFIG_ARMV7_VIRT=y" &amp;gt;&amp;gt; ./configs/s32g274ardb2_defconfig&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;make s32g274ardb2_defconfig&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then for ATF i do :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;make CROSS_COMPILE=aarch64-linux-gnu- \&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ARCH=aarch64 \&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PLAT=s32g \&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;S32G_HAS_HV=1 \&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;BL2_AT_EL3=1 \&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;BL33=%{ubootpath}/u-boot.bin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;is there somthing missing ?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Nov 2022 11:14:20 GMT</pubDate>
    <dc:creator>Mohamed-Azz</dc:creator>
    <dc:date>2022-11-08T11:14:20Z</dc:date>
    <item>
      <title>Hypervisor support on S32G</title>
      <link>https://community.nxp.com/t5/S32G/Hypervisor-support-on-S32G/m-p/1550311#M1665</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to run a Hypervisor on NXP S32. ( Hypervisor based on&amp;nbsp;L4Re microkernel )&lt;/P&gt;&lt;P&gt;I've built the Arm Trusted firmware and used the uboot with it .&lt;/P&gt;&lt;P&gt;the board is booting correctly :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTICE: S32G TF-A: s32g_system_reNOTICE: BL2: v2.3(release):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTICE: BL2: Built : 17:34:57, Nov 7 2022&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTICE: BL2: Booting BL31&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTICE: BL31: v2.3(release):&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTICE: BL31: Built : 17:35:03, Nov 7 2022&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;U-Boot 2020.04 (Nov 07 2022 - 17:34:30 +0000)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CPU: NXP S32G274A rev. 2.1.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Reset cause: Destructive Reset&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Model: NXP S32G2XX&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Board: NXP S32G274A-RDB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;DRAM: 3.5 GiB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;MMC: FSL_SDHC: 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then when I run the Hypervisor uimage i got the error :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;=&amp;gt; load mmc 0:1 0x84FFFFC0 uImage&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;572744736 bytes read in 24531 ms (22.3 MiB/s)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;=&amp;gt; bootm 0x84FFFFC0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;## Booting kernel from Legacy Image at 84ffffc0 ...&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Image Name: L4 Image&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Image Type: AArch64 Linux Kernel Image (uncompressed)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Data Size: 572744672 Bytes = 546.2 MiB&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Load Address: 85000000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Entry Point: 85000000&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Verifying Checksum ... OK&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;XIP Kernel Image&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Starting kernel ...&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;L4 Bootstrapper&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Version: 8.3.0&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Kernel requires EL2 (virtualization) but running in EL1.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For info I added next flags when building uboot:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;echo "CONFIG_S32_ATF_BOOT_FLOW=y" &amp;gt;&amp;gt; ./configs/s32g274ardb2_defconfig&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;echo "CONFIG_ARMV7_VIRT=y" &amp;gt;&amp;gt; ./configs/s32g274ardb2_defconfig&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;make s32g274ardb2_defconfig&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Then for ATF i do :&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;make CROSS_COMPILE=aarch64-linux-gnu- \&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ARCH=aarch64 \&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;PLAT=s32g \&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;S32G_HAS_HV=1 \&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;BL2_AT_EL3=1 \&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;BL33=%{ubootpath}/u-boot.bin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;is there somthing missing ?&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 11:14:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Hypervisor-support-on-S32G/m-p/1550311#M1665</guid>
      <dc:creator>Mohamed-Azz</dc:creator>
      <dc:date>2022-11-08T11:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hypervisor support on S32G</title>
      <link>https://community.nxp.com/t5/S32G/Hypervisor-support-on-S32G/m-p/1550392#M1668</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can download the proper documentation for S32G BSP linux, where you can find a chapter about hypervisor on S32G and how to building.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/app-autopackagemgr/software-package-manager:AUTO-SW-PACKAGE-MANAGER" target="_blank"&gt;https://www.nxp.com/app-autopackagemgr/software-package-manager:AUTO-SW-PACKAGE-MANAGER&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 15:02:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Hypervisor-support-on-S32G/m-p/1550392#M1668</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-11-08T15:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Hypervisor support on S32G</title>
      <link>https://community.nxp.com/t5/S32G/Hypervisor-support-on-S32G/m-p/1551101#M1679</link>
      <description>&lt;P&gt;Hi Thanks you for the support ,&lt;/P&gt;&lt;P&gt;From Reading i find that my U-boot still misses somes config related to EL2 , enabled with XEN ( also theses config must be enabled using menuconfig ..or/and patch the .config file later )&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Boot flow with TF-A&amp;nbsp; from ARM architecture/Select boot flow&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Enable Xen EL2 Booting from ARM architecture&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;thanks you .&lt;/P&gt;&lt;P&gt;It's working now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 14:18:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/Hypervisor-support-on-S32G/m-p/1551101#M1679</guid>
      <dc:creator>Mohamed-Azz</dc:creator>
      <dc:date>2022-11-09T14:18:35Z</dc:date>
    </item>
  </channel>
</rss>

