RobertBerger

imx-boot does not build

Apr 14th, 2021
103
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pokyuser@e450-7:/workdir/build$ bitbake imx-boot
  2. NOTE: Started PRServer with DBfile: /workdir/build/imx8mm-lpddr4-evk-ml-master/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 34221, PID: 16456
  3. Loading cache: 100% |##########################################################################################################################################################| Time: 0:00:00
  4. Loaded 3759 entries from dependency cache.
  5. Parsing recipes: 100% |########################################################################################################################################################| Time: 0:00:00
  6. Parsing of 2464 .bb files complete (2463 cached, 1 parsed). 3760 targets, 219 skipped, 0 masked, 0 errors.
  7. NOTE: Resolving any missing task queue dependencies
  8.  
  9. Build Configuration:
  10. BB_VERSION = "1.50.0"
  11. BUILD_SYS = "x86_64-linux"
  12. NATIVELSBSTRING = "universal"
  13. TARGET_SYS = "aarch64-resy-linux"
  14. MACHINE = "imx8mm-lpddr4-evk-ml"
  15. DISTRO = "resy"
  16. DISTRO_VERSION = "3.3"
  17. TUNE_FEATURES = "aarch64 armv8a crc crypto"
  18. TARGET_FPU = ""
  19. meta
  20. meta-poky
  21. meta-yocto-bsp = "master:ddc9e2fd33abe6a0de7b4e0dacdb6f530ee99871"
  22. meta-resy-master = "master:852a4e7d0326ad09c18c73ce3cc9fa2ce996844c"
  23. meta-freescale-master = "master:00b168fbba0426b80a5f97ef377550efc6ea1d80"
  24. meta-imx8mm-lpddr4-evk-ml-bsp-master = "<unknown>:<unknown>"
  25. meta-oe
  26. meta-python
  27. meta-networking = "master:0c006765426bc41c1344e856528b499637574f97"
  28.  
  29. Initialising tasks: 100% |#####################################################################################################################################################| Time: 0:00:00
  30. Sstate summary: Wanted 8 Local 2 Network 0 Missed 6 Current 164 (25% match, 96% complete)
  31. NOTE: Executing Tasks
  32. ERROR: imx-boot-1.0-r0 do_compile: Execution of '/workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/run.do_compile.16572' failed with exit code 2:
  33. Compiling mkimage_imx8
  34. PLAT=imx8mm HDMI=no
  35. Compiling mkimage_imx8
  36. gcc -O2 -Wall -std=c99 -I /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/recipe-sysroot-native/usr/include -L /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/recipe-sysroot-native/usr/lib mkimage_imx8.c -o mkimage_imx8 -lz
  37. 29870+1 records in
  38. 29871+0 records out
  39. 119484 bytes (119 kB, 117 KiB) copied, 0.0561633 s, 2.1 MB/s
  40. ./../scripts/pad_image.sh tee.bin
  41. Pad file tee.bin NOT found
  42. ./../scripts/pad_image.sh bl31.bin
  43. bl31.bin is padded to 41440
  44. ./../scripts/pad_image.sh u-boot-nodtb.bin imx8mm-evk.dtb
  45. u-boot-nodtb.bin + imx8mm-evk.dtb are padded to 575616
  46. DEK_BLOB_LOAD_ADDR=0x40400000 TEE_LOAD_ADDR=0xbe000000 ATF_LOAD_ADDR=0x00920000 ./mkimage_fit_atf.sh imx8mm-evk.dtb > u-boot.its
  47. bl31.bin size:
  48. 41440
  49. u-boot-nodtb.bin size:
  50. 549912
  51. imx8mm-evk.dtb size:
  52. 25704
  53. ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
  54. u-boot.its:7.11-14.5: Warning (unit_address_vs_reg): /images/uboot@1: node has a unit name, but no reg property
  55. u-boot.its:15.9-20.5: Warning (unit_address_vs_reg): /images/fdt@1: node has a unit name, but no reg property
  56. u-boot.its:21.9-29.5: Warning (unit_address_vs_reg): /images/atf@1: node has a unit name, but no reg property
  57. u-boot.its:34.12-39.5: Warning (unit_address_vs_reg): /configurations/config@1: node has a unit name, but no reg property
  58. ./mkimage_uboot: verify_header failed for FIT Image support with exit code 1
  59. soc.mak:145: recipe for target 'u-boot.itb' failed
  60. make[1]: *** [u-boot.itb] Error 1
  61. Makefile:22: recipe for target 'flash_evk' failed
  62. make: *** [flash_evk] Error 2
  63. WARNING: /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/run.do_compile.16572:161 exit 2 from 'make SOC=iMX8MM dtbs=imx8mm-evk.dtb ${target}'
  64. WARNING: Backtrace (BB generated script):
  65. #1: do_compile, /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/run.do_compile.16572, line 161
  66. #2: main, /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/run.do_compile.16572, line 329
  67.  
  68. Backtrace (metadata-relative locations):
  69. #1: do_compile, /workdir/sources/poky-master/../meta-freescale-master/recipes-bsp/imx-mkimage/imx-boot_1.0.bb, line 127
  70. ERROR: Logfile of failure stored in: /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/log.do_compile.16572
  71. Log data follows:
  72. | DEBUG: Executing shell function do_compile
  73. | NOTE: 8MQ/8MM/8MN/8MP boot binary build
  74. | NOTE: Copy ddr_firmware: lpddr4_pmu_train_1d_imem.bin from /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/deploy/images/imx8mm-lpddr4-evk-ml -> /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/git/iMX8M
  75. | NOTE: Copy ddr_firmware: lpddr4_pmu_train_1d_dmem.bin from /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/deploy/images/imx8mm-lpddr4-evk-ml -> /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/git/iMX8M
  76. | NOTE: Copy ddr_firmware: lpddr4_pmu_train_2d_imem.bin from /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/deploy/images/imx8mm-lpddr4-evk-ml -> /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/git/iMX8M
  77. | NOTE: Copy ddr_firmware: lpddr4_pmu_train_2d_dmem.bin from /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/deploy/images/imx8mm-lpddr4-evk-ml -> /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/git/iMX8M
  78. | NOTE: building iMX8MM - flash_evk
  79. | Compiling mkimage_imx8
  80. | PLAT=imx8mm HDMI=no
  81. | Compiling mkimage_imx8
  82. | gcc -O2 -Wall -std=c99 -I /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/recipe-sysroot-native/usr/include -L /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/recipe-sysroot-native/usr/lib mkimage_imx8.c -o mkimage_imx8 -lz
  83. | 29870+1 records in
  84. | 29871+0 records out
  85. | 119484 bytes (119 kB, 117 KiB) copied, 0.0561633 s, 2.1 MB/s
  86. | ./../scripts/pad_image.sh tee.bin
  87. | Pad file tee.bin NOT found
  88. | ./../scripts/pad_image.sh bl31.bin
  89. | bl31.bin is padded to 41440
  90. | ./../scripts/pad_image.sh u-boot-nodtb.bin imx8mm-evk.dtb
  91. | u-boot-nodtb.bin + imx8mm-evk.dtb are padded to 575616
  92. | DEK_BLOB_LOAD_ADDR=0x40400000 TEE_LOAD_ADDR=0xbe000000 ATF_LOAD_ADDR=0x00920000 ./mkimage_fit_atf.sh imx8mm-evk.dtb > u-boot.its
  93. | bl31.bin size:
  94. | 41440
  95. | u-boot-nodtb.bin size:
  96. | 549912
  97. | imx8mm-evk.dtb size:
  98. | 25704
  99. | ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
  100. | u-boot.its:7.11-14.5: Warning (unit_address_vs_reg): /images/uboot@1: node has a unit name, but no reg property
  101. | u-boot.its:15.9-20.5: Warning (unit_address_vs_reg): /images/fdt@1: node has a unit name, but no reg property
  102. | u-boot.its:21.9-29.5: Warning (unit_address_vs_reg): /images/atf@1: node has a unit name, but no reg property
  103. | u-boot.its:34.12-39.5: Warning (unit_address_vs_reg): /configurations/config@1: node has a unit name, but no reg property
  104. | ./mkimage_uboot: verify_header failed for FIT Image support with exit code 1
  105. | soc.mak:145: recipe for target 'u-boot.itb' failed
  106. | make[1]: *** [u-boot.itb] Error 1
  107. | Makefile:22: recipe for target 'flash_evk' failed
  108. | make: *** [flash_evk] Error 2
  109. | WARNING: /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/run.do_compile.16572:161 exit 2 from 'make SOC=iMX8MM dtbs=imx8mm-evk.dtb ${target}'
  110. | WARNING: Backtrace (BB generated script):
  111. | #1: do_compile, /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/run.do_compile.16572, line 161
  112. | #2: main, /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/run.do_compile.16572, line 329
  113. | ERROR: Execution of '/workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/run.do_compile.16572' failed with exit code 2:
  114. | Compiling mkimage_imx8
  115. | PLAT=imx8mm HDMI=no
  116. | Compiling mkimage_imx8
  117. | gcc -O2 -Wall -std=c99 -I /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/recipe-sysroot-native/usr/include -L /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/recipe-sysroot-native/usr/lib mkimage_imx8.c -o mkimage_imx8 -lz
  118. | 29870+1 records in
  119. | 29871+0 records out
  120. | 119484 bytes (119 kB, 117 KiB) copied, 0.0561633 s, 2.1 MB/s
  121. | ./../scripts/pad_image.sh tee.bin
  122. | Pad file tee.bin NOT found
  123. | ./../scripts/pad_image.sh bl31.bin
  124. | bl31.bin is padded to 41440
  125. | ./../scripts/pad_image.sh u-boot-nodtb.bin imx8mm-evk.dtb
  126. | u-boot-nodtb.bin + imx8mm-evk.dtb are padded to 575616
  127. | DEK_BLOB_LOAD_ADDR=0x40400000 TEE_LOAD_ADDR=0xbe000000 ATF_LOAD_ADDR=0x00920000 ./mkimage_fit_atf.sh imx8mm-evk.dtb > u-boot.its
  128. | bl31.bin size:
  129. | 41440
  130. | u-boot-nodtb.bin size:
  131. | 549912
  132. | imx8mm-evk.dtb size:
  133. | 25704
  134. | ./mkimage_uboot -E -p 0x3000 -f u-boot.its u-boot.itb
  135. | u-boot.its:7.11-14.5: Warning (unit_address_vs_reg): /images/uboot@1: node has a unit name, but no reg property
  136. | u-boot.its:15.9-20.5: Warning (unit_address_vs_reg): /images/fdt@1: node has a unit name, but no reg property
  137. | u-boot.its:21.9-29.5: Warning (unit_address_vs_reg): /images/atf@1: node has a unit name, but no reg property
  138. | u-boot.its:34.12-39.5: Warning (unit_address_vs_reg): /configurations/config@1: node has a unit name, but no reg property
  139. | ./mkimage_uboot: verify_header failed for FIT Image support with exit code 1
  140. | soc.mak:145: recipe for target 'u-boot.itb' failed
  141. | make[1]: *** [u-boot.itb] Error 1
  142. | Makefile:22: recipe for target 'flash_evk' failed
  143. | make: *** [flash_evk] Error 2
  144. | WARNING: /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/run.do_compile.16572:161 exit 2 from 'make SOC=iMX8MM dtbs=imx8mm-evk.dtb ${target}'
  145. | WARNING: Backtrace (BB generated script):
  146. | #1: do_compile, /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/run.do_compile.16572, line 161
  147. | #2: main, /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/work/imx8mm_lpddr4_evk_ml-resy-linux/imx-boot/1.0-r0/temp/run.do_compile.16572, line 329
  148. |
  149. | Backtrace (metadata-relative locations):
  150. | #1: do_compile, /workdir/sources/poky-master/../meta-freescale-master/recipes-bsp/imx-mkimage/imx-boot_1.0.bb, line 127
  151. ERROR: Task (/workdir/sources/poky-master/../meta-freescale-master/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1'
  152. NOTE: Tasks Summary: Attempted 658 tasks of which 652 didn't need to be rerun and 1 failed.
  153. NOTE: The errors for this build are stored in /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/log/error-report/error_report_20210414175720.txt
  154. You can send the errors to a reports server by running:
  155. send-error-report /workdir/build/imx8mm-lpddr4-evk-ml-master/tmp/log/error-report/error_report_20210414175720.txt [-s server]
  156. NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending.
  157. NOTE: Writing buildhistory
  158. NOTE: Writing buildhistory took: 1 seconds
  159.  
  160. Summary: 1 task failed:
  161. /workdir/sources/poky-master/../meta-freescale-master/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile
  162. Summary: There was 1 ERROR message shown, returning a non-zero exit code.
  163.  
RAW Paste Data