Fonera: Difference between revisions
From fakedWiki
Line 15: | Line 15: | ||
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 | ||
wget http://192.168.0.1/openwrt/atheros/openwrt-atheros-root.squashfs | wget http://192.168.0.1/openwrt/atheros/openwrt-atheros-root.squashfs | ||
mtd -e rootfs write openwrt-atheros-root. | mtd -e rootfs write openwrt-atheros-root.squashfs | ||
reboot | reboot | ||
</pre> | </pre> |
Revision as of 23:35, 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.squashfs reboot