NetBSD/usr.bin/mkubootimage
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
..
Makefile Default to -Wno-sign-compare -Wno-pointer-sign for clang. 2011-05-26 12:56:24 +00:00
crc32.c
mkubootimage.c When printing the header, convert values to names: 2011-06-08 05:54:38 +00:00
uboot.h Add the -O option to set the OS type, which defaults to NetBSD when missing. 2011-02-26 20:03:09 +00:00