cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
198 Views
Registered: ‎04-24-2013

LFAR: Porting the ResNet-50 CNN application to a ZedBoard (AR# 73058): cross-building environment for the resent50 example

Hi,

I'm following the procedure described here https://www.xilinx.com/support/answers/73058.html for Vivado/Petalinux 2019.2.

I manage to complete all the steps until the generation of the SDK.

I can't cross-build the application, however. It seems that the environment is not set up for cross-building properly although I run

. $TRD_HOME/apu/apps/sdk/environment-setup-cortexa9t2hf-neon-xilinx-linux-gnueabi

to initialize it.

For example, I tried to hack the Makefile in order to invoke the cross-compiler instead of the native compile:

-CXX := g++
+CXX := $(CROSS_COMPILE)g++

Any help would be really appreciated.

0 Kudos
1 Reply
Highlighted
Visitor
Visitor
158 Views
Registered: ‎04-24-2013

IIUC, the resnet50 example is retrieved from DNNDK. The usage of this example is explained in UG1327. This document says clearly that this example is supposed to be built on the target (ZedBoard in this case)  natively. So I don't get how it can be cross-built with the petalinux-generated SDK.

0 Kudos