UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer ananya.muddu
Observer
8,414 Views
Registered: ‎05-27-2016

Petalinux 2016.4 config cannot source bitbake

Hi,

 

This is regarding Petalinux 2016.4.

I am unable to successfully run petalinux-config due to a bitbake error.

 

 

$ petalinux-create -t project -n emc2dp --template zynq
$ cd emc2dp
$ petalinux-config --get-hw-description=~/sdsoc-workspace/emc2dp/
INFO: Getting hardware description...
[INFO] generating Kconfig for project
[INFO] menuconfig project
/home/ananya/2016.3/emc2dp/petalinux/emc2dp/build/misc/config/Kconfig.syshw:30:warning: defaults for choice values not supported
/home/ananya/2016.3/emc2dp/petalinux/emc2dp/build/misc/config/Kconfig:546:warning: config symbol defined without type


*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

[INFO] sourcing bitbake
ERROR: Failed to source bitbake
ERROR: Failed to config project.
ERROR: Get hw description Failed!.

$

 

Any idea what is happening? Am I missing bitbake? Bitbake is not listed as a dependency while installing Petalinux.

 

Best regards,

Ananya

0 Kudos
6 Replies
Observer ananya.muddu
Observer
8,398 Views
Registered: ‎05-27-2016

Re: Petalinux 2016.4 config cannot source bitbake [SOLVED]

Hi,

 

I solved the problem. The environment setup file for yocto "components/yocto/source/aarch64/environment-setup-aarch64-xilinx-linux" uses absolute paths. These were no longer valid because I moved all installed files to a new directory.

 

Best regards,

Ananya

0 Kudos
Visitor michaeltombs
Visitor
8,317 Views
Registered: ‎01-04-2017

Re: Petalinux 2016.4 config cannot source bitbake [SOLVED]

You should use a better name of folder for the 2016.4 project!

 

these 2 warnings seem to be a bug in petalinux 2016.4, I have also seen them

 

/home/ananya/2016.3/emc2dp/petalinux/emc2dp/build/misc/config/Kconfig.syshw:30:warning: defaults for choice values not supported /home/ananya/2016.3/emc2dp/petalinux/emc2dp/build/misc/config/Kconfig:546:warning: config symbol defined without type

0 Kudos
Moderator
Moderator
8,265 Views
Registered: ‎04-17-2011

Re: Petalinux 2016.4 config cannot source bitbake [SOLVED]

The steps are already provided in the Petalinux User Guide:
https://www.xilinx.com/support/documentation/sw_manuals/xilinx2016_4/ug1144-petalinux-tools-reference-guide.pdf

Chapter-2, page -81
Regards,
Debraj
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Newbie dhirooka
Newbie
8,217 Views
Registered: ‎01-16-2017

Re: Petalinux 2016.4 config cannot source bitbake [SOLVED]

How to set up Yoct e-SDK for Ubuntu16.04?
0 Kudos
Contributor
Contributor
4,442 Views
Registered: ‎10-31-2017

Re: Petalinux 2016.4 config cannot source bitbake [SOLVED]

when I run petalinux 2017.1,I also met this problem,and I can't solve this problem,could you tell me what should I do.

0 Kudos
Highlighted
Adventurer
Adventurer
2,632 Views
Registered: ‎12-16-2013

Re: Petalinux 2016.4 config cannot source bitbake [SOLVED]

I solved the problem with switching from python 3 to python 2.