PilotAware

British Forum => OGN-R PilotAware => Topic started by: Wadoadi on September 27, 2019, 05:30:29 pm

Title: OGN Latest not installing!
Post by: Wadoadi on September 27, 2019, 05:30:29 pm
Hi,
while this could be me, I have install a lot of PI's but could still be the hardware or SD card, but I have tried a Pi 2b+ and a Pi 3 and 2 different Micro SD cards.

Download image taken from http://pilotaware.lode.co.uk/downloads/OGN/PilotAware-OGN.latest.zip

Files unzipped and contents of folder copied to root of the formated 8Gb SD card

Power light comes on but the SD access light remains off.

Is it the image or do I have 2 dead pi's or SD cards?

SDs format ok with the SD formatter.

Thanks

Adi
Title: Re: OGN Latest not installing!
Post by: Keithvinning on September 27, 2019, 08:28:17 pm
Hi Adi

I have just downloaded the latest OGN image on a reformatted card (full overwrite)
It unpacked in 10 minutes and I was able to log onto the configuration files  so all OK

http://pilotaware.lode.co.uk/downloads/OGN/PilotAware-OGN.latest.zip (http://pilotaware.lode.co.uk/downloads/OGN/PilotAware-OGN.latest.zip)

I suggest it is the Pi or SD card which is the problem, not the SW.

If you attach a monitor to the Pi via HDMI cable you will be able to watch it unpack or not as the case may be.

Cheers

Keith
Title: Re: OGN Latest not installing!
Post by: Ian Melville on September 27, 2019, 09:49:02 pm
Do you also need to allow time for it to unpack? It is a while since I built an OGN station.
Title: Re: OGN Latest not installing!
Post by: exfirepro on September 27, 2019, 10:18:14 pm
Hi Ian,

Yes, it needs to partition the card and unpack the software in the same way as a normal fresh PilotAware install, which can take about 20 minutes or so, then it has to run the setup. My concern would be why Adi says there is no sign of the SD light during this process, though it can show briefly then not be visible for fairly long periods while the partitioning is going on. If interrupted during that process that can of course corrupt the card.

Adi,

Have you checked that the cards are Full Overwrite formatted, with Size Adjustment ‘On’ and that the end result is a FAT32 formatted card? My guess would be some sort of corruption during unpacking and transferring the software to the microSD card or during the subsequent install. I agree with Keith - the best way to see what is going on is to attach a monitor via the HDMI port and follow progress on-screen.

Hope this helps

Regards

Peter

Title: Re: OGN Latest not installing!
Post by: Wadoadi on September 27, 2019, 11:42:55 pm
hi all,
    thanks for your input I left it installing while I went out for 4hours and on my return, I plugged an HDMI cable in, it was stuck at the noobs selector screen. Selecting pilot aware shows the pilotaware box and then reboots back to the same screen!

I will try again tomorrow with some other hardware

Buster lite installed without issue on the same pi and mem card after without issue!

Mem card is only 8Gb does it require a 16Gb?
Title: Re: OGN Latest not installing!
Post by: Keithvinning on September 28, 2019, 06:00:43 pm
Hi Adi
No it will work on 4Gb

Keith
Title: Re: OGN Latest not installing!
Post by: Admin on September 29, 2019, 09:37:26 am
Something is wrong, it should have auto installed, no need to select any options
Title: Re: OGN Latest not installing!
Post by: exfirepro on September 30, 2019, 11:36:42 am
Hi Adi,

What type of machine are you using to run SDFormatter? I have had reports of people having difficulty trying to reformat cards on an iMac, though others seem to manage this fine.

It would be worth trying a fresh download and then loading it onto a fully reformatted card again. Check before copying the files across that the card has reformatted to FAT32 and see if this helps. As Keith & Lee have both said, once you put the card into a RP the card should unpack and boot itself automatically over a 10-20 minute period to the point where you can run the configure script. It is however well worth attaching a monitor and watching progress from when you first power up the Pi to see if it sticks anywhere, though it normally all goes fine.

Regards

Peter
Title: Re: OGN Latest not installing!
Post by: Wadoadi on October 01, 2019, 07:38:20 pm
Thanks for all your suggestions, finally found the issue and have the image installed!

The issue was that my power supply was shutting down intermittently! I assume as the CPU switches up and draws more power, however plugging it into a battery or the other power supply and all works normally, the power supply has been consigned to the bin!
Title: Re: OGN Latest not installing!
Post by: exfirepro on October 01, 2019, 10:09:49 pm
Hi Adi,

