lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

January 2022

  • 3 participants
  • 781 discussions
Change in docker-playground[master]: gerrit: upgrade to 3.3.9 based container
by laforge 17 Jan '22

17 Jan '22
laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/26942 ) Change subject: gerrit: upgrade to 3.3.9 based container ...................................................................... gerrit: upgrade to 3.3.9 based container ... primarily as intermediate step towards 3.4 Related: OS#5404 Change-Id: Iabb36f0754773dc2e8a5be7d44979b85034e2d01 --- M gerrit/Dockerfile 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved; Verified diff --git a/gerrit/Dockerfile b/gerrit/Dockerfile index b0b84ab..d5e5cbc 100644 --- a/gerrit/Dockerfile +++ b/gerrit/Dockerfile @@ -1,4 +1,4 @@ -FROM gerritcodereview/gerrit:3.2.12 +FROM gerritcodereview/gerrit:3.3.9 USER root RUN yum -y install zip unzip patch -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/26942 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Iabb36f0754773dc2e8a5be7d44979b85034e2d01 Gerrit-Change-Number: 26942 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-MessageType: merged
1 0
0 0
Change in docker-playground[master]: gerrit: Upgrade to 3.4.3
by laforge 17 Jan '22

17 Jan '22
laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/26943 ) Change subject: gerrit: Upgrade to 3.4.3 ...................................................................... gerrit: Upgrade to 3.4.3 Change-Id: I91ebd53ea7279f76950cde959ffa2472d8f78593 Closes: OS#5404 --- M gerrit/Dockerfile 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved; Verified diff --git a/gerrit/Dockerfile b/gerrit/Dockerfile index d5e5cbc..4ef1cba 100644 --- a/gerrit/Dockerfile +++ b/gerrit/Dockerfile @@ -1,4 +1,4 @@ -FROM gerritcodereview/gerrit:3.3.9 +FROM gerritcodereview/gerrit:3.4.3 USER root RUN yum -y install zip unzip patch -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/26943 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: I91ebd53ea7279f76950cde959ffa2472d8f78593 Gerrit-Change-Number: 26943 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-MessageType: merged
1 0
0 0
Change in docker-playground[master]: gerrit: upgrade to 3.3.9 based container
by laforge 17 Jan '22

17 Jan '22
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/docker-playground/+/26942 ) Change subject: gerrit: upgrade to 3.3.9 based container ...................................................................... Patch Set 1: Verified+1 Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/26942 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Iabb36f0754773dc2e8a5be7d44979b85034e2d01 Gerrit-Change-Number: 26942 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Comment-Date: Mon, 17 Jan 2022 17:27:51 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
1 0
0 0
Change in osmo-e1-hardware[master]: icE1usb: update manual to reflect firmware 0.2 (GPS-DO, 2 ports)
by laforge 17 Jan '22

