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

LFAR: Porting the ResNet-50 CNN application to a ZedBoard (AR# 73058): can't generate petalinux SDK

Jump to solution

Hi,

I'm trying to follow the procedure described here https://www.xilinx.com/Attachment/73058_Porting_a_ResNet-50_CNN_application_to_a_ZedBoard_2019_1.pdf on a Ubuntu 18.04 host (the PDF file is linked by this page https://www.xilinx.com/support/answers/73058.html).

The generation of the SDK does not work:

$ cd $TRD_HOME/apu/resnet50_zedboard_bsp/$PET_PROJ/
$ petalinux-build -s

...

| config.status: executing depfiles commands
| config.status: executing libtool commands
| config.status: executing default-1 commands
| config.status: executing bfd_stdint.h commands
| config.status: executing default commands
| make[1]: Leaving directory '/home/sysadmin/devel/xilinx/dnndk/prj/Resnet50_ZedBoard_2019.1/Resnet50_ZedBoard/apu/resnet50_zedboard_bsp/resnet50_zedboard/build/tmp/work/x86_64-linux/binutils-crosssdk-x86_64-petalinux-linux/2.31-r0/git/build.x86_64-linux.x86_64-petalinux-linux'
| make: *** [Makefile:850: all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/sysadmin/devel/xilinx/dnndk/prj/Resnet50_ZedBoard_2019.1/Resnet50_ZedBoard/apu/resnet50_zedboard_bsp/resnet50_zedboard/build/tmp/work/x86_64-linux/binutils-crosssdk-x86_64-petalinux-linux/2.31-r0/temp/run.do_compile.32119:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/sysadmin/devel/xilinx/dnndk/prj/Resnet50_ZedBoard_2019.1/Resnet50_ZedBoard/apu/resnet50_zedboard_bsp/resnet50_zedboard/build/tmp/work/x86_64-linux/binutils-crosssdk-x86_64-petalinux-linux/2.31-r0/temp/log.do_compile.32119)
ERROR: Task (/xilinx/petalinux/2019.1/components/yocto/source/arm/layers/core/meta/recipes-devtools/binutils/binutils-crosssdk_2.31.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1958 tasks of which 1826 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/xilinx/petalinux/2019.1/components/yocto/source/arm/layers/core/meta/recipes-devtools/binutils/binutils-crosssdk_2.31.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project

 

The 

resnet50_zedboard_bsp/resnet50_zedboard/build/tmp/work/x86_64-linux/binutils-crosssdk-x86_64-petalinux-linux/2.31-r0/git/build.x86_64-linux.x86_64-petalinux-linux/ld/config.log

reports some errors. Please see attached file for more details.

Any help would be appreciated.

Thanks in advance.

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Visitor
Visitor
156 Views
Registered: ‎04-24-2013

The problem was due to a faulty hard disk

After replacing it, I could complete the generation of the SDK.

View solution in original post

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

The problem was due to a faulty hard disk

After replacing it, I could complete the generation of the SDK.

View solution in original post

0 Kudos