Rebuilding SD Card - fatal error

Discussion about this major DATV Project. See https://wiki.batc.org.uk/The_Portsdown_Transmitter
Post Reply
g1tzc
Posts: 22
Joined: Sun Apr 07, 2024 12:14 pm

Rebuilding SD Card - fatal error

Post by g1tzc » Mon Mar 03, 2025 5:42 pm

Good evening,

Everything had been running well, then I had a power cut and the system stopped booting. So I have tried to reinstall and am having problems.

I ran the commands as listed after transferring the SD card to the PI

cd /home/pi
wget https://raw.githubusercontent.com/Briti ... /update.sh -O /home/pi/update.sh
chmod +x /home/pi/update.sh
./update.sh

There were a whole host of errors after this one.

Any offers?

Neil - G1TZC

_______________________________________________

cp: cannot create regular file '/home/pi/user_backups/images/web_not_enabled.png': No such file or directory
cp: cannot create regular file '/home/pi/user_backups/images/RX_overlay.png': No such file or directory
./update.sh: line 10: convert: command not found
rpidatvgui: no process found
/home/pi/rpidatv/scripts/single_screen_grab_for_web.sh: line 18: raspi2png: command not found
Installing rpidatvgui
gcc -Wall -lpthread -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -I.. -o rpidatvgui \
font/font.c \
font/dejavu_sans_18.c \
font/dejavu_sans_20.c \
font/dejavu_sans_22.c \
font/dejavu_sans_24.c \
font/dejavu_sans_26.c \
font/dejavu_sans_28.c \
font/dejavu_sans_30.c \
font/dejavu_sans_32.c \
font/dejavu_sans_72.c \
timing.c \
lmrx_utils.c \
ffunc.c \
ffunc.h \
rpidatvtouch4.c -L/opt/vc/lib -lbcm_host -lpthread -ljpeg -lrt -lm -ldl -lfftw3f -lwiringPi -lLimeSuite -lfcgi -rdynamic
In file included from lmrx_utils.c:19:
lmrx_utils.h:12:10: fatal error: fftw3.h: No such file or directory
#include <fftw3.h>
^~~~~~~~~
compilation terminated.

User avatar
G3GJA
Posts: 391
Joined: Sun Nov 20, 2011 3:44 pm

Re: Rebuilding SD Card - fatal error

Post by G3GJA » Mon Mar 03, 2025 6:48 pm

Neil

Why did you change the active directory with cd /home/pi?

That's not in the build instructions on the BATC Github which are:

Code: Select all

wget https://raw.githubusercontent.com/BritishAmateurTelevisionClub/portsdown4/master/install_portsdown.sh
chmod +x install_portsdown.sh
./install_portsdown.sh 
Copy those instructions and then paste in the Portsdown's console in Putty by right mouse clicking and then press enter.

If you follow the build instructions on the Github site it will work.

Clive

G8GKQ
Site Admin
Posts: 2928
Joined: Sun Mar 22, 2009 1:21 pm

Re: Rebuilding SD Card - fatal error

Post by G8GKQ » Mon Mar 03, 2025 7:31 pm

Hi Neil

I suggest that you reload the operating system and then rebuild the card from scratch. It will take a lot less time than messing around to try to sort out what has happened in the past.

It is important to follow the GitHub instructions exactly if you want support from other users; the moment you go off-piste we get lost!

Dave, G8GKQ

g1tzc
Posts: 22
Joined: Sun Apr 07, 2024 12:14 pm

Re: Rebuilding SD Card - fatal error

Post by g1tzc » Tue Mar 04, 2025 8:10 am

Thank you for getting me out of that.

@Clive - because I misread the instructions. When I clicked on https://wiki.batc.org.uk/Portsdown_4# Software I used the upgrade instructions not the fresh install instructions on the https://github.com/BritishAmateurTelevi ... portsdown4 link.

A totally self inflicted situation.

Currently using the correct instructions from the right place.

Neil - G1TZC

Post Reply

Return to “The Portsdown Digital ATV System”