Unable to boot Linux on imx8m plus evk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to boot Linux on imx8m plus evk

Jump to solution
18,758 Views
sjp
Contributor II

Source: IMX_YOCTO_PROJECT_USERS_GUIDE.pdf 

we are referring the above guide to build Linux bsp. 

The below is the default boot flow layout,

# The disk layout used is:
# - ---------- -------------- --------------
# |   | imx-boot | boot | rootfs |
# - ---------- -------------- --------------
# ^ ^                  ^         ^           ^
# |   |                   |           |            |
# 0  |                8MiB    72MiB     72MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual

imx-boot = SPL + ATF + TEE + U-BOOT --> boots to linux

Modified boot flow layout,

# The disk layout used is:
# - ---------- -------------- --------------
# |   |   Bios.bin  | boot | rootfs |
# - ---------- -------------- --------------
# ^ ^                  ^         ^           ^
# |   |                   |           |            |
# 0  |                8MiB    72MiB     72MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
# ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual

Bios.bin = SPL + ATF + TEE + U-BOOT + UEFI Loader --> boot upto before linux login terminal

Attached the original and modified debug logs.

any suggestions ?

0 Kudos
Reply
1 Solution
18,573 Views
pengyong_zhang
NXP Employee
NXP Employee

HI @sjp 

I have talk about your request with our internal team, our Linux BSP do not support UEFI boot. Only PC have this. The embedded test CPU does not use BIOS.

B.R

View solution in original post

0 Kudos
Reply
13 Replies
18,164 Views
pengyong_zhang
NXP Employee
NXP Employee

hi @sjp 

I do not think you can use another bootloader replace the uboot for the Embedded CPU.

B.R

18,161 Views
sjp
Contributor II
Hi @pengyong_zhang

Thanks for all your response !!!

Thanks,
JP
0 Kudos
Reply
18,189 Views
pengyong_zhang
NXP Employee
NXP Employee

HI @sjp 

1. Can we use a non-UEFI bootloader, similar to U-boot, to boot Linux with Linux BSP ?

>>> What do you mean similar U-boot? Why are you not use U-boot?

2. What types of bootloaders are supported for booting Linux ?

>>>It is the default linux bootloader, SPL->ATF->UBOOT->KERNAL->ROOTFS

B.R

0 Kudos
Reply
18,167 Views
sjp
Contributor II

Hi @pengyong_zhang 

What do you mean similar U-boot? Why are you not use U-boot?

We are just analyzing to replace u-boot with another bootloader. 

Thanks,

JP

Tags (1)
0 Kudos
Reply
18,477 Views
pengyong_zhang
NXP Employee
NXP Employee

hi @sjp 

Have you seen my previous reply?  Linux BSP do not support UEFI boot. Only PC have this. The embedded test CPU does not use BIOS.

B.R

B.R

0 Kudos
Reply
18,458 Views
sjp
Contributor II
Hi @pengyong_zhang

Sorry i missed it. Thank you !!!

I have another query,

1. Can we use a non-UEFI bootloader, similar to U-boot, to boot Linux with Linux BSP ?

2. What types of bootloaders are supported for booting Linux ?

Thanks,
JP
0 Kudos
Reply
18,574 Views
pengyong_zhang
NXP Employee
NXP Employee

HI @sjp 

I have talk about your request with our internal team, our Linux BSP do not support UEFI boot. Only PC have this. The embedded test CPU does not use BIOS.

B.R

0 Kudos
Reply
18,505 Views
sjp
Contributor II
Hi @pengyong_zhang,

Is there any update from your internal team ?

Thanks,
JP
Tags (1)
0 Kudos
Reply
18,628 Views
pengyong_zhang
NXP Employee
NXP Employee

HI @sjp 

However, in our modified boot flow, U-Boot hands control over to the UEFI loader instead. The UEFI loader then takes on the responsibility of loading the device tree and kernel into memory before launching the system.

>>> How did you "modified boot flow" you mentioned?  And why are you need to change the boot flow?

B.R

0 Kudos
Reply
18,618 Views
sjp
Contributor II

Hi @pengyong_zhang 

1. How did you "modified boot flow" you mentioned?

Step 1:

We used the source code from WIN10_1.5.0_SOURCE  built it with the following command:

