osrf / ovc

the Open Vision Computer
Apache License 2.0
198 stars 42 forks source link

[OVC5] Upgrade to Vivado 2021.1 #74

Closed gbalke closed 2 years ago

gbalke commented 3 years ago

This PR updates OVC5's Vivado project to the 2021.1 release. It's been tested on current RevA hardware with 3 different cameras to verify the behavior is consistent with Vivado 2020.2

Signed-off-by: Greg Balke greg@openrobotics.org

gbalke commented 3 years ago

Also tested on a fresh clone to make sure I wasn't missing any artifacts.

luca-della-vedova commented 3 years ago

I tried the PR with Vivado and Petalinux 2021.1 but it seems the project was not upgraded in Petalinux, are you using Vivado 2021.1 and Petalinux 2020.2?

When trying to build with both tools at the newest version I got this error:

luca@luca-focal:~/ovc/ovc5/scripts$ bash install_sd.sh sdb
Found device "/dev/sdb" at /dev/disk/by-id/usb-Generic-_SD_MMC_20120501030900000-0:0

Using Petalinux to build the sd-card boot image.

Building eMMC boot image
WARNING: Your PetaLinux project was last modified by PetaLinux SDK version "2020.2",
WARNING: however, you are using PetaLinux SDK version "2021.1".
Please input "y" to continue. Otherwise it will exit![n]y
[INFO] Sourcing buildtools
INFO: Getting hardware description...
[INFO] Generating Kconfig for project
ERROR: [Hsi 55-2023] No IPI block design hardware handoff files present in the hardware definition file /home/luca/ovc/ovc5/firmware/petalinux/project-spec/hw-description/system.xsa
ERROR: [hsmtasks-55-1451]  
ERROR: Failed to generate /home/luca/ovc/ovc5/firmware/petalinux/build/misc/config/Kconfig.syshw
ERROR: Failed to Kconfig project
ERROR: Failed to generate System hardware Kconfig file.

I think generally it is not recommended to have mismatching tool versions

gbalke commented 3 years ago

Oh I didn't realize I needed to update petalinux as well. I'll take care of that today!

gbalke commented 2 years ago

Closing this as 2021.2 just came out and so we might as well update to that instead (as this is nowhere near done).