Page 1 of 1

DietPi for NanoPi NEO Air

PostPosted: Thu Nov 24, 2016 5:49 pm
by Fourdee
NanoPi-NEO-AIR.jpg
What is DietPi?:
http://dietpi.com



Notes:
  • DietPi for NanoPi NEO Air was built using ARMbian build tools.
  • You can pre-configure WiFi creds by editing /boot/dietpi.txt after writing the image, and, before powering up for the first time.
  • Install DietPi on the eMMC (you must have DietPi up and running on a SDcard prior to this):
    Code: Select all
    #7Zip prereqs
    apt-get install -y p7zip

    wget 'http://dietpi.com/downloads/images/DietPi_NanoPiNEOAir-armv7-(Jessie).7z' -O image.7z
    p7zip -d image.7z

    #Optional: Mount image to set WiFi creds in dietpi.txt
    modprobe loop
    losetup -f
    losetup /dev/loop2 'DietPi_v'*'.img'
    partprobe /dev/loop2

    # - Mount loopback
    mkdir -p /mnt/loop2p1
    mount /dev/loop2p1 /mnt/loop2p1

    # - enable WiFi and set creds
    nano /mnt/loop2p1/dietpi.txt

    sync
    umount /mnt/loop2p1
    losetup -d /dev/loop2

    #Write to EMMC
    # - Following assumes you have no other files in this directory with name 'DietPi_v*.img'
    #   (other than the one we downloaded above)
    dd if="$(ls | grep -m1 'DietPi_v'*'.img')" of=/dev/mmcblk2

    #Power off, unplug SD card, power on.



Download DietPi Image:
http://dietpi.com/download

Getting Started Guides:
http://dietpi.com/phpbb/viewtopic.php?f=8&t=9#p9

DietPi-Software:
Complete list of optional, optimized and "ready to run" software.



DietPi
Created by Dan Knight (Fourdee)

Contact
daniel_haze@hotmail.com

Sourcecode (Github)
https://github.com/Fourdee/DietPi

Donations / Support DietPi:
DietPi is a free product and relies solely on your donations for funding. If you found DietPi useful and want to support future development, please click here to find out more.
Image