Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3735

imx8: imx-boot failing in jellyfish master source with libssl & u-boot.itb error

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • None
    • None
    • None
    • NXP i.MX6

      Hi,

      Building jellyfish master source for imx8mq evk target but imx-boot failing with libssl error. I could see libssl library is there with full permissions. Here are the error logs:

      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.22407' failed with exit code 2:
      27958+0 records in
      27958+0 records out
      111832 bytes (112 kB, 109 KiB) copied, 0.0675298 s, 1.7 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.22407
      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.0675298 s, 1.7 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.22407' failed with exit code 2:
      | 27958+0 records in
      | 27958+0 records out
      | 111832 bytes (112 kB, 109 KiB) copied, 0.0675298 s, 1.7 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 10159 tasks of which 10150 didn't need to be rerun and 1 failed.

      Summary: 1 task failed:
      /home/vipulkumar/platform/AGL_Jellyfish/bsp/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile

      Source: jellyfish Master

      Target: imx8mq-evk

      Host: ubuntu 16.04

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            scottm Scott Murray
            vsuneja63 vipul kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: