NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/54455 CVS commit: src/usr.sbin/installboot



The following reply was made to PR port-hp300/54455; it has been noted by GNATS.

From: "Izumi Tsutsui" <tsutsui%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/54455 CVS commit: src/usr.sbin/installboot
Date: Sun, 19 May 2024 15:48:58 +0000

 Module Name:	src
 Committed By:	tsutsui
 Date:		Sun May 19 15:48:58 UTC 2024
 
 Modified Files:
 	src/usr.sbin/installboot: Makefile fstypes.c installboot.8
 	    installboot.h
 	src/usr.sbin/installboot/arch: hp300.c
 Added Files:
 	src/usr.sbin/installboot: cd9660.c
 
 Log Message:
 Add cd9660 support to search a bootloader file in the target file system.
 
 Also add CD boot support for hp300, using a bootloader file in cd9660 fs.
 This is a tool's part to close PR/54455.
 
 HP 9000/300 machines read LIF directory entry allocated after
 the LIF volume header at the top of the boot disk during bootstrap,
 and a bootstrap file must be contiguously allocated on the disk
 due to limitation of the LIF specification.
 
 Current NetBSD/hp300's bootloader is larger than ~80KB so we have
 to prepare a special 'boot' partition for FFS (that has only 8KB (ffsv1)
 or 32KB (ffsv2) spaces) disks to put such a large bootloader.
 
 On the other hand, on ISO9660 fs all files are allocated contiguously
 so we can specify a bootloader file in the target ISO9660 directly
 in the LIF directory entry.
 
 Note we can simply use the existing "append" option to create bootable
 CD ISO for hp300, but it looks some emulators (at leaset MAME) reject
 such non-standard ISO files, i.e. with an appended bootloader file at
 the end of the image.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.58 -r1.59 src/usr.sbin/installboot/Makefile
 cvs rdiff -u -r0 -r1.1 src/usr.sbin/installboot/cd9660.c
 cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/installboot/fstypes.c
 cvs rdiff -u -r1.108 -r1.109 src/usr.sbin/installboot/installboot.8
 cvs rdiff -u -r1.44 -r1.45 src/usr.sbin/installboot/installboot.h
 cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/installboot/arch/hp300.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index