I was looking for a way to compile programs for my H-Series TV (H6400), and first I tried to move over ubuntu binaries from a armhf system (Odroid C1) and run them on the TV. However, they didn't run (also created a minimal rootfs from ubuntu 16.04 armhf):
Code: Select all
[root@tv apps]# cd /dtv/usb/sdc/nfs/192.168.1.5/Kits/samygo/ubuntu-base/
[root@tv ubuntu-base]# cd ..
[root@tv samygo]# chroot ubuntu-base/ /bin/bash
bash: /usr/bin/groups: cannot execute binary file: Exec format error
root@(none):/#
root@(none):/# ls -l
bash: /bin/ls: cannot execute binary file: Exec format error
root@(none):/# exit
exit
Anyway, here is the link to the debian image: http://www.mediafire.com/?l7b63bv7vw9z8
The compressed image is about 170MB. Uncompressed it is about 750MB, with ~300MB used and ~400MB free.
You can download it, save it to a USB drive (or network share), extract it on your tv (
Code: Select all
unxz /path/to/debian.img.xz
prepareChroot.sh assumes your image is in /dtv/usb/sda1/debian.img, so edit it if necessary. Also you will need to create a mount point (by default it's in /mnt/debian).
To chroot into the image do:
Code: Select all
chroot /mnt/debian /bin/bash
#/init
When inside the chroot you can use standard debian commands and install debian packages through apt (e.g. I installed htop). Alternatively, you can follow the guide here https://forum.samygo.tv/viewtopic.php?t=7898, and even start a desktop environment (did I mention it was slow)?
Enjoy!