Skip to content

Running on ARM boards or TVboxes

Piotr Oniszczuk edited this page Oct 31, 2022 · 11 revisions

Quick start guide

To run MiniMyth2 on ARM single board computer or TVbox You may go with following procedure:

  1. Go to https://github.com/warpme/minimyth2/releases and download SD card image.
  2. Write image to SD card.
  3. If your device is different than device for which SD card was prepared - please also do step 4 and step 5.
  4. Mount SD card to have R/W access to BOOT partition on SD card.
  5. On BOOT partition put correct xxx_dtb device-tree file for your board/box. All DT are in dtbs subdirectory. To do this - just copy desired <device_model>.dtb file to BOOT partition and rename file to xxx_dtb where 'xxx' is SoC family. Currently supported SoC families: are 'rk3328' 'rk3399' 'h6' 'h616'. (For amlogic edit uEnv.ini file)
  • On Ubuntu procedure is like this:
    • insert SD Card
    • do following commands:

mkdir /mnt/boot

mount /dev/sdbX /mnt/boot/

cp /mnt/boot/dtbs/<your SoC family>/<Your board.dtb>/mnt/boot/<your SoC family>_dtb

(example: cp /mnt/dtbs/rockchip/rk3399-rock-pi-4a.dtb /mnt/rk3399_dtb)

ls /mnt/boot/

sync

umount /mnt/boot/

(X is Linux device assigned to Your SD card)

  1. Insert SD card into board/TVbox SD card slot. It should boot!
  2. Enjoy(*) working Mythtv frontend(**)

(*) I prepared MiniMyth2 to run on Amlogic/Rockchip/Allwinner/Raspberry Pi and presently the quality of playback is good for daily use.

(**) This will happen with zero-config effort if Your server and MythTV backend setup meets following criteria:

  • your DHCP server has proper configuration for time zone
  • mythtv master backend has the same IP as Your DHCP sever (if not see below)
  • mythtv DB name/user/pass are: mythconverg mythtv mythtv

If Your master backend has different IP than your DHCP server

You may add "next-server" option in DHCP configuration. It should point to IP address of master Backend. Alternatively You can edit settings in minimyth.conf residing on BOOT partition in SD card and set appropriately variable MM_MASTER_SERVER='<DHCP_NEXT_SERVER address>'

If Your DB name/user/pass are different from the default 'mythconverg' 'mythtv' 'mythtv'

You may edit in minimyth.conf file on SD card BOOT partition in settings:

MM_MASTER_DBUSERNAME='<MythTV DB username>'
MM_MASTER_DBPASSWORD='<MythTV DB password>'
MM_MASTER_DBNAME='<MythTV DB name>'

Alternatively You can setup TFTP infrastructure where MiniMyth2 will download minimyth.config with appropriate settings.

Some Remarks

MythTV uses hostnames for all communication between the frontend and backend. The Minimyth2 hostname used in this communication will be:

  • taken from DHCP server option "<host-name>" or
  • if server not provides host-name option - MiniMyth2 will use "Myth-Frontend-<MAC-address>" as host-name

In case of any problems

When You will encounter any problems - You may:

  • go in web browser to frontend IP
  • select ”Logs” in top menu
  • examine log to see here issue might be

For any help or discussion - please go to mythtv forums as it will also benefit others.

happy watching!

Clone this wiki locally