• 0
tschesnok

Building PetaLinux for ArtyZ7 BSP Version Missmatch??

Question

Total noob here trying to get Petalinux to build.. I followed all the steps.. got it all installed.. but get a warning of a version mismatch between the SDK tool and the BSP file (I think)

Surly I can't be expected to install an old tool chain to use the Digilent BSP file. What are my next steps here? Can I build a new BSP? how?

Is this even the issue? Here is the screen dump:

[email protected]:~/PetaLinux$ petalinux-create -t project -n Testz7 -s ./Petalinux-Arty-Z7-20-2017.4-1.bsp
INFO: Create project: Testz7
INFO: New project successfully created in /home/andrew/PetaLinux/Testz7
[email protected]:~/PetaLinux$ cd Testz7
[email protected]:~/PetaLinux/Testz7$ ls
components  config.project  pre-built  project-spec
[email protected]:~/PetaLinux/Testz7$ petalinux-build
WARNING: Your PetaLinux project was last modified by PetaLinux SDK version "2017.4",
WARNING: however, you are using PetaLinux SDK version "2019.1".
Please input "y" to continue. Otherwise it will exit![n]y
[INFO] building project
[INFO] generating Kconfig for project
[INFO] silentconfig project
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
[INFO] generating machine configuration
environment: line 1557: [: ==: unary operator expected
environment: line 1589: [: ==: unary operator expected
[INFO] generating bbappends for project . This may take time !
environment: line 1382: [: ==: unary operator expected
environment: line 1384: [: ==: unary operator expected
environment: line 1386: [: ==: unary operator expected
ERROR: Unable to start bitbake server
ERROR: Server log for this session (/home/andrew/PetaLinux/Testz7/build/bitbake-cookerdaemon.log):
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: Unable to start bitbake server
ERROR: Server log for this session (/home/andrew/PetaLinux/Testz7/build/bitbake-cookerdaemon.log):
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: Unable to start bitbake server
ERROR: Server log for this session (/home/andrew/PetaLinux/Testz7/build/bitbake-cookerdaemon.log):
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: Unable to start bitbake server
ERROR: Server log for this session (/home/andrew/PetaLinux/Testz7/build/bitbake-cookerdaemon.log):
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: Unable to start bitbake server
ERROR: Server log for this session (/home/andrew/PetaLinux/Testz7/build/bitbake-cookerdaemon.log):
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: Unable to start bitbake server
ERROR: Server log for this session (/home/andrew/PetaLinux/Testz7/build/bitbake-cookerdaemon.log):
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
ERROR: ParseError at /home/andrew/PetaLinux/Testz7/project-spec/meta-plnx-generated/conf/machine/plnx-zynq7.conf:1: Could not include required file conf/machine/include/tune-.inc
[INFO] generating u-boot configuration files
[INFO] generating kernel configuration files
[INFO] generating user layers
ERROR: Failed to add user layer: /home/andrew/PetaLinux/Testz7/project-spec/meta-user
ERROR: Failed to build project

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

BSP files can only be built with the specified version. New versions are not compatible with previous versions and require a complex upgrade process.

Share this post


Link to post
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