Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
9f0079b3
Commit
9f0079b3
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Added how to reach dop386 for sdp-arts tests.
parent
3d47bbf8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/erko_howto_tools.txt
+111
-3
111 additions, 3 deletions
doc/erko_howto_tools.txt
with
111 additions
and
3 deletions
doc/erko_howto_tools.txt
+
111
−
3
View file @
9f0079b3
...
...
@@ -4,12 +4,14 @@
* ARGS
* GIT workflow
* SVN
* SDP HW tests
* Confluence
* Polarion
* LaTeX
* Markdown
* Vi
* Remote access
* Remote access using step
* Regression test
* License server
* Screen to run a terminal session without ssh connection
...
...
@@ -22,6 +24,7 @@
* Graphana
* Zenodo DOI
* SDPTR
* Drawio
...
...
@@ -384,6 +387,85 @@ small narrow icons. I can recover them by selecting the Figure icon and then
choosing the expand button in the bar on top or below the Figure. Weird, but
for me it is an ok workaround,
*******************************************************************************
* SDP HW tests:
*******************************************************************************
Remote access using step:
> mystep
then:
> ping dop386.astron.nl
> ping 10.87.0.186 (= dop386)
> ssh -X dop386.astron.nl
> ssh -X kooistra@10.87.0.186 # dop386
> ssh -J bastion.astron.nl kooistra@10.87.0.186 # dop386
1) gitlab
Zorg er voor dat je de GIT repositories hebt op dop386 (10.87.0.186)
10 git clone https://git.astron.nl/lofar2.0/sdptr
12 git clone https://git.astron.nl/desp/hdl
13 git clone https://git.astron.nl/desp/radiohdl
14 git clone https://git.astron.nl/desp/args
15 git clone https://git.astron.nl/desp/upe_gear
37 . ./init_sdptr.sh
19 . ./init_upe.sh
scp ~/.gitconfig kooistra@dop386:/home/kooistra # for default git user name and user email
2) upe_gear
a) register map uitlezen: util_unb2.py --unb2 16:19 --pn2 0:3 --seq REGMAP
25 util_system_info.py --unb2 16:19 --pn2 0:3 -n 99
35 more reginfo/register_info.py
b) PPS count: util_ppsh.py --unb2 16:19 --pn2 0:3 -n 1
c) unb2b_minimal laden: util_epcs.py --unb2 16:19 --pn2 0:3 -n 9
d) cd ~/git/hdl/applications/lofar2/images
e) image uitpakken: tar -xvzf lofar2_unb2b_sdp_station_full_wg-r241070441.tar.gz
f) image flashen: util_epcs.py --unb2 16:19 --pn2 0:3 -n 4 -s ./lofar2_unb2b_sdp_station_full_wg-r241070441.rbf
g) User image laden: util_epcs.py --unb2 16:19 --pn2 0:3 -n 8
3) SDPTR RPi4:
host 10.99.0.250
port 4840 for DTS-lab
port 4842 for sdp-arts
--ip dop386 --mac dop386 for statistics destination
50 stat_stream_xst.py --host 10.99.0.250 --port 4842 -h
51 stat_stream_xst.py --host 10.99.0.250 --port 4842 --headers
52 stat_stream_xst.py --host 10.99.0.250 --port 4842 --headers --stream ON
57 stat_stream_xst.py --host 10.99.0.250 --port 4842 --setup --ip dop386 --mac dop386
43 sdp_rw.py --host 10.99.0.250 --port 4842 -l
44 sdp_rw.py --host 10.99.0.250 --port 4842 -l pps
45 sdp_rw.py --host 10.99.0.250 --port 4842 -r pps_capture_cnt
114 sdp_rw.py --host 10.99.0.250 --port 4842 -r sdp_config_first_fpga_nr
116 sdp_rw.py --host 10.99.0.250 --port 4842 -r sdp_config_nof_fpgas
92 sdp_rw.py --host 10.99.0.250 --port 4842 -w fpga_mask [True]*16
93 sdp_rw.py --host 10.99.0.250 --port 4842 -r fpga_mask
99 sdp_rw.py --host 10.99.0.250 --port 4842 -r global_node_index
80 sdp_rw.py --host 10.99.0.250 --port 4842 -r scrap
81 sdp_rw.py --host 10.99.0.250 --port 4842 -w scrap [1]*16
82 sdp_rw.py --host 10.99.0.250 --port 4842 -w scrap [1]*8192
83 sdp_rw.py --host 10.99.0.250 --port 4842 -r scrap
72 sdp_rw.py --host 10.99.0.250 --port 4842 -w processing_enable [False]*16
73 sdp_rw.py --host 10.99.0.250 --port 4842 -r processing_enable
66 vi test/py/base/statistics_stream_packet.py
58 sdp_rw.py --host 10.99.0.250 --port 4842 -r xst_offload_hdr_eth_destination_mac
59 sdp_rw.py --host 10.99.0.250 --port 4842 -r xst_offload_hdr_eth_destination_ip
64 sdp_rw.py --host 10.99.0.250 --port 4842 -r xst_integration_interval
71 sdp_rw.py --host 10.99.0.250 --port 4842 -r signal_input_bsn
*******************************************************************************
* Polarion:
*******************************************************************************
...
...
@@ -490,27 +572,45 @@ Host dop421
ProxyCommand ssh -q -A astron netcat 10.87.0.221
*******************************************************************************
* Re
gression test
* Re
mote access using step:
*******************************************************************************
* Remote access to regression test machine dop349:
*
Old way:
Remote access to regression test machine dop349:
ssh -X kooistra@portal.astron.nl
# Ipv via portal.astron.nl nu via bastion.astron.nl (195.169.155.27) mbv step client
#
New way:
Ipv via portal.astron.nl nu via bastion.astron.nl (195.169.155.27) mbv step client
# zie: https://support.astron.nl/confluence/pages/viewpage.action?spaceKey=IN&title=SSH+access+to+the+ASTRON+network
/home/kooistra/.ssh/config
/home/kooistra/.step/ssh/config
/home/kooistra/.step/ssh/known_hosts
ssh -J bastion.astron.nl kooistra@10.87.0.186 # = dop386
ssh -J bastion.astron.nl regtest@dop349.astron.nl
You won't be asked for a (bastion) password. The certificate you've just generated will last for twelve hours. Once it's elapsed, the only step from the above you need to perform again is
$ step ssh login kooistra@astron.nl --provisioner "keycloak"
alias mystep='step ssh login kooistra@astron.nl --provisioner "keycloak"'
Whereupon you'll be good for another twelve hours. The above command is a great candidate for a shell alias.
*******************************************************************************
* Regression test
*******************************************************************************
Remote access using step:
> mystep
then:
> ping dop349.astron.nl --> responses within ~20 ms
> ping 10.87.6.144 --> --> responses within ~20 ms, ip dop349 = 10.87.6.144
> ssh -X regtest@dop349.astron.nl
# On dop349
crontab -l # shows scheduled cron jobs
crontab -e # edit schedule
...
...
@@ -960,3 +1060,11 @@ Gelukt !
:kooistra@dop466:/dop466_0/kooistra/git/sdptr/test/py/control$ ./sdp_rw.py --host dop421 -l
:kooistra@dop466:/dop466_0/kooistra/git/sdptr/test/py/control$ ./sdp_rw.py --host dop421 -r firmware_version
*******************************************************************************
* Drawio
*******************************************************************************
Oude drawio uninstall mbv Administration/Software Manager
Nieuw heet nu diagrams.net 18.1.3 installed mbv Administration/Software Manager
Alt-F7 to move window on screen
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment