New G2 (Black Face) user here... is there a way to query the Pi to ascertain what the currently running firmware(s) & drivers that are installed on the G2's Pi?
For instance perhaps a script that shows currently installed versions of:
FPGA
PCI Express Driver
P2APP Server
DSP Code
etc...
My G2 has not yet arrived but I would indeed like to know what was currently installed by Apache Labs when it does arrive.
I am sure one of you guys has this already figured out.
Lastly, is there a way to contact Lawrence Barker? I have been building a Thetis User Manual V1.1 Topical Index which I would like to share with him and get his valued input upon. My email is current on QRZ.
Thanks & 73
Art W1SWL
G2 Black Face - Query Firmware Installed - Etc.??
Re: G2 Black Face - Query Firmware Installed - Etc.??
If you don't find a better way, you can always hook up a keyboard, mouse and monitor to the radio and check the software directly from Raspbian Linux.
James
WD5GWY
James
WD5GWY
Re: G2 Black Face - Query Firmware Installed - Etc.??
Hi Art,
There are a few different pieces of software running on the G2. Are you able to SSH into your G2? If not, the instructions are linked in section 3.6.3 of the manual: https://raspberrypi-guide.github.io/net ... ng-via-ssh. If using a graphical interface is more comfortable, you can hook up a keyboard, mouse, and monitor to your G2 and do things that way.
From the home directory of the "pi" user, there should be a "github" directory, which has "pihpsdr", "Saturn", "Waveshare-DSI-LCD", and "wsdp" as subdirectories. If you've connected a monitor, you can use pihpsdr (just like the G2 variant that has a screen). To find the version of "pihpsdr", you can cd into the pihpsdr directory & type "git log", which will show the commit log of your local clone of the pihpsdr git repository. A git repository is like a linked list of snapshots of your project. Each snapshot, or commit, is identified by a unique hash that represents the exact state of your project at a specific point in time. You can traverse this list to see the history of changes and even revert to previous states if needed. So, the latest git commit is somewhat akin to the software version.
You can run the same "git log" command Saturn directory, which contains the "p2app" source code & executable under the sw_projects/P2_app directory. That commit hash & description is effectively the version of software you're running. Section 7.4.1 describes how to get the latest version of the repository (run "git pull" to pull down changes from the remote to your local directory & running "make").
There's more instructions at https://groups.io/g/apache-labs/topic/n ... /101545926 on how to pull down the latest "pihpsdr" and "Saturn" changes & recompile the respective pieces of software. I'm not sure how to check the version of the FPGA firmware installed (perhaps the "flashwriter" app shows it?), but the instructions there also describe how to flash the latest firmware.
73,
David
KD0BTO
There are a few different pieces of software running on the G2. Are you able to SSH into your G2? If not, the instructions are linked in section 3.6.3 of the manual: https://raspberrypi-guide.github.io/net ... ng-via-ssh. If using a graphical interface is more comfortable, you can hook up a keyboard, mouse, and monitor to your G2 and do things that way.
From the home directory of the "pi" user, there should be a "github" directory, which has "pihpsdr", "Saturn", "Waveshare-DSI-LCD", and "wsdp" as subdirectories. If you've connected a monitor, you can use pihpsdr (just like the G2 variant that has a screen). To find the version of "pihpsdr", you can cd into the pihpsdr directory & type "git log", which will show the commit log of your local clone of the pihpsdr git repository. A git repository is like a linked list of snapshots of your project. Each snapshot, or commit, is identified by a unique hash that represents the exact state of your project at a specific point in time. You can traverse this list to see the history of changes and even revert to previous states if needed. So, the latest git commit is somewhat akin to the software version.
You can run the same "git log" command Saturn directory, which contains the "p2app" source code & executable under the sw_projects/P2_app directory. That commit hash & description is effectively the version of software you're running. Section 7.4.1 describes how to get the latest version of the repository (run "git pull" to pull down changes from the remote to your local directory & running "make").
There's more instructions at https://groups.io/g/apache-labs/topic/n ... /101545926 on how to pull down the latest "pihpsdr" and "Saturn" changes & recompile the respective pieces of software. I'm not sure how to check the version of the FPGA firmware installed (perhaps the "flashwriter" app shows it?), but the instructions there also describe how to flash the latest firmware.
73,
David
KD0BTO