summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2014-04-19 21:39:09 +0000
committerLuka Perkov <luka@openwrt.org>2014-04-19 21:39:09 +0000
commit350dd0f9acb0ed1c084ef197be31e4c8d2ea1935 (patch)
treeffce0389cb50759591e3066badf4bce979cf0cae /tools
parentb58e65f2ee1a95865874a7f5b637d460e372b1fe (diff)
downloadmtk-20170518-350dd0f9acb0ed1c084ef197be31e4c8d2ea1935.zip
mtk-20170518-350dd0f9acb0ed1c084ef197be31e4c8d2ea1935.tar.gz
mtk-20170518-350dd0f9acb0ed1c084ef197be31e4c8d2ea1935.tar.bz2
kobs-ng: Add support for overriding size
By default kobs-ng will use the size of /dev/mtd0 for the IMX bootstreams. This patch allows overriding that size in order to reserve space at the end of the mtd partition for u-boot.img in the case of using an SPL bootloader. For example, to flash an SPL bootloader that loads u-boot.img from 0xe0000 (14MB) offset in a 16MB /dev/mtd0: kobs-ng init -v -x --search_exponent=1 --chip_0_size=0xe00000 SPL nandwrite --start=0xe00000 --pad /dev/mtd0 u-boot.img Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 40532
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions