Skip to content

NDM Systems Buildroot

Alexander Ryzhov edited this page Oct 29, 2015 · 2 revisions

The NDM Systems Buildroot is a modified OpenWrt buildroot — a set of Makefiles and patches that allows users to generate packages for embedded systems.

Prerequisites

The Buildroot works on Linux. It is recommended that you use a Linux distribution, such as Debian, either a standalone installation or one running in a virtual environment.

Installation

Install git, to download the package source code, and build tools to do the cross-compilation process:

sudo apt-get update
sudo apt-get install git-core build-essential libssl-dev libncurses5-dev libfile-mimeinfo-perl unzip

Obtain the buildroot distribution from your equipment supplier. Extract the archive and change to the buildroot directory.

$ tar xf ndwrt_gpl_2.06.A.2.0-8_150915.tar.gz
$ cd ndwrt_gpl_2.06.A.2.0-8_150915

Configuration

Find your device in the list of supported targets:

$ ./configure.sh -l
mt76xx:
	kng_rc    	ZyXEL Keenetic Viva      
	kn_rc     	ZyXEL Keenetic Omni      
	kn_rf     	ZyXEL Keenetic Omni II   
	ku_rc     	ZyXEL Keenetic Extra     

rt6xxx:
	kng_rb    	ZyXEL Keenetic Giga II
	kn_rb     	ZyXEL Keenetic II   
	ku_ra     	ZyXEL Keenetic Ultra

Load buildroot configuration for the selected device:

$ ./configure.sh kng_rb

Usage

The main purpose of the buildroot is to build packages. Download and install packages from the feed, and use the opkg component to run them on your device.