diff options
author | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-04-19 21:39:09 +0000 |
---|---|---|
committer | luka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2014-04-19 21:39:09 +0000 |
commit | 42e179aed9680aae4c41a4b3a112fcefc5315869 (patch) | |
tree | f87cee73cff34b1bb1811fd29cb1066eead3ad4f /target | |
parent | 978076c67ed10c3c6484664ca6fb36f75acbbc66 (diff) |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40532 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions