Prepare the USB Install Drive

  1. download the image file: https://yadi.sk/d/pHxaRAs-tZiei the image i used: Armbian_5.91_Aml-s905_Ubuntu_bionic_default_5.1.15_20190710.img.xz Armbian_5.59_Aml-s9xxx_Ubuntu_bionic_default_4.18.0_20180908.img.xz

  2. write the image to USB drive using Etcher

  3. 5.62 and later: modify the USB drive file: /Volumes/BOOT/uEnv.ini

    # change the dtb setting to use s905d
    # dtb_name=/dtb/meson-gxl-s905x-khadas-vim.dtb
    dtb_name=/dtb/meson-gxl-s905d-phicomm-n1.dtb
    bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0
    

    earlier versions: 之前的版本:复制dtb/meson-gxl-s905d-p230.dtb到根目录,并重命名为dtb.img

Boot Into the OS

https://www.right.com.cn/forum/thread-322991-1-1.html

Basic Setup

https://docs.armbian.com/User-Guide_Getting-Started

Enable WiFi

nmtui-connect

Enable mDNS

sudo apt install avahi-daemon
# so you can ssh to it using:
ssh root@aml.local

Copy OS to Internal EMMC

https://www.right.com.cn/forum/thread-327496-1-1.html https://blog.bombox.org/2018-10-15/n1-run-armbian/ restore emmc: https://www.right.com.cn/forum/thread-335609-1-1.html write to emmc, so you can boot from emmc instead of USB drive: https://www.right.com.cn/forum/forum.php?mod=viewthread&tid=335867