cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Observer
Observer
5,869 Views
Registered: ‎05-18-2015

PetaLinux build error

Jump to solution

I am running on a ZEd board and created petalinux-create -t project -s /opt/pkg/Avnet-Digilent-ZedBoard-v2015.2-final.bsp 

ten I cd to the directory

~/training/emblinux/labs/buildBootImage/Avnet-Digilent-ZedBoard-2015.2.

 

then I run petalinux-build and I get an error which does noet explain me the root cause.

Can you please help?

Here you find the logfile attached.

 

 

 ScreenHunter_50 Sep. 08 21.50.jpg

ScreenHunter_50 Sep. 08 21.50.jpg
0 Kudos
Reply
1 Solution

Accepted Solutions
Observer
Observer
10,775 Views
Registered: ‎05-18-2015

Dear All,

 

I ran patalinux-build -v and looked into the log file in the build subdirectory

 

This showed the root cuase of the problem.

 

Thanks for the hints.

The rootcause was that there was a # forgotten in front of a define statement in the tftp.c file in /opt/pkg/petalinux-v2015.2-final/components/u-boot/u-boot-plnx/net

 

Thanks again,

Best regards
Eddy

View solution in original post

0 Kudos
Reply
4 Replies
Teacher
Teacher
5,842 Views
Registered: ‎06-16-2013

Hi eddydw_priv

 

Did you make sure petelinux-config and your environment (tftp server setting and so on on your linux)?

 

Thank you.

Best regards,

 

Xilinx Employee
Xilinx Employee
5,835 Views
Registered: ‎08-01-2008
I would recommend you to check with Vivado 2016.2

Here are some links which can help you with similar post
https://forums.xilinx.com/t5/Embedded-Linux/petalinux-failed-to-build-linux-error-in-making-u-boot/td-p/670103
https://forums.xilinx.com/t5/Embedded-Linux/Petalinux-2014-2-build-error-u-boot/td-p/542299

https://forums.xilinx.com/t5/Embedded-Linux/Petalinux-fails-to-build-for-new-board-configuration/td-p/644918
http://www.xilinx.com/support/answers/63034.html
https://forums.xilinx.com/t5/Embedded-Linux/Error-when-building-u-boot-petalinux-build-command-in-PetaLinux/td-p/668739
Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
Observer
Observer
5,819 Views
Registered: ‎11-25-2015

Hi eddy,

 

Did you check your <petalinux_proj>/build/build.log file? It will give you the exact root cause of your error.

Thanks,

Naveen

Observer
Observer
10,776 Views
Registered: ‎05-18-2015

Dear All,

 

I ran patalinux-build -v and looked into the log file in the build subdirectory

 

This showed the root cuase of the problem.

 

Thanks for the hints.

The rootcause was that there was a # forgotten in front of a define statement in the tftp.c file in /opt/pkg/petalinux-v2015.2-final/components/u-boot/u-boot-plnx/net

 

Thanks again,

Best regards
Eddy

View solution in original post

0 Kudos
Reply