Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sdptr
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
LOFAR2.0
sdptr
Merge requests
!31
L2SDP-483
, add info file for setting up raspberrypi
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
L2SDP-483
, add info file for setting up raspberrypi
L2SDP-483
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Pieter Donker
requested to merge
L2SDP-483
into
master
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
Closes
L2SDP-483
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
21b8008b
1 commit,
3 years ago
1 file
+
106
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
developing_on_raspberrypi.md
0 → 100644
+
106
−
0
Options
#### Setting up Raspberrypi-4 for running and developing the sdp translator (sdptr)
##### Install raspbian os on a SDcard.
Download Raspberry Pi Imager for your operating system
Linux: https://downloads.raspberrypi.org/imager/imager_latest_amd64.deb
Windows: https://downloads.raspberrypi.org/imager/imager_latest.exe
macOS: https://downloads.raspberrypi.org/imager/imager_latest.dmg
Install and run the Imager (you need a sd-card reader).
-
CHOOSE OS, "Raspberry Pi OS (other)" > "Raspberry Pi OS Lite (32-bit)"
-
CHOOSE STORA..., "Select SDcard"
-
WRITE.
If done, add empty file SSH to root of disk to activate the ssh server.
```
shell
cd
[
SDcard]
touch
SSH
```
##### Startup and configuration.
Put the SD-card in the RaspberryPi and startup, login=pi, password=raspberry.
```
shell
sudo
raspi-config
```
For only running "sdptr" more is not needed.
------
##### Setup for developing sdptr.
Install missing tools/programs.
```
shell
sudo
apt-get
install
build-essential gcc pkg-config cmake autoconf automake
sudo
apt-get
install
vim screen
```
Add a git directory.
```
shell
mkdir
~/git
cd
~/git
```
##### Installation of open62541 opc-ua library.
The opc-ua library is needed by sdptr.
Get source code:
```
shell
git clone https://github.com/open62541/open62541.git
cd
~/git/open62541
git submodule update
--init
--recursive
```
Compile and install.
```
shell
mkdir
~/git/open62541/build
cd
~/git/open62541/build
cmake ..
make
sudo
make
install
```
##### Installation and compiling sdptr.
Install from git repository.
```
shell
cd
~/git
git clone https://git.astron.nl/lofar2.0/sdptr.git
```
First time or after changing the Makefile
```
shell
cd
~/git/sdptr
autoreconf
-f
-i
./configure
```
Compile sdptr.
```
shell
cd
~/git/sdptr
make
```
##### Running sdptr.
sdptr can run without hardware connected.
```
shell
cd
~/git/sdptr/src
./sdptr
--configfile
sdptr.conf
--nodaemon
--type
LTS
```
Loading