17 Jan '22
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26926 ) Change subject: icE1usb: update manual to reflect firmware 0.2 (GPS-DO, 2 ports) ...................................................................... icE1usb: update manual to reflect firmware 0.2 (GPS-DO, 2 ports) Change-Id: I9dac5b9479af37270dc13e334a278f91f260c7ce --- M doc/manuals/chapters/firmware.adoc M doc/manuals/chapters/hardware.adoc M doc/manuals/chapters/host-software.adoc M doc/manuals/icE1usb-usermanual-docinfo.xml 4 files changed, 93 insertions(+), 7 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-e1-hardware refs/changes/26/26926/1 diff --git a/doc/manuals/chapters/firmware.adoc b/doc/manuals/chapters/firmware.adoc index 12c5710..1b440bd 100644 --- a/doc/manuals/chapters/firmware.adoc +++ b/doc/manuals/chapters/firmware.adoc @@ -145,3 +145,70 @@ === Use of the Multi-Color RGB LED FIXME: describe how it is used. + + +=== Firmware <-> USB Host Interface + +The icE1usb firmware provides a USB 1.1 full-speed (FS) device with + +* one configuration +* 5 interfaces +** E1 port 0 +** E1 port 1 +** CDC-ACM (control + data) +** DFU (device firmware upgrade) + +The interfaces have self-explanatory string descriptors like + +---- + iInterface 6 E1 port 0 + iInterface 8 E1 port 1 + iInterface 9 GPS (CDC control) + iInterface 10 GPS (CDC data) + iInterface 11 DFU runtime +---- + +==== E1 ports + +There are two physical E1 ports in the icE1usb. Each is exposed via its own USB _interface_. + +Each port (USB _interface_) contains two _altsettings_: + +* one altsetting with no data endpoints (E1 disabled, this is the default) +* one altsetting with isochronous IN/OUT endpoints (E1 enabled) + +In order to activate one E1 port, the driver must perform a USB standard +request to activate the _enabled_ altsetting. + +NOTE:: Please note that on many XHCI host controllers there seem to be +implementation flaws in the XHCI host controller firmware preventing the +activation of both icE1usb ports simultaneously. The XHCI controller +firmware erroneously claims that there is insufficient bus bandwidth. +However, the same icE1usb hardware/firmware works perfectly fine with +OHCI, UHCI and EHCI host controllers. + +As most modern [PC] hardware has XHCI host controllers, you need to +choose your hardware carefully if concurrent operation of both icE1usb +ports is required in your application. + +==== CDC-ACM with GPS NMEA + +There's a CDC-ACM (virtual com port) interface available in the icE1usb. +This will be supported by the standard `cdc_acm` driver of your +operating system, and will expose a `/dev/ttyACMx` device on Linux. + +The port provides read-only access to the GPS receiver on-board the +icE1usb. You can use this to + +* determine the GPS fix (and hence 1PPS frequency reference) + availability +* obtain the GPS position of the device + +NOTE:: Write access to the GPS receiver is not permitted as the icE1usb +firmware needs to control the GPS receiver for frequency reference +purposes. + +==== DFU (Device Firmware Upgrade) + +There's a DFU interface available in order to update the icE1usb +gateware and firmware. For more information, see [[firmware]] above. diff --git a/doc/manuals/chapters/hardware.adoc b/doc/manuals/chapters/hardware.adoc index 4b2f694..8055e64 100644 --- a/doc/manuals/chapters/hardware.adoc +++ b/doc/manuals/chapters/hardware.adoc @@ -7,8 +7,8 @@ It's main building blocks are: * an iCE40 FPGA -* Two E1 line interface (transformers, biasing networks and ESD protection) footnote:[Only one E1 line supported by firmware so far] -* a GPS receiver module with 1PPS output to the FPGA footnote:[GPS-DO supported by firmware yet] +* Two E1 line interface (transformers, biasing networks and ESD protection) footnote:[Second interface requires firmware >= 0.2 and OHCI/OHCI/EHCI host controller] +* a GPS receiver module with 1PPS output to the FPGA footnote:[Requires firmware >= 0.2] === Schematics diff --git a/doc/manuals/chapters/host-software.adoc b/doc/manuals/chapters/host-software.adoc index 356c897..4c8578e 100644 --- a/doc/manuals/chapters/host-software.adoc +++ b/doc/manuals/chapters/host-software.adoc @@ -3,13 +3,19 @@ Host Software is software running on the USB host computer to which the icE1usb is attached. -At the time of this writing, the only software implementing icE1usb -support is `osmo-e1d`. +At the time of this writing, there are two options for icE1usb driver interfaces: +`osmo-e1d` and `DAHDI`. === `osmo-e1d` -`osmo-e1d` utilizes `libusb` to talk to the icE1usb hardware and offers -a unix domain socket based interface to application software. +`osmo-e1d` is a pure user-space driver, not requiring any specific Linux kernel, +kernel patches or out-of-tree kernel modules. It utilizes `libusb` to +talk to the icE1usb hardware and offers a unix domain socket based +interface to application software. + +In theory, `osmo-e1d` should work on any operating system with libusb +support for isochronous transfers. However, official support is limited +to GNU/Linux at this point. Software such as `osmo-bsc` and `osmo-mgw` can interface `osmo-e1d` via the `libosmo-abis` support for `osmo-e1d`. @@ -23,6 +29,11 @@ popular driver for a variety of POTS/PSTN and also TDM interface boards by originally Zaptel, later Digium and now most recently Sangoma. +DAHDI is available only for Linux, and is provided as source code for a +set of out-of-tree kernel modules. You must compile those modules for +each specific Linux kernel version you are using. Keep this in mind +when performing kernel upgrades and the like. + DAHDI is supported by a wide range of open source PBX / softswitch software, including Asterisk, FreeSWITCH and yate. diff --git a/doc/manuals/icE1usb-usermanual-docinfo.xml b/doc/manuals/icE1usb-usermanual-docinfo.xml index 1c7e7fd..246e014 100644 --- a/doc/manuals/icE1usb-usermanual-docinfo.xml +++ b/doc/manuals/icE1usb-usermanual-docinfo.xml @@ -1,5 +1,13 @@ <revhistory> <revision> + <revnumber>2</revnumber> + <date>January 17, 2022</date> + <authorinitials>HW</authorinitials> + <revremark> + Update documentation to firmware 0.2 (GPS-DO, second E1 port) + </revremark> + </revision> + <revision> <revnumber>1</revnumber> <date>December 13, 2020</date> <authorinitials>HW</authorinitials> @@ -24,7 +32,7 @@ </authorgroup> <copyright> - <year>2020</year> + <year>2020-2022</year> <holder>sysmocom - s.f.m.c. GmbH</holder> </copyright> -- To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26926 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-e1-hardware Gerrit-Branch: master Gerrit-Change-Id: I9dac5b9479af37270dc13e334a278f91f260c7ce Gerrit-Change-Number: 26926 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge(a)osmocom.org> Gerrit-MessageType: newchange
2 3
0 0
Change in docker-playground[master]: gerrit: Upgrade to 3.4.3
by laforge 17 Jan '22

