ubuntu@ubuntu:~/petalinux/2021.2/te0720-1cfa$ petalinux-build [INFO] Sourcing buildtools [INFO] Building project [INFO] Sourcing build environment [INFO] Generating plnxtool conf sed: -e expression #1, char 36: unterminated `s' command ERROR: Unknown serial ipname serial for ps7_uart_0 [INFO] Generating workspace directory INFO: bitbake petalinux-image-minimal NOTE: Started PRServer with DBfile: /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 33847, PID: 78155 Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. Parsing recipes: 100% |##############################################################################################| Time: 0:03:00 Parsing of 3476 .bb files complete (0 cached, 3476 parsed). 5133 targets, 268 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies WARNING: /home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx_2021.2.bb:do_compile is tainted from a forced run Initialising tasks: 100% |###########################################################################################| Time: 0:00:08 Checking sstate mirror object availability: 100% |###################################################################| Time: 0:00:17 Sstate summary: Wanted 237 Found 166 Missed 71 Current 1085 (70% match, 94% complete) NOTE: Executing Tasks ERROR: device-tree-xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0 do_configure: Execution of '/home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/run.do_configure.79363' failed with exit code 1: MISC_ARG is -hdf_type xsa -yamlconf /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/device-tree.yaml APP_ARG is -app "device-tree" Using xsct from: /home/ubuntu/petalinux/2021.2/tools/xsct//bin/xsct cmd is: xsct -sdx -nodisp /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/dtgen.tcl -ws /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree -pname device-tree -rp /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/git -processor_ip ps7_cortexa9 -hdf /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/deploy/images/zynq-generic/Xilinx-zynq-generic.xsa -arch 32 -app "device-tree" -hdf_type xsa -yamlconf /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/device-tree.yaml INFO: [Hsi 55-2053] elapsed time for repository (/home/ubuntu/petalinux/2021.2/tools/xsct/data/embeddedsw) loading 0 seconds zocl:false ext_platform: WARNING: ps7_ethernet_0: No reset found WARNING: ps7_i2c_0: No reset found WARNING: ps7_i2c_1: No reset found WARNING: ps7_usb_0: No reset found hsi::generate_target: Time (s): cpu = 00:00:06 ; elapsed = 00:00:07 . Memory (MB): peak = 2166.359 ; gain = 9.633 ; free physical = 3012 ; free virtual = 7441 INFO: [Hsi 55-2053] elapsed time for repository (/home/ubuntu/petalinux/2021.2/tools/xsct/data/embeddedsw) loading 0 seconds key "size" not known in dictionary while executing "dict get $kconfig_dict flash "part$part_no" "size"" (procedure "gen_part_table" line 8) invoked from within "gen_part_table $fid { }" (procedure "gen_spi_flash_node" line 71) invoked from within "gen_spi_flash_node $fid $machine_dtsi" ("eval" body line 1) invoked from within "eval "gen_${flash_type}_flash_node \$fid \$machine_dtsi"" (procedure "gen_dts_flash_node" line 10) invoked from within "gen_dts_flash_node $fid ${machine_dtsi}" (procedure "generate_system_dtsi" line 17) invoked from within "generate_system_dtsi ${out_dir}/system-conf.dtsi ${dtsifile}" invoked from within "if {[string equal -nocase $function "u-boot_bsp"]} { add_def_ip_list uboot_config_gen } elseif {[string equal -nocase $function "soc_mapping"]} { i..." (file "/home/ubuntu/petalinux/2021.2/etc/hsm/scripts/petalinux_hsm_bridge.tcl" line 282) WARNING: /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/run.do_configure.79363:194 exit 1 from 'eval xsct -sdx -nodisp ${script} -c /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/config -hdf /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree/device-tree/hardware_description.xsa -repo /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/git -data ${data} -sw /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree/device-tree -o /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree/device-tree -a "soc_mapping"' WARNING: Backtrace (BB generated script): #1: do_configure, /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/run.do_configure.79363, line 194 #2: main, /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/run.do_configure.79363, line 210 Backtrace (metadata-relative locations): #1: do_configure, /home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/meta-xilinx-tools/classes/xsctbase.bbclass, line 72 ERROR: Logfile of failure stored in: /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/log.do_configure.79363 Log data follows: | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['virtual:native:/home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyyaml_5.3.1.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/core/meta/recipes-kernel/dtc/dtc_1.6.0.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/core/meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/dtc/python3-dtc_1.6.0.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/core/meta/recipes-devtools/python/python3_3.8.5.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['python3-pyyaml-native', 'dtc-native', 'pseudo-native', 'quilt-native', 'python3-dtc-native', 'patch-native', 'python3-native', 'python3-cython-native', 'libyaml-native', 'python3-setuptools-native', 'flex-native', 'pkgconfig-native', 'swig-native', 'gnu-config-native', 'automake-native', 'autoconf-native', 'attr-native', 'libtool-native', 'bzip2-native', 'libtirpc-native', 'zlib-native', 'util-linux-native', 'xz-native', 'gdbm-native', 'libffi-native', 'openssl-native', 'sqlite3-native', 'ncurses-native', 'readline-native', 'libnsl2-native', 'unzip-native', 'gettext-minimal-native', 'texinfo-dummy-native', 'm4-native', 'libpcre-native', 'libcap-ng-native', 'libpcre2-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_configure | MISC_ARG is -hdf_type xsa -yamlconf /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/device-tree.yaml | APP_ARG is -app "device-tree" | Using xsct from: /home/ubuntu/petalinux/2021.2/tools/xsct//bin/xsct | cmd is: xsct -sdx -nodisp /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/dtgen.tcl -ws /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree -pname device-tree -rp /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/git -processor_ip ps7_cortexa9 -hdf /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/deploy/images/zynq-generic/Xilinx-zynq-generic.xsa -arch 32 -app "device-tree" -hdf_type xsa -yamlconf /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/device-tree.yaml | INFO: [Hsi 55-2053] elapsed time for repository (/home/ubuntu/petalinux/2021.2/tools/xsct/data/embeddedsw) loading 0 seconds | zocl:false | ext_platform: | WARNING: ps7_ethernet_0: No reset found | WARNING: ps7_i2c_0: No reset found | WARNING: ps7_i2c_1: No reset found | WARNING: ps7_usb_0: No reset found | hsi::generate_target: Time (s): cpu = 00:00:06 ; elapsed = 00:00:07 . Memory (MB): peak = 2166.359 ; gain = 9.633 ; free physical = 3012 ; free virtual = 7441 | INFO: [Hsi 55-2053] elapsed time for repository (/home/ubuntu/petalinux/2021.2/tools/xsct/data/embeddedsw) loading 0 seconds | key "size" not known in dictionary | while executing | "dict get $kconfig_dict flash "part$part_no" "size"" | (procedure "gen_part_table" line 8) | invoked from within | "gen_part_table $fid { }" | (procedure "gen_spi_flash_node" line 71) | invoked from within | "gen_spi_flash_node $fid $machine_dtsi" | ("eval" body line 1) | invoked from within | "eval "gen_${flash_type}_flash_node \$fid \$machine_dtsi"" | (procedure "gen_dts_flash_node" line 10) | invoked from within | "gen_dts_flash_node $fid ${machine_dtsi}" | (procedure "generate_system_dtsi" line 17) | invoked from within | "generate_system_dtsi ${out_dir}/system-conf.dtsi ${dtsifile}" | invoked from within | "if {[string equal -nocase $function "u-boot_bsp"]} { | add_def_ip_list | uboot_config_gen | } elseif {[string equal -nocase $function "soc_mapping"]} { | i..." | (file "/home/ubuntu/petalinux/2021.2/etc/hsm/scripts/petalinux_hsm_bridge.tcl" line 282) | WARNING: /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/run.do_configure.79363:194 exit 1 from 'eval xsct -sdx -nodisp ${script} -c /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/config -hdf /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree/device-tree/hardware_description.xsa -repo /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/git -data ${data} -sw /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree/device-tree -o /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree/device-tree -a "soc_mapping"' | WARNING: Backtrace (BB generated script): | #1: do_configure, /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/run.do_configure.79363, line 194 | #2: main, /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/run.do_configure.79363, line 210 | ERROR: Execution of '/home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/run.do_configure.79363' failed with exit code 1: | MISC_ARG is -hdf_type xsa -yamlconf /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/device-tree.yaml | APP_ARG is -app "device-tree" | Using xsct from: /home/ubuntu/petalinux/2021.2/tools/xsct//bin/xsct | cmd is: xsct -sdx -nodisp /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/dtgen.tcl -ws /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree -pname device-tree -rp /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/git -processor_ip ps7_cortexa9 -hdf /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/deploy/images/zynq-generic/Xilinx-zynq-generic.xsa -arch 32 -app "device-tree" -hdf_type xsa -yamlconf /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/device-tree.yaml | INFO: [Hsi 55-2053] elapsed time for repository (/home/ubuntu/petalinux/2021.2/tools/xsct/data/embeddedsw) loading 0 seconds | zocl:false | ext_platform: | WARNING: ps7_ethernet_0: No reset found | WARNING: ps7_i2c_0: No reset found | WARNING: ps7_i2c_1: No reset found | WARNING: ps7_usb_0: No reset found | hsi::generate_target: Time (s): cpu = 00:00:06 ; elapsed = 00:00:07 . Memory (MB): peak = 2166.359 ; gain = 9.633 ; free physical = 3012 ; free virtual = 7441 | INFO: [Hsi 55-2053] elapsed time for repository (/home/ubuntu/petalinux/2021.2/tools/xsct/data/embeddedsw) loading 0 seconds | key "size" not known in dictionary | while executing | "dict get $kconfig_dict flash "part$part_no" "size"" | (procedure "gen_part_table" line 8) | invoked from within | "gen_part_table $fid { }" | (procedure "gen_spi_flash_node" line 71) | invoked from within | "gen_spi_flash_node $fid $machine_dtsi" | ("eval" body line 1) | invoked from within | "eval "gen_${flash_type}_flash_node \$fid \$machine_dtsi"" | (procedure "gen_dts_flash_node" line 10) | invoked from within | "gen_dts_flash_node $fid ${machine_dtsi}" | (procedure "generate_system_dtsi" line 17) | invoked from within | "generate_system_dtsi ${out_dir}/system-conf.dtsi ${dtsifile}" | invoked from within | "if {[string equal -nocase $function "u-boot_bsp"]} { | add_def_ip_list | uboot_config_gen | } elseif {[string equal -nocase $function "soc_mapping"]} { | i..." | (file "/home/ubuntu/petalinux/2021.2/etc/hsm/scripts/petalinux_hsm_bridge.tcl" line 282) | WARNING: /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/run.do_configure.79363:194 exit 1 from 'eval xsct -sdx -nodisp ${script} -c /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/config -hdf /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree/device-tree/hardware_description.xsa -repo /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/git -data ${data} -sw /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree/device-tree -o /home/ubuntu/petalinux/2021.2/te0720-1cfa/project-spec/configs/../../components/plnx_workspace/device-tree/device-tree -a "soc_mapping"' | WARNING: Backtrace (BB generated script): | #1: do_configure, /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/run.do_configure.79363, line 194 | #2: main, /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2021.2+gitAUTOINC+c0acd8f064-r0/temp/run.do_configure.79363, line 210 | | Backtrace (metadata-relative locations): | #1: do_configure, /home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/meta-xilinx-tools/classes/xsctbase.bbclass, line 72 ERROR: Task (/home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 3399 tasks of which 3321 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/ubuntu/petalinux/2021.2/te0720-1cfa/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_configure Summary: There was 1 WARNING message shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. ERROR: Failed to build project. Check the /home/ubuntu/petalinux/2021.2/te0720-1cfa/build/build.log file for more details... ubuntu@ubuntu:~/petalinux/2021.2/te0720-1cfa$