This is a description of how to build an RDK hybrid image for the Raspberry Pi 3 Model B/B+ that includes the DTVKit ATSC 1.0 stack and related RDK modules. To use the resulting image a USB ATSC tuner will be needed, along with the appropriate firmware file, as this isn't provided in the RDK repositories. The firmware for many devices can be obtained from LinuxTV.org.
The build environment is based on a 64-bit Ubuntu 18.04 installation and should be set up as defined for a Yocto 3.1 (Dunfell) release on the [https://wiki.rdkcentral.com/display/RDK/How+to+Build|RDK wiki page]]. As a guide, a build on a PC with a 4th generation Intel Core i7 processor and 32GB RAM takes around 3 hours when building for the first time, and requires 80-100GB disk space.
You need to be an RDK member to access the build repositories. The image to be built uses the RDK-V rdkv-2023q1-dunfell release. RDK releases after this use the Raspberry Pi 4 which haven't been tried so may not work.
All commands to be run directly are shown in italics.
When the build has completed, the following steps can be followed to install and run the image on the Pi. It's assumed this is being done from a Linux desktop, so the instructions will be different for other operating systems.
Occasionally the DTV application doesn't launch on start-up, but this can be resolved by logging in to the Pi using 'ssh' again and typing the following: