Hi all,
Currently trying to get to grips with the MiniZed. Trying to get my head around how PetaLinux and Vivado are used in order to work towards bespoke utilization of the Zynq7000S.
At the moment I am trying to create build a new PetaLinux system image, after having modified the Kernel configuration to include additional drivers I need for my application. I have used the following process so far, executed in the order described below..
Downloaded the BSP..
'Creating a PetaLinux 2017.2 BSP used for Booting from QSPI and eMMC'
Sucessfully created a new PetaLinux project using the .bsp file included.
Used 'petalinux-config --get-hw-description' to reference the HDF file included in the aformentioned BSP package download.
Used 'petalinux-config -c kernel' to add additional drivers required for my project.
Used 'petalinux-build' to build a new system image.
As far as I know, I am executing the steps above in the correct order. However, during the petalinux-build I am getting errors.
The log containing the first error reads as follows..
EBUG: Executing python function sysroot_cleansstate
DEBUG: Python function sysroot_cleansstate finished
DEBUG: Executing shell function do_configure
MISC_ARG is -yamlconf /home/chrisp/TestProj/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/device-tree-generation.yaml
APP_ARG is -app "device-tree"
cmd is: xsct /home/chrisp/TestProj/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/dtgen.tcl -ws /home/chrisp/TestProj/build/../components/plnx_workspace/device-tree -pname device-tree-generation -rp /home/chrisp/TestProj/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/git -processor ps7_cortexa9_0 -hdf /home/chrisp/TestProj/deploy/images/plnx_arm/Xilinx-plnx_arm.hdf -arch 32 -app "device-tree" -yamlconf /home/chrisp/TestProj/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/device-tree-generation.yaml
CRITICAL WARNING: [Board 49-71] The board_part definition was not found for em.avnet.com:minized:part0:1.2. The project's board_part property was not set, but the project's part property was set to xc7z007sclg225-1. Valid board_part values can be retrieved with the 'get_board_parts' Tcl command. Check if board.repoPaths parameter is set and the board_part is installed from the tcl app store.
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
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::post_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
"get_property IP_NAME [get_cells -hier $proc_name]"
(procedure "update_cpu_node" line 23)
invoked from within
"update_cpu_node $os_handle"
(procedure "::sw_device_tree::post_generate" line 4)
invoked from within
"::sw_device_tree::post_generate device_tree"
ERROR: [Hsi 55-1443] Error(s) while running TCL procedure post_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/chrisp/TestProj/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/dtgen.tcl" line 33)
WARNING: /home/chrisp/TestProj/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/run.do_configure.25053:1 exit 1 from 'eval xsct /home/chrisp/TestProj/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/dtgen.tcl -ws /home/chrisp/TestProj/build/../components/plnx_workspace/device-tree -pname device-tree-generation -rp /home/chrisp/TestProj/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/git -processor ps7_cortexa9_0 -hdf /home/chrisp/TestProj/deploy/images/plnx_arm/Xilinx-plnx_arm.hdf -arch 32 ${APP_ARG} ${MISC_ARG}'
ERROR: Function failed: do_configure (log file is located at /home/chrisp/TestProj/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_configure.25053)
Although I am working toward a solution, I am currently unable to resolve this issue. Any help would be greatly appriciated.
Cheers,
Chris.