As you may know I love DietPi and I install it everywhere (RPi1, RPi2, Odroid C2, BIOS old netbooks, an EFI64 Intel Atom miniPC...).
Now I have installed it on my Android TV Box M16, based on Amlogic S905X, a 2GB-16 GB model (very similar to Odroid C2, but cheaper, 100 Mbps ethernet, and with wifi/bluetooth and an eMMC module built-in).
I have followed these steps (from https://forum.armbian.com/topic/2419-ar ... x-ver-544/):
1. Download the image for your device
3. Burn the image on the medium (micro SD card)
4. boot into Android (and connect the microSD card.)
5. open the app "Update&Backup"
6. click on "Select" local update and chose the file on the removable media (aml_update.zip) aml_autoscript.zip
7. start "Update"
8. System will reboot twice and start running the system from external media.
The image I have used is here: https://yadi.sk/d/pHxaRAs-tZiei/5.76/S905/5.0, and it's: Armbian_5.76_Aml-s905_Debian_stretch_default_5.0.0-rc7-gb5aa11ceb-dirty_20190227.img
More details about this version and how to copy it into the eMMC and so on: https://forum.armbian.com/topic/7930-ar ... x-ver-555/
When you first start the system, the root user password is 1234; the minimum media size is 4 GB.
Once you have this done, and you have your armbian/debian installed, it's time to Dietpize it
Here what you have to do (PREP_SYSTEM_FOR_DIETPI.sh): https://github.com/MichaIng/DietPi/issues/1285
In brief, copy and paste all into terminal:
Code: Select all
wget https://raw.githubusercontent.com/Fourdee/DietPi/master/PREP_SYSTEM_FOR_DIETPI.sh -O PREP_SYSTEM_FOR_DIETPI.sh #wget https://raw.githubusercontent.com/Fourdee/DietPi/beta/PREP_SYSTEM_FOR_DIETPI.sh -O PREP_SYSTEM_FOR_DIETPI.sh #wget https://raw.githubusercontent.com/Fourdee/DietPi/dev/PREP_SYSTEM_FOR_DIETPI.sh -O PREP_SYSTEM_FOR_DIETPI.sh chmod +x PREP_SYSTEM_FOR_DIETPI.sh ./PREP_SYSTEM_FOR_DIETPI.sh
Note: I haven't checked wifi or bluetooth, neither installed any desktop, because I simply use it as a wordpress/deluge server.
The only issue I have is that now, with DietPi, I cannot read the CPU temperature, although I could read it with Balbes150's Armbian/Debian.
Code: Select all
───────────────────────────────────────────────────── DietPi CPU Info Use dietpi-config to change CPU / performance options ───────────────────────────────────────────────────── Architecture | aarch64 Temperature | N/A Governor | ondemand Throttle up | 50% CPU usage Current Freq Min Freq Max Freq CPU0 | 1200 MHz 100 MHz 1200 MHz CPU1 | 1200 MHz 100 MHz 1200 MHz CPU2 | 1200 MHz 100 MHz 1200 MHz CPU3 | 1200 MHz 100 MHz 1200 MHz
I have just used another image: https://yadi.sk/d/pHxaRAs-tZiei/5.76/S912/5.0, Armbian_5.76_Aml-s912_Debian_stretch_default_5.0.0-rc8-g8201cd167-dirty_20190304.img.xz
And DietPi reads the 8 CPU temperatures correctly.
Code: Select all
[email protected]:~# cpu [ OK ] DietPi-CPU_info | Root access verified. ───────────────────────────────────────────────────── DietPi CPU Info Use dietpi-config to change CPU / performance options ───────────────────────────────────────────────────── Architecture | aarch64 Temperature | 42'c : 107'f | Optimal temperature. Governor | ondemand Throttle up | 50% CPU usage Current Freq Min Freq Max Freq CPU0 | 1512 MHz 100 MHz 1512 MHz CPU1 | 1512 MHz 100 MHz 1512 MHz CPU2 | 1512 MHz 100 MHz 1512 MHz CPU3 | 1512 MHz 100 MHz 1512 MHz CPU4 | 1000 MHz 100 MHz 1000 MHz CPU5 | 1000 MHz 100 MHz 1000 MHz CPU6 | 1000 MHz 100 MHz 1000 MHz CPU7 | 1000 MHz 100 MHz 1000 MHz [ INFO ] DietPi-CPU_info | CPU current frequency, may be affected by this script, due to the processing required to run it.