Jump to content
  • 0

can't build petalinux project


Teodora Grecu
 Share

Question

Hi! I am trying to create a petalinux project using microblaze on nexys4 DDR. I followed the tutorial in this link https://portfolium.org/entry/petalinux-for-microblaze . I used the board files for my board. Everything works fine, but I can't build the project. I get some errors that some files can't be found but I don't know why they are not generated because there is no warning or error when I create or configure the project. There are 49 of these errors when trying to build.  I use petalinux 2017.4, vivado 2017.4 on ubuntu 16.04. Anyone can help me to solve this problem ?

image.thumb.png.87322a94f2f498a03e5357652969be06.pngimage.thumb.png.a56e37e8f3313977dd7fcd43b6a27f50.pngimage.thumb.png.d037ea702578d349d70343f96b480904.png

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0
22 minutes ago, thinkthinkthink said:

Are you running petalinux on a virtual machine or natively ? Anyway, make sure you have 8 or more gigs of RAM available and also check the log files that are mentioned in the errors.

I am running it on a virtual machine, and I have 8 GB of RAM for the VM. In the log files  I only find some info logs and the errors colored in red that appear in terminal. It seems that petalinux-create doesn't create all the files the builder needs, but when running petalinux-create everything works fine.

Link to comment
Share on other sites

  • 0

Maybe it's a dumb answer but I've done the mistake once when trying to make zsh work resulting in the same kind of error. Is you default terminal bash ? Because even though you run bash when building petalinux, some script will be launched with the default terminal selected. 
To check this, run this command. 

echo "$SHELL"

If the result is not

/bin/bash

Then you know that you have to change it. If it's not the problem, double check the UG1144 page 9 to 10 to see if you have installed all the necessary libraries 

Link to comment
Share on other sites

  • 0
5 hours ago, RemyBlt said:

Maybe it's a dumb answer but I've done the mistake once when trying to make zsh work resulting in the same kind of error. Is you default terminal bash ? Because even though you run bash when building petalinux, some script will be launched with the default terminal selected. 
To check this, run this command. 


echo "$SHELL"

If the result is not


/bin/bash

Then you know that you have to change it. If it's not the problem, double check the UG1144 page 9 to 10 to see if you have installed all the necessary libraries 

I verified the shell, it's the right one. All dependencies are installed, but it doesn't work

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...