Fonera: Difference between revisions

From fakedWiki
Jump to: navigation, search
Line 11: Line 11:
=== Flashing via OpenWRT ===
=== Flashing via OpenWRT ===
<pre>
<pre>
cd /tmp
wget http://192.168.0.1/openwrt/atheros/openwrt-atheros-vmlinux.lzma
wget http://192.168.0.1/openwrt/atheros/openwrt-atheros-vmlinux.lzma
mtd -e vmlinux.bin.l7 write openwrt-atheros-vmlinux.lzma vmlinux.bin.l7
mtd -e vmlinux.bin.l7 write openwrt-atheros-vmlinux.lzma vmlinux.bin.l7

Revision as of 23:07, 19 January 2011

Flashing via RedBoot

ip_address -h 192.168.0.1 -l 192.168.0.254/24
load -r -b %{FREEMEMLO} http://192.168.0.1/openwrt/atheros/openwrt-atheros-vmlinux.lzma -m HTTP
fis init
fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
load -r -b %{FREEMEMLO} http://192.168.0.1/openwrt/atheros/openwrt-atheros-root.squashfs -m HTTP
fis create rootfs

Flashing via OpenWRT

cd /tmp
wget http://192.168.0.1/openwrt/atheros/openwrt-atheros-vmlinux.lzma
mtd -e vmlinux.bin.l7 write openwrt-atheros-vmlinux.lzma vmlinux.bin.l7
wget http://192.168.0.1/openwrt/atheros/openwrt-atheros-root.squashfs
mtd -e rootfs write openwrt-atheros-root.jffs2-64k rootfs
reboot