You are here:
Foswiki
>
Main Web
>
Members
>
AlexanderSchwinn
>
BuildDevAccAgainstFesaYocto
(28 May 2024,
AlexanderSchwinn
)
Edit
Attach
Omniorb
Download Omniorb from
https://sourceforge.net/projects/omniorb/
(includes omnithread)
unset LD_LIBRARY_PATH; source /common/usr/embedded/yocto/fesa/current/sdk/environment-setup-core2-64-ffos-linux
mkdir build
cd build
../configure ${CONFIGURE_FLAGS} --prefix=/home/bel/schwinn/lnx/tmp/omiorb-yocto
make -j8
make install
TODO: read OECORE_SDK_VERSION env variable and use the major version as suffix. E.g.: omiorb-yocto-4
TODO: If that is going to be permanent, fork the omniorb repo to GSI + Add this manual as README ?!
Devacc Framework
Use this branch:
https://git.acc.gsi.de/devacc/framework/src/branch/yocto-x86_64-build
./configure --target yocto-x86_64
./build --target yocto-x86_64
./install --target yocto-x86_64
CIA Equipment Model
Use this branch:
https://git.acc.gsi.de/devacc/eqmodel_cia/src/branch/yocto-x86_64-build
Use this cmake-global branch:
https://git.acc.gsi.de/devacc/cmake-global/src/branch/yocto-x86_64-build
export CMAKE_PREFIX_PATH=/home/bel/schwinn/lnx/git/devacc-umbrella/framework/build-yocto-x86_64/10.28.00/yocto-x86_64/cmake/
./configure --target yocto-x86_64
./build --target yocto-x86_64
./install --target yocto-x86_64
Testing on scuxl0640
Make sure that the fec uses the correct bootimage (yocto): pxe-config -l scuxl0640
Create some scuxl0640.dbs via dbsgen or dbsgenpy ... or use /home/bel/schwinn/lnx/git/dbsgenpy/scuxl0640.dbs (E.g. use scuxl0183 as a template)
Copy all the binaries/libs and the scuxl0640.dbs files into some folder on that system. E.g. scp
root@scuxl0640:/home/root
Login to scuxl0640
Define which nameserver to use:
export ACC_NAMESERVER_HOST=nsrv00a.acc.gsi.de
export ACC_NAMESERVER_PORT=52315
Create a loc directory if missing
[ -d /var/lock/acc ] || mkdir -p /var/lock/acc
Open port for alarms
echo "AccAlarm 54321/udp" >> /etc/services
Run devman
devman --persistent
You should see now:
Devman is running as SCUXL0640...
Check for errors:
journalctl
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew wiki text
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r2 - 28 May 2024,
AlexanderSchwinn
Main
Log In
Toolbox
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Groups
Webs
Accnomen
Applications
BunchBucket
FAIR
FESA
Frontend
Hardware
IC
IN
Machines
Main
Sandbox
Service
System
Timing
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback