X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=doc%2FREADME.kwbimage;h=762b2e3acb71e08f9335baa72a67759a1f5bbd1d;hb=d4aa4e0e768ee6842ffb02dec49dec0ba022e981;hp=2a5b3b3be5d2d46d5fd52d5d25d0e8eac25f31db;hpb=36e0eb63e3f095a321e53e19e631ea07e0d39955;p=karo-tx-uboot.git diff --git a/doc/README.kwbimage b/doc/README.kwbimage index 2a5b3b3be5..762b2e3acb 100644 --- a/doc/README.kwbimage +++ b/doc/README.kwbimage @@ -17,21 +17,32 @@ Command syntax: to list the kwb image file details ./tools/mkimage -n \ - -T kwbimage -a -e \ + -T kwbimage -a -e \ -d for ex. ./tools/mkimage -n ./board/Marvell/openrd_base/kwbimage.cfg \ - -T kwbimage -a 0x00600000 -e 0x00600000 \ + -T kwbimage -a 0x00600000 -e 0x00600000 \ -d u-boot.bin u-boot.kwb -kwimage support available with mkimage utility will generate kirkwood boot -image that can be flashed on the board NAND/SPI flash + +kwbimage support available with mkimage utility will generate kirkwood boot +image that can be flashed on the board NAND/SPI flash. The make target +which uses mkimage to produce such an image is "u-boot.kwb". For example: + + export KBUILD_OUTPUT=/tmp/build + make distclean + make yourboard_config + make u-boot.kwb + Board specific configuration file specifications: ------------------------------------------------ -1. This file must present in the $(BOARDDIR) and the name should be - kwbimage.cfg (since this is used in Makefile) +1. This file must present in the $(BOARDDIR). The default name is + kwbimage.cfg. The name can be set as part of the full path + to the file using CONFIG_SYS_KWD_CONFIG (probably in + include/configs/.h). The path should look like: + $(CONFIG_BOARDDIR)/.cfg 2. This file can have empty lines and lines starting with "#" as first character to put comments 3. This file can have configuration command lines as mentioned below,