cmd: add clone command
authorJohn Chau <john@harmon.hk>
Thu, 2 Jul 2020 04:01:21 +0000 (12:01 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 5 Aug 2020 03:29:59 +0000 (23:29 -0400)
commit4a4830cf915e76f07cff5ce346c3ccbc987c1557
tree42ebbb70628121c40e6cc4e757dd55d56cad003d
parent5b3ddb17baec13b4386620b533527d0f53ddeddf
cmd: add clone command

This patch adds a feature for block device cloning similar to dd
command, this should be useful for boot-strapping a device where
usb gadget or networking is not available. For instance one can
clone a factory image into a blank emmc from an external sd card.

Signed-off-by: John Chau <john@harmon.hk>
arch/Kconfig
cmd/Kconfig
cmd/Makefile
cmd/clone.c [new file with mode: 0644]