### DietPI for MangoPi-MQuad (H616) #### Building processus : Use Armbian image : https://mega.nz/file/XeoymJKA#VSJHsyU8SCQPAQvMqVkiqLVPXWFp4egxajoL4Ea0jqI *(It's a minimal debian bullseye minimal linux 5.16.17)* burn image with balena etcher and connect the MangoPi with ssh: user : **root** password : **orangepi** then : ``` apt-get update && apt-get upgrade -y apt install -y curl ca-certificates systemd-sysv git build-essential reboot ``` #### Now build Dietpi: ``` bash -c "$(curl -sSfL 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.build/images/dietpi-installer')" ``` ![img1](http://192.168.1.8:3000/wareck/MangoPI_DietPI/raw/master/img/1.png) ![img2](http://192.168.1.8:3000/wareck/MangoPI_DietPI/raw/master/img/2.png) ![img3](http://192.168.1.8:3000/wareck/MangoPI_DietPI/raw/master/img/3.png) ![img4](http://192.168.1.8:3000/wareck/MangoPI_DietPI/raw/master/img/4.png) ![img5](http://192.168.1.8:3000/wareck/MangoPI_DietPI/raw/master/img/5.png) ![img6](http://192.168.1.8:3000/wareck/MangoPI_DietPI/raw/master/img/6.png) ![img7](http://192.168.1.8:3000/wareck/MangoPI_DietPI/raw/master/img/7.png) ![img8](http://192.168.1.8:3000/wareck/MangoPI_DietPI/raw/master/img/8.png) **At this step you can:** -remove the card to make backup/clone -reboot to use the DiePi image **after reboot password will be:** user : **root** password : **dietpi** #### If you wants I2C or SPI enabled (you can do this later in dietpi): ``` nano /boot/orangepiEnv.txt ``` and add these lines : ``` param_spidev_spi_bus=1 overlays=i2c0 ``` Save and reboot