17 Jan '22
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/26943 ) Change subject: gerrit: Upgrade to 3.4.3 ...................................................................... gerrit: Upgrade to 3.4.3 Change-Id: I91ebd53ea7279f76950cde959ffa2472d8f78593 Closes: OS#5404 --- M gerrit/Dockerfile 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/43/26943/1 diff --git a/gerrit/Dockerfile b/gerrit/Dockerfile index d5e5cbc..4ef1cba 100644 --- a/gerrit/Dockerfile +++ b/gerrit/Dockerfile @@ -1,4 +1,4 @@ -FROM gerritcodereview/gerrit:3.3.9 +FROM gerritcodereview/gerrit:3.4.3 USER root RUN yum -y install zip unzip patch -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/26943 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: I91ebd53ea7279f76950cde959ffa2472d8f78593 Gerrit-Change-Number: 26943 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge(a)osmocom.org> Gerrit-MessageType: newchange
1 0
0 0
Change in docker-playground[master]: gerrit: upgrade to 3.3.9 based container
by laforge 17 Jan '22

17 Jan '22
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/docker-playground/+/26942 ) Change subject: gerrit: upgrade to 3.3.9 based container ...................................................................... gerrit: upgrade to 3.3.9 based container ... primarily as intermediate step towards 3.4 Related: OS#5404 Change-Id: Iabb36f0754773dc2e8a5be7d44979b85034e2d01 --- M gerrit/Dockerfile 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/42/26942/1 diff --git a/gerrit/Dockerfile b/gerrit/Dockerfile index b0b84ab..d5e5cbc 100644 --- a/gerrit/Dockerfile +++ b/gerrit/Dockerfile @@ -1,4 +1,4 @@ -FROM gerritcodereview/gerrit:3.2.12 +FROM gerritcodereview/gerrit:3.3.9 USER root RUN yum -y install zip unzip patch -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/26942 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: Iabb36f0754773dc2e8a5be7d44979b85034e2d01 Gerrit-Change-Number: 26942 Gerrit-PatchSet: 1 Gerrit-Owner: laforge <laforge(a)osmocom.org> Gerrit-MessageType: newchange
1 0
0 0
Change in osmo-ci[master]: jobs: explicitly enable ansi color wrapper
by osmith 17 Jan '22

