element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MicroZed Hardware Design Petalinux 2020.1 build for MicroZed
  • Forums
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Avnet Boards Forums requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 0 replies
  • Subscribers 40 subscribers
  • Views 290 views
  • Users 0 members are here
Related

Petalinux 2020.1 build for MicroZed

ldeevans
ldeevans over 1 year ago

Hi,

I'm still trying to build an image for the microzed 7010:

I followed instructions from here: Using Avnet Build Scripts to Build a PetaLinux BSP (2019.2 and earlier) , thank you narrucmot for the info. as well as UG1144.

The steps I think I need to do are:

 

To Build the 2020.1 BSP:

cd ~

mkdir -p git/avnet

cd git/avnet

git clone git://github.com/avnet/bdf.git -b master

git clone git://github.com/avnet/hdl.git -b 2020.1

git clone git://github.com/avnet/petalinux.git -b 2020.1

 

cd /home/stanley/git/avnet/petalinux/scripts

source /tools/Xilinx/Vivado/2020.1/settings64.sh

source ~/petalinux/settings.sh

vi /tools/Xilinx/Vivado/2020.1/bin/vivado # add "ulimit -s 16384"

./make_mz7010_fmccc.sh

 

Build a new project from the BSP:

cd ~/projects/petalinux

petalinux-create -t project -s ~/git/avnet/petalinux/projects/mz7010_fmccc_2020_1.bsp

cd mz7010_fmccc_2020_1/

petalinux-config --get-hw-description=~/git/avnet/hdl/Projects/mz_petalinux/MZ7010_FMCCC_2020_1 # for MZ7010_FMCCC.xsa

petalinux-config -c rootfs

petalinux-config -c kernel

petalinux-build

 

I eventually get the following error:

INFO: sourcing build tools

[INFO] building petalinux-image-minimal

[INFO] sourcing build environment

[INFO] generating user layers

[INFO] generating workspace directory

INFO: bitbake petalinux-image-minimal

Loading cache: 100% |################################################################################################################################| Time: 0:00:01

Loaded 4259 entries from dependency cache.

Parsing recipes: 100% |##############################################################################################################################| Time: 0:02:03

Parsing of 2992 .bb files complete (2990 cached, 2 parsed). 4261 targets, 198 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

Initialising tasks: 100% |###########################################################################################################################| Time: 0:00:02

Checking sstate mirror object availability: 100% |###################################################################################################| Time: 0:00:10

Sstate summary: Wanted 125 Found 16 Missed 109 Current 880 (12% match, 89% complete)

NOTE: Executing Tasks

NOTE: Setscene tasks completed

ERROR: petalinux-image-minimal-1.0-r0 do_image_wic: No kickstart files from WKS_FILES were found: petalinux-image-minimal.mz7010-fmccc.wks petalinux-image-minimal.wks. Please set WKS_FILE or WKS_FILES appropriately.

ERROR: petalinux-image-minimal-1.0-r0 do_image_wic: Execution of '/home/stanley/projects/petalinux/mz7010_fmccc_2020_1/build/tmp/work/mz7010_fmccc-xilinx-linux-gnueabi/petalinux-image-minimal/1.0-r0/temp/run.do_image_wic.22626' failed with exit code 1:

WARNING: /home/stanley/projects/petalinux/mz7010_fmccc_2020_1/build/tmp/work/mz7010_fmccc-xilinx-linux-gnueabi/petalinux-image-minimal/1.0-r0/temp/run.do_image_wic.22626:1 exit 1 from 'exit 1'

ERROR: Logfile of failure stored in: /home/stanley/projects/petalinux/mz7010_fmccc_2020_1/build/tmp/work/mz7010_fmccc-xilinx-linux-gnueabi/petalinux-image-minimal/1.0-r0/temp/log.do_image_wic.22626

ERROR: Task (/home/stanley/projects/petalinux/mz7010_fmccc_2020_1/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_wic) failed with exit code '1'

NOTE: Tasks Summary: Attempted 3653 tasks of which 3652 didn't need to be rerun and 1 failed.

Summary: 1 task failed:

  /home/stanley/projects/petalinux/mz7010_fmccc_2020_1/components/yocto/layers/meta-petalinux/recipes-core/images/petalinux-image-minimal.bb:do_image_wic

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

ERROR: Failed to build petalinux-image-minimal

 

There are .wic files available such as avnet-image-minimal-mz7010-fmccc.wic and rootfs.wic, do I need to generate this ?

 

Also, it is not clear to me if building petalinux-image-minimal will include any apps created with:

petalinux-create -t apps --template c --name myapp --enable ?

 

Building avnet-image-minimal does build OK, but does not include myapp, am I on the right path please?

 

Kind Regards, Dave.

  • Reply
  • Cancel
  • Cancel
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube