Changeset 40532


Ignore:
Timestamp:
2014-04-19T23:39:09+02:00 (4 years ago)
Author:
luka
Message:

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@…>

Location:
trunk/package/boot/kobs-ng
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/boot/kobs-ng/Makefile

    r37894 r40532  
    11# 
    2 # Copyright (C) 2013 OpenWrt.org 
     2# Copyright (C) 2013-2014 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    1010PKG_NAME:=kobs-ng 
    1111PKG_VERSION:=3.0.35-4.0.0 
    12 PKG_RELEASE:=1 
     12PKG_RELEASE:=2 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
Note: See TracChangeset for help on using the changeset viewer.