imx8: imx-boot do_compile failing while building bsp 5.4

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

imx8: imx-boot do_compile failing while building bsp 5.4

1,618 Views
vsuneja63
Contributor III
Hi,
 
Building bsp 5.4 for imx8mq-evk target, build completed by 99% but imx-boot failing in do_compile. Please check the logs below:
 
ERROR: imx-boot-1.0-r0 do_compile: Execution of '/home/vipulkumar/platform/AGL_Jellyfish/build/tmp/work/imx8mqevk-agl-linux/imx-boot/1.0-r0/temp/run.do_compile.11586' failed with exit code 2:
27958+0 records in
27958+0 records out
111832 bytes (112 kB, 109 KiB) copied, 0.0440723 s, 2.5 MB/s
./../scripts/pad_image.sh tee.bin
tee.bin is padded to 344576
./../scripts/pad_image.sh bl31.bin
bl31.bin is padded to 41200
./../scripts/pad_image.sh u-boot-nodtb.bin imx8mq-evk.dtb
u-boot-nodtb.bin + imx8mq-evk.dtb are padded to 813616
DEK_BLOB_LOAD_ADDR=0x40400000 TEE_LOAD_ADDR=0xfe000000 ATF_LOAD_ADDR=0x00910000 ./mkimage_fit_atf.sh imx8mq-evk.dtb > u-boot.its
bl31.bin size:
41200
Building with TEE support, make sure your bl31 is compiled with spd. If you do not want tee, please delete tee.bin
tee.bin size:
344576
u-boot-nodtb.bin size:
782536
imx8mq-evk.dtb size:
31080
./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
./mkimage_uboot: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
soc.mak:141: recipe for target 'u-boot.itb' failed
make[1]: *** [u-boot.itb] Error 127
Makefile:22: recipe for target 'flash_evk' failed
make: *** [flash_evk] Error 2
WARNING: exit code 2 from a shell command.

ERROR: Logfile of failure stored in: /home/vipulkumar/platform/AGL_Jellyfish/build/tmp/work/imx8mqevk-agl-linux/imx-boot/1.0-r0/temp/log.do_compile.11586
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: 8MQ/8MM/8MN/8MP boot binary build
| NOTE: Copy ddr_firmware: lpddr4_pmu_train_1d_imem.bin from /home/vipulkumar/platform/AGL_Jellyfish/build/tmp/deploy/images/imx8mqevk -> /home/vipulkumar/platform/AGL_Jellyfish/build/tmp/work/imx8mqevk-agl-linux/imx-boot/1.0-r0/git/iMX8M
| NOTE: Copy ddr_firmware: lpddr4_pmu_train_1d_dmem.bin from /home/vipulkumar/platform/AGL_Jellyfish/build/tmp/deploy/images/imx8mqevk -> /home/vipulkumar/platform/AGL_Jellyfish/build/tmp/work/imx8mqevk-agl-linux/imx-boot/1.0-r0/git/iMX8M
| NOTE: Copy ddr_firmware: lpddr4_pmu_train_2d_imem.bin from /home/vipulkumar/platform/AGL_Jellyfish/build/tmp/deploy/images/imx8mqevk -> /home/vipulkumar/platform/AGL_Jellyfish/build/tmp/work/imx8mqevk-agl-linux/imx-boot/1.0-r0/git/iMX8M
| NOTE: Copy ddr_firmware: lpddr4_pmu_train_2d_dmem.bin from /home/vipulkumar/platform/AGL_Jellyfish/build/tmp/deploy/images/imx8mqevk -> /home/vipulkumar/platform/AGL_Jellyfish/build/tmp/work/imx8mqevk-agl-linux/imx-boot/1.0-r0/git/iMX8M
| NOTE: building iMX8M -  flash_evk
| 27958+0 records in
| 27958+0 records out
| 111832 bytes (112 kB, 109 KiB) copied, 0.0440723 s, 2.5 MB/s
| ./../scripts/pad_image.sh tee.bin
| tee.bin is padded to 344576
| ./../scripts/pad_image.sh bl31.bin
| bl31.bin is padded to 41200
| ./../scripts/pad_image.sh u-boot-nodtb.bin imx8mq-evk.dtb
| u-boot-nodtb.bin + imx8mq-evk.dtb are padded to 813616
| DEK_BLOB_LOAD_ADDR=0x40400000 TEE_LOAD_ADDR=0xfe000000 ATF_LOAD_ADDR=0x00910000 ./mkimage_fit_atf.sh imx8mq-evk.dtb > u-boot.its
| bl31.bin size:
| 41200
| Building with TEE support, make sure your bl31 is compiled with spd. If you do not want tee, please delete tee.bin
| tee.bin size:
| 344576
| u-boot-nodtb.bin size:
| 782536
| imx8mq-evk.dtb size:
| 31080
| ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
| ./mkimage_uboot: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
| soc.mak:141: recipe for target 'u-boot.itb' failed
| make[1]: *** [u-boot.itb] Error 127
| Makefile:22: recipe for target 'flash_evk' failed
| make: *** [flash_evk] Error 2
| WARNING: exit code 2 from a shell command.
| ERROR: Execution of '/home/vipulkumar/platform/AGL_Jellyfish/build/tmp/work/imx8mqevk-agl-linux/imx-boot/1.0-r0/temp/run.do_compile.11586' failed with exit code 2:
| 27958+0 records in
| 27958+0 records out
| 111832 bytes (112 kB, 109 KiB) copied, 0.0440723 s, 2.5 MB/s
| ./../scripts/pad_image.sh tee.bin
| tee.bin is padded to 344576
| ./../scripts/pad_image.sh bl31.bin
| bl31.bin is padded to 41200
| ./../scripts/pad_image.sh u-boot-nodtb.bin imx8mq-evk.dtb
| u-boot-nodtb.bin + imx8mq-evk.dtb are padded to 813616
| DEK_BLOB_LOAD_ADDR=0x40400000 TEE_LOAD_ADDR=0xfe000000 ATF_LOAD_ADDR=0x00910000 ./mkimage_fit_atf.sh imx8mq-evk.dtb > u-boot.its
| bl31.bin size:
| 41200
| Building with TEE support, make sure your bl31 is compiled with spd. If you do not want tee, please delete tee.bin
| tee.bin size:
| 344576
| u-boot-nodtb.bin size:
| 782536
| imx8mq-evk.dtb size:
| 31080
| ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
| ./mkimage_uboot: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
| soc.mak:141: recipe for target 'u-boot.itb' failed
| make[1]: *** [u-boot.itb] Error 127
| Makefile:22: recipe for target 'flash_evk' failed
| make: *** [flash_evk] Error 2
| WARNING: exit code 2 from a shell command.
|
ERROR: Task (/home/vipulkumar/platform/AGL_Jellyfish/bsp/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 9260 tasks of which 8923 didn't need to be rerun and 1 failed.
 
Host: ubuntu16.04
Target: imx8mq-evk
 
Labels (1)
0 Kudos
2 Replies

1,611 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

./mkimage_uboot: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

 

I think you didn't install the whole  necessary host packages.

 

BR

Zhiming

0 Kudos

1,605 Views
vsuneja63
Contributor III

updated openssl version to 1.1.1 resolved the issue!

0 Kudos