Misc howtos
HOWTO Build one's own midge
This is a very basic description on howto build a midge firmware image which will run on a BR6104KP router/printserver.
1. You can download tar.bz2 or download via SVN (if you do not have svn installed, install it with the command “apt-get install subversion” on debian based systems):
- tar.bz2
- download fresh tar.bz2 from http://midge.vlad.org.ua/src/
- tar xvjf <file>.tar.bz2
- svn
2. Change into the unpacked tree
cd trunk/openwrt-midge
3. Configure the package
cp target/linux/adm5120-2.4/openwrt-config-midge-lite .config make menuconfig * select ADM5120 * squashfs-lzma
These options should already be selected.
4. Build all. During this step all the tools for the toolchain will be downloaded automatically. This will take a while.
For a silent build type simply type
make
For a more verbose build process type
make V=99
If you get an error while compiling the package pppoe, go back to 3., deselect pppoe-client under OpenWrt Package Selection an type make again.
If you get an error because your kernel or your squashfs is too large, increment the size in make menuconfig DEVELOPER=1 –> Kernel Config, but remember that we have only 2MB flash and after you increase kernel or squashfs size there is less space for flash save.
Some packages require flex and/or bison. Therefore, if you get an error like “flex missing” or “bison: command not found”, install flex and bison and type make again.
5. install openwrt-adm5120-2.4-squashfs.bin.csys firmware image with the bootloader (after compile can be found in bin subdirectory)
6. boot new image
7. install w/ ipkg
USB stuff removed there. Please look at usb for it.
