-
Notifications
You must be signed in to change notification settings - Fork 31
Running on ARM boards or TVboxes
To run MiniMyth2 on ARM single board computer or TVbox You may go with following procedure:
- Go to https://github.com/warpme/minimyth2/releases and download SD card image.
- Write image to SD card.
- If your device is different than device for which SD card was prepared - please also do step 4 and step 5.
- Mount SD card to have R/W access to
BOOTpartition on SD card. - On BOOT partition put correct
xxx_dtbdevice-tree file for your board/box. All DT are in dtbs subdirectory. To do this - just copy desired<device_model>.dtbfile to BOOT partition and rename file toxxx_dtbwhere '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)
- Insert SD card into board/TVbox SD card slot. It should boot!
- 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:
mythconvergmythtvmythtv
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>'
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.
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
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!