G2 Updated files and simplified update procedure

G2 operating system and special app's (e.g. p2app) discussion only--post Thetis and piHPSDR questions in their own sub-forums
Trucker
Posts: 486
Joined: Wed Nov 03, 2021 5:16 pm

Re: G2 Updated files and simplified update procedure

Post by Trucker »

I updated the FPGA in my Ultra just yesterday from Laurence's Github page.
No issues with the front panel display. Maybe a setting that your friend was using previously has changed?
James
WD5GWY


https://github.com/laurencebarker/Saturn/tree/main/FPGA
syracusepro
Posts: 27
Joined: Fri Oct 07, 2022 3:47 pm

Re: G2 Updated files and simplified update procedure

Post by syracusepro »

I got V17 of the firmware. Trying to upgrade to V25, but there is no folder called Saturn/scripts.
Saturn is there, but within Saturn, there is no folder called scripts.
Thanks.
WB9HKO
Posts: 9
Joined: Sun Nov 16, 2025 6:52 pm

Re: G2 Updated files and simplified update procedure

Post by WB9HKO »

syracusepro wrote: Sun Nov 09, 2025 4:30 pm I got V17 of the firmware. Trying to upgrade to V25, but there is no folder called Saturn/scripts.
Saturn is there, but within Saturn, there is no folder called scripts.
Thanks.
I also have V17 firmware in my non-display G2. I can easily enough create a "scripts" directory, just don't know where to go from there. I've watched @N4VFR's video quite a few times, but not I'm sure whether to start from the @LauerenceBarker github or the @KD4YAL github since the firmware is older and components are obviously missing.

Tom
WB9HKO
Posts: 9
Joined: Sun Nov 16, 2025 6:52 pm

Re: G2 Updated files and simplified update procedure

Post by WB9HKO »

Do I just need to create a local scripts directory, then copy the contents (*.sh's) of the script directory on Lauerance's github to my RPi4 and then execute "update-G2.sh" in terminal?

Then follow with the firmware update process to update the FPGA from v17 to v25?
laurencebarker
Posts: 326
Joined: Mon Nov 11, 2019 7:39 pm

Re: G2 Updated files and simplified update procedure

Post by laurencebarker »

I can't remember when the "scripts" folder was added but it is possible that you haven't pulled it in from git yet.

open a terminal window and type:
cd ~/github/Saturn
git pull



that should net you a scripts folder!
Laurence Barker G8NJJ
WB9HKO
Posts: 9
Joined: Sun Nov 16, 2025 6:52 pm

Re: G2 Updated files and simplified update procedure

Post by WB9HKO »

laurencebarker wrote: Mon Dec 01, 2025 9:17 am I can't remember when the "scripts" folder was added but it is possible that you haven't pulled it in from git yet.

open a terminal window and type:
cd ~/github/Saturn
git pull



that should net you a scripts folder!
Thanks, that bit worked great. I then ran only the update-G2.sh script, and looking through the log file it seemed to process everything ok. Unfortunately, the Flashwriter app does not seem to be among the desktop icons any more. There is just a text file (see pic). When I ran the P2app to re-check firmware, it says the firmware v17 (major version0) is not compatible because p2app requires major version = 1, so I may have a chicken and egg problem in that I can't flash the v25?

There is still a Flashwriter directory with what looks like everything in it. Do I just execute directly from there?

UPDATE: Rebooted the pi and Flashwriter was there on the desktop as it should be. I then ran the update to v25 with success.
Saturn p2app output - 1.jpeg
Saturn p2app output - 1.jpeg (390.69 KiB) Viewed 101 times
Last edited by WB9HKO on Mon Dec 01, 2025 3:40 pm, edited 1 time in total.
WB9HKO
Posts: 9
Joined: Sun Nov 16, 2025 6:52 pm

Re: G2 Updated files and simplified update procedure

Post by WB9HKO »

Text file on desktop
Flashwriter text file on desktop - 1.jpeg
Flashwriter text file on desktop - 1.jpeg (233.82 KiB) Viewed 99 times
Flashwriter directory
Flashwriter directory - 1.jpeg
Flashwriter directory - 1.jpeg (218.31 KiB) Viewed 99 times
Log file is also attached
Attachments
saturn-update-20251201-091503.log
(56.64 KiB) Downloaded 14 times
laurencebarker
Posts: 326
Joined: Mon Nov 11, 2019 7:39 pm

Re: G2 Updated files and simplified update procedure

Post by laurencebarker »

you can run flashwriter from its own folder:


cd ~/Saturn/sw_tools/flashwriter
./flashwriter


if there is no flashwriter application file:

make clean
make
Laurence Barker G8NJJ
WB9HKO
Posts: 9
Joined: Sun Nov 16, 2025 6:52 pm

Re: G2 Updated files and simplified update procedure

Post by WB9HKO »

laurencebarker wrote: Mon Dec 01, 2025 7:45 pm you can run flashwriter from its own folder:


cd ~/Saturn/sw_tools/flashwriter
./flashwriter


if there is no flashwriter application file:

make clean
make
Thanks Laurence. I figured out to reboot the RPi and everything worked perfectly after that. Flashwriter app icon appeared, so I was able to upgrade to v25 on the FPGA also. Already made a few contacts today :-)
Post Reply

Return to “G2 Operating System & Applications”