Project

General

Profile

Firmware Build Environment » History » Version 1

Version 1/5 - Next » - Current version
Nicolai Petri, 04/12/2011 06:25 PM


Firmware Build Environment

{{toc}}
h1. Firmware Build Environment

Info

What is it?

Firmware Build Environment !Maybe later FBE or ZFBE or ZRFBE! is tool for easy making FreeBSD based firmware for embedded device.

Supported devices.

Currently we do support for devices of two brands: NorthQ and D-Link.

Current list: Those devices based on two different SoC:

Building and Installing

Requirement

Requirement:
  1. At first we assume that build host is FreeBSD CHECK_LOWEST_VERSION
  2. FBE require copy of FreeBSD source tree [[http://www.freebsd.org/developers/cvs.html]].
  3. Most profiles require ports tree to be installed.
  4. Thought copy of FBE you already have.

Selecting target
  1. Minimal requirement is a select target device (if they already in tree), so if we need to made firmware for D-Link DIR-320, we need set:
    TARGET_VENDOR=D-Link 
    TARGET_DEVICE=DIR-320
    
  2. then we need point system to where FreeBSD source tree:
    FREEBSD_SRC_TREE=${FREEBSD_SRC_TREE} 
    
  3. then select required profiles:
    TARGET_PROFILES="SMALL_ openvpn" 
    

Example:

make TARGET_VENDOR=D-Link TARGET_DEVICE=DIR-320 FREEBSD_SRC_TREE=${FREEBSD_SRC_TREE} TARGET_PROFILES="SMALL_ openvpn" 

Using FreeBSD Ports Tree

TODO
todo
todos