Skip to content
Snippets Groups Projects
Commit 006c4906 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Load FW on sdp-arts.

parent 47a6483b
No related branches found
No related tags found
No related merge requests found
Pipeline #43039 passed
......@@ -56,12 +56,12 @@
> . ./init_hdl.sh
* inHDL_WORKines:
* init_hdl.sh defines:
- RADIOHDL_WORK directory for where the source code resides
- HDL_BUILD_DIR directory for where the targets will be build
- HDL_IOFILE_SIM_DIR=${HDL_BUILD_DIR}/sim for simulating with Modelsim using file IO
* init_hdHDL_WORKit user_components.ipx into Altera dir's
* init_hdl copies git user_components.ipx into Altera dir's
- cp ${RADIOHDL_WORK}/hdl_user_components.ipx $altera_dir/ip/altera/user_components.ipx
* init_hdl.sh automatically also sources ../radiohdl/init_radiohdl.sh if necessary
......@@ -192,7 +192,12 @@ kunnen nog ongeveer 35x opslaan, voordat we moeten deleten.
* Flash and reboot unb2
*******************************************************************************
# Copy rbf image to machine
scp build/unb2c/quartus/unb2c_test_1GbE_I/unb2c_test_1GbE_I.rbf kooistra@dop421:/home/kooistra/git/upe_gear
scp -rp build/unb2c/quartus/unb2c_test_1GbE_I/unb2c_test_1GbE_I.rbf kooistra@dop421:/home/kooistra/git/upe_gear
# On dop386 of sdp-arts (dop349 = 10.87.0.149)
scp -rp regtest@10.87.0.149:/home/regtest/hdl_build_result/2023-01-22T04u27_lofar2_unb2b_sdp_station_full_wg_212MHz/lofar2_unb2b_sdp_station_full_wg.rbf /home/kooistra/hdl_build_result
build/unb2c/quartus/unb2c_test_1GbE_I/unb2c_test_1GbE_I.rbf kooistra@dop421:/home/kooistra/git/upe_gear
# Flash and reboot with UPE_GEAR
util_epcs.py --unb2 0 --pn2 0:3 -v 5 -n 9 # load factory image from flash
......@@ -201,7 +206,10 @@ util_epcs.py --unb2 0 --pn2 0:3 -v 5 -n 7 -s unb2c_test_1GbE_I.rbf # write rbf
util_epcs.py --unb2 0 --pn2 0:3 -v 5 -n 8 # load user image from flash
util_system_info.py --unb2 0 --pn2 0:3 -v 3 -n 2
# Flash and reboot with SDPTR
# Flash and reboot with SDPTR on DTS-lab
# RPi4 is 10.99.0.250
# port 4840 for DTS-lab
# port 4842 for sdp-arts
cd ../sdptr/
. ./init_sdptr.sh
sdp_rw.py --host 10.99.0.250 -r firmware_version
......@@ -211,7 +219,20 @@ sdp_firmware.py --host 10.99.0.250 -n 0:3 --write --image USER --file ../upe_gea
sdp_rw.py --host 10.99.0.250 -r firmware_version
sdp_firmware.py --host 10.99.0.250 -n 0:3 --reboot --image USER
sdp_rw.py --host 10.99.0.250 -r firmware_version
HDL_WORK
sdp_rw.py --host 10.99.0.250 --port 4842 -r firmware_version
sdp_firmware.py --host 10.99.0.250 --port 4842 -n 64:79 --reboot --image FACT
sdp_rw.py --host 10.99.0.250 --port 4842 -r firmware_version
sdp_firmware.py --host 10.99.0.250 --port 4842 -n 64:79 --write --image USER --file /home/kooistra/hdl_build_result/lofar2_unb2b_sdp_station_full_wg.rbf
sdp_rw.py --host 10.99.0.250 --port 4842 -r firmware_version
sdp_firmware.py --host 10.99.0.250 --port 4842 -n 64:79 --reboot --image USER
sdp_rw.py --host 10.99.0.250 --port 4842 -r firmware_version
Last SDPFW version used in 2022:
kooistra@dop386:~/git/sdptr$ sdp_rw.py --host 10.99.0.250 --port 4842 -r firmware_version
read firmware_version:
node 64: 2022-11-06T02.45.36_e6769e2e3_lofar2_unb2b_sdp_station_full_wg
*******************************************************************************
* RadioHDL with SVN
......@@ -851,7 +872,7 @@ When screen is started, it reads its configuration parameters from
Screen settings according to our preferences using the .screenrc file.
Here is a sample ~/.screenrc configuration with customized status line and few
additional options:
HDL_WORK
~/.screenrc
# Turn off the welcome message
startup_message off
......@@ -863,11 +884,11 @@ vbell off
defscrollback 10000
# Customize the status line
hardHDL_WORKlastline
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W}%c %{g}]'
Copy
* ueHDL_WORKijkt eerst niet op te starten,
* uex in screen lijkt eerst niet op te starten,
matlab wel dus het ligt niet aan GUI, daarna lukts uex wel.
* :kooistra@dop386:~/git/hdl> --> in gewone terminal
* ::kooistra@dop386:~/git/hdl> --> in screen terminal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment