Skip to content

Build script to build Debian for the FriendlyELEC NanoPi RK3328 based boards

Notifications You must be signed in to change notification settings

uvham521/rk3328-debian

 
 

Repository files navigation

rk3328-debian

Build script to build a Debian 12 image for FriendlyELEC NanoPi RK3328 based boards, as well as all dependencies. This includes the following:

Note that there are patches/modifications applied to the kernel and u-boot. The changes made can be seen in the ./patches and ./overlay directories. Also, a ./downloads directory is generated to store a copy of the toolchain during the first build.

Supported Boards

Currently images for the following devices are generated:

  • FriendlyELEC NanoPi Neo3
  • FriendlyELEC NanoPi R2S

Requirements

  • The following packages below are required to use this build script. Note that this repo uses a Dockerfile to handle most of the heavy lifting, but some system requirements still exist.

docker-ce losetup wget sudo make qemu-user-static

Note that without qemu-user-static, debootstrap will fail!

Usage

  • Just run make.
  • Completed builds output to ./output
  • To cleanup and clear all builds, run make clean

Other helpful commands:

  • Have a build fail and have stale mounts? make mountclean
  • Want to delete the download cache and do a 100% fresh build? make distclean

Flashing

  • Take your completed image from ./output and extract it with gunzip
  • Flash directly to an SD card. Example: dd if=./neo3*.img of=/dev/mmcblk0 bs=4M conv=fdatasync

To Do

  • You tell me. Bug reports and PRs welcome!

Notes

  • This is a pet project that can change rapidly. Production use is not advised. Please only proceed if you know what you are doing!

About

Build script to build Debian for the FriendlyELEC NanoPi RK3328 based boards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 58.7%
  • Shell 40.2%
  • Dockerfile 1.1%