Sorry, you need to enable JavaScript to visit this website.

petalinux

Unsolved
3 posts / 0 new
yangtuzi's picture
yangtuzi
Junior(0)
petalinux

I want to make image by petalinux.
I do step fallow ug1144
1.source /home/petalinux/settings.sh
2.echo $PETALINUX
3.petalinux-create --type project --template zynq --name test
4.petalinux-config --get-hw-description=/home/design_1_wrapper_hw_platform_0
5.petalinux-build
then ERROR appears:
ERROR:OE-core's config sanity checker detected a potential misconfiguration.Either fix the cause of this error or at your own risk disable the checker(see sanity.conf).Following is the list of potential problems/advisories:
Do not use Bitbake as root.
How can I solve this error?

zedhed's picture
zedhed
Moderator(22)
Hi yangtuzi,

Hi yangtuzi,

Are you running petalinux-build as root?

PetaLinux requires installation by a non-root user and Xilinx recommends installing 2017.1 into a the users home folder.

To be consistent with older approaches we have taken with PetaLinux, we have an updated "VirtualBox and Linux VM Installation Guide v2017.1" on this page which can help you setup the PetaLinux tools on your machine:

http://microzed.org/support/design/18891/146

Best Regards,

-Kevin

yangtuzi's picture
yangtuzi
Junior(0)
thankyou

I install petalinux by non-root user and installing petalinux 2017.2 into a /home/xxxx0(we OS is redhat6.7,and many user folder in /home)
when:
petalinux-config --get-hw-description=/home/xxxx0/xxx_platform_0/
then error appears:
[INFO] sourceing bitbake
ERROR:Failed to source bitbake
ERROR:Failed to config project
ERROR:Get hw description Failed!