element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MiniZed Hardware Design Trouble building PetaLinux
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 7 replies
  • Subscribers 325 subscribers
  • Views 2308 views
  • Users 0 members are here
Related

Trouble building PetaLinux

chrisp_002
chrisp_002 over 7 years ago

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.

  • Sign in to reply
  • Cancel
Parents
  • drozwood90
    0 drozwood90 over 7 years ago

    Chris,

    There are WIKI entries on Xilinx's with that level of detail with their kits and the above linked Tutorial is a generate from scratch tutorial.  When scripting is provided in Avnet tutorials, it is there to allow a user to pick and choose the amount of detail they want to go through. 

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • chrisp_002
    0 chrisp_002 over 7 years ago in reply to drozwood90

    I'll give it all a look, and try going through that tutorial again. I think maybe I need to dig into the material a bit more by the sound of it.

     

    Cheers,

    Chris.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • chrisp_002
    0 chrisp_002 over 7 years ago in reply to drozwood90

    I'll give it all a look, and try going through that tutorial again. I think maybe I need to dig into the material a bit more by the sound of it.

     

    Cheers,

    Chris.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube