1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 <2016> 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Cross compiling EPICS Base for ARM processor- Xilinx ARM Petalinux- Antelope Error |
From: | "Madden, Timothy J." <[email protected]> |
To: | "[email protected]" <[email protected]> |
Date: | Thu, 31 Mar 2016 15:37:54 +0000 |
Folks
I am attempting to build EPICS into Xilinx Zynq FPGA. I am using petalinux tools (the xilinx distro of linux) to build in EPICS base. First I go through setting up the Xilinx petalinux compiler etc. All my tools work fine. Next I attempt to cross compile epics base using the Xilinx cross compiler. It works about half way then stops at antelope. I do this: setenv EPICS_HOST_ARCH linux-arm I edit configure/CONFIG_SITE and add the following lines: GNU_DIR = /localc/Xilinx/petalinux-v2015.2-final/tools/linux-i386/arm-xilinx-linux-gnueabi CMPLR_PREFIX = arm-xilinx-linux-gnueabi- (I tried putting this into the os/CONFIG.blah blah files, but no success.) I then run make in base.xx.xx.xx The build mostly works, running the correct compiler. . It stops at antelope/parse.c Error below. Any ideas how to get past antelope? Tim Madden /localc/Xilinx/petalinux-v2015.2-final/tools/linux-i386/arm-xilinx-linux-gnueabi/bin/arm-xilinx-linux-gnueabi-gcc -c -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDEFAULT_SKELETON_FILE=include/flex.skel.static -DUNIX -Dlinux -O3 -g -w -MMD -I. -I../O.Common -I. -I.. -I../../../../include/os/Linux -I../../../../include ../tblcmp.c rm -f parse.c y.tab.c rm -f parse.h y.tab.h ../../../../bin/linux-arm/antelope -l -d ../parse.y ../../../../bin/linux-arm/antelope: ../../../../bin/linux-arm/antelope: cannot execute binary file make[4]: *** [parse.c] Error 126 make[4]: Leaving directory `/localc/Xilinx/petalinux/faspaxGBArm/build/linux/rootfs/apps/epicsbase/base-3.14.12.5/src/toolsComm/flex/O.linux-arm' make[3]: *** [install.linux-arm] Error 2 make[3]: Leaving directory `/localc/Xilinx/petalinux/faspaxGBArm/build/linux/rootfs/apps/epicsbase/base-3.14.12.5/src/toolsComm/flex' make[2]: *** [flex.install] Error 2 make[2]: Leaving directory `/localc/Xilinx/petalinux/faspaxGBArm/build/linux/rootfs/apps/epicsbase/base-3.14.12.5/src/toolsComm' make[1]: *** [toolsComm.install] Error 2 make[1]: Leaving directory `/localc/Xilinx/petalinux/faspaxGBArm/build/linux/rootfs/apps/epicsbase/base-3.14.12.5/src' make: *** [src.install] Error 2 |