Glad to hear you have got it working. The infamous PilotAware power supply issue strikes again! Well spotted and thanks for letting us know.

Best Regards

Peter
Title: Re: OGN Latest not installing!
Post by: rhine on December 10, 2020, 06:31:44 pm
An old thread I know, and have seen that my power supply might be the problem so have ordered a pukka Pi item. I have the same red power light on but no green select light when I boot the Pi, and wondering if this is just a problem during the 'initialise' process. I have had a station running fine on my hardware but scared failed so trying to rebuild. I am ok to be patient and wait for the new power supply to arrive, but if anyone can tell me what the base OS might be, then I can do the `curl -s https://pilotaware.lode.co.uk/ogn_install.sh | bash` and hope that this gets me going. Am i right? Maybe there is an ISO of the built system somewhere?

If this is the way it has to be, then sorry for the bother and I will be patient, but if there are options here then am all ears.

Congratulations Keith (and team) on the OBE! Well deserved.

Thanks, Richard
Title: Re: OGN Latest not installing!
Post by: Admin on December 10, 2020, 09:19:52 pm
hi Richard
there is a document here
http://forum.pilotaware.com/index.php/topic,974.msg11851.html#msg11851

The document has the link to the download, I don't post it here in case it moves ;-)
The document is the golden reference

Thx
Lee
Title: Re: OGN Latest not installing!
Post by: rhine on December 11, 2020, 01:24:16 pm
Thanks Lee, that is the very document that I have been using, and I get the same problem as documented @ http://forum.pilotaware.com/index.php/topic,1742.0.html by Wadoadi.

I have just taken delivery of a pukka Pi power supply from the PiHut and still have the same problem with different cards on different Pi3B+ chassis. Is this just me? Do you have an IMG file that we can use rather than the 'self install and configure' in http://pilotaware.lode.co.uk/downloads/OGN/PilotAware-OGN.latest.zip?

If not, then will try some other sd / chassis combinations. Thanks again
Title: Re: OGN Latest not installing!
Post by: exfirepro on December 11, 2020, 03:43:35 pm
Hi Richard,

Just noticed you say you are... ‘still having the problem with your new power supply on a Pi3B+ chassis’. That could be the problem.
 
We know the ATOM software runs on a Pi3B - this was developed to allow network connectivity by WiFi - and I just set one up on a Pi3B a few days ago. I did ask Lee at that time if the ATOM software will run on a Pi3B+ but it appears that none of us have tried it. (Remember it was developed to run on the Pi2B).

I have a 3B+ sitting here so will try it and report back shortly.

Best Regards
Title: Re: OGN Latest not installing!
Post by: rhine on December 11, 2020, 04:05:10 pm
OK - just plugged in a monitor - (should have done this before) and there was an outstanding GUI prompt asking me which OS I wanted to install - choice of 1. Added a USB mouse to the Pi, selected the OS, then selected 'install' and off we go ..... looks like we are not honouring 'recovery.cmdline' and it's `uninstaller quiet ramdisk_size=32768 root=/dev/ram0 init=/init vt.cur_default=1 elevator=deadline silentinstall`. Looks like my power supply was not the problem, and the single blink of the green light at the start was enough to read from the sd card enough to put up the 'which OS?' prompt.

Anyone have any ideas please? Thanks
Title: Re: OGN Latest not installing!
Post by: rhine on December 11, 2020, 04:20:13 pm
After I have manually selected the OS from the boot menu and said that it's ok to write over the disk, then the install runs to completion and I can see ./PilotAware-OGN.config.sh ready to run.
Title: Re: OGN Latest not installing!
Post by: Ian Melville on December 11, 2020, 10:11:41 pm
I don't think that is how it should work. You should not need to choose an OS.

