Skip to content
nanopi-neo2
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

tinyDebian

tinyDebian consists of bare minimal Bash scripts to build Debian image from scratch. The generated image can be flashed into a Micro SD card and boot NanoPi Neo2 or K1 Plus (with HDMI) arm64 board.

It is encouraged to read these Bash scripts before generating the bootable sdcard image.

We recommend to use Ubuntu 18.04.x to build.

How to:

  1. Install required tools:

  2. Use repo tool to sync the source code:

    • mkdir -p tinyDebian.source && cd tinyDebian.source
    • repo init -u https://github.com/tinydebian/manifest -b nanopi-neo2
    • repo sync -j4
    • repo forall -p -c git checkout nanopi-neo2
    • repo forall -p -c git branch -a
  3. Change to build/ sub-directory to build.

  4. Run './install_tools.sh' to install the necessary tools.

  5. Run './build_kernel.sh' to build Linux Kernel.

  6. Run './build_u-boot.sh' to build U-Boot.

  7. Run './build_debian.sh bootstrap' to bootstrap Debian image for arm64.

  8. Run './build_app.sh' to build application software.

  9. Run './gen_images.sh' to generate bootable SD-card image.

  10. Flash bootable sdcard image to Micro SD card:

    • In Windows
    • In Mac OS
    • In Linux, run command (example as below), ensure /dev/sdX is Micro SD card:
      • sudo dd if=../out/sdcard/remw_x.x_yy_sdcard.img of=/dev/sdX bs=4M && sync
  11. Insert Micro SD card into NanoPi Neo2 then power on to boot.

Philosophies behind tinyDebian:

  • Simple and bare minimal Bash scripts to build Debian image from scratch.
  • Starting point to be forked for complex project.

Why we choose NanoPi Neo2 (arm64 architecture) as our default board:

  • NanoPi Neo2 is tiny, low cost, arm64 board.
  • NanoPi K1 Plus is arm64 board, with HDMI.

Featured forks:

Contact:

About

tinyDebian is to build bootable sdcard image from scratch for ARM board.

Resources

Releases

No releases published

Packages

No packages published