Hi Tim,

On Thu, Apr 17, 2014 at 09:25:16AM -0700, Tim Harvey wrote:
> 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 <thar...@gateworks.com>
> ---
>  .../kobs-ng/patches/002-add-init-size-param.patch  | 42 
> ++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
>  create mode 100644 package/boot/kobs-ng/patches/002-add-init-size-param.patch

Applied with PKG_RELEASE bump in r40532. Thanks.

Luka
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to