Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building u96v2 BSP for 2022.1: xilinx-board.inc not found #56

Open
TitechTraj opened this issue Aug 6, 2022 · 3 comments
Open

Building u96v2 BSP for 2022.1: xilinx-board.inc not found #56

TitechTraj opened this issue Aug 6, 2022 · 3 comments

Comments

@TitechTraj
Copy link

Hi,

I am trying to build the latest u96v2 platform for Vitis 2022.1 to run the latest Vitis-AI 2.5.
I cloned the repositories and started building the hardware, then when compiling petalinux, the project fails and in the log file I can read:
ERROR: ParseError at /home/<project path>/u96v2_sbc_base_2022_1/project-spec/meta-avnet/conf/machine/u96v2-sbc.conf:10: Could not include required file conf/machine/include/xilinx-board.inc

I looked around online and couldn't find where this "xilinx-board.inc" file is. Is it supposed to be included in the petalinux installation directory, or in the meta-avnet downloaded repository? Can it be ignored or how can I fix this dependency issue?

Thank you!

@TitechTraj
Copy link
Author

I think I didn't google enough before posting. The file is supposed to be in the meta-xilinx repository, however it seems to be removed in 2022.1 and replaced with xilinx-board-pre.inc and xilinx-board-post.inc which both are deprecated:
https://github.com/Xilinx/meta-xilinx/tree/xlnx-rel-v2022.1/meta-xilinx-core/conf/machine/include

I will try to compile with removing the line "required file conf/machine/include/xilinx-board.inc" from the u96v2-sbc.conf file and see if any other errors might raise.

@TitechTraj
Copy link
Author

The process runs now but there is a new error:
ERROR: ultra96-startup-pages-1.0+gitAUTOINC+e692f5493f-r0 do_package: Didn't find service unit 'ultra96-startup-page.service', specified in SYSTEMD_SERVICE:ultra96-startup-pages.
both when using avnet-image-minimal and avnet-image-full

I am not very familiar with petlinux, yocto or bitbake. By searching through the petalinux project, I could find the file in :
./components/yocto/layers/meta-petalinux/recipes-utils/ultra96-startup-pages/files/ultra96-startup-page.service
but the error says it can't find it. Should there be a directive to specify where to look for it?

Thank you

@pimartos
Copy link

Hi @TitechTraj
I was able to build the BSP using vanilla ubuntu 22.04, and vitis/vivado/petalinux 2022.1.
I just needed to remove openAMP examples (openamp-fw-echo-testd; openamp-fw-mat-muld and openamp-fw-rpc-demo) from meta-avnet/recipes-core/images
regards, Pedro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants