Commit 1ff1f89c57e69eb151ab2eca87a4f119bb4413c1

Authored by Karl O. Pinc
Committed by Prafulla Wadaskar
1 parent 32324b7f9d

cosmetic: Better explain how to use the kirkwood kwbimage.cfg file.

Hi,

This adds to the documenation to explain how to use the
kwbimage.cfg file necessary to generate an image with
prefixed board setup values necessary for the kirkwood
boards.

Signed-off-by: Karl O. Pinc <kop@meme.com>

Showing 1 changed file with 14 additions and 3 deletions Side-by-side Diff

... ... @@ -25,13 +25,24 @@
25 25 -T kwbimage -a 0x00600000 -e 0x00600000 \
26 26 -d u-boot.bin u-boot.kwb
27 27  
  28 +
28 29 kwbimage support available with mkimage utility will generate kirkwood boot
29   -image that can be flashed on the board NAND/SPI flash
  30 +image that can be flashed on the board NAND/SPI flash. The make target
  31 +which uses mkimage to produce such an image is "u-boot.kwb". For example:
30 32  
  33 + export BUILD_DIR=/tmp/build
  34 + make distclean
  35 + make yourboard_config
  36 + make $BUILD_DIR/u-boot.kwb
  37 +
  38 +
31 39 Board specific configuration file specifications:
32 40 ------------------------------------------------
33   -1. This file must present in the $(BOARDDIR) and the name should be
34   - kwbimage.cfg (since this is used in Makefile)
  41 +1. This file must present in the $(BOARDDIR). The default name is
  42 + kwbimage.cfg. The name can be set as part of the full path
  43 + to the file using CONFIG_SYS_KWD_CONFIG (probably in
  44 + include/configs/<yourboard>.h). The path should look like:
  45 + $(SRCTREE)/$(CONFIG_BOARDDIR)/<yourkwbimagename>.cfg
35 46 2. This file can have empty lines and lines starting with "#" as first
36 47 character to put comments
37 48 3. This file can have configuration command lines as mentioned below,