I have a Pi3B+ to upgrade my station on the shelf, will try a new build to see if I have the same issues. Then I can remove the LAN cable that trains across the bedroom floor :-[
Title: Re: OGN Latest not installing!
Post by: Admin on December 12, 2020, 09:29:55 am
The install is ‘unattended’, you should not have to do anything until the login prompt
Thx
Lee
Title: Re: OGN Latest not installing!
Post by: rhine on December 12, 2020, 06:58:58 pm
Thanks Lee, yes was expecting the unattended install, but the behaviour was as I described in my case - had to pick the OS, and confirm a disk overwrite. After that all completed OK so I am up and running. Maybe just for the benefit of others, can you Ian Melville let us know how you get on? It could well be a user error on my part. Thanks
Title: Re: OGN Latest not installing!
Post by: exfirepro on December 13, 2020, 12:25:29 am
Hi again Richard / Lee / Ian,

Sorry for the delay getting back to you Richard. I did plan to do the test install onto a Pi3B+ yesterday as promised, but was kept busy dealing with other problems, so re-planned to do it today (Saturday), but her indoors had other ideas, so I just got back to it a couple of hours ago.

I first downloaded a fresh copy of the OGN-latest (20201118) software and copied it onto a newly (and correctly) formatted microSD card. I then inserted the card into a brand new Raspberry Pi 3B+, with a spare Bridge.

I attached a monitor, then powered up the unit from a charged battery pack, but all I get is the red power LED (solid red), a brief flicker from the two red & green LEDs on the antenna end of the Bridge and after about 30 seconds the rainbow splash screen appears on the monitor, then everything freezes. I'm not even seeing a single flicker from the green 'Drive LED', so suspect a problem with the card or data download/transfer.

Having left the unit for at least 15 minutes, with no change whatsoever, I then tried powering down and removing and reseating the microSD card and rebooting again - but with exactly the same results. Certainly not what I was expecting from your earlier reports Richard.

I next tried a completely fresh software download (same 20201118 version) and put it onto a new card, but with exactly the same results.

Next, I tried an earlier software version (20200921) downloaded on a previous occasion and loaded onto yet another fully reformatted and resized card. Unfortunately I got exactly the same result, with no visible Drive LED activity and the process again simply freezing at the rainbow screen.

It's getting far too late to think clearly tonight, so I am going to leave it 'til the morning and have another think about what is going on.

Regards

Peter

Title: Re: OGN Latest not installing!
Post by: Ian Melville on December 13, 2020, 08:59:43 am
Quote
I first downloaded a fresh copy of the OGN-latest (20201118) software and copied it onto a newly (and correctly) formatted microSD card. I then inserted the card into a brand new Raspberry Pi 3B+, with a spare Bridge.

I attached a monitor, then powered up the unit from a charged battery pack, but all I get is the red power LED (solid red), a brief flicker from the two red & green LEDs on the antenna end of the Bridge and after about 30 seconds the rainbow splash screen appears on the monitor, then everything freezes. I'm not even seeing a single flicker from the green 'Drive LED', so suspect a problem with the card or data download/transfer.

Exactly the same for me last night. New everything except the bridge and known good PSU. I do get a regular tick from the TXL LED on the Bridge antenna end.
Title: Re: OGN Latest not installing!
Post by: Ian Melville on December 13, 2020, 09:02:02 am
Wondering if the Raspberry Pi 3B+ has been "upgraded" and now isn't compatible?
Title: Re: OGN Latest not installing!
Post by: Ian Melville on December 13, 2020, 09:13:40 am
I have just moved the bridge and the same SD card to an old Pi 3B and that is unpacking fine. That was until I knocked the power lead out :-(
o it looks as if the image is not compatible with the Pi 3B+ ?
Title: Re: OGN Latest not installing!
Post by: exfirepro on December 13, 2020, 09:23:09 am
Morning Ian,

I confirmed in one of my earlier posts that the latest software definitely runs fine on a Pi 3B as I tried it just a few days ago as a WiFi setup test for one of my stations.

In the light of both our experiences, I am beginning to question how Richard has managed to get it running on a Pi 3B+. I have a second 3B+ here, so am going to try again this morning with a completely new card. I will let you know how it goes shortly.

In the meantime, Richard, if you read this, can you please confirm you have definitely used a Pi 3B+ (with the chrome metal cases on the CPUs) not a 3B (with the black ones).

Peter
Title: Re: OGN Latest not installing!
Post by: exfirepro on December 13, 2020, 10:50:09 am
OK,

I have just set up another brand-new Raspberry Pi 3B+, with a different spare Bridge. 20201118 software downloaded and copied onto a brand new (blank and correctly formatted) microSD card and this time powered up using a (known good) 3 Amp mains PSU instead of the battery pack.

It boots to the rainbow screen, still with no indication whatsoever on the Drive LED of any activity, solid red power LED, but this time I am getting a regular (approx once every 2 seconds) flashing green on the antenna end of the Bridge. Other than that the unit again remains frozen at the rainbow screen.

I have left it running for well over an hour and absolutely nothing has changed.

I therefore have to conclude that - despite Richards comments above - the current software DOESN't run on the Pi 3B+ - at least not without some sort of 'technical tinkering', which makes me wonder what Richard has actually done to get his to run?

Thinking further and reading back over Richard's earlier posts, he says he was 'asked to choose which OS he wanted to install - from a choice of 1'. In over 5 years of installing and setting up probably running into hundreds of PilotAware and OGN installations, the only time I have ever seen this selection option was when installing standard Raspbian software. I have NEVER come across this OS Selection option with any PilotAware or OGN-R installation.

Richard also makes reference to 'not honouring 'recovery.cmdline' and it's `uninstaller quiet ramdisk_size=32768 root=/dev/ram0 init=/init vt.cur_default=1 elevator=deadline silentinstall`, which indicates an obvious degree of knowledge and makes me wonder whether he has been 'tinkering' with the software in some way, or has somehow installed his copy of the OGN-R software onto a card which already has Raspbian on it (though trying to get that to work is definitely above my pay grade).

Richard, would you care to enlighten us...

Any thoughts Lee?

Regards

Peter

Title: Re: OGN Latest not installing!
Post by: exfirepro on December 13, 2020, 12:36:47 pm
Hi All,

For the avoidance of doubt (for anyone else reading this subsequently). I have just spoken with Lee, who has confirmed that the OGN-R software WON’T currently run on a Pi 3B+ without intervention (which has not been approved and if not done correctly could make the unit unreliable).

Lee did do the ‘tweaks’ to the standard PilotAware software when Raspberry Pi first introduced the 3B+ - to allow us to test it for potential PilotAware use, which we have done extensively - but use of the Pi 3B+ in PilotAware is currently ’not recommended’ due to a significantly higher current draw than when using the 3B.

The necessary ‘tweaks’ haven’t yet been incorporated into the OGN-R software, so our advice is to stick to the Pi2B, or if you want / need to set up your ATOM station with WiFi rather than Ethernet access, or simply to upgrade when fitting a replacement board, stick to a Pi 3B (not 3B+).

Regards

Peter
Title: Re: OGN Latest not installing!
Post by: rhine on December 13, 2020, 07:02:21 pm
Many thanks all for your efforts over the weekend. ATOM station now installed, so I will check again that it is indeed a 3B+ when I am next at the very waterlogged field. Understand the 'support' statement, but just to say, that if you get past the 'what OS?' and 'format the disk?' questions, then the install does complete. After this I just ran 'config' from a ssh pi@ognpaw session and all is good with the world.

For others that follow, please be cognisant of the support statement from Lee and friends.

Seasons greetings to you all! Richard
Title: Re: OGN Latest not installing!
Post by: exfirepro on December 13, 2020, 10:13:03 pm
Hi Richard,

Thanks for the feedback. Out of interest, would you mind saying which station we are talking about please.

Best Regards

Peter
Title: Re: OGN Latest not installing!
Post by: rhine on December 14, 2020, 06:15:32 pm
Sure - it's MossEdgeF - need to change this to PWxxx. Richard
Title: Re: OGN Latest not installing!
Post by: exfirepro on December 14, 2020, 09:26:52 pm
Richard,

Post edited after speaking to Eric (PWPoulton) who just phoned me to say he was very pleased to see MossEdge back on the air today, but confused about the ‘Renaming’ (see below).

Your station is now showing as MossEdgeF for the FLARM side and PWMossEdg for the PilotAware side (it only allows a maximum of 7 characters after the ‘PW’).

When you set your station up, the station name you enter is for the OGN side (a maximum 9 letters under OGN rules) and the PAW software automatically prefixes this with ‘PW’ for the PilotAware side, but truncates the end of the OGN name if you have set it to over 7 characters to maintain the 9 character maximum limit overall.

It seems that when you set up your configuration after changing your Raspbery Pi at the weekend, you (inadvertently - or perhaps deliberately) changed the name of the OGN side from its previous Mossedg (7 characters) to  MossEdgeF (9 characters). This has been automatically truncated for the PW side to PWMossEdg, which is the same as it was before except for the capital 'E', but as your OGN receiver was previously named Mossedg (7 characters with a lower case 'e'), the OGN Network now sees 'MossEdgeF' as a 'new' station, and your range data collated under the previous 'Mossedg' name is now completely disconnected from whatever will be received by the OGN side of your station from now on under the 'new' name (OGNRange is currently showing zero OGN coverage for MossEdgeF). This isn't in itself a problem, but if you want to maintain the historical record as part of your ongoing coverage, you would need to reconfigure your station to its original name.

If you want to do this, log back into your raspberry Pi (pi + whatever you changed the password to), then once logged in simply type ‘config’ at the prompt and hit [Enter]. Your config will restart automatically (you don’t now need to do the ‘cd rtlsdr-ogn’ bit or the full ‘./PilotAware-OGN.config.sh’ anymore).

When you come to the question ‘Do you want to change the station name - currently ‘MossEdgeF’ say yes ‘y’ then re-enter the name in the original format Mossedg . You shouldn’t need to change anything else so you can just say no ‘n’ to the other questions. The GSM Scan should then rerun automatically and the station will restart, with the names for both sides of the station back as they were previously.

If you changed the name deliberately, you can of course just leave it as it is and let the range records start again with the new names. But in either case DO NOT try to manually add the 'PW' - or your station name will change to 'PWPWMossE'.

I have sent you my phone number via the Message Board in case you aren’t sure exactly what I mean, or experience any problems.

Regards

Peter
p.s. see Postscript on next page.
Title: Re: OGN Latest not installing!
Post by: exfirepro on December 15, 2020, 01:01:25 pm
Richard,

Postscript to my previous post. Having looked back at your previous Flarm coverage in the cold light of day (so to speak) - which was obviously accumulated before your station went down in mid July and was mostly south of Blackpool / Warton, I would suggest probably best to just leave things as they now are and let your OGN coverage map build up again with your new installation, rather than changing the names again. The PAW side seems to be carrying on from what you showed before (excellent coverage by the way).

Sorry if I've caused any confusion, hopefully I've at least clarified the point about how the Station Naming system works and about not manually adding the 'PW' prefix to Station Names, which might save others making this mistake in future. If so, it will be time well spent.

Best Regards

Peter
Title: OGN Latest not installing on Pi3B+
Post by: Winged_Jaguar on January 09, 2021, 02:45:41 pm
Hi Lee,

I note earlier threads confirming that Pi 3B+ (and 4B) are not yet compatible with the latest OGN (zip install or run) (Version 20201230) or PAW.

The incompatibility with the 3B+ is also my experience so the below is just for information for anyone hitting the same problem.

It took me a bit of time to work out it wasn't the processor/memory card after attempting several new installs (at first suspecting a corrupted memory card).

Just an observation: On a Pi 3B the latest OGN installed build produces a non-fatal error at startup (below) shortly after switch-on (which then goes on to load and run the OGN with no issues). May be similar on PAW too.

   /init: line 27: can't create/sys/class/leds/led0/trigger: nonexistent directory
   [     1.346047] brcnfmac: brcmf_c_preinit_dcmds: Firmware version = w10: May 27 2016 00:13:38 Version 7.45.41.26 (r640327) FWID 01-df77e4a7                                                                       
   [     1.362715] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code

On the 3B+ if the released zip image is transferred on to a memory card, the 3B+ will not run the OGN Install; it never starts. It will complete the install and load correctly if the memory card is put in a 3B (as one might expect).

If an OGN zip image is installed to the memory card using a 3B and then the memory card is transferred to a 3B+, again the processor simply stops shortly after power-up displaying the square 'rainbow' screen and goes no further.

Question: Is it necessary or desirable to run PAW and OGNR on the B3+ or 4B?? - clearly not; but if one has several other projects using these marvellous processors and one is continuing to buy them it makes sense get later variants as they will be more useful for longer. It is helpful if applications are not too processor specific as one can then choose whatever processor one has to hand to build and test (even though the PAW licencing is processor ID specific).

This is for my current PAW and OGNR ground stations, not a change to my Rosetta (3B).

Keep up the brilliant work; ATOM and Vector are great!
Best regards
Chris
Title: Re: OGN Latest not installing!
Post by: Admin on January 09, 2021, 03:59:25 pm
Thanks Chris

We could port to the 3B+ and 4, but there is much more happening at the moment, so it is currently at the bottom of the stack

Thx
Lee
Title: Re: OGN Latest not installing!
Post by: Ian Melville on January 09, 2021, 04:00:48 pm
one of the considerations for PAW units is the power consumption. 1. many units are run off a battery with limited capacity to make them portable 2. There are too many issue with inadequate power supplies and cables. upping the power drain compounds this problem.

I do find the USC-C power connector on to RPi 4 attractive.
Title: Re: OGN Latest not installing!
Post by: rhine on March 20, 2021, 08:18:17 pm
Just for completeness of this thread. PWMOSSEDG is running a Pi 3

cat /proc/device-tree/model gives ....

Raspberry Pi 3 Model B Rev 1.2
Title: Re: OGN Latest not installing!
Post by: exfirepro on March 21, 2021, 02:06:27 pm
Hi Richard,

Thanks for the update. It seems to be doing the trick.

Best Regards

Peter