17 Jan '22
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/26925 ) Change subject: jobs: explicitly enable ansi color wrapper ...................................................................... jobs: explicitly enable ansi color wrapper For some reason (jenkins upgrade?), output is not colored anymore. Explicitly enable the ansi color wrapper in the jjb configs, where we have such colors in the output. Change-Id: I2d3faaf608ae9d12573f5c0f740ff7ee4b33358e --- M jobs/gerrit-lint.yml M jobs/ttcn3-testsuites-kernel-git.yml M jobs/ttcn3-testsuites.yml A test-ci-lint 4 files changed, 11 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/25/26925/1 diff --git a/jobs/gerrit-lint.yml b/jobs/gerrit-lint.yml index 768df7d..b98a041 100644 --- a/jobs/gerrit-lint.yml +++ b/jobs/gerrit-lint.yml @@ -145,4 +145,8 @@ builders: - shell: '{obj:cmd}' + wrappers: + - ansicolor: + colormap: xterm + # vim: expandtab tabstop=2 shiftwidth=2 diff --git a/jobs/ttcn3-testsuites-kernel-git.yml b/jobs/ttcn3-testsuites-kernel-git.yml index 1bc07d5..37f9170 100644 --- a/jobs/ttcn3-testsuites-kernel-git.yml +++ b/jobs/ttcn3-testsuites-kernel-git.yml @@ -125,5 +125,8 @@ num-to-keep: 120 artifact-days-to-keep: -1 artifact-num-to-keep: -1 + wrappers: + - ansicolor: + colormap: xterm # vim: expandtab tabstop=2 shiftwidth=2 diff --git a/jobs/ttcn3-testsuites.yml b/jobs/ttcn3-testsuites.yml index 8f59d82..172cfec 100644 --- a/jobs/ttcn3-testsuites.yml +++ b/jobs/ttcn3-testsuites.yml @@ -507,5 +507,8 @@ num-to-keep: 120 artifact-days-to-keep: -1 artifact-num-to-keep: -1 + wrappers: + - ansicolor: + colormap: xterm # vim: expandtab tabstop=2 shiftwidth=2 diff --git a/test-ci-lint b/test-ci-lint new file mode 100644 index 0000000..7e96e53 --- /dev/null +++ b/test-ci-lint @@ -0,0 +1 @@ +File with typo to test if ansi color output from linter is displayed properly in jenkins again: asssert -- To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/26925 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ci Gerrit-Branch: master Gerrit-Change-Id: I2d3faaf608ae9d12573f5c0f740ff7ee4b33358e Gerrit-Change-Number: 26925 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-MessageType: newchange
3 5
0 0
Change in osmo-dev[master]: Add tmux scripts for ttcn3-{msc,bsc,bts}-test
by fixeria 17 Jan '22

