Build I.MX8MM Boot Image Error

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

Build I.MX8MM Boot Image Error

Jump to solution
2,025 Views
Judy_Liao
Contributor II

Hi,
    I follow "Manually build boot  binary for i.MX8M Mini"

" Copy all these to imx-mkimage/iMX8M/

cp ../uboot-imx/spl/u-boot-spl.bin iMX8M/
cp ../uboot-imx/u-boot-nodtb.bin iMX8M/
cp ../uboot-imx/arch/arm/dts/fsl-imx8mm-evk.dtb iMX8M/
cp ../imx-atf/build/imx8mm/release/bl31.bin iMX8M/
cp ../firmware-imx/firmware-imx-8.5/firmware/ddr/synopsys/lpddr4_pmu_train_* iMX8M/
cp ../uboot-imx/tools/mkimage iMX8M/mkimage_uboot

Build:   $ make SOC=iMX8MM flash_evk

But I got an error: What shoudl I do ?

Compiling mkimage_imx8
PLAT=imx8mm HDMI=no
Compiling mkimage_imx8
gcc -O2 -pipe -g -feliminate-unused-debug-types mkimage_imx8.c -o mkimage_imx8 -lz
./../scripts/pad_image.sh bl31.bin
./../scripts/pad_image.sh u-boot-nodtb.bin fsl-imx8mm-evk.dtb
DEK_BLOB_LOAD_ADDR=0x40400000 TEE_LOAD_ADDR=0xbe000000 ATF_LOAD_ADDR=0x00920000 ./mkimage_fit_atf.sh fsl-imx8mm-evk.dtb > u-boot.its
bl31.bin size:
45536
u-boot-nodtb.bin size:
724040
fsl-imx8mm-evk.dtb size:
34344
./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
make[1]: execvp: ./mkimage_uboot: Permission denied
soc.mak:116: recipe for target 'u-boot.itb' failed
make[1]: *** [u-boot.itb] Error 127
Makefile:19: recipe for target 'flash_evk' failed
make: *** [flash_evk] Error 2

0 Kudos
Reply
1 Solution
2,010 Views
Judy_Liao
Contributor II

I solved, thanks all.

View solution in original post

0 Kudos
Reply
2 Replies
1,705 Views
Luffy_D
NXP Employee
NXP Employee

How did you solve it?

0 Kudos
Reply
2,011 Views
Judy_Liao
Contributor II

I solved, thanks all.

0 Kudos
Reply