User Tools

Site Tools


wrtu54g-tm

WRTU54G-TM OpenWRT

Someone had to be brave enough to take on the creation of a 3rd party firmware for this thing. I'm Scott Nicholas, aka neutronscott. This wiki describes my work of porting Linksys' GPL sources to a modern Linux kernel, and subsequently plugging that into the OpenWRT system.

Current Status

2013: Official build seems available: http://downloads.openwrt.org/attitude_adjustment/12.09-rc2/adm8668/generic/

April 7th, 2011: Created a snapshot directory – http://wrt.scottn.us/snapshots/

FIXME (insert the hardware device table showing progress again..)

Working: serial port, ethernet ports (WAN and LAN are separate but identical), wifi.
Not working: switch driver (VLANs), VINETIC SPI communications (Power LED control is here), USB, GPIO export.

Downloads

Everything below here is ancient.

Installation

From official firmware

Just use Firmware Upgrade under Administration in the web interface.

From previous release

I recall keeping configuration not working before. Do so at your own risk! If you have the backfire b1 or b2 try this or you need to edit /lib/upgrade/platform.sh and use PART_NAME=linux:rootfs:rootfs_data since things were partitioned differently then.

root@OpenWrt:~# cd /tmp
root@OpenWrt:/tmp# wget http://wrt.scottn.us/latest.bin
root@OpenWrt:/tmp# sysupgrade -v -i ./latest.bin
Keep config files over reflash (y/N): n
Switching to ramdisk...
mount: mounting mini_fo:/overlay on /mnt failed: Function not implemented
Performing system upgrade...
Unlocking linux ...
Writing from <stdin> to linux ...
Upgrade completed
Reboot (Y/n): y
Rebooting system...

From a broken state

If things go sour and you need to start fresh, you can also reflash an entire firmware from the bootloader. The bootloader doesn't offer a TFTP server, but a TFTP client, and access to the serial console is required. The procedure is documented here.

If you break the bootloader as well, you will want to learn about JTAG.

Usage

If you got this far, you may find http://openwrt.org/ to have resources on basic usage. Only things device specific are dealt with here. This includes my binary builds being broken, as they usually are. It's worth noting though that your router is now at 192.168.1.1 instead of 192.168.0.1, and the default build includes no web interface! You can use telnet to set a password, and afterwords you'll need to use SSH.

The only device specific function is that during bootup you may hold the SES button to activate fail-safe mode. This is useful for example if: you forgot your password, broke your configuration, or the writable filesystem is corrupted. It boots without mounting the writable system and you can telnet in, and if needed 'firstboot && reboot' to start fresh.

Installing packages

If you need more packages, the user applications from nearly any other mipsel target should work, given that the libraries are at the same version. Replace /etc/opkg.conf with the following:

src/gz adm8668 http://wrt.scottn.us/packages
src/gz snapshots http://downloads.openwrt.org/snapshots/trunk/brcm47xx/packages
dest root /
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay
arch all 5
arch brcm47xx 10
arch adm8668 20

Failing that, you'll have to build your own or ask on the mailing list.

Building from source

If you require functionality that is not included in a basic build (i.e. IPv6 or PPPoE), then you may have to build it yourself. This is because I don't have a full package repository yet.

It's not too complicated.

  • Get into Linux. Install the devel essentials, svn, …
  • Checkout OpenWRT: svn co svn://svn.openwrt.org/openwrt/trunk
  • Configure OpenWRT: make menuconfig
  • You are only required to select the target. Infineon ADM8668 WildPass. The rest is up to you.
  • Issue make and take a nap.

I tried building _all_ of the packages feed, and it didn't workout. We really need the OpenWRT guys to include our platform in their buildbot snapshots. :(

Removal

Simply follow the installation instructions but download and install http://wrt.scottn.us/revert.bin

I can't make these things more simple! ;)

Support

You can contact me personally by methods described here.
I'll try to help out where I can, but honestly the active development pretty much ended after the patch was sent off for inclusion into OpenWRT.

Thanks

  • Helmut Schaa – His work on the Ralink SoC devices with OpenWRT led him to becoming a maintainer for the rt2x00 wireless drivers. His patience with me and his tasklet patches significantly improved the wireless throughput for this device.
  • Mayckel (a guy from Curacao) – for being my guinea pig and putting up with my firmware breaking his routers. ;)
wrtu54g-tm.txt · Last modified: 2023/11/04 22:30 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki