Go to advanced search

by g8gkq
Wed Nov 20, 2019 10:25 am
Forum: Troubleshooting
Topic: Solved: Can't get Headless Buster Lite to Run a Bash Script on Boot
Replies: 1
Views: 357

Re: Solved: Can't get Headless Buster Lite to Run a Bash Script on Boot

In writing the problem out logically, I answered my own question. I was not trying to run my script with the correct path. So, the solution I use is that crontab calls a script on boot, and then that script sets the user's path and calls the script to run as the user. So the entry in crontab is: @re...
by g8gkq
Tue Nov 19, 2019 5:00 pm
Forum: Troubleshooting
Topic: Solved: Can't get Headless Buster Lite to Run a Bash Script on Boot
Replies: 1
Views: 357

Solved: Can't get Headless Buster Lite to Run a Bash Script on Boot

The Portsdown Digital Amateur TV transmitter uses a RPi 3/3b with a touchscreen running Raspbian Lite. The Stretch build uses autologin@.service to run /home/pi/.bashrc, which has been amended to source the bash script to start the touchscreen. The install file does this: # Create directory for Auto...
by g8gkq
Fri Jul 12, 2019 4:18 pm
Forum: Troubleshooting
Topic: RPi3B Stretch Lite Composite Video fail after dist-upgrade
Replies: 1
Views: 145

RPi3B Stretch Lite Composite Video fail after dist-upgrade

I have been running Stretch Lite (and Jessie Lite before it) with a Waveshare 3.5 inch Touchscreen on an RPi3B for over 2 years. I have always been able to use the composite video output at the same time and successfully built 2 new systems on Thursday morning (11 July). However, on Thursday evening...
by g8gkq
Thu Jul 11, 2019 9:33 am
Forum: OpenVG
Topic: RPi 4 OpenVG Support?
Replies: 22
Views: 3731

RPi 4 OpenVG Support?

I support about 400 users worldwide using an open source Digital Amateur Television application suite which runs on a Raspberry Pi 3B or 3B+ with a touchscreen https://github.com/BritishAmateurTelevisionClub/portsdown . The "Portsdown" suite of programs run on Stretch Lite (and will migrate to Buste...
by g8gkq
Fri Mar 01, 2019 8:32 pm
Forum: Troubleshooting
Topic: Stretch Lite dist-upgrade fails
Replies: 3
Views: 551

Re: Stretch Lite dist-upgrade fails

Thanks @andrum99

No, not running anything else. Fresh image of Raspbian stretch Lite (ssh enabled) on first boot. No peripherals except a Waveshare 3.5 inch touchscreen which connects by GPIO, but no drivers loaded for that - they get loaded later in the script.

Dave
by g8gkq
Fri Mar 01, 2019 10:11 am
Forum: Troubleshooting
Topic: Stretch Lite dist-upgrade fails
Replies: 3
Views: 551

Stretch Lite dist-upgrade fails

I build 2 or 3 SD Cards a week for a system based on the 13 November 2018 Stretch Lite release. I use an install script that starts: #!/bin/bash # Update the package manager sudo dpkg --configure -a sudo apt-get update # Uninstall the apt-listchanges package to allow silent install of ca certificate...
by g8gkq
Mon Jan 21, 2019 11:07 am
Forum: Advanced users
Topic: Incompatibility between h264_omx and mpegts in ffmpeg?
Replies: 5
Views: 1890

Re: Incompatibility between h264_omx and mpegts in ffmpeg?

Thanks

I'm overdue a recompile of the ffmpeg binary that I use, so I'll take a look at it when I do that.

Dave
by g8gkq
Sun Jan 20, 2019 10:02 pm
Forum: Advanced users
Topic: Incompatibility between h264_omx and mpegts in ffmpeg?
Replies: 5
Views: 1890

Re: Incompatibility between h264_omx and mpegts in ffmpeg?

Thanks 6by9

Most of my users are in PAL-land so 25 fps is great. Those that aren't will just have to use 30.

I'll be calling the h264_omx encoder from ffmpeg in bash, so where/how do I set the OMX_IndexParamBrcmVideoAVCSPSTimingEnable parameter?

