Decided to do some more router hacking on my F7D3402.

Got sick of DD-WRT on my F7D3402 (due to it’s outdated kernel and because I could not use my USB WiFi dongle, because I couldn’t build the needed drivers, again due to outdated kernel), decided to ditch it and install OpenWrt instead.
OpenWrt seems to support BCM4718 chip, so this should not be a big problem. Current release in SVN trunk (which I will be using) uses Linux 3.3.7 which is a recent version. Nice. (see Update 1)

Patched the kernel (needed due to Belkin’s nonstandard TRX magic):
/drivers/mtd/maps/bcm47xx-flash.c -> change TRX_MAGIC to 00017517
/drivers/mtd/bcm47xxpart.c -> change TRX_MAGIC to 00017517

Now it boots (at least I can see it booting). But it does not mount root. It seems that it does not like Belkin’s mksquashfs 3.0 (perhaps it’s too old), because it sees the flash partitions, but does not mount anything.
Will try to rebuild with mksquashfs 4.2 instead.
Also, it tries to use JFFS2, would be nice if that worked as we could install OpenWrt packages (we can still use Optware though, even without JFFS2).

Will try to rebuild again and update this post.
When it’s done, will upload the TRX binary here in case if anyone needs it.

__________________________________________________

Update 1: It boots but nothing works, except the shell and USB. No Wifi or LAN. It seems that OpenWrt still does not fully support the BCM4718 chipset.

Update 2: I won’t be messing with this, it’s not yet usable. Switching back to DD-WRT for now. Will probably buy a more decent device to mess with in near future.