<?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 IMX8QM-EVK android boot fail in android 12 bsp in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-EVK-android-boot-fail-in-android-12-bsp/m-p/2028182#M233016</link>
    <description>&lt;P&gt;I built Android 12.0.0_2.0.0 (L5.15.32_2.0.0 BSP) for the IMX-8qm EVK board with the lunch configuration 82 (mek_8q_car-userdebug). Initially, the build was unsuccessful due to an out-of-space issue, which I resolved by changing the FILE_SYSTEM_TYPE from "ext4" to "erofs." After that, the build was successful. However, some of the .img files, such as init_boot.img and super.img, were missing from the out folder.&lt;/P&gt;&lt;P&gt;We flashed the build using the following steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;adb reboot bootloader&lt;/LI&gt;&lt;LI&gt;sudo ./fastboot_imx_flashall.sh -f imx8qm -a -d md -e&lt;/LI&gt;&lt;LI&gt;sudo fastboot reboot&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;The flashing process completed successfully, but after the fastboot reboot command, the device started displaying continuous logs indicating "starting kernel." The logs eventually ended with the error message: avb_slot_verify.c:700: ERROR: init_boot_b: Error loading footer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;full log&amp;nbsp;&lt;BR /&gt;______________&lt;/P&gt;&lt;P&gt;Normal Boot&lt;BR /&gt;Trying to boot from MMC1&lt;BR /&gt;Booting from bootloader_a...&lt;BR /&gt;UU&lt;BR /&gt;&amp;nbsp; boot args 0x2000000 0xfe000000 0x2000 0x0&lt;BR /&gt;initializing trusty (Project: imx8qm_a72, Built: 10:15:43 May 30 2022)&lt;BR /&gt;Core:&amp;nbsp; 180 devices, 28 uclasses, devicetree: separate&lt;BR /&gt;MMC:&amp;nbsp;&amp;nbsp; FSL_SDHC: 0, FSL_SDHC: 1&lt;BR /&gt;Loading Environment from MMC... *** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[*]-Video Link 0 (1280 x 720)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0] dpu@56180000, video&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [1] lvds-channel@0, display&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2] lvds-to-hdmi-bridge@4c, video_bridge&lt;BR /&gt;In:&amp;nbsp;&amp;nbsp;&amp;nbsp; serial&lt;BR /&gt;Out:&amp;nbsp;&amp;nbsp; serial&lt;BR /&gt;Err:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BuildInfo:&amp;nbsp;&lt;BR /&gt;&amp;nbsp; - SCFW 8172eaea, SECO-FW c9de51c0, IMX-MKIMAGE a8bb8edb, ATF 44c44f0&lt;BR /&gt;&amp;nbsp; - U-Boot 2022.04&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;flash target is MMC:0&lt;BR /&gt;Net:&amp;nbsp;&amp;nbsp; eth0: ethernet@5b040000 [PRIME], eth1: ethernet@5b050000&lt;BR /&gt;INFO Initializing Trusty device&lt;BR /&gt;INFO selected trusty api version: 3 (requested 3)&lt;BR /&gt;INFO Initializing Trusty IPC device&lt;BR /&gt;INFO Initializing RPMB storage proxy service&lt;BR /&gt;INFO Initializing Trusty Keymaster client&lt;BR /&gt;INFO Initializing Trusty Hardware Crypto client&lt;BR /&gt;Fastboot: Normal&lt;BR /&gt;Normal Boot&lt;BR /&gt;Hit any key to stop autoboot:&amp;nbsp; 0&amp;nbsp;&lt;BR /&gt;Verifying slot _a ...&lt;BR /&gt;Writing A/B metadata to disk.&lt;BR /&gt;verify OK, boot 'boot_a'&lt;BR /&gt;Kernel load addr 0x80280000 size 20122 KiB&lt;BR /&gt;kernel&amp;nbsp;&amp;nbsp; @ 80280000 (41943040)&lt;BR /&gt;ramdisk&amp;nbsp; @ fc000000 (10910699)&lt;BR /&gt;fdt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @ 82c00400 (137843)&lt;BR /&gt;Moving Image from 0x80280000 to 0x80400000, end=82c00000&lt;BR /&gt;## Flattened Device Tree blob at 82c00400&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Booting using the fdt blob at 0x82c00400&lt;BR /&gt;ERROR: reserving fdt memory region failed (addr=901ff000 size=1000 flags=4)&lt;BR /&gt;ERROR: reserving fdt memory region failed (addr=91f00000 size=100000 flags=0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Using Device Tree in place at 0000000082c00400, end 0000000082c24e72&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fastboot: Normal&lt;BR /&gt;Normal Boot&lt;BR /&gt;Hit any key to stop autoboot:&amp;nbsp; 0&amp;nbsp;&lt;BR /&gt;Verifying slot _b ...&lt;BR /&gt;fsl_read_from_partition_multi: no init_boot_b partition&lt;BR /&gt;idx 0, ptn 0 name='gpt' start=0 len=2048&lt;BR /&gt;idx 1, ptn 0 name='' start=0 len=0&lt;BR /&gt;idx 2, ptn 0 name='all' start=0 len=62160896&lt;BR /&gt;idx 3, ptn 0 name='bootloader0' start=0 len=64512&lt;BR /&gt;idx 4, ptn 1 name='bootloader_a' start=16384 len=32768&lt;BR /&gt;idx 5, ptn 2 name='bootloader_b' start=49152 len=32768&lt;BR /&gt;idx 6, ptn 3 name='dtbo_a' start=81920 len=8192&lt;BR /&gt;idx 7, ptn 4 name='dtbo_b' start=90112 len=8192&lt;BR /&gt;idx 8, ptn 5 name='boot_a' start=98304 len=131072&lt;BR /&gt;idx 9, ptn 6 name='boot_b' start=229376 len=131072&lt;BR /&gt;idx 10, ptn 7 name='system_a' start=360448 len=3145728&lt;BR /&gt;idx 11, ptn 8 name='system_b' start=3506176 len=3145728&lt;BR /&gt;idx 12, ptn 9 name='system_ext_a' start=6651904 len=524288&lt;BR /&gt;idx 13, ptn 10 name='system_ext_b' start=7176192 len=524288&lt;BR /&gt;idx 14, ptn 11 name='misc' start=7700480 len=8192&lt;BR /&gt;idx 15, ptn 12 name='metadata' start=7708672 len=32768&lt;BR /&gt;idx 16, ptn 13 name='presistdata' start=7741440 len=2048&lt;BR /&gt;idx 17, ptn 14 name='vendor_a' start=7745536 len=1310720&lt;BR /&gt;idx 18, ptn 15 name='vendor_b' start=9056256 len=1310720&lt;BR /&gt;idx 19, ptn 16 name='product_a' start=10366976 len=3670016&lt;BR /&gt;idx 20, ptn 17 name='product_b' start=14036992 len=3670016&lt;BR /&gt;idx 21, ptn 18 name='userdata' start=17707008 len=9539584&lt;BR /&gt;idx 22, ptn 19 name='fbmisc' start=27246592 len=2048&lt;BR /&gt;idx 23, ptn 20 name='vbmeta_a' start=27250688 len=2048&lt;BR /&gt;idx 24, ptn 21 name='vbmeta_b' start=27254784 len=2048&lt;BR /&gt;avb_slot_verify.c:700: ERROR: init_boot_b: Error loading footer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the log, it appears that the system first attempts to boot from bootloader_a multiple times. After that, it attempts to boot from bootloader_b, but no further serial logs are displayed, and the device remains in fastboot mode.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jan 2025 09:41:19 GMT</pubDate>
    <dc:creator>althafahammed</dc:creator>
    <dc:date>2025-01-15T09:41:19Z</dc:date>
    <item>
      <title>IMX8QM-EVK android boot fail in android 12 bsp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-EVK-android-boot-fail-in-android-12-bsp/m-p/2028182#M233016</link>
      <description>&lt;P&gt;I built Android 12.0.0_2.0.0 (L5.15.32_2.0.0 BSP) for the IMX-8qm EVK board with the lunch configuration 82 (mek_8q_car-userdebug). Initially, the build was unsuccessful due to an out-of-space issue, which I resolved by changing the FILE_SYSTEM_TYPE from "ext4" to "erofs." After that, the build was successful. However, some of the .img files, such as init_boot.img and super.img, were missing from the out folder.&lt;/P&gt;&lt;P&gt;We flashed the build using the following steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;adb reboot bootloader&lt;/LI&gt;&lt;LI&gt;sudo ./fastboot_imx_flashall.sh -f imx8qm -a -d md -e&lt;/LI&gt;&lt;LI&gt;sudo fastboot reboot&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;BR /&gt;The flashing process completed successfully, but after the fastboot reboot command, the device started displaying continuous logs indicating "starting kernel." The logs eventually ended with the error message: avb_slot_verify.c:700: ERROR: init_boot_b: Error loading footer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;full log&amp;nbsp;&lt;BR /&gt;______________&lt;/P&gt;&lt;P&gt;Normal Boot&lt;BR /&gt;Trying to boot from MMC1&lt;BR /&gt;Booting from bootloader_a...&lt;BR /&gt;UU&lt;BR /&gt;&amp;nbsp; boot args 0x2000000 0xfe000000 0x2000 0x0&lt;BR /&gt;initializing trusty (Project: imx8qm_a72, Built: 10:15:43 May 30 2022)&lt;BR /&gt;Core:&amp;nbsp; 180 devices, 28 uclasses, devicetree: separate&lt;BR /&gt;MMC:&amp;nbsp;&amp;nbsp; FSL_SDHC: 0, FSL_SDHC: 1&lt;BR /&gt;Loading Environment from MMC... *** Warning - bad CRC, using default environment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[*]-Video Link 0 (1280 x 720)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [0] dpu@56180000, video&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [1] lvds-channel@0, display&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [2] lvds-to-hdmi-bridge@4c, video_bridge&lt;BR /&gt;In:&amp;nbsp;&amp;nbsp;&amp;nbsp; serial&lt;BR /&gt;Out:&amp;nbsp;&amp;nbsp; serial&lt;BR /&gt;Err:&amp;nbsp;&amp;nbsp; serial&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BuildInfo:&amp;nbsp;&lt;BR /&gt;&amp;nbsp; - SCFW 8172eaea, SECO-FW c9de51c0, IMX-MKIMAGE a8bb8edb, ATF 44c44f0&lt;BR /&gt;&amp;nbsp; - U-Boot 2022.04&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;flash target is MMC:0&lt;BR /&gt;Net:&amp;nbsp;&amp;nbsp; eth0: ethernet@5b040000 [PRIME], eth1: ethernet@5b050000&lt;BR /&gt;INFO Initializing Trusty device&lt;BR /&gt;INFO selected trusty api version: 3 (requested 3)&lt;BR /&gt;INFO Initializing Trusty IPC device&lt;BR /&gt;INFO Initializing RPMB storage proxy service&lt;BR /&gt;INFO Initializing Trusty Keymaster client&lt;BR /&gt;INFO Initializing Trusty Hardware Crypto client&lt;BR /&gt;Fastboot: Normal&lt;BR /&gt;Normal Boot&lt;BR /&gt;Hit any key to stop autoboot:&amp;nbsp; 0&amp;nbsp;&lt;BR /&gt;Verifying slot _a ...&lt;BR /&gt;Writing A/B metadata to disk.&lt;BR /&gt;verify OK, boot 'boot_a'&lt;BR /&gt;Kernel load addr 0x80280000 size 20122 KiB&lt;BR /&gt;kernel&amp;nbsp;&amp;nbsp; @ 80280000 (41943040)&lt;BR /&gt;ramdisk&amp;nbsp; @ fc000000 (10910699)&lt;BR /&gt;fdt&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; @ 82c00400 (137843)&lt;BR /&gt;Moving Image from 0x80280000 to 0x80400000, end=82c00000&lt;BR /&gt;## Flattened Device Tree blob at 82c00400&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Booting using the fdt blob at 0x82c00400&lt;BR /&gt;ERROR: reserving fdt memory region failed (addr=901ff000 size=1000 flags=4)&lt;BR /&gt;ERROR: reserving fdt memory region failed (addr=91f00000 size=100000 flags=0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Using Device Tree in place at 0000000082c00400, end 0000000082c24e72&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fastboot: Normal&lt;BR /&gt;Normal Boot&lt;BR /&gt;Hit any key to stop autoboot:&amp;nbsp; 0&amp;nbsp;&lt;BR /&gt;Verifying slot _b ...&lt;BR /&gt;fsl_read_from_partition_multi: no init_boot_b partition&lt;BR /&gt;idx 0, ptn 0 name='gpt' start=0 len=2048&lt;BR /&gt;idx 1, ptn 0 name='' start=0 len=0&lt;BR /&gt;idx 2, ptn 0 name='all' start=0 len=62160896&lt;BR /&gt;idx 3, ptn 0 name='bootloader0' start=0 len=64512&lt;BR /&gt;idx 4, ptn 1 name='bootloader_a' start=16384 len=32768&lt;BR /&gt;idx 5, ptn 2 name='bootloader_b' start=49152 len=32768&lt;BR /&gt;idx 6, ptn 3 name='dtbo_a' start=81920 len=8192&lt;BR /&gt;idx 7, ptn 4 name='dtbo_b' start=90112 len=8192&lt;BR /&gt;idx 8, ptn 5 name='boot_a' start=98304 len=131072&lt;BR /&gt;idx 9, ptn 6 name='boot_b' start=229376 len=131072&lt;BR /&gt;idx 10, ptn 7 name='system_a' start=360448 len=3145728&lt;BR /&gt;idx 11, ptn 8 name='system_b' start=3506176 len=3145728&lt;BR /&gt;idx 12, ptn 9 name='system_ext_a' start=6651904 len=524288&lt;BR /&gt;idx 13, ptn 10 name='system_ext_b' start=7176192 len=524288&lt;BR /&gt;idx 14, ptn 11 name='misc' start=7700480 len=8192&lt;BR /&gt;idx 15, ptn 12 name='metadata' start=7708672 len=32768&lt;BR /&gt;idx 16, ptn 13 name='presistdata' start=7741440 len=2048&lt;BR /&gt;idx 17, ptn 14 name='vendor_a' start=7745536 len=1310720&lt;BR /&gt;idx 18, ptn 15 name='vendor_b' start=9056256 len=1310720&lt;BR /&gt;idx 19, ptn 16 name='product_a' start=10366976 len=3670016&lt;BR /&gt;idx 20, ptn 17 name='product_b' start=14036992 len=3670016&lt;BR /&gt;idx 21, ptn 18 name='userdata' start=17707008 len=9539584&lt;BR /&gt;idx 22, ptn 19 name='fbmisc' start=27246592 len=2048&lt;BR /&gt;idx 23, ptn 20 name='vbmeta_a' start=27250688 len=2048&lt;BR /&gt;idx 24, ptn 21 name='vbmeta_b' start=27254784 len=2048&lt;BR /&gt;avb_slot_verify.c:700: ERROR: init_boot_b: Error loading footer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the log, it appears that the system first attempts to boot from bootloader_a multiple times. After that, it attempts to boot from bootloader_b, but no further serial logs are displayed, and the device remains in fastboot mode.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 09:41:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-EVK-android-boot-fail-in-android-12-bsp/m-p/2028182#M233016</guid>
      <dc:creator>althafahammed</dc:creator>
      <dc:date>2025-01-15T09:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM-EVK android boot fail in android 12 bsp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-EVK-android-boot-fail-in-android-12-bsp/m-p/2029073#M233056</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;It looks like you are not installed the correct partition, erase everything in the sd and try to burn again the image and tested since it goes out of memory.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2025 13:56:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-EVK-android-boot-fail-in-android-12-bsp/m-p/2029073#M233056</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-01-16T13:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM-EVK android boot fail in android 12 bsp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-EVK-android-boot-fail-in-android-12-bsp/m-p/2029461#M233071</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Can you please elaborate the procedure. Also in the same board we could able to flash android 13 build successfully&lt;BR /&gt;I have one query is 12.0.0_2.0.0 (L5.15.32_2.0.0 BSP) version support imx-8qm evk board ??</description>
      <pubDate>Fri, 17 Jan 2025 04:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-EVK-android-boot-fail-in-android-12-bsp/m-p/2029461#M233071</guid>
      <dc:creator>althafahammed</dc:creator>
      <dc:date>2025-01-17T04:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM-EVK android boot fail in android 12 bsp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-EVK-android-boot-fail-in-android-12-bsp/m-p/2029758#M233079</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You can see the android 13 user guide:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors/217786/1/ANDROID_USERS_GUIDE.pdf" target="_blank"&gt;https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors/217786/1/ANDROID_USERS_GUIDE.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where it has a table with all partition and how it burn to your board.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2025 12:34:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-EVK-android-boot-fail-in-android-12-bsp/m-p/2029758#M233079</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2025-01-17T12:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8QM-EVK android boot fail in android 12 bsp</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-EVK-android-boot-fail-in-android-12-bsp/m-p/2033184#M233292</link>
      <description>&lt;P&gt;I have made a change in the BoardConfigCommon file change the system file type from ext4 to erofs&lt;/P&gt;&lt;P&gt;After reverting that change build flash properly&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2025 12:07:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8QM-EVK-android-boot-fail-in-android-12-bsp/m-p/2033184#M233292</guid>
      <dc:creator>althafahammed</dc:creator>
      <dc:date>2025-01-23T12:07:51Z</dc:date>
    </item>
  </channel>
</rss>

