I tried to make the PataLinux project based on Digilent's file "Petalinux-Zybo-Z7-10-2017.4-1.bsp"
and own *.hdf.
I tried to implement the following command:
petalinux-create -t project -s <path to bsp>.bsp
cd <plnx proj>
petalinux-config --get-hw-description=<path to hdf>
petalinux-build
This command works about 1 hour and gives the error:
victor@victor-System-Product-Name:~/Zybo-Z7-10$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Loading cache: 100% |#############################################################################################| Time: 0:00:00
Loaded 3258 entries from dependency cache.
Parsing recipes: 100% |###########################################################################################| Time: 0:00:04
Parsing of 2473 .bb files complete (2430 cached, 43 parsed). 3266 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |########################################################################################| Time: 0:00:07
Checking sstate mirror object availability: 100% |################################################################| Time: 1:12:33
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: device-tree-generation-xilinx+gitAUTOINC+3c7407f6f8-r0 do_compile: Function failed: do_compile (log file is located at /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.10089)
ERROR: Logfile of failure stored in: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.10089
Log data follows:
| DEBUG: Executing shell function do_compile
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:76.1-14 Label or path axi_dynclk_0 not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:81.1-12 Label or path axi_vdma_1 not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:84.1-10 Label or path v_tc_out not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:90.1-9 Label or path v_tc_in not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:93.1-12 Label or path axi_vdma_0 not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:96.1-16 Label or path axi_gpio_video not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:99.1-9 Label or path pwm_rgb not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:138.1-15 Label or path axi_i2s_adi_0 not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:154.1-14 Label or path axi_gpio_led not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:159.1-17 Label or path axi_gpio_sw_btn not found
| FATAL ERROR: Syntax error parsing input tree
| WARNING: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/run.do_compile.10089:1 exit 1 from 'dtc -I dts -O dtb -R 8 -p 0x1000 -i /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0 -i /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation -o /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_arm-system.dtb /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_arm-system.pp'
| ERROR: Function failed: do_compile (log file is located at /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.10089)
ERROR: Task (/opt/pkg/petalinux/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2597 tasks of which 1888 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/opt/pkg/petalinux/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to build project
log - file below this letter.
Please help to avoid this error.
Thank you.
Best regards,
Victor.
==================================================================================================================
DEBUG: Executing shell function do_compile
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:76.1-14 Label or path axi_dynclk_0 not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:81.1-12 Label or path axi_vdma_1 not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:84.1-10 Label or path v_tc_out not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:90.1-9 Label or path v_tc_in not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:93.1-12 Label or path axi_vdma_0 not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:96.1-16 Label or path axi_gpio_video not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:99.1-9 Label or path pwm_rgb not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:138.1-15 Label or path axi_i2s_adi_0 not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:154.1-14 Label or path axi_gpio_led not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:159.1-17 Label or path axi_gpio_sw_btn not found
FATAL ERROR: Syntax error parsing input tree
WARNING: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/run.do_compile.10089:1 exit 1 from 'dtc -I dts -O dtb -R 8 -p 0x1000 -i /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0 -i /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation -o /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_arm-system.dtb /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_arm-system.pp'
ERROR: Function failed: do_compile (log file is located at /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.10089)
Question
Victor
Hello all
I tried to make the PataLinux project based on Digilent's file "Petalinux-Zybo-Z7-10-2017.4-1.bsp"
and own *.hdf.
I tried to implement the following command:
petalinux-create -t project -s <path to bsp>.bsp
cd <plnx proj>
petalinux-config --get-hw-description=<path to hdf>
petalinux-build
Concrete steps:
petalinux-create -t project -s /home/victor/Zybo-Z7-10__BSP/Petalinux-Zybo-Z7-10-2017.4-1.bsp
cd into /home/victor/Zybo-Z7-10
victor@victor-System-Product-Name:~/Zybo-Z7-10$ petalinux-build
This command works about 1 hour and gives the error:
victor@victor-System-Product-Name:~/Zybo-Z7-10$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Loading cache: 100% |#############################################################################################| Time: 0:00:00
Loaded 3258 entries from dependency cache.
Parsing recipes: 100% |###########################################################################################| Time: 0:00:04
Parsing of 2473 .bb files complete (2430 cached, 43 parsed). 3266 targets, 226 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |########################################################################################| Time: 0:00:07
Checking sstate mirror object availability: 100% |################################################################| Time: 1:12:33
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: device-tree-generation-xilinx+gitAUTOINC+3c7407f6f8-r0 do_compile: Function failed: do_compile (log file is located at /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.10089)
ERROR: Logfile of failure stored in: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.10089
Log data follows:
| DEBUG: Executing shell function do_compile
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:76.1-14 Label or path axi_dynclk_0 not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:81.1-12 Label or path axi_vdma_1 not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:84.1-10 Label or path v_tc_out not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:90.1-9 Label or path v_tc_in not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:93.1-12 Label or path axi_vdma_0 not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:96.1-16 Label or path axi_gpio_video not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:99.1-9 Label or path pwm_rgb not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:138.1-15 Label or path axi_i2s_adi_0 not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:154.1-14 Label or path axi_gpio_led not found
| Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:159.1-17 Label or path axi_gpio_sw_btn not found
| FATAL ERROR: Syntax error parsing input tree
| WARNING: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/run.do_compile.10089:1 exit 1 from 'dtc -I dts -O dtb -R 8 -p 0x1000 -i /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0 -i /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation -o /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_arm-system.dtb /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_arm-system.pp'
| ERROR: Function failed: do_compile (log file is located at /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.10089)
ERROR: Task (/opt/pkg/petalinux/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2597 tasks of which 1888 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/opt/pkg/petalinux/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to build project
log - file below this letter.
Please help to avoid this error.
Thank you.
Best regards,
Victor.
==================================================================================================================
DEBUG: Executing shell function do_compile
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:76.1-14 Label or path axi_dynclk_0 not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:81.1-12 Label or path axi_vdma_1 not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:84.1-10 Label or path v_tc_out not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:90.1-9 Label or path v_tc_in not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:93.1-12 Label or path axi_vdma_0 not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:96.1-16 Label or path axi_gpio_video not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:99.1-9 Label or path pwm_rgb not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:138.1-15 Label or path axi_i2s_adi_0 not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:154.1-14 Label or path axi_gpio_led not found
Error: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/system-user.dtsi:159.1-17 Label or path axi_gpio_sw_btn not found
FATAL ERROR: Syntax error parsing input tree
WARNING: /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/run.do_compile.10089:1 exit 1 from 'dtc -I dts -O dtb -R 8 -p 0x1000 -i /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0 -i /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation -o /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_arm-system.dtb /home/victor/Zybo-Z7-10/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_arm-system.pp'
ERROR: Function failed: do_compile (log file is located at /home/victor/Zybo-Z7-10/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.10089)
Link to comment
Share on other sites
15 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.