Skip to content
chiva edited this page Nov 11, 2011 · 2 revisions

Documentation on how to build the Nyager firmware based on the Jasager one.

preBuild.sh

sudo apt-get install subversion git build-essential zlib1g-dev
mkdir nyager-build
cd nyager-build

svn checkout http://firmware-mod-kit.googlecode.com/svn/trunk/ firmware-mod-kit
git clone https://github.com/chiva/Nyager.git
wget http://www.digininja.org/files/jasager_firmware_1.0.tar.bz2
tar -jxvf jasager_firmware_1.0.tar.bz2

cd ./firmware-mod-kit/trunk/src/squashfs-3.0
make all
cd ../../../..
cp ./firmware-mod-kit/trunk/src/squashfs-3.0/unsquashfs-lzma ./firmware-mod-kit/trunk/src/squashfs-3.0/mksquashfs-lzma ./
./unsquashfs-lzma openwrt-atheros-root.squashfs

Modify the file system (inside the squashfs-root folder) as needed

postBuild.sh

./mksquashfs-lzma squashfs-root/ nyager-openwrt-atheros-root.squashfs -be -all-root -noappend
mv openwrt-atheros-vmlinux.lzma nyager-openwrt-atheros-vmlinux.lzma
tar -pczf ~/Desktop/nyager_firmware_1.0.tar.gz nyager-openwrt-atheros-root.squashfs nyager-openwrt-atheros-vmlinux.lzma
cd ..
rm -r nyager-build/

Note: tested in Ubuntu 11.10

Clone this wiki locally