RPI Video Receiver: Difference between revisions
(use https & update links) |
m (Todo:Do these directions work on 3.19.0? Also add pkg template.) |
||
Line 1: | Line 1: | ||
= Raspberry 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. | 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. | ||
Line 17: | Line 17: | ||
To build the configuration overlay: | To build the configuration overlay: | ||
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 | |||
[[Category:Hardware]] | [[Category:Hardware]] | ||
[[Category:Embedded Systems]] | [[Category:Embedded Systems]] | ||
[[Category:Installation]] | [[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:
- Format SD/MMC with one primary partition, FAT32 file system
- 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 https://dev.alpinelinux.org/~tteras/rpi-video-decoder.tar.gz on top of that
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