osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/34236 )
Change subject: jobs/master-builds: add xgoldmon
......................................................................
jobs/master-builds: add xgoldmon
Replace the legacy xgoldmon job (not done with jenkins-job-builder) with
a new master-xgoldmon job that works more similar to other master jobs:
- build in docker
- have build commands in a jenkins.sh script
Put the jenkins.sh script into osmo-ci, as the upstream repository is
outside of Osmocom infrastructure.
The motivation for this change is, that the current xgoldmon job is
failing since libosmocore depends on liburing by default. This uncovered
that the job is still running outside of docker, where the dependency
has already been added. The following patches will modernize other jobs
which have the same problem.
Change-Id: Ice5704eb12f3c3a777961bc18a55fac63df80fd6
---
M jobs/master-builds.yml
A scripts/xgoldmon-jenkins.sh
2 files changed, 54 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/36/34236/1
diff --git a/jobs/master-builds.yml b/jobs/master-builds.yml
index 6837d78..6a2926c 100644
--- a/jobs/master-builds.yml
+++ b/jobs/master-builds.yml
@@ -173,7 +173,7 @@
# master-osmo-bsc, master-osmo-bts, master-osmo-ggsn, master-osmo-gmr, master-osmo-hlr,
# master-osmo-iuh, master-osmo-mgw, master-osmo-msc, master-osmo-pcap, master-osmo-pcu,
# master-osmo-sgsn, master-osmo-sip-connector, master-osmo-tetra, master-osmo-hnodeb
- # master-osmocom-bb, SIMtrace, xgoldmon
+ # master-osmocom-bb, SIMtrace, master-xgoldmon
# Optimized:
# libosmocore
# -> master-libosmo-abis
@@ -212,7 +212,7 @@
master-osmo-trx,
master-osmocom-bb,
SIMtrace,
- xgoldmon
+ master-xgoldmon
- libsmpp34:
trigger: master-osmo-msc, master-openbsc
@@ -519,6 +519,12 @@
- dahdi-tools
+ - xgoldmon:
+ git_base_url: https://github.com/2b-as
+ cmd: |
+ git clone --depth=1 https://gerrit.osmocom.org/osmo-ci -b master
+ {docker_run_ccache} {docker_img} {timeout_cmd} /build/osmo-ci/scripts/xgoldmon-jenkins.sh
+
jobs:
- 'master-{repos}'
diff --git a/scripts/xgoldmon-jenkins.sh b/scripts/xgoldmon-jenkins.sh
new file mode 100755
index 0000000..0635db4
--- /dev/null
+++ b/scripts/xgoldmon-jenkins.sh
@@ -0,0 +1,23 @@
+#!/bin/sh -ex
+# Used by jobs/master-builds.yml for xgoldmon
+TOPDIR=/build
+
+if ! [ -x "$(command -v osmo-build-dep.sh)" ]; then
+ echo "Error: missing scripts from osmo-ci.git in PATH!"
+ exit 2
+fi
+
+set -x
+
+osmo-clean-workspace.sh
+
+export deps="$TOPDIR/deps"
+export inst="$deps/install"
+export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
+export LD_LIBRARY_PATH="$inst/lib"
+
+mkdir -p deps
+osmo-build-dep.sh libosmocore "" '--disable-doxygen'
+
+cd "$TOPDIR"
+$MAKE
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/34236
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ice5704eb12f3c3a777961bc18a55fac63df80fd6
Gerrit-Change-Number: 34236
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: dexter.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-pcu/+/34058 )
Change subject: pcu_l1_if: add support for PCU_IF_SAPI_AGCH_2 for PCUIF v.11
......................................................................
Patch Set 3: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/34058
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I9effdcec1da91a6e2e7a7c41f95d3300ad1bb292
Gerrit-Change-Number: 34058
Gerrit-PatchSet: 3
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 29 Aug 2023 10:55:47 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libusrp/+/34234 )
Change subject: cosmetic: fx2regs.h: Fix trailing whitespace
......................................................................
cosmetic: fx2regs.h: Fix trailing whitespace
Change-Id: Ie9e14cfb70168d0ff2bcdfb2695d3cb0f77cd5db
---
M firmware/include/fx2regs.h
1 file changed, 31 insertions(+), 22 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libusrp refs/changes/34/34234/1
diff --git a/firmware/include/fx2regs.h b/firmware/include/fx2regs.h
index dec5164..455b067 100644
--- a/firmware/include/fx2regs.h
+++ b/firmware/include/fx2regs.h
@@ -1,19 +1,19 @@
/* -*- c++ -*- */
/*
* Copyright 2003 Free Software Foundation, Inc.
- *
+ *
* This file is part of GNU Radio
- *
+ *
* GNU Radio is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
- *
+ *
* GNU Radio is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with GNU Radio; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 51 Franklin Street,
@@ -45,18 +45,18 @@
// FX2 Related Register Assignments
//-----------------------------------------------------------------------------
-// The Ez-USB FX2 registers are defined here. We use FX2regs.h for register
-// address allocation by using "#define ALLOCATE_EXTERN".
-// When using "#define ALLOCATE_EXTERN", you get (for instance):
+// The Ez-USB FX2 registers are defined here. We use FX2regs.h for register
+// address allocation by using "#define ALLOCATE_EXTERN".
+// When using "#define ALLOCATE_EXTERN", you get (for instance):
// __xdata volatile BYTE OUT7BUF[64] _at_ 0x7B40;
-// Such lines are created from FX2.h by using the preprocessor.
-// Incidently, these lines will not generate any space in the resulting hex
-// file; they just bind the symbols to the addresses for compilation.
-// You just need to put "#define ALLOCATE_EXTERN" in your main program file;
-// i.e. fw.c or a stand-alone C source file.
-// Without "#define ALLOCATE_EXTERN", you just get the external reference:
+// Such lines are created from FX2.h by using the preprocessor.
+// Incidently, these lines will not generate any space in the resulting hex
+// file; they just bind the symbols to the addresses for compilation.
+// You just need to put "#define ALLOCATE_EXTERN" in your main program file;
+// i.e. fw.c or a stand-alone C source file.
+// Without "#define ALLOCATE_EXTERN", you just get the external reference:
// extern __xdata volatile BYTE OUT7BUF[64] ;// 0x7B40;
-// This uses the concatenation operator "##" to insert a comment "//"
+// This uses the concatenation operator "##" to insert a comment "//"
// to cut off the end of the line, "_at_ 0x7B40;", which is not wanted.
*/
@@ -273,10 +273,10 @@
EXTERN __xdata _AT_(0xE6C8) volatile BYTE FLOWEQ0CTL ; //CTL states during active flow state
EXTERN __xdata _AT_(0xE6C9) volatile BYTE FLOWEQ1CTL ; //CTL states during hold flow state
EXTERN __xdata _AT_(0xE6CA) volatile BYTE FLOWHOLDOFF ;
-EXTERN __xdata _AT_(0xE6CB) volatile BYTE FLOWSTB ; //CTL/RDY Signal to use as master data strobe
+EXTERN __xdata _AT_(0xE6CB) volatile BYTE FLOWSTB ; //CTL/RDY Signal to use as master data strobe
EXTERN __xdata _AT_(0xE6CC) volatile BYTE FLOWSTBEDGE ; //Defines active master strobe edge
EXTERN __xdata _AT_(0xE6CD) volatile BYTE FLOWSTBHPERIOD ; //Half Period of output master strobe
-EXTERN __xdata _AT_(0xE60C) volatile BYTE GPIFHOLDAMOUNT ; //Data delay shift
+EXTERN __xdata _AT_(0xE60C) volatile BYTE GPIFHOLDAMOUNT ; //Data delay shift
EXTERN __xdata _AT_(0xE67D) volatile BYTE UDMACRCH ; //CRC Upper byte
EXTERN __xdata _AT_(0xE67E) volatile BYTE UDMACRCL ; //CRC Lower byte
EXTERN __xdata _AT_(0xE67F) volatile BYTE UDMACRCQUAL ; //UDMA In only, host terminated use only
@@ -308,8 +308,8 @@
/*-----------------------------------------------------------------------------
Special Function Registers (SFRs)
The byte registers and bits defined in the following list are based
- on the Synopsis definition of the 8051 Special Function Registers for EZ-USB.
- If you modify the register definitions below, please regenerate the file
+ on the Synopsis definition of the 8051 Special Function Registers for EZ-USB.
+ If you modify the register definitions below, please regenerate the file
"ezregs.inc" which includes the same basic information for assembly inclusion.
-----------------------------------------------------------------------------*/
@@ -385,9 +385,9 @@
__sfr __at 0x9A APTR1H;
__sfr __at 0x9B APTR1L;
-__sfr __at 0x9C AUTODAT1;
+__sfr __at 0x9C AUTODAT1;
__sfr __at 0x9D AUTOPTRH2;
-__sfr __at 0x9E AUTOPTRL2;
+__sfr __at 0x9E AUTOPTRL2;
__sfr __at 0x9F AUTODAT2;
__sfr __at 0xA0 IOC;
__sfr __at 0xA1 INT2CLR;
@@ -446,7 +446,7 @@
__sfr __at 0xBA EP01STAT;
__sfr __at 0xBB GPIFTRIG;
-
+
__sfr __at 0xBD GPIFSGLDATH;
__sfr __at 0xBE GPIFSGLDATLX;
__sfr __at 0xBF GPIFSGLDATLNOX;
@@ -666,7 +666,7 @@
/*
* Chip Revision Control Bits (REVCTL) - used to ebable/disable revision specific features
- */
+ */
#define bmNOAUTOARM bmBIT1 // these don't match the docs
#define bmSKIPCOMMIT bmBIT0 // these don't match the docs
--
To view, visit https://gerrit.osmocom.org/c/libusrp/+/34234
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libusrp
Gerrit-Branch: master
Gerrit-Change-Id: Ie9e14cfb70168d0ff2bcdfb2695d3cb0f77cd5db
Gerrit-Change-Number: 34234
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange