cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
akash.o
Visitor
Visitor
202 Views
Registered: ‎05-13-2016

Petalinux-build error in 2017.2

Hi,

I'm working on zynq boards (zc702). I'm new to petalinux environment, and building petalinux project for a tested baremetal SDK project on 2017.2.
I'm getting following error after following steps from UG1144. Please help in solving this issue.

$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Parsing recipes: 100% |##########################################| Time: 0:03:47
Parsing of 2446 .bb files complete (0 cached, 2446 parsed). 3236 targets, 224 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#######################################| Time: 0:00:50
Checking sstate mirror object availability: 100% |###############| Time: 0:00:23
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
fsbl-2017.2+gitAUTOINC+122565ec40-r0 do_compile: NOTE: fsbl: compiling from external source tree /home/akasho-ubuntu/SOFTWARES/pkg/petalinux/2017.2/tools/hsm/data/embeddedsw
ERROR: device-tree-generation-xilinx+gitAUTOINC+43551819a1-r0 do_configure: Function failed: do_configure (log file is located at /home/akasho-ubuntu/SOFTWARES/2021/PETALINUX/proj1_twstft_core1/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+43551819a1-r0/temp/log.do_configure.23644)
ERROR: Logfile of failure stored in: /home/akasho-ubuntu/SOFTWARES/2021/PETALINUX/proj1_twstft_core1/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+43551819a1-r0/temp/log.do_configure.23644
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| MISC_ARG is -yamlconf /home/akasho-ubuntu/SOFTWARES/2021/PETALINUX/proj1_twstft_core1/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+43551819a1-r0/device-tree-generation.yaml
| APP_ARG is -app "device-tree"
| cmd is: xsct /home/akasho-ubuntu/SOFTWARES/2021/PETALINUX/proj1_twstft_core1/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+43551819a1-r0/dtgen.tcl -ws /home/akasho-ubuntu/SOFTWARES/2021/PETALINUX/proj1_twstft_core1/build/../components/plnx_workspace -pname device-tree-generation -rp /home/akasho-ubuntu/SOFTWARES/2021/PETALINUX/proj1_twstft_core1/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+43551819a1-r0/git -processor ps7_cortexa9_0 -hdf /home/akasho-ubuntu/SOFTWARES/2021/PETALINUX/proj1_twstft_core1/build/tmp/deploy/images/plnx_arm/Xilinx-plnx_arm.hdf -arch 32 -app "device-tree" -yamlconf /home/akasho-ubuntu/SOFTWARES/2021/PETALINUX/proj1_twstft_core1/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+43551819a1-r0/device-tree-generation.yaml
| INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
| hsi::set_repo_path: Time (s): cpu = 00:00:00.06 ; elapsed = 00:00:05 . Memory (MB): peak = 468.453 ; gain = 0.207 ; free physical = 390 ; free virtual = 18537
| WARNING: Interrupt pin "ip2intc_irpt" of IP block: "axi_quad_spi_0" is not connected to any interrupt controller
|
| WARNING: Interrupt pin "ip2intc_irpt" of IP block: "axi_quad_spi_1" is not connected to any interrupt controller
|
| WARNING: Interrupt pin "ip2intc_irpt" of IP block: "axi_quad_spi_2" is not connected to any interrupt controller
|
| ERROR: [Common 17-55] 'get_property' expects at least one object.
| Resolution: If [get_<value>] was used to populate the object, check to make sure this command returns at least one valid object.
| ERROR: [Hsi 55-1545] Problem running tcl command ::sw_device_tree::generate : ERROR: [Common 17-55] 'get_property' expects at least one object.
| Resolution: If [get_<value>] was used to populate the object, check to make sure this command returns at least one valid object.
|
| while executing
| "common::get_property IP_NAME $sink_periph"
| ("foreach" body line
| invoked from within
| "foreach intr_sink ${intr_sink_pins} {
| set sink_periph [::hsi::get_cells -of_objects $intr_sink]
| if { [llength $sink_periph ] && [::hsi::utils::is_..."
| (procedure "get_intr_cntrl_name" line 38)
| invoked from within
| "get_intr_cntrl_name $drv_handle $pin"
| ("foreach" body line 2)
| invoked from within
| "foreach pin ${intr_port_name} {
| set connected_intc [get_intr_cntrl_name $drv_handle $pin]
| if {[llength $connected_intc] == 0 } {
| dtg_warning "I..."
| (procedure "gen_interrupt_property" line 18)
| invoked from within
| "gen_interrupt_property $drv_handle"
| ("foreach" body line 7)
| invoked from within
| "foreach drv_handle [get_drivers] {
| # generate the default properties
| gen_peripheral_nodes $drv_handle "create_node_only"
| gen_r..."
| (procedure "::sw_device_tree::generate" line 3)
| invoked from within
| "::sw_device_tree::generate device_tree"
| ERROR: [Hsi 55-1442] Error(s) while running TCL procedure generate()
| generate_target failed
| while executing
| "error "generate_target failed""
| invoked from within
| "if {[catch {hsi generate_target -dir $project} res]} {
| error "generate_target failed"
| }"
| (file "/home/akasho-ubuntu/SOFTWARES/2021/PETALINUX/proj1_twstft_core1/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+..." line 33)
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/akasho-ubuntu/SOFTWARES/2021/PETALINUX/proj1_twstft_core1/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+43551819a1-r0/temp/log.do_configure.23644)
ERROR: Task (/home/akasho-ubuntu/SOFTWARES/pkg/petalinux/2017.2/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2329 tasks of which 1865 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/akasho-ubuntu/SOFTWARES/pkg/petalinux/2017.2/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
ERROR: Failed to build project


*******************************************************************************************************************************************

Also my requirement is to run one core with linux platform and other core with baremetal platform. Is there any way that I can test working linux platform with baremetal using openAMP bypassing petalinux?

0 Kudos
0 Replies