Project

General

Profile

Firmware Build Environment » History » Version 4

Version 3 (Oleksandr Rybalko, 04/12/2011 07:38 PM) → Version 4/5 (Oleksandr Rybalko, 12/13/2019 10:25 PM)

h1. Firmware Build Environment

{{toc}}


h1. Firmware Build Environment

h2. Info

h3. What is it?

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

h3. Supported devices.

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

Current list:
* [[D-Link]] [[D-Link DIR-320|DIR-320]]
* [[D-Link]] [[D-Link DAP-1350|DAP-1350]]
* [[NorthQ]] [[NorthQ NQ-900|NQ-900]]
* [[NorthQ]] [[NorthQ NQ-901|NQ-901]]

Those devices based on two different [[SoC]]:
* [[Broadcom]] [[Broadcom BCM5354|BCM5354]]
* [[Ralink]] [[Ralink RT3052F|RT3052F]]

h2. Building and Installing

h3. Requirement

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

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

Example:
<pre>
make TARGET_VENDOR=D-Link TARGET_DEVICE=DIR-320 FREEBSD_SRC_TREE=${FREEBSD_SRC_TREE} TARGET_PROFILES="SMALL_ openvpn"
</pre>

h3. Using [[FreeBSD Ports Tree]]

h3. Software
* [[conf_daemon|conf]] - configuration daemon

h1. TODO
[[todo]]
[[todos]]