Skip to content

Instantly share code, notes, and snippets.

@tsutsui
Created June 16, 2024 10:15
Show Gist options
  • Save tsutsui/cbe0f17e45d5484fa51f6f37d38d22fd to your computer and use it in GitHub Desktop.
Save tsutsui/cbe0f17e45d5484fa51f6f37d38d22fd to your computer and use it in GitHub Desktop.
"pullup changes list for netbsd-10" of NetBSD/hp300 bootable CD changes
https://mail-index.netbsd.org/source-changes/2023/01/15/msg142818.html
commit 8448487e704668efb4dc7a0968d659270341fd19
Date: Sun Jan 15 06:19:45 2023 +0000
TAB/space cleanup.
https://mail-index.netbsd.org/source-changes/2023/05/16/msg144796.html
commit 979e90aeb065acde6685a5af8cef6a073076a991
Date: Tue May 16 21:52:42 2023 +0000
installboot(8): formatting improvements
https://mail-index.netbsd.org/source-changes/2023/05/17/msg144798.html
commit fb04e69cea5139732d8349f5bd40f779c136675d
Date: Wed May 17 01:35:00 2023 +0000
installboot(8): fix up markup
https://mail-index.netbsd.org/source-changes/2023/12/26/msg149055.html
commit 7426efd69687ed275130dc2eb761380fedda0398
Date: Tue Dec 26 06:00:35 2023 +0000
document how to use installboot on netbsd/vax.
https://mail-index.netbsd.org/source-changes/2024/02/08/msg149856.html
commit 986ef0da62f5d900579bfe5e9ec5ccbd9c08c1f3
Date: Thu Feb 8 18:10:34 2024 +0000
PR/57909: Jan-Benedict Glaw: Don't include (build) time
https://mail-index.netbsd.org/source-changes/2024/02/09/msg149881.html
commit 7c5c9250687eaa75589be96865675033d952cc30
Date: Fri Feb 9 16:18:12 2024 +0000
fix usage string, improve error handling.
https://mail-index.netbsd.org/source-changes/2024/02/20/msg150052.html
commit a3a12e4d572ecd0468a9a0723e843f71aadca5fb
Date: Tue Feb 20 16:53:22 2024 +0000
add missing chunk for repro-build. fix gcc warnings.
https://mail-index.netbsd.org/source-changes/2024/02/24/msg150118.html
commit 3bb75881f8cdca0561da90e455295fe1d4ee59d5
Date: Sat Feb 24 15:34:47 2024 +0000
avoid stringop truncation, fix copyright string to prevent assembler warnings.
https://mail-index.netbsd.org/source-changes/2024/05/03/msg151105.html
commit 8b4f8baa5fd251152cee36b7e5da7076c8848b47
Date: Fri May 3 15:39:50 2024 +0000
Fix build as a tool (Jan-Benedict Glaw)
https://mail-index.netbsd.org/source-changes/2024/05/05/msg151146.html
commit 4588b9bf1620cd1ce87a35599275f670c3d64e1a
Date: Sun May 5 07:36:37 2024 +0000
Fix integer overflow of strtol(3) for "loadpoint" address on ILP32 hosts.
https://mail-index.netbsd.org/source-changes/2024/05/06/msg151182.html
commit 401b67f6cca6b95d0e54cbe9691b08185f523fda
Date: Mon May 6 18:08:49 2024 +0000
Misc cosmetic changes for mostly readability.
https://mail-index.netbsd.org/source-changes/2024/05/07/msg151193.html
commit 609bb2da5280fd23dd96dc76ec52abcbcf1e364e
Date: Tue May 7 19:24:32 2024 +0000
Rename ${PROGAOUT} -> ${PROGELF} to reflect reality.
https://mail-index.netbsd.org/source-changes/2024/05/07/msg151195.html
commit babc3bb6b8cd864127358b46598c94ad2dc76189
Date: Tue May 7 19:55:14 2024 +0000
Use proper signedness for the LIF file system data structures.
https://mail-index.netbsd.org/source-changes/2024/05/09/msg151255.html
commit 27f0c681499e80e47617c3d2f851ec260fd1cf5a
Date: Thu May 9 15:11:11 2024 +0000
Add a preliminary CD boot support to uboot for preparation of PR/54455.
https://mail-index.netbsd.org/source-changes/2024/05/11/msg151311.html
Date: Sat May 11 19:16:19 2024 +0000
commit 0fa07d309d38f0ea84db6b74a1f3b01a5c77c80d
Recognize SCSI CD-ROM devices as a booted device properly.
https://mail-index.netbsd.org/source-changes/2024/05/11/msg151317.html
commit 7f4c51639c33753b3418ecee364b3f2f386a5601
Date: Sat May 11 22:10:27 2024 +0000
Sync with src/sys/arch/hp300/stand/mkboot/volhdr.h rev 1.6.
https://mail-index.netbsd.org/source-changes/2024/05/11/msg151318.html
commit d8c6ab68a25a5c185e3d9d95ba430a901e987f71
Date: Sat May 11 22:29:36 2024 +0000
Use MI <sys/bootblock.h> to refer LIF filesystem structures.
https://mail-index.netbsd.org/source-changes/2024/05/19/msg151454.html
commit 14cc0335a433a59242fab8927ed9ab805e6e444c
Date: Sun May 19 15:39:58 2024 +0000
Enable SUPPORT_CD on uboot.
https://mail-index.netbsd.org/source-changes/2024/05/19/msg151455.html
commit 40d859218ece36dd799c2f1c21c06f62ec8fdd5a
Date: Sun May 19 15:41:53 2024 +0000
Make cd9660_util.c usable in userland tools like installboot(8).
https://mail-index.netbsd.org/source-changes/2024/05/19/msg151456.html
commit 173d80ed84e4eea0b48419ad76f0d6917ed7a98b
Date: Sun May 19 15:43:24 2024 +0000
Install cd9660 related system headers for tools installboot(8) builds.
*** needs patch ***
https://mail-index.netbsd.org/source-changes/2024/05/19/msg151457.html
commit 448aa2ad5343ee28d4d9cface5b3845d3853fec1
Date: Sun May 19 15:44:21 2024 +0000
Reorder function prototypes per source files.
https://mail-index.netbsd.org/source-changes/2024/05/19/msg151459.html
commit 4882e3f0bfab8dbcf8110d4f4fceeb1f38cc2366
Date: Sun May 19 15:48:57 2024 +0000
Add cd9660 support to search a bootloader file in the target file system.
https://mail-index.netbsd.org/source-changes/2024/05/19/msg151460.html
commit 7e1194a3e4f6ba5351f923c8a24aa7a2dee7b835
Date: Sun May 19 15:50:00 2024 +0000
Put a RAMDISK kernel and SYS_UBOOT into hp300 installcd to make it bootable
https://mail-index.netbsd.org/source-changes/2024/05/24/msg151525.html
commit 2e1ec38629f94cfdb19ca2dfee185edcf77cb51c
Date: Fri May 24 09:59:42 2024 +0000
Fix tools build errors on Cygwin.
https://mail-index.netbsd.org/source-changes/2024/05/25/msg151544.html
commit 3ba972454a03bbdb9d7f17984b1dc89b05d88df7
Date: Sat May 25 06:27:57 2024 +0000
Appease warnings on building tools/installboot on Cygwin.
---
diff --git a/tools/Makefile.nbincludes b/tools/Makefile.nbincludes
index 54ee35cf79fe..8b164da4e644 100644
--- a/tools/Makefile.nbincludes
+++ b/tools/Makefile.nbincludes
@@ -15,12 +15,15 @@ _ARCHDIR= ${.CURDIR}/../../sys/arch
_INCDIR= ${.CURDIR}/../../include
_SYSDIR= ${.CURDIR}/../../sys/sys
_UFSDIR= ${.CURDIR}/../../sys/ufs
+_FSDIR:= ${.CURDIR}/../../sys/fs
_SUBDIR!= cd ${_ARCHDIR} && ${MAKE} -V SUBDIR
.if make(depend) || make(all) || make(dependall) || make(install)
# There's no need to run these commands for "make cleandir" or "make obj",
# and TOOL_SED will not yet have been built.
_UFS_INCS!= cd ${_UFSDIR} && find ffs ufs -name '*.h'
+_FS_INCS!= cd ${_FSDIR} && find cd9660 -name '*.h'
+_FS_INCS+= unicode.h
_ARCH_INCS!= ${TOOL_SED} -e 's/^\#.*//' ${.CURDIR}/../headerlist
.endif
@@ -43,6 +46,8 @@ beforedepend:
${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude
${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude/sys
${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude/ufs
+ ${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude/fs
+ ${HOST_INSTALL_DIR} ${TOOLDIR}/include/nbinclude/fs/cd9660
cd ${_ARCHDIR} && \
${TOOL_PAX} -s /include\\/// -rw ${_ARCH_INCS} \
${TOOLDIR}/include/nbinclude
@@ -52,5 +57,7 @@ beforedepend:
${TOOL_PAX} -rw ${_SYSINCS} ${TOOLDIR}/include/nbinclude/sys
cd ${_UFSDIR} && \
${TOOL_PAX} -rw ${_UFS_INCS} ${TOOLDIR}/include/nbinclude/ufs
+ cd ${_FSDIR} && \
+ ${TOOL_PAX} -rw ${_FS_INCS} ${TOOLDIR}/include/nbinclude/fs
cd ${TOOLDIR}/include/nbinclude && rm -f machine && \
${HOST_INSTALL_SYMLINK} ${MACHINE} machine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment