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)
commit8fd87a199b27f2e8841298ebe8ee9484d75ac32c
treed368878852199a76231212826e15f035211038a6
parent11c7b1e06eb02b9039e94e35f53fe2ca72b3b79f
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