17 Jan '22
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/26485 ) Change subject: Add tmux scripts for ttcn3-{msc,bsc,bts}-test ...................................................................... Add tmux scripts for ttcn3-{msc,bsc,bts}-test Change-Id: I201b77c013cbeef9d1a07b9422b27f375811ed69 --- M README A ttcn3/tmux/ttcn3-bsc-test.sh A ttcn3/tmux/ttcn3-bts-test.sh A ttcn3/tmux/ttcn3-msc-test.sh 4 files changed, 132 insertions(+), 0 deletions(-) Approvals: osmith: Looks good to me, approved fixeria: Verified diff --git a/README b/README index 7f1b594..f4f4eda 100644 --- a/README +++ b/README @@ -169,6 +169,15 @@ [1] https://jenkins.osmocom.org/jenkins/view/TTCN3/ +=== ttcn3/tmux + +It's possible to run TTCN-3 test cases without using Docker. This directory +contains scripts for starting a testsuite and the related binaries in a tmux +session. For example, ttcn3-bsc-test.sh does the following: + +* Starts osmo-bsc, osmo-stp, and three instances of osmo-bts-omldummy. +* Prepares a command for execuring the test suite. + === Troubleshooting When using sanitize.opts, osmo-trx is not built with the address sanitizer diff --git a/ttcn3/tmux/ttcn3-bsc-test.sh b/ttcn3/tmux/ttcn3-bsc-test.sh new file mode 100755 index 0000000..c0d9709 --- /dev/null +++ b/ttcn3/tmux/ttcn3-bsc-test.sh @@ -0,0 +1,43 @@ +#!/bin/sh + +SESSION="ttcn3-bsc-test" + +OSMO_DIR="/home/$USER/osmocom" +SUITE_DIR="$OSMO_DIR/osmo-ttcn3-hacks" +RESPAWN="$OSMO_DIR/scripts/respawn.sh" + +if [ ! -d $SUITE_DIR ]; then + echo "Directory '$SUITE_DIR' does not exist" + echo "Please specify where to find osmo-ttcn3-hacks" + exit 1 +fi + +if [ ! -f $RESPAWN ]; then + echo "Script '$RESPAWN' does not exist" + echo "Please specify where to find respawn.sh" + exit 1 +fi + +tmux new-session -s $SESSION -n $SESSION -d + +tmux split-window -t $SESSION:0 -v +tmux send-keys -t $SESSION:0.0 "cd $SUITE_DIR/bsc" C-m +tmux send-keys -t $SESSION:0.0 "osmo-bsc -c osmo-bsc.cfg" C-m +tmux send-keys -t $SESSION:0.1 "cd $SUITE_DIR/bsc" C-m +tmux send-keys -t $SESSION:0.1 "../start-testsuite.sh ./BSC_Tests BSC_Tests.cfg" + +tmux new-window -t $SESSION:1 +tmux split-window -t $SESSION:1 -v +tmux split-window -t $SESSION:1 -v +tmux split-window -t $SESSION:1 -v +tmux split-window -t $SESSION:1 -v + +# Start osmo-stp +tmux send-keys -t $SESSION:1.0 "cd $SUITE_DIR/bsc" C-m +tmux send-keys -t $SESSION:1.0 "osmo-stp -c osmo-stp.cfg" C-m +# Start osmo-bts-omldummy +tmux send-keys -t $SESSION:1.1 "$RESPAWN osmo-bts-omldummy 127.0.0.1 1234" C-m +tmux send-keys -t $SESSION:1.2 "$RESPAWN osmo-bts-omldummy 127.0.0.1 1235" C-m +tmux send-keys -t $SESSION:1.3 "$RESPAWN osmo-bts-omldummy 127.0.0.1 1236" C-m + +tmux attach -t $SESSION:0 diff --git a/ttcn3/tmux/ttcn3-bts-test.sh b/ttcn3/tmux/ttcn3-bts-test.sh new file mode 100755 index 0000000..78acad9 --- /dev/null +++ b/ttcn3/tmux/ttcn3-bts-test.sh @@ -0,0 +1,54 @@ +#!/bin/sh + +SESSION="ttcn3-bts-test" + +OSMO_DIR="/home/$USER/osmocom" +OBB_DIR="$OSMO_DIR/osmocom-bb" +SUITE_DIR="$OSMO_DIR/osmo-ttcn3-hacks" +RESPAWN="$OSMO_DIR/scripts/respawn.sh" + +if [ ! -d $SUITE_DIR ]; then + echo "Directory '$SUITE_DIR' does not exist" + echo "Please specify where to find osmo-ttcn3-hacks" + exit 1 +fi + +if [ ! -d $OBB_DIR ]; then + echo "Directory '$OBB_DIR' does not exist" + echo "Please specify where to find osmocom-bb" + exit 1 +fi + +if [ ! -f $RESPAWN ]; then + echo "Script '$RESPAWN' does not exist" + echo "Please specify where to find respawn.sh" + exit 1 +fi + +tmux new-session -s $SESSION -n $SESSION -d + +tmux split-window -t $SESSION:0 -v +tmux send-keys -t $SESSION:0.0 "cd $SUITE_DIR/bts" C-m +tmux send-keys -t $SESSION:0.0 "$RESPAWN osmo-bts-trx -c osmo-bts.cfg" +tmux send-keys -t $SESSION:0.1 "cd $SUITE_DIR/bts" C-m +tmux send-keys -t $SESSION:0.1 "../start-testsuite.sh ./BTS_Tests BTS_Tests.cfg" + + +tmux new-window -t $SESSION:1 +tmux split-window -t $SESSION:1 -v +tmux split-window -t $SESSION:1 -v + +# Start osmo-bsc +tmux send-keys -t $SESSION:1.0 "cd $SUITE_DIR/bts" C-m +tmux send-keys -t $SESSION:1.0 "osmo-bsc -c osmo-bsc.cfg" C-m +# Start trxcon +tmux send-keys -t $SESSION:1.1 "cd $OBB_DIR/src/host/trxcon" C-m +tmux send-keys -t $SESSION:1.1 "./trxcon -s /tmp/osmocom_l2" C-m +# Start fake_trx.py +tmux send-keys -t $SESSION:1.2 "cd $OBB_DIR/src/target/trx_toolkit" C-m +tmux send-keys -t $SESSION:1.2 "./fake_trx.py \ + --trx TRX1@127.0.0.1:5700/1 \ + --trx TRX1@127.0.0.1:5700/2 \ + --trx TRX1@127.0.0.1:5700/3" C-m + +tmux attach -t $SESSION:0 diff --git a/ttcn3/tmux/ttcn3-msc-test.sh b/ttcn3/tmux/ttcn3-msc-test.sh new file mode 100755 index 0000000..fee1383 --- /dev/null +++ b/ttcn3/tmux/ttcn3-msc-test.sh @@ -0,0 +1,26 @@ +#!/bin/sh + +SESSION="ttcn3-msc-test" + +OSMO_DIR="/home/$USER/osmocom" +SUITE_DIR="$OSMO_DIR/osmo-ttcn3-hacks" + +if [ ! -d $SUITE_DIR ]; then + echo "Directory '$SUITE_DIR' does not exist" + echo "Please specify where to find osmo-ttcn3-hacks" + exit 1 +fi + +tmux new-session -s $SESSION -n $SESSION -d + +tmux split-window -t $SESSION:0 -v +tmux send-keys -t $SESSION:0.0 "cd $SUITE_DIR/msc" C-m +tmux send-keys -t $SESSION:0.0 "osmo-msc -c osmo-msc.cfg" C-m +tmux send-keys -t $SESSION:0.1 "cd $SUITE_DIR/msc" C-m +tmux send-keys -t $SESSION:0.1 "../start-testsuite.sh ./MSC_Tests MSC_Tests.cfg" + +tmux new-window -t $SESSION:1 +tmux send-keys -t $SESSION:1.0 "cd $SUITE_DIR/msc" C-m +tmux send-keys -t $SESSION:1.0 "osmo-stp -c osmo-stp.cfg" C-m + +tmux attach -t $SESSION:0 -- To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/26485 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-dev Gerrit-Branch: master Gerrit-Change-Id: I201b77c013cbeef9d1a07b9422b27f375811ed69 Gerrit-Change-Number: 26485 Gerrit-PatchSet: 5 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-CC: daniel <dwillmann(a)sysmocom.de> Gerrit-MessageType: merged
1 0
0 0
Change in osmo-dev[master]: Add tmux scripts for ttcn3-{msc,bsc,bts}-test
by fixeria 17 Jan '22

