Update from 3.4.17 to 4.1.5.

General support for the Pi-Star System
vk3skl
Posts: 3
Joined: Thu Sep 09, 2021 4:44 am

Re: Update from 3.4.17 to 4.1.5.

Post by vk3skl »

I have the exact same issue.
I have V3.4.17 running fine on my Pi Zero W V1.1. But.....

I downloaded Pi-Star_RPi_V4.1.5_21-Jun-2021 and used the Raspberry Pi Imager to burn the .img file to the SD card. I also added the wpa_supplicant.conf to the root of the SD card. With this, the Pi zero will not start. So I then connected up a mini HDMI cable and screen to the Pi Zero to see what it was doing. The Pi Zero does actually boot, then it unpacks the files, mounts the filesystems, tries to start up the wlan0, then it panics and reboots ,and the process starts again.

I downloaded the image file from https://www.pistar.uk/downloads/

I only tried to update the firmware because there is a banner at the top of the pi-start home page saying: -

"Alert: You are running an outdated version of Pi-Star, please upgrade.
New versions are available from the here: http://www.pistar.uk/downloads/."


What I will do is put the SD card with a fresh image burn onto a Pi 3B I have lying around to see if it works on a non Pi zero platform.

Regards VK3SKL
dh3ybe
Posts: 64
Joined: Sun Aug 26, 2018 9:02 pm
Location: Germany

Re: Update from 3.4.17 to 4.1.5.

Post by dh3ybe »

Dear OM,

did you generate a new wpa_supplicant.conf from pistar.uk of use an old one of your previous pistar system?

I would generate an new file and try that.

BR
Kai
DH3YBE
dh3ybe
Posts: 64
Joined: Sun Aug 26, 2018 9:02 pm
Location: Germany

Re: Update from 3.4.17 to 4.1.5.

Post by dh3ybe »

2nd Suggestion
Even when wlan is not working the pistar should boot in my opinion.

a friend of mine had rebooting problems. His SD Card was damaged and a new downloaded image on new sd card was the solution.

BR
Kai
dh3ybe
KE7FNS
Pi-Star Team
Posts: 2077
Joined: Wed Apr 17, 2019 11:11 pm

Re: Update from 3.4.17 to 4.1.5.

Post by KE7FNS »

vk3skl wrote: Thu Sep 09, 2021 10:50 am The Pi Zero does actually boot, then it unpacks the files, mounts the filesystems, tries to start up the wlan0, then it panics and reboots ,and the process starts again.
Sounds like its working as it is supposed to, but there is a problem with your hardware or something to do with wlan0. If you can provide the errors maybe someone can get more detailed about it.

I would suggest using a different imager, like balenaetcher, or win32diskimager and trying that, also try a different brand/make/model/size of SD card. Some are not compatible with RPi's. https://elinux.org/RPi_SD_cards
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol: and again
vk3skl
Posts: 3
Joined: Thu Sep 09, 2021 4:44 am

Re: Update from 3.4.17 to 4.1.5.

Post by vk3skl »

Thanks for the reply's.
Further testing performed.
So the SD card I had used for the pi-star 4.1.5 upgrade, I re-flashed it with the latest Raspberry Raspbian image and put this card into the Pi Zero W. All boots and works fine including the WLAN0. So my Pi Zero W now has a fully functional Raspbian Lite running on it. So this rules out hardware issues on the Pi Zero.

Yes I used the WPA builder. I also created one myself which I used on the 3.4.17 build when I got it the Pi Zero/MMDVM Hat which worked fine with my WiFi access point.

So I took a video as to what was going on as the information was too fast on the screen. It is not the WLAN0 it is complaining about.
It looks like it fails to mount and expand into 2nd partition on the SD card.
EXT4-fs error (device mmcblk0p2): and something about incorrect inodes. This would suggest a faulty SD card.

Although it doesn't explain why the Raspbian image worked fine on the same 16GB SD card. If the card was faulty, then the same error would occur when it unpacked the boot images into the second partition.

I also tried the pi-star V4.1.5 mage on a 8GB card I had lying around. I formatted it in FAT32 using the Raspberry Imager. Burnt the pi-star image to the SD and exactly the same error. OK, it was a card of unknown working condition but the same result occurred.

I will go and buy a brand new 16GB SD card and test again. The cards I use are SanDisk Ultra speed class 10 (UHS class 1). The one that came with the Pi Zero was a BanDisk brand. Hmmm, but it worked on V3.4.17....

Regards
VK3SKL
vk3skl
Posts: 3
Joined: Thu Sep 09, 2021 4:44 am

Re: Update from 3.4.17 to 4.1.5.

Post by vk3skl »

OK, so I got it working.

It is all dependant on the SD card. I flashed a new 8GB card with V4.1.5_21 using the same steps I did before and it boots into pi-start (No mode defined) which is normal. Great.

So as to why the other SD cards will flash and run a Raspbian image and not a pi-star image is beyond me.

Thanks all for your suggestions.

73
VK3SKL
dh3ybe
Posts: 64
Joined: Sun Aug 26, 2018 9:02 pm
Location: Germany

Re: Update from 3.4.17 to 4.1.5.

Post by dh3ybe »

Thanks for your reply and great feedback, that your equipment is working know.

BR
Kai
dh3ybe
KE7FNS
Pi-Star Team
Posts: 2077
Joined: Wed Apr 17, 2019 11:11 pm

Re: Update from 3.4.17 to 4.1.5.

Post by KE7FNS »

vk3skl wrote: Thu Sep 09, 2021 11:07 pm So as to why the other SD cards will flash and run a Raspbian image and not a pi-star image is beyond me.
Some boards just have compatibility issues, and when you throw in that counterfeit SD cards are everywhere these days it makes things even more difficult.

One of the resources I use is:
https://elinux.org/RPi_SD_cards

I have a patriot 32 GB SD card that whenever it is stuck into any model of RPi it will corrupt files randomly. In other laptops, phones and tablets no issues what so ever.
If someones previous actions are any indication of their future actions, then I predict the deletion and removal of access will happen at any moment. 7-11-2020.

"07/13/20 This Website Has Been Taken Down" ... again :lol: and again
dd5ma
Posts: 6
Joined: Thu Sep 02, 2021 10:11 pm

Re: Update from 3.4.17 to 4.1.5.

Post by dd5ma »

Thanks for all the answers.

But I have still not solve my Upgrade problem.

- I have used 5 different new SD-Cards - no success, no booting.

I have in between successfully upgrated the Firmware of my Jumbohat Kernel 4.9.35+ Pi Zero W Rev 1.1 (512MB) 14.7456 MHz
from V.1.3.3. to 1.5.2. dated 20201108.

Trying to update from 3.4.17 to 4.1.5. via pistar desktop gives following answer:
>>>
Starting upgrade, please wait...
Detected Pi-Star 3.4.17 running on RPi hardware, attached to stm32dvm modem...
You are already running the latest version...
Upgrade process complete, syncing disk cache before making the disk Read-Only
Finished
<<<

So it seems to me that the Version 4.1.5. is not possible for my hardware.

Any hints?

vy 73 Frank DD5MA

PS: my hotspot is working fine with 3.4.17. - so perhaps better not to change any running system :-)
KG6RUT
Posts: 82
Joined: Thu Dec 24, 2020 7:28 pm

Re: Update from 3.4.17 to 4.1.5.

Post by KG6RUT »

You need to flash the latest version to an sdcard, you cant upgrade inline from 3 to 4....HTH
Post Reply