./buildme64.sh -b MX8M_PLUS_EVK -t uefi -bc DEBUG

The resulting binary we used is located at imx-windows-iot/BSP/firmware/MX8M_PLUS_EVK/firmware_uuu.bin.

Note: Additionally, we added a driver to this source. The purpose of this driver is to load the device tree and Kernel into memory.

Step 2:

      1. Host machine setup:

            i) Essential Yocto Project host packages are:

                 $ sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 python3-subunit zstd liblz4-tool file locales libacl1

            ii) Setting up the Repo utility:

                 $ mkdir ~/bin (this step may not be needed if the bin folder already exists)
                 $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo 
                 $ chmod a+x ~/bin/repo
                 $ export PATH=~/bin:$PATH
 
      2. Yocto Project Setup:

            i) Git set up:

                $ git config --global user.name "Your Name" 
                 $ git config --global user.email "Your Email" 
                 $ git config --list
 
            ii) Repo sync:
 
                 $ mkdir imx-yocto-bsp $ cd imx-yocto-bsp 
                 $ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-scarthgap -m imx-6.6.36-2.1.0.xml 
                 $ repo sync

           3. Changes:
                 
                    Replaced the imx-boot with firmware_uuu.bin.
 
       4. Build:

            $ DISTRO=fsl-imx-wayland MACHINE=imx8mp-lpddr4-evk source imx-setup-release.sh -b <build dir>
            $ bitbake core-image-minimal

 
 
Built image will be avilable in  imx-yocto-bsp/Build/tmp/deploy/images/imx8mp-lpddr4-evk/core-image-minimal-imx8mp-lpddr4-evk.rootfs-20241106063508.wic.zst
 
# The disk layout of "wic" image 
#  - ---------- -------------- --------------
# | | firmware_uuu.bin |     boot     |    rootfs    |
#  - ---------- -------------- --------------
# ^ ^                                      ^                  ^                  ^
# | |                                          |                    |                   |
# 0 |                                   8MiB          72MiB          72MiB + rootfs + IMAGE_EXTRA_SPACE (default 10MiB)
#   ${IMX_BOOT_SEEK} 32 or 33kiB, see reference manual
 
Flash:
 
$ zstdcat /home/bpcg/imx-yocto-bsp/Build/tmp/deploy/images/imx8mp-lpddr4-evk/core-image-minimal-imx8mp-lpddr4-evk.rootfs-20241106063508.wic.zst | sudo dd of=/dev/sda bs=1M conv=fsync
 
Kernel arguments used: console=ttymxc1,921600 root=/dev/mmcblk1p2 rootwait rw
 

2. why are you need to change the boot flow?

We modified the boot flow because our objective is to boot Linux using EDK2 (UEFI).

Thanks,

JP

Tags (1)
0 Kudos
Reply
18,728 Views
pengyong_zhang
NXP Employee
NXP Employee

hi @sjp 

What is your change about the code? and how did you compile the falsh.bin file?

B.R

0 Kudos
Reply
18,718 Views
sjp
Contributor II

Hi @pengyong_zhang 

Ques: 

1. What is your change about the code?

We haven’t modified the existing code directly. In the default boot flow, U-Boot loads the device tree and kernel into memory and then launches the system.

However, in our modified boot flow, U-Boot hands control over to the UEFI loader instead. The UEFI loader then takes on the responsibility of loading the device tree and kernel into memory before launching the system.

2. how did you compile the flash.bin file?

The UEFI loader is built using the EDK2 framework.

We used the mkimage tool for binary stitching, similar to how firmware is stitched in a Windows BSP. We provided the UEFI loader as a FIT image to U-Boot.

Thanks,

JP

 

 

0 Kudos
Reply
18,638 Views
sjp
Contributor II
Hi @pengyong,

