OpenWrt/General: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 17: Line 17:
<pre>
<pre>
mtd -r erase rootfs_data
mtd -r erase rootfs_data
</pre>
</blockquote>
== Sysupgrade ==
<blockquote>
<pre>
wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
sysupgrade -v openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
</pre>
</pre>
</blockquote>
</blockquote>

Revision as of 18:24, 12 November 2012

Block Device

(root from usb stick)

opkg update
opkg install kmod-usb-uhci
insmod uhci
opkg install kmod-usb-ohci
insmod usb-ohci

opkg install kmod-usb-storage block-mount kmod-fs-ext4 kmod-nls-cp437 kmod-nls-cp850 kmod-nls-iso8859-1 kmod-nls-iso8859-15 kmod-scsi-core e2fsprogs fdisk

Clear Flash

mtd -r erase rootfs_data


Sysupgrade

wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
sysupgrade -v openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin