Project

General

Profile

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:
<pre>
# cd /usr/ports/devel/mercurial
# make install clean
</pre>
* *OR* From FreeBSD packages:
<pre>
# pkg_add -r mercurial
</pre>

# 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 http://zrouter.org/hg/zrouter/</pre>
# Checkout/clone Current compatible FreeBSD source:
<pre># hg clone http://zrouter.org/hg/FreeBSD/head FreeBSD</pre>
# Begin ZRouter Build Menu
<pre># ./menu.sh</pre>

h2. Entering ./menu.sh



!mainmenu.jpg!

# Select your target device (example D-Link DIR-632):
!Target.jpg!
# 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)
!kernel.jpg!
# At "Profiles" select package that included firmware:
!package.jpg!
# Last that must to do - select paths of source and build object:
!path.jpg!
- Path of FreeBSD/head
!Path_head.jpg!
- Path of objects (temporary direcroty where wil be compilate your firmware)
!path_obj.jpg!
Then go back to main menu:
!path_back.jpg!
# 231423