The NetBSD Project

CVS log for src/usr.bin/mkubootimage/mkubootimage.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / mkubootimage

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Oct 29 02:54:38 2024 UTC (6 weeks, 1 day ago) by gutteridge
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +19 -19 lines
mkubootimage.c: consistently use endian.h origin functions

Since this already uses bswap32(3), le64toh(3), etc., switch to also
use htobe32(3) and be32toh(3) instead of htonl(3) and ntohl(3). This
seems the best way to fix build breakages under recent Linux distros
where GCC objects to missing prototypes (since otherwise we'd need to
include arpa/inet.h, which wasn't declared). Another issue related to
PR lib/58674.

Confirmed this fixes builds on Fedora 40 (since all these functions are
provided by NetBSD compat). No changes noted to resulting installation
images generated for armv7hf on a NetBSD build.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Tue May 21 04:01:26 2024 UTC (6 months, 3 weeks ago) by gutteridge
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -6 lines
mkubootimage(1): adjust usage, etc.

In the tool, reflow and reorder usage() output and also consistently
mark which arguments are optional.

In the man page, add missing -t argument in the synopsis and follow
consistent argument ordering.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue May 21 03:54:31 2024 UTC (6 months, 3 weeks ago) by gutteridge
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -3 lines
mkubootimage(1): add riscv

Revision 1.31: download - view: text, markup, annotated - select for diffs
Fri Feb 9 16:10:18 2024 UTC (10 months ago) by christos
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +21 -18 lines
PR/57914: Jan-Benedict Glaw: Set reproducible timestamp
Cleanup lint.

Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:17 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +26 -13 lines
Merge changes from current as of 20200406

Revision 1.24.6.3: download - view: text, markup, annotated - select for diffs
Mon Feb 10 19:14:03 2020 UTC (4 years, 10 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE
Diff to: previous 1.24.6.2: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.6.2: +3 -3 lines
Pull up following revision(s) (requested by ryo in ticket #690):

	usr.bin/mkubootimage/mkubootimage.c: revision 1.30

arm64_image_header->image_size must be included size of arm64_image_header.

with -u option, image_size should be binary (file) size (header included).
without -u option, image_size should be binary (file) size + header size.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Sat Feb 8 13:27:00 2020 UTC (4 years, 10 months ago) by ryo
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +3 -3 lines
arm64_image_header->image_size must be included size of arm64_image_header.

with -u option, image_size should be binary (file) size (header included).
without -u option, image_size should be binary (file) size + header size.

Revision 1.24.6.2: download - view: text, markup, annotated - select for diffs
Thu Jan 2 09:47:05 2020 UTC (4 years, 11 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-0-RC2
Diff to: previous 1.24.6.1: preferred, colored; branchpoint 1.24: preferred, colored
Changes since revision 1.24.6.1: +8 -4 lines
Pull up following revision(s) (requested by skrll in ticket #596):

	usr.bin/mkubootimage/mkubootimage.c: revision 1.28
	usr.bin/mkubootimage/mkubootimage.c: revision 1.29

Adjust image size appropriately when using update_image
OK jmcneill

Avoid mixing signed/unsigned arguments to the ? operator.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Jan 1 11:48:36 2020 UTC (4 years, 11 months ago) by martin
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -4 lines
Avoid mixing signed/unsigned arguments to the ? operator.

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Jan 1 10:35:10 2020 UTC (4 years, 11 months ago) by skrll
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +8 -4 lines
Adjust image size appropriately when using update_image

OK jmcneill

Revision 1.24.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 9 15:19:30 2019 UTC (5 years ago) by martin
Branches: netbsd-9
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +15 -4 lines
Pull up following revision(s) (requested by jmcneill in ticket #525):

	external/cddl/osnet/dev/dtrace/aarch64/dtrace_isa.c: revision 1.1
	distrib/sets/lists/modules/md.i386: revision 1.83
	share/mk/bsd.own.mk: revision 1.1168
	usr.bin/mkubootimage/mkubootimage.c: revision 1.25
	sys/modules/dtrace/Makefile: revision 1.7
	usr.bin/mkubootimage/mkubootimage.c: revision 1.26
	sys/modules/dtrace/Makefile: revision 1.8
	external/cddl/osnet/dist/lib/libdtrace/aarch64/dt_isadep.c: revision 1.2
	distrib/sets/lists/modules/mi: revision 1.128
	sys/arch/aarch64/include/frame.h: revision 1.3
	sys/arch/evbarm/conf/mk.generic64: revision 1.4
	external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c: revision 1.12
	sys/modules/cyclic/Makefile: revision 1.4
	sys/arch/aarch64/conf/Makefile.aarch64: revision 1.16
	external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c: revision 1.1
	sys/arch/aarch64/aarch64/start.S: revision 1.3
	sys/arch/aarch64/aarch64/trap.c: revision 1.22
	external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.1
	external/cddl/osnet/dev/dtrace/aarch64/dtrace_asm.S: revision 1.1
	external/cddl/osnet/dev/fbt/aarch64/fbt_isa.h: revision 1.1
	external/cddl/osnet/dev/dtrace/aarch64/regset.h: revision 1.1
	external/cddl/osnet/lib/libdtrace/Makefile: revision 1.26
	distrib/sets/lists/modules/md.amd64: revision 1.82
	usr.bin/mkubootimage/mkubootimage.1: revision 1.13
	distrib/sets/lists/modules/ad.arm: revision 1.14

Add KDTRACE_HOOKS support.

Define lwp_trapframe() macro

dtrace: add support for aarch64

Add syscall_linux back for other arm architectures (accidently removed
in previous)

Add -u flag for updating headers in place.

Fix alignment of .text section by changing load address to
0xffffffc000000000 and adding 64 bytes of padding before the entry point.

Update arm64 image header in place

Move dtrace_syscall_linux out of mi set list

Enable DTrace on aarch64

Fix signed/unsigned comparison

Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat Dec 7 12:34:17 2019 UTC (5 years ago) by wiz
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +8 -10 lines
Sync usage with man page, merge single letter options.

Limit program usage line length.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Dec 4 14:09:47 2019 UTC (5 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3 lines
Fix signed/unsigned comparison

Revision 1.25: download - view: text, markup, annotated - select for diffs
Wed Dec 4 11:21:34 2019 UTC (5 years ago) by jmcneill
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +15 -4 lines
Add -u flag for updating headers in place.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Feb 4 17:33:34 2018 UTC (6 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-0-RC1
Branch point for: phil-wifi, netbsd-9
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -8 lines
Fix tools build

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sun Feb 4 15:44:51 2018 UTC (6 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +152 -24 lines
Add support for writing "AArch64 Linux kernel image" format images.

These images begin with a 64-byte header that includes a load offset,
image size, some flags, and a small (2 word) area at the start for
executable code.

These images are compatible with U-Boot's "booti" command, and can be
used to make U-Boot relocate our kernel to a 2MB aligned base address.
After relocation, U-Boot will jump to the code at the beginning of the
header, where we encode a relative branch forward instruction to branch
to the beginning of the kernel at offset +0x40.

Revision 1.18.8.3: download - view: text, markup, annotated - select for diffs
Mon Nov 6 09:52:15 2017 UTC (7 years, 1 month ago) by snj
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Diff to: previous 1.18.8.2: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.8.2: +3 -2 lines
Pull up following revision(s) (requested by jmcneill in ticket #347):
	usr.bin/mkubootimage/mkubootimage.c: revision 1.22
add missing break after -m case

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Nov 5 11:07:32 2017 UTC (7 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -2 lines
add missing break after -m case

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Sep 29 21:18:28 2017 UTC (7 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -4 lines
add sh arch

Revision 1.18.8.2: download - view: text, markup, annotated - select for diffs
Tue Jul 25 02:00:33 2017 UTC (7 years, 4 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.18.8.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.8.1: +21 -10 lines
Pull up following revision(s) (requested by jmcneill in ticket #142):
	usr.bin/mkubootimage/mkubootimage.1: 1.9-1.10
	usr.bin/mkubootimage/mkubootimage.c: 1.20
	usr.bin/mkubootimage/uboot.h: 1.7
Add support for "kernel_noload" image types. This type is the same as the
"kernel" type, except it can run from any load address.
--
Remove unnecessary macros. Use standard headers.

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 15 11:13:09 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: perseant-stdc-iso10646
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.1: +472 -0 lines
3317810

Revision 1.20.2.1
Sat Jul 15 11:13:08 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: perseant-stdc-iso10646
FILE REMOVED
Changes since revision 1.20: +0 -472 lines
file mkubootimage.c was added on branch perseant-stdc-iso10646 on 2017-07-15 11:13:09 +0000

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat Jul 15 11:13:08 2017 UTC (7 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base
Branch point for: perseant-stdc-iso10646
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +21 -10 lines
Add support for "kernel_noload" image types. This type is the same as the
"kernel" type, except it can run from any load address.

Revision 1.18.8.1: download - view: text, markup, annotated - select for diffs
Wed Jul 5 20:15:33 2017 UTC (7 years, 5 months ago) by snj
Branches: netbsd-8
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -3 lines
Pull up following revision(s) (requested by jmcneill in ticket #96):
	usr.bin/mkubootimage/mkubootimage.c: revision 1.19
Load address is not required for "ramdisk" images.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Wed Jul 5 01:09:17 2017 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -3 lines
Load address is not required for "ramdisk" images.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Sep 30 10:21:50 2014 UTC (10 years, 2 months ago) by msaitoh
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, netbsd-8-base, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -3 lines
Support arm64, i386 and or1k.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:30:37 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +44 -7 lines
resync with head

Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:39 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.1: +44 -7 lines
sync with head

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Dec 29 15:11:56 2012 UTC (11 years, 11 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, agc-symver-base, agc-symver
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +44 -7 lines
add support for generating boot.scr scripts with -T script

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:09:36 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +11 -7 lines
sync with head

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Feb 17 08:28:36 2012 UTC (12 years, 9 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +6 -4 lines
Avoid signed/unsigned comparision.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Feb 17 08:11:28 2012 UTC (12 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -7 lines
Let address/entry be 64bit if they are just sign-extended 32-bit values.
(change pulled up from matt-nb5-mips64).

Revision 1.6.2.3: download - view: text, markup, annotated - select for diffs
Wed Feb 15 20:49:14 2012 UTC (12 years, 9 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.6.2.2: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.2: +9 -7 lines
Let address/entry be 64bit if they are just sign-extended 32-bit values.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Sep 4 20:35:07 2011 UTC (13 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: yamt-pagecache
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +5 -5 lines
Sprinkle one more static and a bunch of consts.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Sep 4 20:31:00 2011 UTC (13 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -6 lines
static + __dead

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Aug 6 11:12:05 2011 UTC (13 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Add lzma and lzo to usage. From Elie De Brauwer in PR 45219.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Aug 4 04:47:59 2011 UTC (13 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Add O_TRUNC to the open of the image file (in case the size decreases).

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Aug 3 17:46:40 2011 UTC (13 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -2 lines
Add lzma and lzo compression types

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Aug 3 17:00:13 2011 UTC (13 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -3 lines
Add -E entrypoint for "byteswapped" entry-points.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Aug 1 06:16:35 2011 UTC (13 years, 4 months ago) by riz
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +13 -5 lines
Add an -m flag to mkubootimage, for specifying an alternate magic
value.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Tue Jul 26 02:57:30 2011 UTC (13 years, 4 months ago) by matt
Branches: matt-nb5-pq3
Diff to: previous 1.7.2.1: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.1: +401 -0 lines
Add mkubootimage from -HEAD

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:44 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +63 -7 lines
Catchup with rmind-uvmplock merge.

Revision 1.7.2.1
Wed Jun 8 05:54:38 2011 UTC (13 years, 6 months ago) by matt
Branches: matt-nb5-pq3
FILE REMOVED
Changes since revision 1.7: +0 -401 lines
file mkubootimage.c was added on branch matt-nb5-pq3 on 2011-07-26 02:57:30 +0000

Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Jun 8 05:54:38 2011 UTC (13 years, 6 months ago) by matt
Branches: MAIN
Branch point for: matt-nb5-pq3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +63 -7 lines
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

Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Fri May 20 15:05:11 2011 UTC (13 years, 6 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored
Changes since revision 1.6.2.1: +345 -0 lines
Backport mkubootimage from -current

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:11:00 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +34 -5 lines
Sync with HEAD

Revision 1.6.2.1
Sat Feb 26 20:03:09 2011 UTC (13 years, 9 months ago) by matt
Branches: matt-nb5-mips64
FILE REMOVED
Changes since revision 1.6: +0 -345 lines
file mkubootimage.c was added on branch matt-nb5-mips64 on 2011-05-20 15:05:11 +0000

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Feb 26 20:03:09 2011 UTC (13 years, 9 months ago) by phx
Branches: MAIN
CVS tags: cherry-xenmp-base, bouyer-quota2-nbase
Branch point for: matt-nb5-mips64, cherry-xenmp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +34 -5 lines
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.

Revision 1.4.2.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:20:11 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -3 lines
Sync with HEAD

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Jan 31 03:37:28 2011 UTC (13 years, 10 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -3 lines
Add mips/mips64 support.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jul 10 07:48:25 2010 UTC (14 years, 5 months ago) by kiyohara
Branches: MAIN
CVS tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -4 lines
Change '-e' to optional.  Use load addr(-a), if '-e' not specify.
Just like u-boot's mkimage.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jul 9 11:36:42 2010 UTC (14 years, 5 months ago) by kiyohara
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
s/mkuboot/mkubootimage/ in usage().

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jun 22 14:54:11 2010 UTC (14 years, 5 months ago) by dogcow
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -2 lines
nbtool.h'ify; fixes cross-compilation.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jun 18 18:55:48 2010 UTC (14 years, 5 months ago) by jmcneill
Branches: MAIN
add mkubootimage(1), a tool for creating u-boot compatible images

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>