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-compile and makeBaseApp.pl |
From: | 윤대희 <[email protected]> |
To: | <[email protected]> |
Date: | Mon, 11 Dec 2017 12:11:43 +0900 |
HI, I would like to create makeBaseApp.pl on the ARM target board. So let's see if the procedures I've been doing are right. HOST PC : UBUNTU $ cd /opt $ mkdir epics $ cd /epics $ tar –zxvf /home/[username]/Downloads/[base ver.tar.gz] $ ln –s [base ver.] base $ cd base CROSS COMPILE SETTING : using petalinux Edit base.x.x.x/configure/CONFIG_SITE Change these lines: CROSS_COMPILER_TARGET_ARCHS=linux-arm CROSS_COMPILER_HOST_ARCHS=linux-x86_64 Edit CONFIG_SITE.Common.linux-x86_64 comment out #COMMANDLINE_LIBRARY = READLINE Edit CONFIG_SITE.linux-x86.linux-arm comment out #GNU_DIR = < strange path> #GNU_TARGET = <strange gcc> Edit base.x.x.x/configure/os/CONFIG.linux-x86_64.linux-arm Set these lines: # APS: GNU_DIR = /opt/pkg/petalinux/tools/linux-i386/gcc-arm-linux-gnueabi # GNU crosscompiler target name GNU_TARGET = arm-linux-gnueabihf Edit CONFIG_SITE.Common.linux-arm comment in STATIC_BUILD=YES SHARED_LIBRARIES=NO # make And I moved the epics to the target board (using ftp). (including perl, make, busybox, bash, libgcc-xilinx, readline, gcc-runtime-xilinx, sysvinit-inittab in the linux image) Set the same path as host pc Look at the base/bin/linux-arm I could not find the makeBaseApp.pl On the other hand, when I used it in /bin/linux-x86_64, I got this message. Can't find EPICS base Let me know if something goes wrong. Thank you. Dae Hee, Yoon |