Skip to contentSkip to conversation

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

PATCH New Karl O. Pinc 2 participants 3 messages Aug 3, 2012 – Sep 3, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 doc/README.kwbimage |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)
doc/README.kwbimage +14 -3
index 7f15e6d..e91c387 100644
@@ -25,13 +25,24 @@ for ex.
 		-T kwbimage -a 0x00600000 -e 0x00600000 \
 		-d u-boot.bin u-boot.kwb
 
+
 kwbimage support available with mkimage utility will generate kirkwood boot
-image that can be flashed on the board NAND/SPI flash
+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 BUILD_DIR=/tmp/build
+  make distclean
+  make yourboard_config
+  make $BUILD_DIR/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/<yourboard>.h).   The path should look like:
+        $(SRCTREE)/$(CONFIG_BOARDDIR)/<yourkwbimagename>.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,
Signature · 1 line
1.7.2.5
#1 lore raw

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

Quoted 55 lines

-----Original Message-----
From: Karl O. Pinc [mailto:kop at meme.com]
Sent: 03 August 2012 08:22
To: Prafulla Wadaskar; u-boot at lists.denx.de
Cc: Karl O. Pinc
Subject: [PATCH] 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.

---
 doc/README.kwbimage |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)
doc/README.kwbimage +1 -0
index 7f15e6d..e91c387 100644
@@ -25,13 +25,24 @@ for ex.
 		-T kwbimage -a 0x00600000 -e 0x00600000 \
 		-d u-boot.bin u-boot.kwb
 
+
 kwbimage support available with mkimage utility will generate

kirkwood boot

doc/README.kwbimage +1 -1
-image that can be flashed on the board NAND/SPI flash
+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:

doc/README.kwbimage +11 -2
+
+  export BUILD_DIR=/tmp/build
+  make distclean
+  make yourboard_config
+  make $BUILD_DIR/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/<yourboard>.h).   The path should look like:
+        $(SRCTREE)/$(CONFIG_BOARDDIR)/<yourkwbimagename>.cfg
 2. This file can have empty lines and lines starting with "#" as
Quoted 4 lines

first
character to put comments
3. This file can have configuration command lines as mentioned below,
--

Acked by: Prafulla Wadaskar <[email protected]>

I will pull this patch latter.

Regards...
Prafulla . . .

#2 lore raw

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

In reply to Karl O. Pinc
Quoted 68 lines

-----Original Message-----
From: Prafulla Wadaskar
Sent: 03 August 2012 11:58
To: 'Karl O. Pinc'; u-boot at lists.denx.de
Subject: RE: [PATCH] cosmetic: Better explain how to use the kirkwood kwbimage.cfg file.

Quoted 41 lines

-----Original Message-----
From: Karl O. Pinc [mailto:kop at meme.com]
Sent: 03 August 2012 08:22
To: Prafulla Wadaskar; u-boot at lists.denx.de
Cc: Karl O. Pinc
Subject: [PATCH] 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.

---
 doc/README.kwbimage |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)
doc/README.kwbimage +1 -0
index 7f15e6d..e91c387 100644
@@ -25,13 +25,24 @@ for ex.
 		-T kwbimage -a 0x00600000 -e 0x00600000 \
 		-d u-boot.bin u-boot.kwb
 
+
 kwbimage support available with mkimage utility will generate

kirkwood boot

doc/README.kwbimage +1 -1
-image that can be flashed on the board NAND/SPI flash
+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:

doc/README.kwbimage +5 -0
+
+  export BUILD_DIR=/tmp/build
+  make distclean
+  make yourboard_config
+  make $BUILD_DIR/u-boot.kwb

doc/README.kwbimage for ex.

Quoted 10 lines
doc/README.kwbimage +5 -2
+
 
 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/<yourboard>.h).   The path should look

like:

Quoted 5 lines

+ $(SRCTREE)/$(CONFIG_BOARDDIR)/<yourkwbimagename>.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

Quoted 6 lines

below,

Quoted 1 line

--

Acked by: Prafulla Wadaskar <[email protected]>

I will pull this patch latter.

Applied to u-boot-marvell.git master branch

Regards...
Prafulla . . .