Compile OpenWRT on Debian Squeeze
here you can download a preinstalled OpenWRT build enviroment for VirtualBox.
This OpenWRT build enviroment holds all toolchains, prerequisite packages and the latest kernel (3.8.6).
Extract the downloaded 7z archive and import the 32-bit Debian Squeeze machine in virtualbox.
The SSH login credentials are:
(NAT) IP/Port: 127.0.0.1:22
user: openwrt
pass: build
Root password is no set, cause building with root permissions doesn't appear to be a good idea, but however you are superuser with sudo -s for updating the machine or anything else you like to do.
Change directory (cd) to ~/openwrt and execute
sh upd.sh
to sync the latest changes from OpenWRT trunk repo.
Config adjustments will be made via
make menuconfig
and configuring the kernel can be done with
make kernel_menuconfig
When you're done, start the build with command
make V=s
and check the bin/ar71xx folder when your compile is finished.
On a multicore machine you can speedup the OpenWRT build via
cat /proc/cpuinfo
make -j 3 « that's the number of you last cpu core.
So, on an octacore you would use -j 7 to speed up the build process.
If you have any questions ask below!
best regards