QuickStart » History » Version 23

Version 22 (Alexey Z., 02/28/2013 12:29 PM) → Version 23/40 (Alexey Z., 02/28/2013 12:34 PM)

h1. QuickStart

h2. Quickstart guide to creating a ZRouter build environment.

This should probably be done within a Jail.

At First, this Requires you have [[hg]]/mercurial installed:

* From FreeBSD ports:
# cd /usr/ports/devel/mercurial
# make install clean
* *OR* From FreeBSD packages:
# pkg_add -r mercurial

# Create a path set aside for ZRouter build.
<pre># mkdir -p ZRouter/</pre>
# Enter directory:
<pre># cd ZRouter</pre>
# Checkout/clone ZRouter Project
<pre># hg clone</pre>
# Checkout/clone Current compatible FreeBSD source:
<pre># hg clone FreeBSD</pre>
# Begin ZRouter Build Menu
<pre># ./</pre>

h2. Entering ./


# Select your target device (example D-Link DIR-632):
# Select Base Profile. That's two choise:
- Small - size firmware > 4 MB (if your ROM more than 4 MB)
- Extra small - size firmware <= 4MB (if your ROM less than 4 MB)
# At "Profiles" select package that included firmware:
# Last that must to do - select paths of source and build object:
- Path of FreeBSD/head
- Path of objects (temporary direcroty where wil be compilate your firmware)
Then go back to main menu:
# 231423