Dave
by g8gkq
Wed Sep 05, 2018 9:27 pm
Forum: Troubleshooting
Topic: Solved: Has a recent update broken hello_pi on Stretch Lite?
Replies: 4
Views: 548

Re: Solved: Has a recent update broken hello_pi on Stretch Lite?

This was 2 issues: The first was that there was an error in the compile instructions for hello_mmal. This was fixed in kernel 4.14.66 and will make its way through to release in due course. The second was that there had been undocumented changes to the IL port definition and checking. More details h...
by g8gkq
Wed Sep 05, 2018 9:18 pm
Forum: Troubleshooting
Topic: Solved: wget Hangs for 45 seconds on Stretch Lite
Replies: 0
Views: 148

Solved: wget Hangs for 45 seconds on Stretch Lite

I've not seen this solution posted anywhere else, so here it is. Since upgrading from Jessie Lite to Stretch Lite, I've been having problems with the first wget command after boot hanging for 45 seconds or longer before responding. After many false leads, I found that it was due to lack of entropy t...
by g8gkq
Thu Aug 23, 2018 11:21 am
Forum: Troubleshooting
Topic: Solved: Has a recent update broken hello_pi on Stretch Lite?
Replies: 4
Views: 548

Re: Has a recent update broken hello_pi on Stretch Lite?

Thanks, I've raised the issue here: https://github.com/raspberrypi/firmware/issues/1027 as it seems to be the userspace library code in /opt/vc rather than userland that is causing the issue.

Dave
by g8gkq
Thu Aug 23, 2018 9:12 am
Forum: Troubleshooting
Topic: Solved: Has a recent update broken hello_pi on Stretch Lite?
Replies: 4
Views: 548

Re: Has a recent update broken hello_pi on Stretch Lite?

Hi

I would appreciate any advice on how I should elevate this problem. Is there a formal reporting method for this sort of issue with hello_pi upgrades?

Thanks

Dave, G8GKQ
by g8gkq
Tue Aug 21, 2018 5:33 pm
Forum: Troubleshooting
Topic: Solved: Has a recent update broken hello_pi on Stretch Lite?
Replies: 4
Views: 548

Solved: Has a recent update broken hello_pi on Stretch Lite?

Hi I have been using hello_mmal_encode for over a year now on Jessie Lite and Stretch Lite. However, in the last month or so it has started throwing an error at compile time. If I build a new card using the 2018-06-27-raspbian-stretch-lite.img and then cd /opt/vc/src/hello_pi/ ./rebuild.sh , it comp...
by g8gkq
Wed Aug 15, 2018 8:51 pm
Forum: Troubleshooting
Topic: Solved: Stretch Lite Reboot freezes at "Reached Target Shutdown"
Replies: 2
Views: 2000

Re: Stretch Lite Reboot freezes at "Reached Target Shutdown"

Thanks to the fact that no-one else seemed to have seen this problem, I realised that something in my build was causing the issue. The problem was that I was loading a custom dt-blob.bin at boot and the file that I was loading had last been compiled from an old dt-blob.dts using a dtc compiler 2 yea...
by g8gkq
Mon Aug 13, 2018 4:21 pm
Forum: Troubleshooting
Topic: Solved: Stretch Lite Reboot freezes at "Reached Target Shutdown"
Replies: 2
Views: 2000

Re: Stretch Lite Reboot freezes at "Reached Target Shutdown"

I have now enabled the systemd journal and am looking at the logs in /var/log/journal. The most relevant journal seems to be this one https://pastebin.com/vWzbpnHz, but I can't see anything wrong with it. This is for a failed reboot.

Dave
by g8gkq
Sun Aug 12, 2018 9:44 pm
Forum: Troubleshooting
Topic: Solved: Stretch Lite Reboot freezes at "Reached Target Shutdown"
Replies: 2
Views: 2000

Solved: Stretch Lite Reboot freezes at "Reached Target Shutdown"

I have been maintaining and developing a touchscreen system on an RPi 3B using Jessie Lite and, more recently, Stretch Lite that controls and encodes video for a Digital TV Transmitter. Full code here: https://github.com/davecrump/portsdown I have touchscreen controlled functions for reboot and shut...
by g8gkq
Sat Nov 25, 2017 9:08 pm
Forum: Advanced users
Topic: Incompatibility between h264_omx and mpegts in ffmpeg?
Replies: 5
Views: 1890

