WH is not starting after installation

The place for discussion about the 4-channel WinterHill DATV Receiver
DG8KD
Posts: 86
Joined: Fri Nov 14, 2014 9:02 pm

Re: WH is not starting after installation

Post by DG8KD » Tue Dec 06, 2022 12:15 pm

g0mjw wrote:
Tue Dec 06, 2022 9:16 am
DG8KD wrote:
Mon Dec 05, 2022 6:36 pm
Were you using the attached keyboard rather than an SSH login? You need to be using the keyboard to start the launch files.

Code: Select all

[b]No command line, no input possible,  so only remote keyboard via ssh[/b]
Surely this is the problem - using an attached screen but a remote keyboard?
As the display is stucking at local.service, no chance to use the keyboard connected via USB to the PI.
No reaction on key presses,,,

G4EWJ
Posts: 1456
Joined: Wed Feb 17, 2010 10:11 am

Re: WH is not starting after installation

Post by G4EWJ » Tue Dec 06, 2022 1:45 pm

With htop, can you see the rc-local.service process running? If so, try killing it.

Brian

DG8KD
Posts: 86
Joined: Fri Nov 14, 2014 9:02 pm

Re: WH is not starting after installation

Post by DG8KD » Thu Dec 08, 2022 12:29 pm

Is there any chance to get rid of the SD card and host and boot the system via the USB ports? A small SDD/ USB stick is cheap and maybe more suitable as a SD.

My PI works perfect with Buster and Desktop, but after installing WH it stops booting....

G4EWJ
Posts: 1456
Joined: Wed Feb 17, 2010 10:11 am

Re: WH is not starting after installation

Post by G4EWJ » Thu Dec 08, 2022 1:37 pm

It's difficult to know if USB boot would work, until we know what the problem is. This is the first time I've heard of it happening.

Let me work out a minimal, manual installation plan and you can reboot after every stage to see what stops it booting.

Brian

DG8KD
Posts: 86
Joined: Fri Nov 14, 2014 9:02 pm

Re: WH is not starting after installation

Post by DG8KD » Thu Dec 08, 2022 1:58 pm

Hi Brian,

I will try to migrate to USB tomorrow, should not be really rocket sciences.
If it fails the same way, no clue.

What makes me worries: Also the modified WH from Tom, ZR6TG fails at the same point. https://www.zr6tg.co.za/winterhill-datv ... er-client/

73
Rainer

G4EWJ
Posts: 1456
Joined: Wed Feb 17, 2010 10:11 am

Re: WH is not starting after installation

Post by G4EWJ » Thu Dec 08, 2022 4:07 pm

I wonder if it could be a memory problem on the RPi? As you install more things, it reaches a bad part of ram.

Try putting these two lines in /boot/config.txt before installing WH and see if it reboots.

Have a look for an RPi ram test program.

Brian

gpu_mem=128
force_turbo=1

G4EWJ
Posts: 1456
Joined: Wed Feb 17, 2010 10:11 am

Re: WH is not starting after installation

Post by G4EWJ » Thu Dec 08, 2022 4:20 pm

Also, after a hangup, try removing the lines from/etc/rc.local that insert the WH driver into the kernel and reboot.

Brian

cd /home/pi/winterhill/whsource-3v20/whdriver-3v20
sudo insmod whdriver-3v20.ko

G4EWJ
Posts: 1456
Joined: Wed Feb 17, 2010 10:11 am

Re: WH is not starting after installation

Post by G4EWJ » Thu Dec 08, 2022 4:44 pm

Try this after trying the above.

Brian


If you have a hanging WH version, first copy the WH kernel module to a PC, to use further down
Look for whdriver-3v20.ko in /home/pi/winterhill/whsource-3v20/whdriver-3v20

Make a new SD card, do the usual on-screen configuration and reboot at each blank line
--------------------------------------------------------------------------------------
gpu_mem=128

force_turbo=1

sudo apt-get -y install xdotool

sudo apt-get -y install xterm

sudo apt-get -y install raspberrypi-kernel-headers

sudo mv /etc/xdg/lxsession/LXDE-pi/sshpwd.sh /etc/xdg/lxsession/LXDE-pi/sshpwd.sh.old

cd /home/pi/.config/lxpanel/LXDE-pi/panels
sed -i "/^ edge=top/c\ edge=bottom" panel

sudo sed -i "/^#dtparam=spi=on/c\dtparam=spi=off\ndtoverlay=spi5-1cs" /boot/config.txt

sudo sed -i "/^dtoverlay=vc4-fkms-v3d/c\#dtoverlay=vc4-fkms-v3d" /boot/config.txt

sudo sed -i "/^#hdmi_force_hotplug=1/c\hdmi_force_hotplug=1" /boot/config.txt

If you have saved whdriver-3v20.ko, put it back on the RPi (anywhere) and type:
sudo insmod whdriver-3v20.ko
reboot

DG8KD
Posts: 86
Joined: Fri Nov 14, 2014 9:02 pm

Re: WH is not starting after installation

Post by DG8KD » Sat Dec 10, 2022 3:29 pm

Performed a whole bunch of memtests, none of them failed.
That´s good news, so PI itself seems to be OK.
G4EWJ wrote:
Thu Dec 08, 2022 4:07 pm
I wonder if it could be a memory problem on the RPi? As you install more things, it reaches a bad part of ram.

Try putting these two lines in /boot/config.txt before installing WH and see if it reboots.

Have a look for an RPi ram test program.

Brian

gpu_mem=128
force_turbo=1

DG8KD
Posts: 86
Joined: Fri Nov 14, 2014 9:02 pm

Re: WH is not starting after installation

Post by DG8KD » Mon Dec 12, 2022 1:31 pm

Update:

I removed the PI from the WH PCB and did the programming without any connection to the PCB.
And: It works....After the installation it reboots and starts in local mode.

So it seems something on the PCB is causing my problems. As the values of the 3 voltages are not shown any deviation to the expected values (1.097 V / 3.31 V and 5.15 V)

After the reinsertion of the PI onto the board and booting up the WH started in local mode. Weird !!! Same PSU, same micro SDHC card, same cables, same Buster build, same Windows PC,

THANKS for your support!!

Will do a set of reboots to see if it comes up again.

Post Reply

Return to “The WinterHill DATV Receiver”