Differences between revisions 1 and 2
Revision 1 as of 2013-11-22 14:04:35
Size: 1631
Editor: lukisi
Comment:
Revision 2 as of 2013-11-25 19:37:07
Size: 1795
Editor: lukisi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
sudo apt-get install subversion build-essential
sudo apt-get install git-core libncurses5-dev gawk
sudo apt-get install build-essential subversion git-core libncurses5-dev gawk wget
Line 24: Line 23:
# (select Target System (Atheros AR7xxx/AR9xxx) Subtarget (Generic) and Profile (TP-LINK TL-WR1043N/ND) # (select Target, Subtarget and Profile)
#
(e.g. Atheros AR7xxx/AR9xxx - Generic - TP-LINK TL-WR1043N/ND)
# (choose eglibc instead of default uClibc)
Line 36: Line 37:
# in order to enable its build system to download and build netsukuku # in order to make its build system download and build netsukuku
Line 45: Line 46:
# (select package netsukuku inside category Network) # (inside category Network, select package netsukuku)
Line 48: Line 49:
# (optionally, activate the openwrt web interface)
# LuCI --->
# Collections --->
# <*> luci
Line 50: Line 55:
# approx. 77 minutes # approx. 20 minutes

# Make sure that you have the needed software installed in your system.
# For ubuntu:
sudo apt-get update
sudo apt-get install build-essential subversion git-core libncurses5-dev gawk wget

# ==============   download   =======================
# First, we download current OpenWRT. 

mkdir ~/openwrt
cd ~/openwrt
svn co svn://svn.openwrt.org/openwrt/trunk/
# Tested with revision 38887.
cd trunk
./scripts/feeds update -a
./scripts/feeds install -a

# ==============   build image: first pass   =======================
# We prepare to compile a first time

make menuconfig

#      (select Target, Subtarget and Profile)
#        (e.g. Atheros AR7xxx/AR9xxx - Generic - TP-LINK TL-WR1043N/ND)
#      (choose eglibc instead of default uClibc)
#      [*] Advanced configuration options (for developers)  --->
#        [*]   Toolchain Options  --->
#          [*]   C Library implementation (Use eglibc 2.15)

make defconfig
make download

time ionice -c 3 nice -n 20 make
# approx. 77 minutes

# Download and apply a patch to the openwrt configuration files
#  in order to make its build system download and build netsukuku
wget -O - http://download-mirror.savannah.gnu.org/releases/netsukuku/owrt-ntkd.patch 2>/dev/null | patch -p0


# ==============   build image: second pass   =======================
# We prepare to compile a second time with the good stuff

make menuconfig

#      (inside category Network, select package netsukuku)
#      Network  --->
#        <*> netsukuku
#      (optionally, activate the openwrt web interface)
#      LuCI  --->
#        Collections  --->
#          <*> luci

time ionice -c 3 nice -n 20 make
# approx. 20 minutes

# Find your new firmware in ./bin/ar71xx-eglibc and flash your router.

Netsukuku_Dev/vala/flashing_notes4 (last edited 2014-01-14 14:13:46 by lukisi)