Incompatibility between h264_omx and mpegts in ffmpeg?

Hi The Short Version I'm using ffmpeg on a RPi3 to generate an H264 transport stream using either libx264 or h264_omx and mpegts. I can get it to work properly with libx264, but the CPU is maxed out. With h264_omx it appears to work, but the resulting TS has an undefined frame rate. VLC will play th...
by g8gkq
Fri Oct 13, 2017 2:21 pm
Forum: Troubleshooting
Topic: No OpenVG in Raspbian Stretch Lite? Solved
Replies: 6
Views: 1887

Re: No OpenVG in Raspbian Stretch Lite? Solved

Thanks! I'll change it.

Dave
by g8gkq
Thu Oct 12, 2017 10:01 pm
Forum: Other projects
Topic: Transmitting Amateur TV using a Raspberry Pi
Replies: 0
Views: 2760

Transmitting Amateur TV using a Raspberry Pi

For those of you with amateur radio licences, here is a moderately complex RPi project which enables you to transmit Digital Amateur Television (ATV) to other radio amateurs from your Raspberry Pi. The Portsdown Digital Amateur Television transmitter has been designed by a team of British Amateur TV...
by g8gkq
Thu Oct 12, 2017 4:18 pm
Forum: Troubleshooting
Topic: No OpenVG in Raspbian Stretch Lite? Solved
Replies: 6
Views: 1887

Re: No OpenVG in Raspbian Stretch Lite? Solved

Thanks

Is your symlink in the /opt/vc/lib/ folder or the /usr/lib/arm-linux-gnueabihf folder?

Dave
by g8gkq
Wed Oct 11, 2017 9:34 pm
Forum: Troubleshooting
Topic: No OpenVG in Raspbian Stretch Lite? Solved
Replies: 6
Views: 1887

Re: No OpenVG in Raspbian Stretch Lite? Solved

@topguy Thanks very much - you led me to the solution: libOpenVG.so is not included in Raspbian Stretch, but I did notice a file called libbrcmOpenVG.so in /opt/vc/lib. Running: pi@raspberrypi:/opt/vc/lib $ nm libbrcmOpenVG.so | grep vgCreatePath 00008ac8 T vgCreatePath showed that this file was pro...
by g8gkq
Wed Oct 11, 2017 7:35 pm
Forum: Troubleshooting
Topic: No OpenVG in Raspbian Stretch Lite? Solved
Replies: 6
Views: 1887

No OpenVG in Raspbian Stretch Lite? Solved

I (and about 200 others) have been using OpenVG graphics on a headless RPi running Jessie Lite with a touchscreen to control a Digital Amateur Television Transmitter for a year or so. We realise that sooner or later we are going to have to migrate to Stretch and I have started testing. I can't seem ...
by g8gkq
Wed Apr 12, 2017 5:04 pm
Forum: Advanced users
Topic: Reduce no-network boot time?
Replies: 5
Views: 1327

Re: Reduce no-network boot time?

Thanks to Dougie and Ian for their help. I found the answer by looking at the output from less /var/log/syslog and found that, with no network, dhcpcd was waiting for its default timeout period of 30 seconds and stalling everything. I reduced this by appending # shorten timeout timeout 15 to /etc/dh...
by g8gkq
Mon Apr 10, 2017 8:41 pm
Forum: Advanced users
Topic: Reduce no-network boot time?
Replies: 5
Views: 1327

Re: Reduce no-network boot time?

Thanks Dougie I have just tried your suggestion, but it didn't seem to work. The final 3 lines of dmesg seem to show that it is waiting for the network: [ 9.941745] Bluetooth: BNEP socket layer initialized [ 49.755942] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 49.756980] smsc95xx 1-1...
by g8gkq
Mon Apr 10, 2017 4:55 pm
Forum: Advanced users
Topic: Reduce no-network boot time?
Replies: 5
Views: 1327

Reduce no-network boot time?

I am using Raspbian Jessie Lite 2016-11-29 (with a regular dist-upgrade) on a some portable RPi 3s with touchscreens. Sometimes they are connected to a wired LAN, sometimes they are connected to a wireless LAN and sometimes there is no network available. They do not need network to function normally...

Go to advanced search