Author Topic: Updating PilotAware Software Version  (Read 6618 times)

Etheav8r

Updating PilotAware Software Version
« on: October 06, 2015, 03:34:17 pm »
When updating the PilotAware to a new software version, do we simply mount the Micro SD card in the PC, delete all the old PA software files from their partition and then copy over the new ones, or do we have to reformat the SD card first?

ianfallon

Re: Updating PilotAware Software Version
« Reply #1 on: October 06, 2015, 04:02:18 pm »
I just delete all the files on the card, copy the new ones on (contents of the folder, not the top level folder).

When the Pi is then booted with it in, it will do the installation then reboot. This installation on booted process takes maybe 10 mins so if you don't have a monitor connected it can be confusing as to why the Pi is "not booting up and showing a Wifi hotspot"

Admin

Re: Updating PilotAware Software Version
« Reply #2 on: October 06, 2015, 04:05:05 pm »
I just delete all the files on the card, copy the new ones on (contents of the folder, not the top level folder).

When the Pi is then booted with it in, it will do the installation then reboot. This installation on booted process takes maybe 10 mins so if you don't have a monitor connected it can be confusing as to why the Pi is "not booting up and showing a Wifi hotspot"

10 Mins - in my dreams !
Mine normally takes about 20 Mins, I wonder if the SD cards have different access times ?
I tend to reformat my SD card, then drop all the files into the newly reformatted SD card,
I have had some issues previously, if I did not reformat first.

ianfallon

Re: Updating PilotAware Software Version
« Reply #3 on: October 06, 2015, 04:59:28 pm »
I'm probably just being generous with the 10 mins  ;D

Curious as to why it wouldn't work with just deleting. I can imagine "copy of the top" could cause a LOT of problems though LOL

Admin

Re: Updating PilotAware Software Version
« Reply #4 on: October 06, 2015, 05:13:50 pm »
it is related to disk partitioning during the installation procedure,
but I do not recall exactly what the issue was

Etheav8r

Re: Updating PilotAware Software Version
« Reply #5 on: October 06, 2015, 11:03:55 pm »
Ok, from the above I take it that Ian has been simply deleting the files from the root of the first partition that Windows can ‘see’ and then copied over all the new files from the updated version after unzipping, and it has worked OK for him.

However Lee has had issues with that method, and so always reformats the Micro SDHC card before copying over the new files.

When I installed the original software, I simply copied over the files into the root of the brand new SD cards, without formatting them and all was well.

So I decided that as I have 3 units to update to PilotAware-20151003, that I would try both methods and see how things went.

First I had a look at the SD card that had the original PA software build using Mini Tool Partition Wizard on my PC; the SD card had 3 partitions, 1 called RECOVERY which was the one Windows can see and contains the image files, this partition was 354.52MB, 2 was not named, was hidden, and was 7GB, and 3 was called SETTINGS and was also hidden or not in a format that Windows recognises and was 32MB.

So I simply deleted all the files from the root of the SD card in Windows and then copied over all the new ones from the unzipped image folder for PilotAware-20151003.

I inserted this SD into the Pilot aware and powered it up and away she went, timings were 0 to 14 seconds to initial boot load, 14 seconds to 6minutes 20 seconds to Format the SD Card partitions, extract the filesys, from 6:20 to 7:35 to display all the boot stuff on screen and display the final Configuration OK message.  So 7 Minutes 35 Seconds from initial power on to build completed and the Pilot Aware up and running.

For the next unit I first formatted the SD card using SDFormatter v4.0 using only default parameters, and although the partition was displayed as 354 MB, after the format was completed, the SD card contained just a single partition at 7.4GB.  I then copied over the new files to the root of this SC card and popped it into the PilotAware unit, powered up, and away she went just like the first unit, and the timings were just about identical.  When it was finished there were 3 partitions on the SD card at RECOVERY at 356MB, no name at 7.0GB and SETTINGS at 32MB.

So it seems that both methods work, but I will always reformat the SD card using SDReformatter v4 as it is probably the most reliable way to go.  The subsequent repartitioning is clearly the first thing the image build process does, and it makes sense to give it a clean, clear reformatted SD card to begin with, but clearly it is possible to get away with just deleting the files and copying over the new ones.

Hopefully this may be of use/interest to others.

onkelmuetze

Re: Updating PilotAware Software Version
« Reply #6 on: October 07, 2015, 06:42:37 am »
Just a quick tip for everybody experiencing the same problems I have, every time I want to update:

When I take the SD card out of my PA-unit and plug it into my Win7-PC, I can only see a 3xx MB size partition, nothing else. Even after formatting with SDformatter v4 with correct settings as proposed by Lee, I can't use its full size.

Only thing that works for me is to plug the SD into a digital camera and format it in there.

brinzlee

Re: Updating PilotAware Software Version
« Reply #7 on: October 07, 2015, 09:02:02 am »
When you format the SD card are you selecting in options [FORMAT SIZE ADJUSTMENT] to ON

Etheav8r

Re: Updating PilotAware Software Version
« Reply #8 on: October 07, 2015, 03:25:51 pm »
When I formatted I used the default QUICK FORMAT, FORMAT SIZE ADJUSTMENT OFF  and after the format there was a single partition of 7.4GB

The other interesting aspect is that after the build process having formatted the SD card, the resulting partition sizes were all neatly exact units, with RECOVERY at 356MB, no name at 7.0GB and SETTINGS at 32MB.  I guess this is because the partitions are now correctly aligned.