Skip to content

Commit 1339185

Browse files
authored
Merge pull request #431 from GSI-CS-CO/b2b_dietrich_2025-sep-19
B2b dietrich 2025 sep 19
2 parents 76fe262 + 45ec38e commit 1339185

24 files changed

+256
-67
lines changed
Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1-
# this is a hack for sl7
2-
export DIM_DNS_NODE=asl105
1+
# yocto
2+
SERVICEA=b2b-servsys-int-esr-pm.service
3+
SERVICEB=b2b-servsys-int-esr-cbu.service
4+
SERVICEC=b2b-jittercheck-int-esr-pm.service
5+
cp -a $MOUNTPOINT/systemd/$SERVICEA /lib/systemd/system
6+
cp -a $MOUNTPOINT/systemd/$SERVICEB /lib/systemd/system
7+
cp -a $MOUNTPOINT/systemd/$SERVICEC /lib/systemd/system
8+
systemctl daemon-reload
9+
10+
systemctl start $SERVICEA
11+
systemctl start $SERVICEB
12+
systemctl start $SERVICEC
313

4-
b2b-serv-sys dev/wbm0 -s int_esr-pm &
5-
b2b-serv-sys dev/wbm1 -s int_esr-cbu &
6-
b2b-jitter-check tr1 tr0 -p1 -t1 int_esr-pm &
14+
15+
# this is a hack for sl7
16+
#export DIM_DNS_NODE=asl105
17+
#
18+
#b2b-serv-sys dev/wbm0 -s int_esr-pm &
19+
#b2b-serv-sys dev/wbm1 -s int_esr-cbu &
20+
#b2b-jitter-check tr1 tr0 -p1 -t1 int_esr-pm &
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# yocto; temporarily disabled
2-
#SERVICEA=b2b-servsys-int-sis18-pm.service
3-
#SERVICEB=b2b-servsys-int-sis18-cbu.service
4-
#SERVICEC= jitter check service
5-
#cp -a $MOUNTPOINT/systemd/$SERVICEA /lib/systemd/system
6-
#cp -a $MOUNTPOINT/systemd/$SERVICEB /lib/systemd/system
7-
#cp -a $MOUNTPOINT/systemd/$SERVICEC /lib/systemd/system
8-
#systemctl daemon-reload
9-
#
10-
#systemctl start $SERVICEA
11-
#systemctl start $SERVICEB
12-
#systemctl start $SERVICEC
1+
# yocto
2+
SERVICEA=b2b-servsys-int-sis18-pm.service
3+
SERVICEB=b2b-servsys-int-sis18-cbu.service
4+
SERVICEC=b2b-jittercheck-int-sis18-pm.service
5+
cp -a $MOUNTPOINT/systemd/$SERVICEA /lib/systemd/system
6+
cp -a $MOUNTPOINT/systemd/$SERVICEB /lib/systemd/system
7+
cp -a $MOUNTPOINT/systemd/$SERVICEC /lib/systemd/system
8+
systemctl daemon-reload
139

14-
# hack for acc7
15-
export DIM_DNS_NODE=asl105
10+
systemctl start $SERVICEA
11+
systemctl start $SERVICEB
12+
systemctl start $SERVICEC
1613

17-
b2b-serv-sys dev/wbm0 -s int_sis18-pm &
18-
b2b-serv-sys dev/wbm1 -s int_sis18-cbu &
19-
b2b-jitter-check tr1 tr0 -p1 -t1 int_sis18-pm &
14+
# hack for acc7
15+
#export DIM_DNS_NODE=asl105
16+
#
17+
#b2b-serv-sys dev/wbm0 -s int_sis18-pm &
18+
#b2b-serv-sys dev/wbm1 -s int_sis18-cbu &
19+
#b2b-jitter-check tr1 tr0 -p1 -t1 int_sis18-pm &
Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
# this is a hack for sl7
2-
export DIM_DNS_NODE=asl105
1+
# yocto
2+
SERVICEA=b2b-servsys-int-yr-cbu.service
3+
cp -a $MOUNTPOINT/systemd/$SERVICEA /lib/systemd/system
4+
systemctl daemon-reload
5+
6+
systemctl start $SERVICEA
37

4-
b2b-serv-sys dev/wbm0 -s int_yr-cbu &
8+
# this is a hack for sl7
9+
#export DIM_DNS_NODE=asl105
10+
#
11+
#b2b-serv-sys dev/wbm0 -s int_yr-cbu &
Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
# this is a hack for sl7
2-
export DIM_DNS_NODE=asl105
1+
# yocto
2+
SERVICEA=b2b-servsys-int-yr-pm.service
3+
cp -a $MOUNTPOINT/systemd/$SERVICEA /lib/systemd/system
4+
systemctl daemon-reload
5+
6+
systemctl start $SERVICEA
37

4-
b2b-serv-sys dev/wbm0 -s int_yr-pm &
8+
9+
# this is a hack for sl7
10+
#export DIM_DNS_NODE=asl105
11+
#
12+
#b2b-serv-sys dev/wbm0 -s int_yr-pm &

modules/b2b/nfs-init/int/b2b-yocto-tweak.tools

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ for state in state* ; do logger c-$state `cat $state/name` `cat $state/latency`
1717
systemctl stop saftbus
1818
cp -a $MOUNTPOINT/systemd/saftbus.service /lib/systemd/system
1919
systemctl daemon-reload
20-
systemctl start saftbus
20+
systemctl start saftbus
21+
22+
logger "wait 20s to let things calm down ..."
23+
sleep 20
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[Unit]
2+
Description = b2b jitter check for ESR PM
3+
Requires = saftbus.service
4+
After = saftbus.service
5+
6+
[Service]
7+
Type = simple
8+
Environment="DIM_DNS_NODE=asl105"
9+
ExecStart = b2b-jitter-check tr1 tr0 -p1 -t1 int_esr-pm
10+
11+
[Install]
12+
WantedBy = multi-user.target
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[Unit]
2+
Description = b2b jitter check for SIS18 PM
3+
Requires = saftbus.service
4+
After = saftbus.service
5+
6+
[Service]
7+
Type = simple
8+
Environment="DIM_DNS_NODE=asl105"
9+
ExecStart = b2b-jitter-check tr1 tr0 -p1 -t1 int_sis18-pm
10+
11+
[Install]
12+
WantedBy = multi-user.target
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[Unit]
2+
Description = b2b system monitor for INT ESR central unit
3+
Requires = dev-wbm1.device
4+
After = dev-wbm1.device
5+
6+
[Service]
7+
Type = simple
8+
Environment="DIM_DNS_NODE=asl105"
9+
ExecStart = b2b-serv-sys dev/wbm1 -s int_esr-cbu
10+
11+
[Install]
12+
WantedBy = multi-user.target
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[Unit]
2+
Description = b2b system monitor for INT ESR phase measurement
3+
Requires = dev-wbm0.device
4+
After = dev-wbm0.device
5+
6+
[Service]
7+
Type = simple
8+
Environment="DIM_DNS_NODE=asl105"
9+
ExecStart = b2b-serv-sys dev/wbm0 -s int_esr-pm
10+
11+
[Install]
12+
WantedBy = multi-user.target
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[Unit]
2+
Description = b2b system monitor for INT YR CBU
3+
Requires = dev-wbm0.device
4+
After = dev-wbm0.device
5+
6+
[Service]
7+
Type = simple
8+
Environment="DIM_DNS_NODE=asl105"
9+
ExecStart = b2b-serv-sys dev/wbm0 -s int_yr-cbu
10+
11+
[Install]
12+
WantedBy = multi-user.target

0 commit comments

Comments
 (0)