Difference between revisions of "OpenWRT: Build Firmware Buffalo WZRHPG450H"

From OnnoWiki
Jump to navigation Jump to search
Line 24: Line 24:
 
  sudo su
 
  sudo su
 
  apt-get update
 
  apt-get update
  apt-get install subversion gawk flex sharutils bison libz-dev patch fakeroot lzma git-core
+
  apt-get install subversion gawk flex sharutils bison libz-dev patch fakeroot lzma git-core ncurses
  
 
==Compile Menggunakan Development Trunk==
 
==Compile Menggunakan Development Trunk==

Revision as of 07:18, 25 July 2012

WARNING: ini akan membutuhkan banyak akses ke Internet untuk download, termasuk waktu proses make. Termasuk download kernel linux, waktu compile toolchain :( ... Tampaknya tidak bisa OFFLINE :(



Dalam contoh ini akan di perlihatkan cara compile firmware Buffalo WZR HP G450H untuk keperluah MESH dengan OLSRD. oleh karenanya membutuhkan aplikasi seperti

  • luci
  • olsrd
  • freifunk

Pastikan

  • Compile untuk AR71xx
  • Profile WZR HP G450H
  • Driver wireless Atheros AR9381? di install.
  • Network olsrd


Siapkan Pendukung

Lakukan

sudo su
apt-get update
apt-get install subversion gawk flex sharutils bison libz-dev patch fakeroot lzma git-core ncurses

Compile Menggunakan Development Trunk

Development Trunk tampaknya paling RECOMMENDED

Lakukan sebagai user biasa

svn co svn://svn.openwrt.org/openwrt/trunk/ ~/openwrt.trunk/trunk
cd ~/openwrt.trunk/trunk/
./scripts/feeds update
./scripts/feeds install meshwizard openssh-server openssh-client
./scripts/feeds install freifunk-common freifunk-gwcheck freifunk-mapupdate
./scripts/feeds install luci luci-app-meshwizard luci-app-olsr luci-app-olsr-services
./scripts/feeds install luci-app-olsr-viz luci-app-freifunk-policyrouting luci-mod-freifunk
./scripts/feeds install luci-theme-freifunk-generic olsrd olsrd-mod-txtinfo olsrd-mod-dyn-gw
./scripts/feeds install olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw
./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo
./scripts/feeds install olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf
./scripts/feeds install luci-app-upnp minidlna miniupnpc miniupnpd luci-app-minidlna rtorrent
make defconfig
make menuconfig
make -j 2 world

Compile Menggunakan BackFire 10.03

Lakukan sebagai user biasa

svn co svn://svn.openwrt.org/openwrt/branches/backfire ~/openwrt.10.03/trunk/
cd ~/openwrt.10.03/trunk/
./scripts/feeds update
./scripts/feeds install meshwizard openssh-server openssh-client
./scripts/feeds install freifunk-common freifunk-gwcheck freifunk-mapupdate
./scripts/feeds install luci luci-app-meshwizard luci-app-olsr luci-app-olsr-services
./scripts/feeds install luci-app-olsr-viz luci-app-freifunk-policyrouting luci-mod-freifunk
./scripts/feeds install luci-theme-freifunk-generic olsrd olsrd-mod-txtinfo olsrd-mod-dyn-gw
./scripts/feeds install olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw
./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo
./scripts/feeds install olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf
./scripts/feeds install luci-app-upnp minidlna miniupnpc miniupnpd luci-app-minidlna rtorrent
make defconfig
make menuconfig
make -j 2 world


Sayang di branch BackFire yang ada profile untuk WZR HP G300NH tidak ada profile untuk WZR HP G450H, mungkin bisa menggunakan profile generic.

Compile Menggunakan Kamikaze 8.09

Lakukan sebagai user biasa

svn co svn://svn.openwrt.org/openwrt/branches/8.09 ~/openwrt.8.09/trunk
cd ~/openwrt.8.09/trunk/
./scripts/feeds update
./scripts/feeds install meshwizard openssh-server openssh-client
./scripts/feeds install freifunk-common freifunk-gwcheck freifunk-mapupdate
./scripts/feeds install luci luci-app-meshwizard luci-app-olsr luci-app-olsr-services
./scripts/feeds install luci-app-olsr-viz luci-app-freifunk-policyrouting luci-mod-freifunk
./scripts/feeds install luci-theme-freifunk-generic olsrd olsrd-mod-txtinfo olsrd-mod-dyn-gw
./scripts/feeds install olsrd-mod-dyn-gw-plain olsrd-mod-dot-draw
./scripts/feeds install olsrd-mod-arprefresh olsrd-mod-watchdog olsrd-mod-tas olsrd-mod-httpinfo
./scripts/feeds install olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-bmf
./scripts/feeds install luci-app-upnp minidlna miniupnpc miniupnpd luci-app-minidlna rtorrent
make defconfig
make menuconfig
make -j 2 world


Update SVN

Untuk update SVN, di folder trunk lakukan

svn update
./scripts/feeds update

Lokasi Image

Lokasi image ada di

<buildroot>/bin/arsitektur-nya/

Misalnya

<buildroot>/bin/ar71xx/

Contoh

~/openwrt.trunk/trunk/bin/ar71xx/

Referensi

Pranala Menarik