From 06c96959671a59681a642992de7a6b857a8cb292 Mon Sep 17 00:00:00 2001 From: Eric Kooistra <kooistra@astron.nl> Date: Mon, 12 Dec 2022 15:51:51 +0100 Subject: [PATCH] Add how to flash unb2. --- doc/erko_howto_tools.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/doc/erko_howto_tools.txt b/doc/erko_howto_tools.txt index 788b44a2fe..5b9752acc0 100755 --- a/doc/erko_howto_tools.txt +++ b/doc/erko_howto_tools.txt @@ -164,6 +164,26 @@ run_rbf unb2b lofar2_unb2b_sdp_station_full_wg > quartus_config unb2b; run_qsys_pro unb2b lofar2_unb2b_sdp_station_full_wg; gen_rom_mmap.py --avalon -d lofar2_unb2b_sdp_station -r lofar2_unb2b_sdp_station_full_wg; run_reg unb2b lofar2_unb2b_sdp_station_full_wg; run_qcomp unb2b lofar2_unb2b_sdp_station_full_wg --clk=CLK; run_rbf unb2b lofar2_unb2b_sdp_station_full_wg +# Flash and reboot with UPE_GEAR +scp unb2c_test_1GbE_I.rbf kooistra@dop421:/home/kooistra/git/upe_gear +util_epcs.py --unb2 0 --pn2 0:3 -v 5 -n 9 # load factory image from flash +util_epcs.py --unb2 0 --pn2 0:3 -v 5 -n 4 -s unb2c_test_1GbE_I.rbf # write rbf into flash +util_epcs.py --unb2 0 --pn2 0:3 -v 5 -n 7 -s unb2c_test_1GbE_I.rbf # write rbf into flash and verify +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 +cd ../sdptr/ +. ./init_sdptr.sh +sdp_rw.py --host 10.99.0.250 -r firmware_version +sdp_firmware.py --host 10.99.0.250 -n 0:3 --reboot --image FACT +sdp_rw.py --host 10.99.0.250 -r firmware_version +sdp_firmware.py --host 10.99.0.250 -n 0:3 --write --image USER --file ../upe_gear/unb2c_test_1GbE_I.rbf +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 + + ******************************************************************************* * RadioHDL with SVN ******************************************************************************* -- GitLab