RPI Video Receiver: Difference between revisions

From Alpine Linux
m (Categorized: Hardware, Embedded Systems, Installation)
Line 1: Line 1:
= Raspberry Pi Video Receiver =
= Raspberry Pi Video Receiver =


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.
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 with ~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 ~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 http://nl.alpinelinux.org/alpine/v3.1/releases/armhf/alpine-rpi-3.1.1-armhf.rpi.tar.gz to the SD/MMC card
* Extract http://dev.alpinelinux.org/~tteras/rpi-video-decoder.tar.gz on top of that
* Extract http://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>
  <nowiki>
apk add openssh chrony omxplayer
apk add openssh chrony omxplayer

Revision as of 02:35, 26 August 2021

Raspberry Pi Video Receiver

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