17 Jan '22
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-dev/+/26485 ) Change subject: Add tmux scripts for ttcn3-{msc,bsc,bts}-test ...................................................................... Patch Set 4: Verified+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/26485 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-dev Gerrit-Branch: master Gerrit-Change-Id: I201b77c013cbeef9d1a07b9422b27f375811ed69 Gerrit-Change-Number: 26485 Gerrit-PatchSet: 4 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-CC: daniel <dwillmann(a)sysmocom.de> Gerrit-Comment-Date: Mon, 17 Jan 2022 15:42:38 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes Gerrit-MessageType: comment
1 0
0 0
Change in osmo-msc[master]: call_leg: local_bridge: Avoid null pointer access if CN-side not ready
by pespin 17 Jan '22

17 Jan '22
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-msc/+/26917 ) Change subject: call_leg: local_bridge: Avoid null pointer access if CN-side not ready ...................................................................... call_leg: local_bridge: Avoid null pointer access if CN-side not ready This happens if for instance an HNBGW drops the RAB-AssignmentRequest and does nothing with it. call_leg.c:348:15: runtime error: member access within null pointer of type 'struct rtp_stream' Related: OS#5401 Change-Id: I67d2d5b2dd3b367c34f929d63c056306ec001431 --- M src/libmsc/call_leg.c 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/17/26917/1 diff --git a/src/libmsc/call_leg.c b/src/libmsc/call_leg.c index 6242a80..e890f75 100644 --- a/src/libmsc/call_leg.c +++ b/src/libmsc/call_leg.c @@ -344,6 +344,9 @@ } codec = cl1->rtp[RTP_TO_RAN]->codec; + if (!cl1->rtp[RTP_TO_CN] || !cl2->rtp[RTP_TO_CN]) + return -ENOTCONN; + call_leg_ensure_ci(cl1, RTP_TO_CN, call_id1, trans1, &codec, &cl2->rtp[RTP_TO_CN]->local); call_leg_ensure_ci(cl2, RTP_TO_CN, call_id2, trans2, -- To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/26917 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-msc Gerrit-Branch: master Gerrit-Change-Id: I67d2d5b2dd3b367c34f929d63c056306ec001431 Gerrit-Change-Number: 26917 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-MessageType: newchange
4 8
0 0
  • ← Newer
  • 1
  • ...
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • ...
  • 79
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.