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  2018  2019  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to build MEDM (Jetson nano)
From: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: Hinko Kocevar <Hinko.Kocevar at ess.eu>
Cc: 신동호 <dhshin at etri.re.kr>, EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 22 Sep 2020 16:37:24 +0000
Hi Hinko,

On Sep 22, 2020, at 9:32 AM, Hinko Kocevar <Hinko.Kocevar at ess.eu> wrote:

I wish I had time to help, but I don't. The whole extensions build area could use cleaning up or replacing, but someone will have to volunteer to take that on, anyone interested?

I can try to cross compile base7 (I guess) et. al. for aarch64 on native 64bit Ubuntu.

Dong Ho, which cross compile tools do you use? Link to the toolchain I could run on x86_64 would help,  thanks.

By ‘native’ I mean this is a build on the linux-aarch64 processor itself which is running Ubuntu, it’s not a cross-compile at all. I only just added the native CONFIG files for linux-aarch64 to the Base-7.0 branch when Dong Ho asked about this a week or two ago.

If you configured extensions to be cross-compiled on the same Ubuntu release maybe all the X11 and Motif header files would be the same for the cross-target if you could install them, but the build-time library paths would be different so you wouldn’t be able to test the native CONFIG_SITE files yourself. I’m not too sure whether this is worth doing.

I asked my boss if I can buy an aarch64 box (an R.Pi-4) to test out this kind of thing, but he hasn’t said yes yet (and I suspect there are a few other R.Pi enthusiasts here who might be quicker at setting this up than I would given everything else I’m supposed to be working on).

- Andrew


________________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Johnson, Andrew N. via Tech-talk <tech-talk at aps.anl.gov>
Sent: Tuesday, September 22, 2020 4:44:20 AM
To: Rivers, Mark L.
Cc: EPICS tech-talk; 신동호
Subject: Re: How to build MEDM (Jetson nano)

Unfortunately there is no CONFIG_SITE.linux-aarch64.linux-aarch64 file in the extensions/configure/os directory; Dong Ho is the first person to use this host architecture (which is the 64-bit version of linux-arm and has only just been added to Base) and I suspect may have some difficulties.

My first instinct would be to copy the CONFIG_SITE.linux-x86.linux-x86 file to the name given above and edit it to match, but there are quite a lot of old and irrelevant paths in that file. I suspect the configuration for Ubuntu on linux-aarch64 would be closer to that of linux-x86_64, but the latter file just pulls in and overrides the settings from the 32-bit linux-x86 target. Maybe that would still work though.

I wish I had time to help, but I don't. The whole extensions build area could use cleaning up or replacing, but someone will have to volunteer to take that on, anyone interested?

- Andrew


On Sep 21, 2020, at 8:43 PM, Mark Rivers via Tech-talk <tech-talk at aps.anl.gov<mailto:tech-talk at aps.anl.gov>> wrote:

CONFIG_SITE is meant to be locally edited for your site. Just make the changes you need for your arch.

If you get build errors post them here.

Mark


Sent from my iPhone

On Sep 21, 2020, at 8:31 PM, 신동호 <dhshin at etri.re.kr<mailto:dhshin at etri.re.kr>> wrote:

Hi, Mark
I followed the instruction you gave.
To build medm, CONFIGURE_SITE* file for linux-aarch64 is needed.
But I didn't find in the directory ../configure/os.
I guess most extensions for EPICS do not support aarch64.

- Dong Ho, SHIN
-----Original Message-----
From:  "Mark Rivers" <rivers at cars.uchicago.edu<mailto:rivers at cars.uchicago.edu>>
To:     "신동호" <dhshin at etri.re.kr<mailto:dhshin at etri.re.kr>>;
Cc:     "tech-talk at aps.anl.gov<mailto:tech-talk at aps.anl.gov>" <tech-talk at aps.anl.gov<mailto:tech-talk at aps.anl.gov>>;
Sent:  2020-09-21 (월) 21:20:06 (UTC+09:00)
Subject: Re: How to build MEDM (Jetson nano)

First download this module:


https://github.com/epics-extensions/extensions


Then cd to that directory, and in that directory install this module:


https://github.com/epics-extensions/medm


The extensions/README explains how to build it.


https://github.com/epics-extensions/extensions/blob/master/README


Mark



________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of 신동호 via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, September 21, 2020 4:00 AM
To: tech-talk at aps.anl.gov
Subject: How to build MEDM (Jetson nano)

Dear all,

I have succeeded to install EPICS base (Rver 7) with aysn & streamdevice supports.
And now I want to get install GUI tool, MEDM. Would you explain more detail how to build MEDM?

- Dong Ho, SHIN
[https://gov-dooray.com/mail-receipts?img=3768747754637167-255f3328d91a814f-2764576884bb5a9c-27645b06ab92d51d.gif]

--
Complexity comes for free, simplicity you have to work for.


-- 
Complexity comes for free, simplicity you have to work for.


Replies:
Re: How to build MEDM (Jetson nano) Hinko Kocevar via Tech-talk
References:
How to build MEDM (Jetson nano) 신동호 via Tech-talk
Re: How to build MEDM (Jetson nano) Mark Rivers via Tech-talk
RE: Re: How to build MEDM (Jetson nano) 신동호 via Tech-talk
Re: How to build MEDM (Jetson nano) Mark Rivers via Tech-talk
Re: How to build MEDM (Jetson nano) Johnson, Andrew N. via Tech-talk
Re: How to build MEDM (Jetson nano) Hinko Kocevar via Tech-talk

Navigate by Date:
Prev: Re: autosave 5-10-1 on RTEMS-4.10.2, mount failed Johnson, Andrew N. via Tech-talk
Next: Re: How to build MEDM (Jetson nano) Hinko Kocevar 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to build MEDM (Jetson nano) Hinko Kocevar via Tech-talk
Next: Re: How to build MEDM (Jetson nano) Hinko Kocevar 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  <20202021  2022  2023  2024 
ANJ, 22 Sep 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·