How to prevent Zynq license checkout
Whenever I use any PetaLinux tools, they always checkout a Zynq license feature even if I am doing MicroBlaze or PPC development. How can I prevent this?
By default, PetaLinux tools will attempt to checkout all possible architecture licenses (MicroBlaze, PPC and Zynq). In situations where customers have a mixture of Zynq and MicroBlaze license entitlements, this can result in a shortage of Zynq licenses even when some users are not using that feature.
Since PetaLinux 2012.12, FlexLM is used as the license validation mechanism. A side-effect of integrating FlexLM into PetaLinux is that specific PetaLinux tools cannot know which architecture is being targetted. A simple workaround is available to prevent unnecessary checkout of Zynq architecture licenses.
Set the environment variable PETALINUX_NO_ZYNQ to a non-empty value prior to commencing your PetaLinux development session. e.g.
$ export PETALINUX_NO_ZYNQ=Y $ source settings.sh ...
This will cause the PetaLinux tools to checkout only MicroBlaze and PowerPC license entitlements. Any subsequence PetaLinux operations which attempt to use Zynq will be prevented by the license management tools.