History log of /openwrt/target/linux/kirkwood/base-files/lib/upgrade/platform.sh
Revision Date Author Comments
# aa16759d 10-May-2016 Luka Perkov <luka@openwrt.org>

krikwood: Make Iconnect image use new ubi format style

To flash first time follow instructions in commit:
"kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) images"

Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49370 3c298f89-4303-0410-b956-a3cf2f4a3e73


# 471e5346 14-Mar-2016 Luka Perkov <luka@openwrt.org>

kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) images

The new image requires `bootz` because of devicetree appending.
To flash a new image boot initramfs:

tftpboot 0x800000 openwrt-kirkwood-dockstar-initramfs-kernel.bin
bootz 0x800000

# detach if already attached
ubidetach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}')
# scp openwrt-kirkwood-dockstar-squashfs-factory.bin /tmp
ubiformat -f /tmp/openwrt-kirkwood-dockstar-squashfs-factory.bin
# attach is important to resize rootfs_data otherwise it wont boot
ubiattach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}')

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49010 3c298f89-4303-0410-b956-a3cf2f4a3e73


# afc76ed1 09-Nov-2015 Luka Perkov <luka@openwrt.org>

kirkwood: support sysupgrade on Linksys EA[34]500

This automatically writes to the alternate firmware partition
(on Linksys's dual firmware layout) using code borrowed from
the WRT1900AC port.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47434 3c298f89-4303-0410-b956-a3cf2f4a3e73