Project

General

Profile

QuickStart » History » Version 22

Alexey Z., 02/28/2013 12:29 PM

1 1 Nicolai Petri
h1. QuickStart
2 1 Nicolai Petri
3 13 Michael Vale
h2. Quickstart guide to creating a ZRouter build environment.
4 1 Nicolai Petri
5 1 Nicolai Petri
This should probably be done within a Jail.
6 1 Nicolai Petri
7 22 Alexey Z.
  At First, this Requires you have [[hg]]/mercurial installed:
8 22 Alexey Z.
* From FreeBSD ports:
9 22 Alexey Z.
<pre>
10 22 Alexey Z.
# cd /usr/ports/devel/mercurial
11 22 Alexey Z.
# make install clean
12 22 Alexey Z.
</pre>
13 22 Alexey Z.
* *OR* From FreeBSD packages:
14 22 Alexey Z.
<pre>
15 22 Alexey Z.
# pkg_add -r mercurial
16 22 Alexey Z.
</pre>
17 22 Alexey Z.
18 16 Michael Vale
# Create a path set aside for ZRouter build.
19 1 Nicolai Petri
<pre># mkdir -p ZRouter/</pre>
20 1 Nicolai Petri
# Enter directory: 
21 1 Nicolai Petri
<pre># cd ZRouter</pre>
22 1 Nicolai Petri
# Checkout/clone ZRouter Project
23 1 Nicolai Petri
<pre># hg clone http://zrouter.org/hg/zrouter/</pre>
24 1 Nicolai Petri
# Checkout/clone Current compatible FreeBSD source:
25 1 Nicolai Petri
<pre># hg clone http://zrouter.org/hg/FreeBSD/head FreeBSD</pre>
26 1 Nicolai Petri
# Begin ZRouter Build Menu
27 1 Nicolai Petri
<pre># ./menu.sh</pre>
28 22 Alexey Z.
29 22 Alexey Z.
h2. Entering ./menu.sh
30 22 Alexey Z.
31 22 Alexey Z.
!mainmenu.jpg!
32 22 Alexey Z.
33 22 Alexey Z.
# Select your target device (example D-Link DIR-632):
34 22 Alexey Z.
!Target.jpg!
35 22 Alexey Z.
# Select Base Profile. That's two choise: 
36 22 Alexey Z.
 - Small - size firmware > 4 MB (if your ROM more than 4 MB)
37 22 Alexey Z.
 - Extra small - size firmware <= 4MB (if your ROM less than 4 MB)
38 22 Alexey Z.
!kernel.jpg!
39 22 Alexey Z.
# At "Profiles" select package that included firmware:
40 22 Alexey Z.
!package.jpg!
41 22 Alexey Z.
# Last that must to do - select paths of source and build object:
42 22 Alexey Z.
!path.jpg!
43 22 Alexey Z.
 -