开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

Zbitx RPI SD-card image needed


 

Hi there
?
I was one of the first ordering the zbitx. Impressive little thing. I fact interesting using a RPI at the heart of the radio.

With a RPI there also comes challenges in that on can break things of not doing things/updates the right way.
With them video:s describing updates to RPI and display-controller one would belive that all is nice and dandy. And for most folks it is.?

Nevertheless, out of a sudden im not able to do a sw update to the RPI in my radio beyond version 3.021.?
The display controller is on 1.05

Occasionally the WLAN-interface is not getting a IP-address from my DHCP. And even when it gets the IP-address the DNS-settings are not always ok for name resolution.?
For all of you that want to say that I should be checking my router - NO, there is nothing wrong with that. Works fine for all my other 25 odd devices in my LAN.

So Im at a point where my zbitx is not bricked, but useless. I would need a fresh image that I can put onto the SD-card for the RPI. This has been addressed.

Maybe the root cause is that the SD-card is somewhat corrupted after all the hard power outages ?? Im not used to doing a hard power outage/shutdown to a UNIX/LINUX system like one does with the zbitx.

Any ideas ??
--
Tilman D. Thulesius

SM0JZT / Sweden


 

I don't know how stripped down the Debian OS is, I'm just assuming that if the Raspberry menu is available, then there is an SD Card Copier option in Accessories, with which you can make a Backup of the running OS. To do this, you need to connect a uSD card reader to the USB (the card reader is also good for writing).
With this method, you can save a complete Image and use it if necessary.
--
Gyula HA3HZ


 

Tilman,
have you tried switching the branch? let us give it a go while the sd card image slowly makes it to the google drive.
Here is what you do:
1. On booting up, open a terminal (like you to do update)
2. Move to the sbitx directory:
cd sbitx
3. Now, switch the branch like this:
git checkout?master
4. Run the update (note the full-stop before the /)
./update sbitx?
5. Now, run the sbitx from the same command line, like this:
./sbitx

hopeful?this will sort it out
- f

On Tue, Apr 1, 2025 at 1:58?PM HA3HZ via <gyula=[email protected]> wrote:
I don't know how stripped down the Debian OS is, I'm just assuming that if the Raspberry menu is available, then there is an SD Card Copier option in Accessories, with which you can make a Backup of the running OS. To do this, you need to connect a uSD card reader to the USB (the card reader is also good for writing).
With this method, you can save a complete Image and use it if necessary.
--
Gyula HA3HZ


 

