QuickStart » History » Version 28
Version 27 (Alexey Z., 02/28/2013 08:27 PM) → Version 28/40 (Alexey Z., 02/28/2013 08:36 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 (or # pkg install 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 will be compilate your firmware)
!path_obj.jpg!
Then go back to main menu:
!path_back.jpg!
# You can save your selection to "Build Profile" for future use (file will be created at "./Zrouter/zrouter/build_profiles/" ):
!save_menu.jpg!
!save.jpg!
# You can load your Build Profile if you save it early:
!load_menu.jpg!
!load.jpg!
# Now select to "Build" and you see all your choices:
!Compilate.jpg!
Answer "yes" and firmware will begining.
h2. "Flash your firmware":http://zrouter.org/projects/zrouter/wiki/Howto_flash
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 (or # pkg install 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 will be compilate your firmware)
!path_obj.jpg!
Then go back to main menu:
!path_back.jpg!
# You can save your selection to "Build Profile" for future use (file will be created at "./Zrouter/zrouter/build_profiles/" ):
!save_menu.jpg!
!save.jpg!
# You can load your Build Profile if you save it early:
!load_menu.jpg!
!load.jpg!
# Now select to "Build" and you see all your choices:
!Compilate.jpg!
Answer "yes" and firmware will begining.
h2. "Flash your firmware":http://zrouter.org/projects/zrouter/wiki/Howto_flash