Any updates on this ?
Tags (1)
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1988560%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUnable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988560%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3ESource%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fuser-guide%2FIMX_YOCTO_PROJECT_USERS_GUIDE.pdf%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EIMX_YOCTO_PROJECT_USERS_GUIDE.pdf%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewe%20are%20referring%20the%20above%20guide%20to%20build%20Linux%20bsp.%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20below%20is%20the%20default%20boot%20flow%20layout%2C%3C%2FP%3E%3CP%3E%23%20The%20disk%20layout%20used%20is%3A%3CBR%20%2F%3E%23%20-%20----------%20--------------%20--------------%3CBR%20%2F%3E%23%20%7C%26nbsp%3B%20%26nbsp%3B%7C%20imx-boot%20%7C%20boot%20%7C%20rootfs%20%7C%3CBR%20%2F%3E%23%20-%20----------%20--------------%20--------------%3CBR%20%2F%3E%23%20%5E%20%5E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%5E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%5E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%5E%3CBR%20%2F%3E%23%20%7C%26nbsp%3B%20%26nbsp%3B%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%7C%3CBR%20%2F%3E%23%200%26nbsp%3B%20%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%208MiB%26nbsp%3B%20%26nbsp%3B%2072MiB%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B72MiB%20%2B%20rootfs%20%2B%20IMAGE_EXTRA_SPACE%20(default%2010MiB)%3CBR%20%2F%3E%23%20%24%7BIMX_BOOT_SEEK%7D%2032%20or%2033kiB%2C%20see%20reference%20manual%3C%2FP%3E%3CP%3Eimx-boot%20%3D%20SPL%20%2B%20ATF%20%2B%20TEE%20%2B%20U-BOOT%20--%26gt%3B%20boots%20to%20linux%3C%2FP%3E%3CP%3EModified%20boot%20flow%20layout%2C%3C%2FP%3E%3CP%3E%23%20The%20disk%20layout%20used%20is%3A%3CBR%20%2F%3E%23%20-%20----------%20--------------%20--------------%3CBR%20%2F%3E%23%20%7C%26nbsp%3B%20%26nbsp%3B%7C%26nbsp%3B%20%26nbsp%3BBios.bin%26nbsp%3B%20%7C%20boot%20%7C%20rootfs%20%7C%3CBR%20%2F%3E%23%20-%20----------%20--------------%20--------------%3CBR%20%2F%3E%23%20%5E%20%5E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%5E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%5E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%5E%3CBR%20%2F%3E%23%20%7C%26nbsp%3B%20%26nbsp%3B%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%7C%3CBR%20%2F%3E%23%200%26nbsp%3B%20%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%208MiB%26nbsp%3B%20%26nbsp%3B%2072MiB%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B72MiB%20%2B%20rootfs%20%2B%20IMAGE_EXTRA_SPACE%20(default%2010MiB)%3CBR%20%2F%3E%23%20%24%7BIMX_BOOT_SEEK%7D%2032%20or%2033kiB%2C%20see%20reference%20manual%3C%2FP%3E%3CP%3EBios.bin%20%3D%20SPL%20%2B%20ATF%20%2B%20TEE%20%2B%20U-BOOT%20%2B%20UEFI%20Loader%20--%26gt%3B%20boot%20upto%20before%20linux%20login%20terminal%3C%2FP%3E%3CP%3EAttached%20the%20original%20and%20modified%20debug%20logs.%3C%2FP%3E%3CP%3Eany%20suggestions%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1997032%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1997032%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F202673%22%20target%3D%22_blank%22%3E%40pengyong_zhang%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20for%20all%20your%20response%20!!!%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%3CBR%20%2F%3EJP%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1996977%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1996977%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F230963%22%20target%3D%22_blank%22%3E%40sjp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20do%20not%20think%20you%20can%20use%20another%20bootloader%20replace%20the%20uboot%20for%20the%20Embedded%20CPU.%3C%2FP%3E%0A%3CP%3EB.R%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1996963%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1996963%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F202673%22%20target%3D%22_blank%22%3E%40pengyong_zhang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EWhat%20do%20you%20mean%20similar%20U-boot%3F%20Why%20are%20you%20not%20use%20U-boot%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWe%20are%20just%20analyzing%20to%20replace%20u-boot%20with%20another%20bootloader.%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EJP%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1996692%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1996692%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F230963%22%20target%3D%22_blank%22%3E%40sjp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1.%20Can%20we%20use%20a%20non-UEFI%20bootloader%2C%20similar%20to%20U-boot%2C%20to%20boot%20Linux%20with%20Linux%20BSP%20%3F%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26gt%3B%26gt%3B%26gt%3B%20What%20do%20you%20mean%20similar%20U-boot%3F%20Why%20are%20you%20not%20use%20U-boot%3F%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E2.%20What%20types%20of%20bootloaders%20are%20supported%20for%20booting%20Linux%20%3F%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26gt%3B%26gt%3B%26gt%3BIt%20is%20the%20default%20linux%20bootloader%2C%20SPL-%26gt%3BATF-%26gt%3BUBOOT-%26gt%3BKERNAL-%26gt%3BROOTFS%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3EB.R%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1995467%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1995467%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F202673%22%20target%3D%22_blank%22%3E%40pengyong_zhang%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3ESorry%20i%20missed%20it.%20Thank%20you%20!!!%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20another%20query%2C%3CBR%20%2F%3E%3CBR%20%2F%3E1.%20Can%20we%20use%20a%20non-UEFI%20bootloader%2C%20similar%20to%20U-boot%2C%20to%20boot%20Linux%20with%20Linux%20BSP%20%3F%3CBR%20%2F%3E%3CBR%20%2F%3E2.%20What%20types%20of%20bootloaders%20are%20supported%20for%20booting%20Linux%20%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%3CBR%20%2F%3EJP%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1995194%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1995194%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F230963%22%20target%3D%22_blank%22%3E%40sjp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHave%20you%20seen%20my%20previous%20reply%3F%26nbsp%3B%26nbsp%3B%3CSPAN%3ELinux%20BSP%20do%20not%20support%20UEFI%20boot.%20Only%20PC%20have%20this.%20The%20embedded%20test%20CPU%20does%20not%20use%20BIOS.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EB.R%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EB.R%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1994634%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1994634%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F202673%22%20target%3D%22_blank%22%3E%40pengyong_zhang%3C%2FA%3E%2C%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20there%20any%20update%20from%20your%20internal%20team%20%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%3CBR%20%2F%3EJP%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1992347%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1992347%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F230963%22%20target%3D%22_blank%22%3E%40sjp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20have%20talk%20about%20your%20request%20with%20our%20internal%20team%2C%20our%20Linux%20BSP%20do%20not%20support%20UEFI%20boot.%20Only%20PC%20have%20this.%20The%20embedded%20test%20CPU%20does%20not%20use%20BIOS.%3C%2FP%3E%0A%3CP%3EB.R%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1992016%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1992016%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F202673%22%20target%3D%22_blank%22%3E%40pengyong_zhang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E1.%20How%20did%20you%20%22modified%20boot%20flow%22%20you%20mentioned%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CU%3E%3CSTRONG%3EStep%201%3A%3C%2FSTRONG%3E%3C%2FU%3E%3C%2FP%3E%3CP%3EWe%20used%20the%20source%20code%20from%20%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DWIN10_1.5.0_SOURCE%26amp%3BappType%3Dlicense%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EWIN10_1.5.0_SOURCE%3C%2FA%3E%26nbsp%3B%20built%20it%20with%20the%20following%20command%3A%3C%2FP%3E%3CP%3E%3CSTRONG%3E.%2Fbuildme64.sh%20-b%20MX8M_PLUS_EVK%20-t%20uefi%20-bc%20DEBUG%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EThe%20resulting%20binary%20we%20used%20is%20located%20at%26nbsp%3B%3CSTRONG%3Eimx-windows-iot%2FBSP%2Ffirmware%2FMX8M_PLUS_EVK%2Ffirmware_uuu.bin.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20Additionally%2C%20we%20added%20a%20driver%20to%20this%20source.%20The%20purpose%20of%20this%20driver%20is%20to%20load%20the%20device%20tree%20and%20Kernel%20into%20memory.%3C%2FP%3E%3CP%3E%3CU%3E%3CSTRONG%3EStep%202%3A%3C%2FSTRONG%3E%3C%2FU%3E%3C%2FP%3E%3CP%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%3CSTRONG%3E%E2%80%821.%26nbsp%3BHost%20machine%20setup%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%3CSTRONG%3E%E2%80%82i)%20Essential%20Yocto%20Project%20host%20packages%20are%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20sudo%20apt%20install%20gawk%20wget%20git%20diffstat%20unzip%20texinfo%20gcc%20build-essential%20chrpath%20socat%20cpio%20python3%20python3-pip%20python3-pexpect%20xz-utils%20debianutils%20iputils-ping%20python3-git%20python3-jinja2%20python3-subunit%20zstd%20liblz4-tool%20file%20locales%20libacl1%3C%2FP%3E%3CP%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%3CSTRONG%3Eii)%20Setting%20up%20the%20Repo%20utility%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20mkdir%20~%2Fbin%20(this%20step%20may%20not%20be%20needed%20if%20the%20bin%20folder%20already%20exists)%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20curl%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fstorage.googleapis.com%2Fgit-repo-downloads%2Frepo%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fstorage.googleapis.com%2Fgit-repo-downloads%2Frepo%3C%2FA%3E%26nbsp%3B%26gt%3B%20~%2Fbin%2Frepo%26nbsp%3B%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20chmod%20a%2Bx%20~%2Fbin%2Frepo%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20export%20PATH%3D~%2Fbin%3A%24PATH%3CBR%20%2F%3E%26nbsp%3B%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%3CSTRONG%3E2.%20Yocto%20Project%20Setup%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%3CSTRONG%3Ei)%20Git%20set%20up%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20git%20config%20--global%20user.name%20%22Your%20Name%22%26nbsp%3B%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20git%20config%20--global%20user.email%20%22Your%20Email%22%26nbsp%3B%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20git%20config%20--list%3CBR%20%2F%3E%26nbsp%3B%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%3CSTRONG%3Eii)%20Repo%20sync%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E%26nbsp%3B%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20mkdir%20imx-yocto-bsp%20%24%20cd%20imx-yocto-bsp%26nbsp%3B%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20repo%20init%20-u%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-manifest%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-manifest%3C%2FA%3E%26nbsp%3B-b%20imx-linux-scarthgap%20-m%20imx-6.6.36-2.1.0.xml%26nbsp%3B%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20repo%20sync%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CSTRONG%3E3.%20Changes%3A%3C%2FSTRONG%3E%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20Replaced%20the%26nbsp%3Bimx-boot%26nbsp%3Bwith%26nbsp%3Bfirmware_uuu.bin.%3CBR%20%2F%3E%26nbsp%3B%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%20%3CSTRONG%3E4.%20Build%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20DISTRO%3Dfsl-imx-wayland%20MACHINE%3Dimx8mp-lpddr4-evk%20source%20imx-setup-release.sh%20-b%20%3CBUILD%20dir%3D%22%22%3E%3CBR%20%2F%3E%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%E2%80%82%24%20bitbake%20core-image-minimal%3C%2FBUILD%3E%3C%2FP%3E%3CDIV%20class%3D%22%22%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CSTRONG%3ERefer%3A%3CSPAN%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Fuser-guide%2FIMX_YOCTO_PROJECT_USERS_GUIDE.pdf%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EIMX_YOCTO_PROJECT_USERS_GUIDE.pdf%3C%2FA%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3EBuilt%20image%20will%20be%20avilable%20in%26nbsp%3B%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3Eimx-yocto-bsp%2FBuild%2Ftmp%2Fdeploy%2Fimages%2Fimx8mp-lpddr4-evk%2Fcore-image-minimal-imx8mp-lpddr4-evk.rootfs-20241106063508.wic.zst%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CSTRONG%3E%26nbsp%3B%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CSTRONG%3E%23%20The%20disk%20layout%20of%20%22wic%22%20image%26nbsp%3B%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3E%23%20%26nbsp%3B-%20----------%20--------------%20--------------%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3E%23%20%7C%20%7C%20%3CSPAN%3Efirmware_uuu.bin%3C%2FSPAN%3E%20%7C%20%26nbsp%3B%20%26nbsp%3B%20boot%20%26nbsp%3B%20%26nbsp%3B%20%7C%20%26nbsp%3B%20%26nbsp%3Brootfs%20%26nbsp%3B%20%26nbsp%3B%7C%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3E%23%20%26nbsp%3B-%20----------%20--------------%20--------------%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3E%23%20%5E%20%5E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%5E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%5E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%5E%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3E%23%20%7C%20%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%7C%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3E%23%200%20%7C%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B8MiB%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B72MiB%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B72MiB%20%2B%20rootfs%20%2B%20IMAGE_EXTRA_SPACE%20(default%2010MiB)%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CSTRONG%3E%23%20%26nbsp%3B%20%24%7BIMX_BOOT_SEEK%7D%2032%20or%2033kiB%2C%20see%20reference%20manual%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CU%3EFlash%3A%3C%2FU%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CU%3E%26nbsp%3B%3C%2FU%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CSTRONG%3E%24%20zstdcat%20%2Fhome%2Fbpcg%2Fimx-yocto-bsp%2FBuild%2Ftmp%2Fdeploy%2Fimages%2Fimx8mp-lpddr4-evk%2Fcore-image-minimal-imx8mp-lpddr4-evk.rootfs-20241106063508.wic.zst%20%7C%20sudo%20dd%20of%3D%2Fdev%2Fsda%20bs%3D1M%20conv%3Dfsync%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%3CSTRONG%3EKernel%20arguments%20used%3A%26nbsp%3B%3C%2FSTRONG%3Econsole%3Dttymxc1%2C921600%20root%3D%2Fdev%2Fmmcblk1p2%20rootwait%20rw%3C%2FDIV%3E%3C%2FDIV%3E%3CDIV%20class%3D%22%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%3CSTRONG%3E2.%20why%20are%20you%20need%20to%20change%20the%26nbsp%3Bboot%20flow%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWe%20modified%20the%20boot%20flow%20because%20our%20objective%20is%20to%20boot%20Linux%20using%20EDK2%20(UEFI).%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EJP%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1991734%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1991734%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHI%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F230963%22%20target%3D%22_blank%22%3E%40sjp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHowever%2C%20in%20our%20modified%20boot%20flow%2C%20U-Boot%20hands%20control%20over%20to%20the%20UEFI%20loader%20instead.%20The%20UEFI%20loader%20then%20takes%20on%20the%20responsibility%20of%20loading%20the%20device%20tree%20and%20kernel%20into%20memory%20before%20launching%20the%20system.%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3E%26gt%3B%26gt%3B%26gt%3B%20How%20did%20you%20%22modified%20boot%20flow%22%20you%20mentioned%3F%26nbsp%3B%20And%20why%20are%20you%20need%20to%20change%20the%26nbsp%3Bboot%20flow%3F%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EB.R%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1991674%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1991674%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20%40pengyong%2C%3CBR%20%2F%3E%3CBR%20%2F%3EAny%20updates%20on%20this%20%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1990018%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1990018%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F202673%22%20target%3D%22_blank%22%3E%40pengyong_zhang%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EQues%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3E1.%20What%20is%20your%20change%20about%20the%20code%3F%20%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EWe%20haven%E2%80%99t%20modified%20the%20existing%20code%20directly.%20In%20the%20default%20boot%20flow%2C%20U-Boot%20loads%20the%20device%20tree%20and%20kernel%20into%20memory%20and%20then%20launches%20the%20system.%3C%2FP%3E%3CP%3EHowever%2C%20in%20our%20modified%20boot%20flow%2C%20U-Boot%20hands%20control%20over%20to%20the%20UEFI%20loader%20instead.%20The%20UEFI%20loader%20then%20takes%20on%20the%20responsibility%20of%20loading%20the%20device%20tree%20and%20kernel%20into%20memory%20before%20launching%20the%20system.%3C%2FP%3E%3CP%3E%3CSTRONG%3E2.%20how%20did%20you%20compile%20the%20flash.bin%20file%3F%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3EThe%20UEFI%20loader%20is%20built%20using%20the%20EDK2%20framework.%3C%2FP%3E%3CP%3EWe%20used%20the%20%3CSTRONG%3Emkimage%3C%2FSTRONG%3E%20tool%20for%20binary%20stitching%2C%20similar%20to%20how%20firmware%20is%20stitched%20in%20a%20Windows%20BSP.%20We%20provided%20the%20UEFI%20loader%20as%20a%20FIT%20image%20to%20U-Boot.%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3EJP%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1989802%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20Unable%20to%20boot%20Linux%20on%20imx8m%20plus%20evk%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1989802%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3Ehi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F230963%22%20target%3D%22_blank%22%3E%40sjp%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20is%20your%20change%20about%20the%20code%3F%20and%20how%20did%20you%20compile%20the%20falsh.bin%20file%3F%3C%2FP%3E%0A%3CP%3EB.R%3C%2FP%3E%3C%2FLINGO-BODY%3E