Ashhar
?
Thank you so very much for your attempts. I have tried it , but no luck :-(

Here the output:
pi@sbitx:~ $ cd sbitx
pi@sbitx:~/sbitx $ git checkout master
error: pathspec 'master' did not match any file(s) known to git
pi@sbitx:~/sbitx $ ls -l master*
ls: cannot access 'master*': No such file or directory

Bottom line is I guess that I still need to build a new SD-card with a fresh image. Thank you in advance.
?
?
--
Tilman D. Thulesius

SM0JZT / Sweden


 

Ashhar
?
Just for giggles I did try the ./update thingy. Here is the output. Might ring a bell for you that understand far more then myself:

pi@sbitx:~/sbitx $ ./update
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Tue ?1 Apr 09:32:27 MST 2025
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 6 (delta 5), reused 6 (delta 5), pack-reused 0 (from 0)
Unpacking objects: 100% (6/6), done.
From https://github.com/afarhan/zbitx
? ?8da6d22..b9cabb4 ?main ? ? ? -> origin/main
Already up to date.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Tue ?1 Apr 09:32:29 MST 2025
database is intact
compiling sbitx version v3.021 in /home/pi/sbitx
/usr/bin/ld: cannot open output file sbitx: Permission denied
collect2: error: ld returned 1 exit status
pi@sbitx:~/sbitx $?



--
Tilman D. Thulesius

SM0JZT / Sweden


 

I am so sorry. Too much brain fog. It is
git checkout main
i wrongly gave you git checkout master
- f

On Tue, Apr 1, 2025 at 10:08?PM Tilman, SM0JZT via <sm0jzt=[email protected]> wrote:
Ashhar
?
Just for giggles I did try the ./update thingy. Here is the output. Might ring a bell for you that understand far more then myself:

pi@sbitx:~/sbitx $ ./update
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Tue ?1 Apr 09:32:27 MST 2025
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 6 (delta 5), reused 6 (delta 5), pack-reused 0 (from 0)
Unpacking objects: 100% (6/6), done.
From
? ?8da6d22..b9cabb4 ?main ? ? ? -> origin/main
Already up to date.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Tue ?1 Apr 09:32:29 MST 2025
database is intact
compiling sbitx version v3.021 in /home/pi/sbitx
/usr/bin/ld: cannot open output file sbitx: Permission denied
collect2: error: ld returned 1 exit status
pi@sbitx:~/sbitx $?



--
Tilman D. Thulesius

SM0JZT / Sweden


 

Deard Ashhar

Yet another try. I must admit that my patience is at its limits now with the zbitx....?

Anyway, tried and followed your instructions.?

Here the results:

pi@sbitx:~/sbitx $ git checkout main
error: Your local changes to the following files would be overwritten by checkout:
? ? sbitx
Please commit your changes or stash them before you switch branches.
Aborting
pi@sbitx:~/sbitx $ ./update sbitx
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Tue ?1 Apr 22:18:13 MST 2025
Already up to date.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Tue ?1 Apr 22:18:15 MST 2025
database is intact
compiling sbitx version v3.021 in /home/pi/sbitx
/usr/bin/ld: cannot open output file sbitx: Permission denied
collect2: error: ld returned 1 exit status
pi@sbitx:~/sbitx $?
?
Still a nogo apparently :-(
So I kindly ask you to make a fresh image available that I can flash onto my SD-card.

It is very obvious that the system is to fragile for even a person like myself that has been dealing with RPI:s for years. The supportload can get out of hands Im afraid.?
--
Tilman D. Thulesius

SM0JZT / Sweden


 

Hi Tilman,

What are the properties of the /home/pi/sbitx/sbitx ?
Can you execute: 'ls -l /home/pi/sbitx/sbitx' and send the result?
Maybe you have done something via sudo and changed the ownership of that file?

73, Wojtek SP5DAA


?r., 2 kwi 2025, 07:45 u?ytkownik Tilman, SM0JZT via <sm0jzt=[email protected]> napisa?:

Deard Ashhar

Yet another try. I must admit that my patience is at its limits now with the zbitx....?

Anyway, tried and followed your instructions.?

Here the results:

pi@sbitx:~/sbitx $ git checkout main
error: Your local changes to the following files would be overwritten by checkout:
? ? sbitx
Please commit your changes or stash them before you switch branches.
Aborting
pi@sbitx:~/sbitx $ ./update sbitx
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Tue ?1 Apr 22:18:13 MST 2025
Already up to date.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Tue ?1 Apr 22:18:15 MST 2025
database is intact
compiling sbitx version v3.021 in /home/pi/sbitx
/usr/bin/ld: cannot open output file sbitx: Permission denied
collect2: error: ld returned 1 exit status
pi@sbitx:~/sbitx $?
?
Still a nogo apparently :-(
So I kindly ask you to make a fresh image available that I can flash onto my SD-card.

It is very obvious that the system is to fragile for even a person like myself that has been dealing with RPI:s for years. The supportload can get out of hands Im afraid.?
--
Tilman D. Thulesius

SM0JZT / Sweden


 

Anyway, having a "shutdown" button in GUI that does power off, could be a good idea to minimize the risk of filesystem corruption...

73, Wojtek


?r., 2 kwi 2025, 08:08 u?ytkownik WZab - SP5DAA via <wzab01=[email protected]> napisa?:

Hi Tilman,

What are the properties of the /home/pi/sbitx/sbitx ?
Can you execute: 'ls -l /home/pi/sbitx/sbitx' and send the result?
Maybe you have done something via sudo and changed the ownership of that file?

73, Wojtek SP5DAA


?r., 2 kwi 2025, 07:45 u?ytkownik Tilman, SM0JZT via <sm0jzt=[email protected]> napisa?:
Deard Ashhar

Yet another try. I must admit that my patience is at its limits now with the zbitx....?

Anyway, tried and followed your instructions.?

Here the results:

pi@sbitx:~/sbitx $ git checkout main
error: Your local changes to the following files would be overwritten by checkout:
? ? sbitx
Please commit your changes or stash them before you switch branches.
Aborting
pi@sbitx:~/sbitx $ ./update sbitx
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Tue ?1 Apr 22:18:13 MST 2025
Already up to date.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Tue ?1 Apr 22:18:15 MST 2025
database is intact
compiling sbitx version v3.021 in /home/pi/sbitx
/usr/bin/ld: cannot open output file sbitx: Permission denied
collect2: error: ld returned 1 exit status
pi@sbitx:~/sbitx $?
?
Still a nogo apparently :-(
So I kindly ask you to make a fresh image available that I can flash onto my SD-card.

It is very obvious that the system is to fragile for even a person like myself that has been dealing with RPI:s for years. The supportload can get out of hands Im afraid.?
--
Tilman D. Thulesius

SM0JZT / Sweden


 

Tilman,

You can download a copy of the zBitx SD card image from this link:

?
Hope this helps.?
?
73,
Ragav


 

TRIED THIS .IMG FILE.? GIVES ERROR (SEE IMAGE).

Thanks,

Sam Hanie


623-219-8130


On Wed, Apr 2, 2025 at 3:42?AM Vu3vwr via <Vu3vwr=[email protected]> wrote:
Tilman,

You can download a copy of the zBitx SD card image from this link:

?
Hope this helps.?
?
73,
Ragav


 

Sorry,
Restarted everything and downloaded?the .lmg again.
It is writing.....fingers crossed.

Thanks,

Sam Hanie


623-219-8130


On Wed, Apr 2, 2025 at 6:45?AM Sam Hanie via <SAMHANIE=[email protected]> wrote:
TRIED THIS .IMG FILE.? GIVES ERROR (SEE IMAGE).

Thanks,

Sam Hanie


623-219-8130


On Wed, Apr 2, 2025 at 3:42?AM Vu3vwr via <Vu3vwr=[email protected]> wrote:
Tilman,

You can download a copy of the zBitx SD card image from this link:

?
Hope this helps.?
?
73,
Ragav


 

Hello Sam,
?
The file is stored in a zip file.? Try extracting the image and creating a microSD card with the extracted file after you rename it to remove the extra .img at the end.
?
It should be "zBitx_image.img" without the quotes.
?
This image may not fit on some 32 GB microSD cards.? I use 64 GB cards to ensure that the image will fit.
?
73
Evan
AC9TU


 

Here we go:

pi@sbitx:~ $ ls -l /home/pi/sbitx/sbitx*
-rwxr-xr-x 1 root root ? ? ? 0 Mar 31 04:40 /home/pi/sbitx/sbitx
-rwxr-xr-x 1 pi ? pi ? 1002132 Mar 19 04:54 /home/pi/sbitx/sbitx1
-rw-r--r-- 1 pi ? pi ? ? 42536 Mar 19 04:54 /home/pi/sbitx/sbitx.c
-rwxr-xr-x 1 pi ? pi ? ? 24576 Mar 19 04:54 /home/pi/sbitx/sbitx.db

I extended the "ls -l" slightly to see some more.
As you can see the "sbitx" is root/root but also empty...?
The other files are pi/pi... Does that ring a bell ??
?
--
Tilman D. Thulesius

SM0JZT / Sweden


 

you probably ran "sudo ./build sbitx" resulting in this problem. let us delete the sbitx file:
sudo rm /home/pi/sbitx/sbitx
and now, run?
./build sbitx


On Wed, Apr 2, 2025 at 5:00?PM Tilman, SM0JZT via <sm0jzt=[email protected]> wrote:
Here we go:

pi@sbitx:~ $ ls -l /home/pi/sbitx/sbitx*
-rwxr-xr-x 1 root root ? ? ? 0 Mar 31 04:40 /home/pi/sbitx/sbitx
-rwxr-xr-x 1 pi ? pi ? 1002132 Mar 19 04:54 /home/pi/sbitx/sbitx1
-rw-r--r-- 1 pi ? pi ? ? 42536 Mar 19 04:54 /home/pi/sbitx/sbitx.c
-rwxr-xr-x 1 pi ? pi ? ? 24576 Mar 19 04:54 /home/pi/sbitx/sbitx.db

I extended the "ls -l" slightly to see some more.
As you can see the "sbitx" is root/root but also empty...?
The other files are pi/pi... Does that ring a bell ??
?
--
Tilman D. Thulesius

SM0JZT / Sweden


 

Ragav

Thank you so very much !!

Now Im a happy bunny. unzipped and then flashed another 32Gbyte SD-card I had laying around.
Im using "Balena Etcher".?

Again - Im a bit concerned with the fact that the system is somewhat fragile. So I guess it makes sense to have the image available for download with instructions on how to flash if things go sideways out there.
?
--
Tilman D. Thulesius

SM0JZT / Sweden


 

How do I restore the image?
?
Leo? AI5II


 

Build a new SD-card (abour 32Gbyte) with a flasher-software like Balena Etcher.?
Download the Image and unzip it First.
--
Tilman D. Thulesius

SM0JZT / Sweden


 

I assume that once I flash the image? I will have to open up the zbitx and replacce the sd card with the new one.
Would be nice to be able to boot from the new card via usb and then use the sdcard copy utility to restore to the original card.
?
Leo, AI5II


 

Ashhar
?
You are probably right there- I might have done this in desperation.
After having downloaded the image and flashed it to a new 32Gbyte SD-card. Put et into the radio and started the radio and did a reconfig. When all done I did a copy of that SD-card (also using Balena Etcher) to have on hand if things go sideways again.

Learnt something new? ;-)
--
Tilman D. Thulesius

SM0JZT / Sweden