User Tools

Site Tools


wrtu54g-tm:openwrt

This is an old revision of the document!


Introduction

Well this is the development branch, it is not for production use yet because of the wifi driver needs optimization (er fixing) for our embedded platform. It runs the CPU very hot and suffers from bad performance.

*Update* Jan 20, 2011: Build 5 seems to fix CPU usage. Test it for me, thanks.

OpenWRT Development Branch (trunk, r24978, kernel 2.6.36.2)

When preinit starts, SES light turns green. If you are holding the SES button, or at least press it quickly as soon as light turns green, then failsafe should start. Failsafe is indicated by orange light. Then you may telnet to 192.168.1.1 with a PC connected to a LAN port.

  • 19Jan2011: Submitted the MTD patch to openwrt mailing list. This is patch against wireless I made: http://wrt.scottn.us/compat-wireless-2011-01-05.patch
  • 21Feb2011: MTD patch has been included in openwrt trunk, and compat-wireless has tasklet conversions.. should be pretty good to go.

packages

started a package repo of our own. we need _at least_ our own kernel modules right? try this in /etc/opkg.conf:

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

upgrade from backfire

Since I never edited sysupgrade correctly in old version, I did this craziness to upgrade from the backfire build to this development build:

root@OpenWrt:~# source /lib/upgrade/common.sh 
root@OpenWrt:~# run_ramfs
mount: mounting mini_fo:/overlay on /mnt failed: Function not implemented
Please press Enter to activate this console. 
BusyBox v1.15.3 (2010-09-14 10:19:20 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/ # cd /tmp        
/tmp # wget http://wrt.scottn.us/wrtu54g-tm-openwrt-devel.bin
Connecting to wrt.scottn.us (208.77.101.28:80)
wrtu54g-tm-openwrt-d 100% |*******************************|  2250k 00:00:00 ETA
/tmp # mtd erase linux
Unlocking linux ...
Erasing linux ...
/tmp # mtd erase rootfs
Unlocking rootfs ...
Erasing rootfs ...
/tmp # mtd erase rootfs_data
Unlocking rootfs_data ...
Erasing rootfs_data ...
/tmp # mtd write wrtu54g-tm-openwrt-devel.bin linux:rootfs:rootfs_data
Unlocking linux ...
Unlocking rootfs ...
Unlocking rootfs_data ...
Writing from wrtu54g-tm-openwrt-devel.bin to linux ...     
Writing from wrtu54g-tm-openwrt-devel.bin to rootfs ...     
Writing from wrtu54g-tm-openwrt-devel.bin to rootfs_data ...     
/tmp # reboot
wrtu54g-tm/openwrt.1298237849.txt.gz · Last modified: 2023/11/04 22:29 (external edit)

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