Thu Jun 21 18:36:19 EDT 2012
Got this one for $19.97 on Amazon. A couple of hours later deal was gone!
Belkin Share Max N300. Installed this unofficial trx for OpenWRT.
Now trying to run Debian on it. Basic idea is to make a low power
server to replace my 100W monster.
After some googling I ran into this DebianWRT. I forgot the
"--foreign" flag in my first attempt:
zoo:/vol/verbatim# debootstrap --foreign --arch mipsel squeeze squeeze
Trying the chroot on the Belkin doesn't work:
[ 3226.452000] FPU emulator disabled, make sure your toolchainwas compiled with software floating point support (soft-float)
Googling I find this .
Looks like next step is to try to build the buildroot myself,
following instructions in . Hmmm dead end. One more .
OpenWRT page says "possible but not being worked on" .
In addition to instructions in , also run:
[*] Enable FPU emulation
Flashing is explained here .
Looking for systems with a bit more RAM
Netgear WNDR3800 128 5gigE 1USB2 ar71xx
TPLink TL-WDR4300 128 5gigE 2USB ar71xx
/bin/sh: mipsel-openwrt-linux-uclibc-gcc: not found
Maybe because I modified the kernel config. Trying this:
According to this problem is due to change in the linker. Binutils
2.21.1 should work. I'm running Debian's 2.22-1. Fix should be
downgrade or add an explicit "-lstdc++" somewhere.
I already have this patch. Revision is r29721 while I have 30776.
Just downgrade then.. Not so simple. Bunch of stuff depends on it.
Some other thing. Maybe try to compile it with a 32bit compiler.
Upgrading to the latest Debian toolchain seems to get past the error:
Another error, followed by more like these in the same file:
libbb/appletlib.c:64:45: error: invalid suffix "xob" on integer constant
The refer PACKED_USAGE and UNPACKED_USAGE. There seems to be
something wrong with the generation of this file (trunk is openwrt svn
trunk from ).
#define UNPACKED_USAGE "" \
#define PACKED_USAGE \
I can decipher this as "objdump(GNUBinutils.." some error message.
The generation file is in:
probably the invocation of 'od -v -t -x1'.
Ha, that's because I have a /home/tom/bin/od script that calls
object-dump, which clashes with the "octal dump" /usr/bin/od.
Ok, that completed the build. Now I have:
Time to push it to the device. When already running OpenWRT it's
possible to use 'mtd' to flash the firmware. Something like this .
mtd write /tmp/openwrt-brcm-2.4-squashfs.trx linux && reboot
After this, telnet 192.168.1.1 again and try chroot of debian disk,