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