| c81296c1 | 24-Nov-2009 |
Peter Tyser <ptyser@xes-inc.com> |
tools/mkimage: Print FIT image contents after creation
Previously, there was no indication to the user that a FIT image was successfully created after executing mkimage. For example:
$ mkimage -
tools/mkimage: Print FIT image contents after creation
Previously, there was no indication to the user that a FIT image was successfully created after executing mkimage. For example:
$ mkimage -f uImage.its uImage.itb DTC: dts->dtb on file "uImage.its"
Adding some additional output after creating a FIT image lets the user know exactly what is contained in their image, eg:
$ mkimage -f uImage.its uImage.itb DTC: dts->dtb on file "uImage.its" FIT description: Linux kernel 2.6.32-rc7-00201-g7550d6f-dirty Created: Tue Nov 24 15:43:01 2009 Image 0 (kernel@1) Description: Linux Kernel 2.6.32-rc7-00201-g7550d6f-dirty Type: Kernel Image Compression: gzip compressed Data Size: 2707311 Bytes = 2643.86 kB = 2.58 MB Architecture: PowerPC OS: Linux Load Address: 0x00000000 Entry Point: 0x00000000 Hash algo: crc32 Hash value: efe0798b Hash algo: sha1 Hash value: ecafba8c95684f2c8fec67e33c41ec88df1534d7 Image 1 (fdt@1) Description: Flattened Device Tree blob Type: Flat Device Tree Compression: uncompressed Data Size: 12288 Bytes = 12.00 kB = 0.01 MB Architecture: PowerPC Hash algo: crc32 Hash value: a5cab676 Hash algo: sha1 Hash value: 168722b13e305283cfd6603dfe8248cc329adea6 Default Configuration: 'config@1' Configuration 0 (config@1) Description: Default Linux kernel Kernel: kernel@1 FDT: fdt@1
This brings the behavior of creating a FIT image in line with creating a standard uImage, which also prints out the uImage contents after creation.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
show more ...
|
| 8e1c8966 | 24-Nov-2009 |
Peter Tyser <ptyser@xes-inc.com> |
tools/fit_image.c: Remove unused fit_set_header()
The FIT fit_set_header() function was copied from the standard uImage's image_set_header() function during mkimage reorganization. However, the fit
tools/fit_image.c: Remove unused fit_set_header()
The FIT fit_set_header() function was copied from the standard uImage's image_set_header() function during mkimage reorganization. However, the fit_set_header() function is not used since FIT images use a standard device tree blob header.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
show more ...
|
| fd66066e | 04-Nov-2009 |
Mike Frysinger <vapier@gentoo.org> |
img2srec: use standard types
The img2srec code creates a lot of typedefs with common names. These easily clash with system headers that include these typedefs (like mingw).
Signed-off-by: Mike Fry
img2srec: use standard types
The img2srec code creates a lot of typedefs with common names. These easily clash with system headers that include these typedefs (like mingw).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 1c20e4a9 | 09-Sep-2009 |
Mike Frysinger <vapier@gentoo.org> |
tools/netconsole: use ncb automatically if available
The standard netcat, while ubiquitous, doesn't handle broadcast udp packets properly. The local ncb util does however. So if ncb can be located
tools/netconsole: use ncb automatically if available
The standard netcat, while ubiquitous, doesn't handle broadcast udp packets properly. The local ncb util does however. So if ncb can be located in the standard locations, automatically use that instead.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 37b80188 | 07-Sep-2009 |
Prafulla Wadaskar <prafulla@marvell.com> |
mkimage: Include missing files in build dependency calculations
Include default_image.o and fit_image.o into the build dependency calculations. This makes sure they get rebuilt if any of the headers
mkimage: Include missing files in build dependency calculations
Include default_image.o and fit_image.o into the build dependency calculations. This makes sure they get rebuilt if any of the headers they include are modified
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com> Acked-by: Ron Lee <ron@debian.org>
Edited commit message.
Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| 3a2003f6 | 19-Aug-2009 |
Wolfgang Denk <wd@denx.de> |
tools/mkimage: fix compiler warnings, use "const"
This fixes some compiler warnings: tools/default_image.c:141: warning: initialization from incompatible pointer type tools/fit_image.c:202: warning:
tools/mkimage: fix compiler warnings, use "const"
This fixes some compiler warnings: tools/default_image.c:141: warning: initialization from incompatible pointer type tools/fit_image.c:202: warning: initialization from incompatible pointer type and changes to code to use "const" attributes in a few places where it's appropriate.
Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| 89a4d6b1 | 19-Aug-2009 |
Prafulla Wadaskar <prafulla@marvell.com> |
tools: mkimage: split code into core, default and FIT image specific
This is a first step towards reorganizing the mkimage code to make it easier to add support for additional images types. Current
tools: mkimage: split code into core, default and FIT image specific
This is a first step towards reorganizing the mkimage code to make it easier to add support for additional images types. Current mkimage code is specific to generating uImage and FIT image files, but the same framework can be used to generate other image types like Kirkwood boot images (kwbimage-TBD). For this, the mkimage code gets reworked:
Here is the brief plan for the same:- a) Split mkimage code into core and image specific support b) Implement callback functions for image specific code c) Move image type specific code to respective C files Currently there are two types of file generation/list supported (i.e uImage, FIT), the code is abstracted from mkimage.c/.h and put in default_image.c and fit_image.c; all code in these file is static except init function call d) mkimage_register API is added to add new image type support All above is addressed in this patch e) Add kwbimage type support to this new framework (TBD) This will be implemented in a following commit.
Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com> Edit commit message, fix coding style and typos. Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|