kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) images
authorLuka Perkov <luka@openwrt.org>
Mon, 14 Mar 2016 17:06:09 +0000 (17:06 +0000)
committerLuka Perkov <luka@openwrt.org>
Mon, 14 Mar 2016 17:06:09 +0000 (17:06 +0000)
commitafa1c47e71d56d95d98e981271c35f5d8d8aa78e
treeb3723f86429a25e426d14416f69f1b23039b75cd
parent1b9c171f88331d2e503fe3c3a2b94a7e15b14fef
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>
SVN-Revision: 49010
target/linux/kirkwood/base-files/lib/upgrade/platform.sh
target/linux/kirkwood/image/Makefile