RPI Video Receiver: Difference between revisions

From Alpine Linux
No edit summary
m (Todo:Do these directions work on 3.19.0? Also add pkg template.)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Rasperry Pi Video Receiver =
= Raspberry Pi Video Receiver =
{{todo|The directions below are for Alpine 3.18.3, do they work on {{AlpineLatest}}? The chief concern is the rpi-video-decoder.tar.gz file}}
One of the benefits of using Alpine Linux is that the SD/MMC is always mounted read-only. It will not wear out, and it's safe to power-off the device any time. Additionally the boot process has been given a professional look so that only the splash screen is displayed.


Main benefits of using Alpine Linux is that the SD/MMC is mounted read-only always. It will not wear out, and it's safe to power-off the device any time. Additionally the boot process has been made pro-looking so that only the splash screen is displayed.
The boot time is about 60 seconds. It should speed up ~10 seconds after https://bugs.freedesktop.org/show_bug.cgi?id=64766 is fixed.
 
The boot time is about 60 seconds. It should speed up with ~10 seconds after https://bugs.freedesktop.org/show_bug.cgi?id=64766 is fixed.


Quick demo:
Quick demo:
* Format SD/MMC with one primary partition, FAT32 file system
* Format SD/MMC with one primary partition, FAT32 file system
* Extract http://nl.alpinelinux.org/alpine/v3.1/releases/armhf/alpine-rpi-3.1.1-armhf.rpi.tar.gz to SD/MMC
* Extract https://dl-cdn.alpinelinux.org/alpine/v3.18/releases/armhf/alpine-rpi-3.18.3-armhf.tar.gz to the SD/MMC card
* Extract http://dev.alpinelinux.org/~tteras/rpi-video-decoder.tar.gz on top of that
* Extract https://dev.alpinelinux.org/~tteras/rpi-video-decoder.tar.gz on top of that


The overlay image contains the following changes:
The overlay image contains the following changes:
* fbsplash.ppm provide the splash screen with alpine logo
* fbsplash.ppm provide the splash screen with the Alpine logo
* cmdline.txt has "blacklist=fbcon" appended to disable video console
* cmdline.txt has "blacklist=fbcon" appended to disable video console
* and a default overlay is provided to play BBC world news
* a default overlay is provided to play BBC world news
* root password is set to 'rpi'
* root password is set to 'rpi'


The configuration overlay basically is constructed as:
To build the configuration overlay:
<nowiki>
  apk add {{pkg|openssh|branch=v3.18|arch=armhf}} {{pkg|chrony|branch=v3.18|arch=armhf}} {{pkg|omxplayer|branch=v3.18|arch=armhf}}
apk add openssh chrony omxplayer
  vi /etc/network/interfaces        # eth0 configured for dhcp
vi /etc/network/interfaces        # eth0 configured for dhcp
  vi /etc/conf.d/omxplayer          # to configure TV-channel URL
vi /etc/conf.d/omxplayer          # to configure TV-channel URL
  rc-update add networking
rc-update add networking
  rc-update add chronyd
rc-update add chronyd
  rc-update add sshd
rc-update add sshd
  rc-update add omxplayer
rc-update add omxplayer
  rc
rc
  rm /etc/ssh/ssh_host_*            # so you get new ssh key on boot
rm /etc/ssh/ssh_host_*            # so you get new ssh key on boot
  lbu commit
lbu commit</nowiki>
 
[[Category:Hardware]]
[[Category:Embedded Systems]]
[[Category:Installation]]

Latest revision as of 14:20, 10 January 2024

Raspberry Pi Video Receiver

Todo: The directions below are for Alpine 3.18.3, do they work on 3.20.3? The chief concern is the rpi-video-decoder.tar.gz file


One of the benefits of using Alpine Linux is that the SD/MMC is always mounted read-only. It will not wear out, and it's safe to power-off the device any time. Additionally the boot process has been given a professional look so that only the splash screen is displayed.

The boot time is about 60 seconds. It should speed up ~10 seconds after https://bugs.freedesktop.org/show_bug.cgi?id=64766 is fixed.

Quick demo:

The overlay image contains the following changes:

  • fbsplash.ppm provide the splash screen with the Alpine logo
  • cmdline.txt has "blacklist=fbcon" appended to disable video console
  • a default overlay is provided to play BBC world news
  • root password is set to 'rpi'

To build the configuration overlay:

 apk add openssh chrony omxplayer
 vi /etc/network/interfaces        # eth0 configured for dhcp
 vi /etc/conf.d/omxplayer          # to configure TV-channel URL
 rc-update add networking
 rc-update add chronyd
 rc-update add sshd
 rc-update add omxplayer
 rc
 rm /etc/ssh/ssh_host_*            # so you get new ssh key on boot
 lbu commit