Experimental Physics and Industrial Control System
Hi Nate,
It looks like the pentalinux could be based on the Yocto project.
So, the generic procedure you can follow.
* Build the SDK (Chapter 11)
Try to understand environment-setup-aarch64-xilinx-linux in order
to extract EPICS building variables.
Two examples you can find may not be right these days, but it
could be good starting point for your environment.
https://github.com/icshwi/e3-base/blob/master/configure/os/CONFIG_SITE.Common.linux-corei7-poky
https://github.com/icshwi/e3-base/blob/master/configure/os/CONFIG_SITE.Common.linux-ppc64e6500
* Install your cross compiler
* set their path in CONFIG_SITE.XXX files. One example for
linux-corei7-poky. The cross compiler path is /opt/cct/2.6-4.14, so I
set the path in CONFIG_SITE.Common.linux-corei7-poky such as
CC_POKY_TOOLCHAIN_PATH = /opt/cct
CC_POKY_TOOLCHAIN_VER = 2.6-4.14
* put your CONFIG_SITE.Common.XXXX in EPICS_BASE/configure/os
* Set the following variable according to your arch in
EPICS_BASE/configure/CONFIG_SITE
CROSS_COMPILER_TARGET_ARCHS =
* Then "make"
In addition, you have to add your own arch into
src/tools/EpicsHostArch.pl if you would like to use it.
HTH,
Han
On Fri, May 22, 2020 at 12:31 PM Nate Rider via Tech-talk
<tech-talk at aps.anl.gov> wrote:
>
> Is there any precedent for getting EPICS 7 running on a Zynq with Petalinux 2019.2?
>
> It seems there was a significant shift in approach by Xilinx for this version of Petalinux. SDK no longer exists in it's previous likeness and the cross compiler is no longer included in the Petalinux tools. I am an EPICS newbie and this is my first attempt at cross compiling for the Zynq arm. Any pointers or advice is appreciated. I apologize if this message is redundant.
>
> Thanks,
>
> Nate Rider
> Cornell University
- References:
- EPICS 7 & Petalinux 2019.2 Nate Rider via Tech-talk
- Navigate by Date:
- Prev:
Reminder: Codeathon Survey Johnson, Andrew N. via Tech-talk
- Next:
Re: EPICS 7 & Petalinux 2019.2 Heinz Junkes via Tech-talk
- 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
- Navigate by Thread:
- Prev:
EPICS 7 & Petalinux 2019.2 Nate Rider via Tech-talk
- Next:
Re: EPICS 7 & Petalinux 2019.2 Heinz Junkes via Tech-talk
- 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