Commit Graph

17 Commits

Author SHA1 Message Date
matt
3dcb0b124a Avoid signed/unsigned comparision. 2012-02-17 08:28:36 +00:00
matt
dfc6b54984 Let address/entry be 64bit if they are just sign-extended 32-bit values.
(change pulled up from matt-nb5-mips64).
2012-02-17 08:11:28 +00:00
joerg
08af8338c6 Sprinkle one more static and a bunch of consts. 2011-09-04 20:35:07 +00:00
joerg
81249d1a2f static + __dead 2011-09-04 20:31:00 +00:00
wiz
9038276921 Add lzma and lzo to usage. From Elie De Brauwer in PR 45219. 2011-08-06 11:12:05 +00:00
matt
8fa5ea82ed Add O_TRUNC to the open of the image file (in case the size decreases). 2011-08-04 04:47:59 +00:00
matt
9be0f04367 Add lzma and lzo compression types 2011-08-03 17:46:40 +00:00
matt
dfbaa6afbe Add -E entrypoint for "byteswapped" entry-points. 2011-08-03 17:00:13 +00:00
riz
a91ba62b09 Add an -m flag to mkubootimage, for specifying an alternate magic
value.
2011-08-01 06:16:35 +00:00
matt
6d32ef3fed When printing the header, convert values to names:
Use strlcpy to copy the name, not strncpy.

 magic:       0x27051956
 time:        Tue Jun  7 15:58:41 2011
 size:        2482203
 load addr:   0x00020000
 entry point: 0x00020000
 data crc:    0x700fdf53
 os:          2 (netbsd)
 arch:        7 (powerpc)
 type:        2 (kernel)
 comp:        1 (gz)
 name:        NetBSD/evbppc 5.99.52 (INSTALL_
 header crc:  0x94ea96cf
2011-06-08 05:54:38 +00:00
joerg
a216da57a6 Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.
2011-05-26 12:56:24 +00:00
phx
6a5a0ed53a Add the -O option to set the OS type, which defaults to NetBSD when missing.
This is needed, because some vendors have stripped U-Boot so much that it
only accepts Linux kernel modules.
Also allow 'standalone' as module type.
2011-02-26 20:03:09 +00:00
matt
b86170a11c Add mips/mips64 support. 2011-01-31 03:37:28 +00:00
kiyohara
ee29569a43 Change '-e' to optional. Use load addr(-a), if '-e' not specify.
Just like u-boot's mkimage.
2010-07-10 07:48:25 +00:00
kiyohara
3b82565500 s/mkuboot/mkubootimage/ in usage(). 2010-07-09 11:36:42 +00:00
dogcow
4ed2cab9df nbtool.h'ify; fixes cross-compilation. 2010-06-22 14:54:11 +00:00
jmcneill
f18dcb652c add mkubootimage(1), a tool for creating u-boot compatible images 2010-06-18 18:55:48 +00:00