Build I.MX8MM Boot Image Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Build I.MX8MM Boot Image Error

跳至解决方案
2,028 次查看
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 项奖励
回复
1 解答
2,013 次查看
Judy_Liao
Contributor II

I solved, thanks all.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,708 次查看
Luffy_D
NXP Employee
NXP Employee

How did you solve it?

0 项奖励
回复
2,014 次查看
Judy_Liao
Contributor II

I solved, thanks all.

0 项奖励
回复