Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Build Error for bsp-xilinx-zynq7000-zc702_br-660_be-660 using SDP7.0.0: (2 Items)
   
Build Error for bsp-xilinx-zynq7000-zc702_br-660_be-660 using SDP7.0.0  
Hi 

I installed SDP7.0, and downloaded the Xilinx ZC702 BSP from Foundry27. Imported it into SDP7.0, encountered some build 
errors while building (see attached file).

The first build error I encountered is as follows: 

C:/qnx700/host/win64/x86_64/usr/bin/qcc -Vgcc_ntoarmv7 -c -Os -Wc,-Wall -DNDEBUG   -I. -ID:/home/kianjoo/documents/QNX/
bsp-xilinx-zynq7000-zc702_br-660_be-660/src/lib/gpio/arm/a.le.v7 -ID:/home/kianjoo/documents/QNX/bsp-xilinx-zynq7000-
zc702_br-660_be-660/src/lib/gpio/arm -ID:/home/kianjoo/documents/QNX/bsp-xilinx-zynq7000-zc702_br-660_be-660/src/lib/
gpio -ID:/home/kianjoo/documents/QNX/bsp-xilinx-zynq7000-zc702_br-660_be-660/src/lib/gpio/public -ID:/home/kianjoo/
documents/QNX/bsp-xilinx-zynq7000-zc702_br-660_be-660/src/lib/gpio/../../../install/usr/include -IC:/qnx700/target/qnx7/
usr/include       -EL           -DVARIANT_a -DVARIANT_le -DVARIANT_v7 -DBUILDENV_qss  D:/home/kianjoo/documents/QNX/bsp-
xilinx-zynq7000-zc702_br-660_be-660/src/lib/gpio/main.c 
In file included from d:\home\kianjoo\documents\qnx\bsp-xilinx-zynq7000-zc702_br-660_be-660\install\usr\include\sys\
platform.h:380:0,
                 from C:/qnx700/target/qnx7/usr/include/errno.h:23,
                 from D:/home/kianjoo/documents/QNX/bsp-xilinx-zynq7000-zc702_br-660_be-660/src/lib/gpio/main.c:23:
C:/qnx700/target/qnx7/usr/include/sys/target_nto.h:179:2: error: unknown type name '_Uintptr32t'
  _Uintptr32t _iov_base; \
  ^
C:/qnx700/target/qnx7/usr/include/sys/target_nto.h:184:2: error: unknown type name '_Uintptr64t'
  _Uintptr64t _iov_base; \
  ^

Is there a problem with Uintptr32/64t type? I do see them in the stdint.h. Not sure what __EXT_QNX means.
Attachment: Text build_errors.txt 72.19 KB
Re: Build Error for bsp-xilinx-zynq7000-zc702_br-660_be-660 using SDP7.0.0  
This BSP is for QNX 6.6 and is not compatible to QNX 7. It needs to be ported over to QNX 7 first. The greatest issue 
here will probably be the startup program. Once QNX7 is running and you have a serial console, I guess porting the 
actual drivers, services and resource managers is relatively easy.

I would start with a popular QNX 7 BSP for an ARMv7 based target - i.MX6 Sabresmart for instance, because this gives you
 the new libstartup.a for QNX 7 and a workign example of a startup program and a boot image build script.
Maybe looking into the QNX7 BSP for the Zynq ULtrascale+ platform may also prove helpful since some peripherals may be 
similar or identical.

There are also some migration guidelines from QSS available: http://www.qnx.com/developers/docs/7.0.0/#com.qnx.doc.
qnxsdp.migration/topic/bsps.html. 

Regards,
Al