EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: using epics-base with yocto
From: Dirk Zimoch <[email protected]>
To: <[email protected]>
Date: Wed, 25 Apr 2018 10:18:40 +0200
Hello Mariano,

I compile EPICS with Yocto 2.1 / Petalinux toolchain for the XILINX Zynq Ultrascale.

My config file is attached. But it needs 3 additional macros:

GNU_HOST_ARCH=i686
GNU_HOST_OS=linux
are defined in my CONFIG_SITE.linux-x86.Common

GNU_HOST_ARCH_64=x86_64
is defined in my CONFIG_SITE.linux-x86_64.Common

(I use them in several embedded Linux cross compiler configs and did not want to pull too many host specifics into a CONFIG.Common.* file.)

Also be aware that you have probably installed yocto somewhere else. Fix SDK_DIR accordingly.

I could use this cross compiler only on a 64 bit host, but that should not be much of a problem nowadays.

Best regards,
Dirk

On 24.04.2018 15:45, Mariano Ruiz wrote:
Dear tech-talkers,

I am trying to create a Linux embedded distribution using Yocto including epics-base.

Does anyone have a yocto meta-layer already implemented?

Thanks a lot

Mariano Ruiz

Professor

Technical University of Madrid


<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
# XILINX Zynq with Yocto 2.1 / Petalinux toolchain

# Include definitions common to all Linux targets
include $(CONFIG)/os/CONFIG.Common.linuxCommon

COMMANDLINE_LIBRARY = READLINE

ARCH_CLASS = arm64

SDK = petalinux
SDK_DIR = /opt/petalinux-gfa/2017.2
SDK_HOST_ARCH = $(GNU_HOST_ARCH_64)-$(SDK)-$(GNU_HOST_OS)
SDK_TARGET = aarch64-xilinx-linux
GNU_TARGET = $(SDK_TARGET)
SDKTARGETSYSROOT = $(SDK_DIR)/sysroots/$(SDK_TARGET)
GNU_DIR = $(SDK_DIR)/sysroots/$(SDK_HOST_ARCH)/usr
GNU_BIN = $(GNU_DIR)/bin/$(GNU_TARGET)

ARCH_DEP_CPPFLAGS = --sysroot=$(SDKTARGETSYSROOT)
ARCH_DEP_LDFLAGS = --sysroot=$(SDKTARGETSYSROOT)

Replies:
RE: using epics-base with yocto Mariano Ruiz
References:
using epics-base with yocto Mariano Ruiz

Navigate by Date:
Prev: Modify checkbox value from a table widget Pilar Gil Jaldo
Next: RE: using epics-base with yocto Mariano Ruiz
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: using epics-base with yocto Mariano Ruiz
Next: RE: using epics-base with yocto Mariano Ruiz
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 25 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·