Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Reinstate INSTALL kernel for embedded ramdisk installs.
details: https://anonhg.NetBSD.org/src/rev/712ecc9f158b
branches: trunk
changeset: 761871:712ecc9f158b
user: jym <jym%NetBSD.org@localhost>
date: Thu Feb 10 00:43:19 2011 +0000
description:
Reinstate INSTALL kernel for embedded ramdisk installs.
Reasons being:
- INSTALL is GENERIC with an embedded ramdisk, and as such, can benefit from
features included within.
- INSTALL_FLOPPY has its own config(5) file, and is tailored for "small"
floppy images; it misses features/drivers that could be needed to boot
in a decent environment for recent x86 machines (like ACPI)
- makes it closer to floppies distrib available for amd64
While here, comment out INSTALL_FLOPPY and bootfloppy-big image build. NetBSD
does not use the 3.6MiB image for El Torito cdroms anymore.
Remove the FLOPPYMAX limit; i386 needs 4 floppies now. Modify boot.cfg and
release/contents to reflect reality.
See http://mail-index.netbsd.org/port-i386/2011/02/08/msg002307.html
No comments, no objections.
diffstat:
distrib/i386/floppies/Makefile | 4 ++--
distrib/i386/floppies/bootfloppy-com/Makefile | 5 ++---
distrib/i386/floppies/bootfloppy/Makefile | 5 ++---
distrib/i386/floppies/common/Makefile.bootfloppy | 7 ++-----
distrib/i386/floppies/common/boot.cfg | 8 ++++----
distrib/i386/instkernel/Makefile | 5 +++--
etc/etc.i386/Makefile.inc | 5 +++--
sys/arch/i386/conf/INSTALL | 15 +++++++++++++++
8 files changed, 33 insertions(+), 21 deletions(-)
diffs (150 lines):
diff -r 112c49249c7a -r 712ecc9f158b distrib/i386/floppies/Makefile
--- a/distrib/i386/floppies/Makefile Thu Feb 10 00:23:14 2011 +0000
+++ b/distrib/i386/floppies/Makefile Thu Feb 10 00:43:19 2011 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.37 2008/09/03 22:07:12 lukem Exp $
+# $NetBSD: Makefile,v 1.38 2011/02/10 00:43:19 jym Exp $
SUBDIR=
SUBDIR+= bootfloppy
-SUBDIR+= bootfloppy-big
SUBDIR+= bootfloppy-com
+# SUBDIR+= bootfloppy-big
# These are all rather archaic...
# SUBDIR+= bootfloppy-ps2
# SUBDIR+= bootfloppy-small
diff -r 112c49249c7a -r 712ecc9f158b distrib/i386/floppies/bootfloppy-com/Makefile
--- a/distrib/i386/floppies/bootfloppy-com/Makefile Thu Feb 10 00:23:14 2011 +0000
+++ b/distrib/i386/floppies/bootfloppy-com/Makefile Thu Feb 10 00:43:19 2011 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2008/04/30 15:29:11 ad Exp $
+# $NetBSD: Makefile,v 1.8 2011/02/10 00:43:19 jym Exp $
FLOPPYBASE= boot-com
-FLOPPYMAX= 3
-FLOPPYKERNEL= netbsd-INSTALL_FLOPPY.gz
+FLOPPYKERNEL= netbsd-INSTALL.gz
FLOPPYBOOTOPTIONS= -o console=com0
.include "${.CURDIR}/../common/Makefile.bootfloppy"
diff -r 112c49249c7a -r 712ecc9f158b distrib/i386/floppies/bootfloppy/Makefile
--- a/distrib/i386/floppies/bootfloppy/Makefile Thu Feb 10 00:23:14 2011 +0000
+++ b/distrib/i386/floppies/bootfloppy/Makefile Thu Feb 10 00:43:19 2011 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2008/04/30 15:29:11 ad Exp $
+# $NetBSD: Makefile,v 1.13 2011/02/10 00:43:19 jym Exp $
FLOPPYBASE= boot
-FLOPPYMAX= 3
-FLOPPYKERNEL= netbsd-INSTALL_FLOPPY.gz
+FLOPPYKERNEL= netbsd-INSTALL.gz
.include "${.CURDIR}/../common/Makefile.bootfloppy"
diff -r 112c49249c7a -r 712ecc9f158b distrib/i386/floppies/common/Makefile.bootfloppy
--- a/distrib/i386/floppies/common/Makefile.bootfloppy Thu Feb 10 00:23:14 2011 +0000
+++ b/distrib/i386/floppies/common/Makefile.bootfloppy Thu Feb 10 00:43:19 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootfloppy,v 1.22 2008/11/04 23:02:52 dbj Exp $
+# $NetBSD: Makefile.bootfloppy,v 1.23 2011/02/10 00:43:20 jym Exp $
#
# Makefile snippet to create a set of USTAR floppies
#
@@ -18,9 +18,6 @@
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
-I386COMMON= ${.CURDIR}/../common
-
-FLOPPYMAX?= 1
FLOPPYSIZE?= 2880
.if defined(FLOPPYSIZE) && (${FLOPPYSIZE} != 2880)
FLOPPYMETAFILE!= printf "USTAR.volsize.%o" ${FLOPPYSIZE}
@@ -34,7 +31,7 @@
FLOPPYKERNOBJ!= cd ${.CURDIR}/../../${FLOPPYKERNDIR} && ${PRINTOBJDIR}
FLOPPY_BOOT?= ${MDEC}/boot
-FLOPPY_BOOT_CFG?= ${I386COMMON}/boot.cfg
+FLOPPY_BOOT_CFG?= ${DISTRIBDIR}/${MACHINE}/floppies/common/boot.cfg
FLOPPY_NETBSD= ${FLOPPYKERNOBJ}/${FLOPPYKERNEL}
FLOPPYFILES= boot boot.cfg ${FLOPPYMETAFILE} netbsd
FLOPPYPAD= 1
diff -r 112c49249c7a -r 712ecc9f158b distrib/i386/floppies/common/boot.cfg
--- a/distrib/i386/floppies/common/boot.cfg Thu Feb 10 00:23:14 2011 +0000
+++ b/distrib/i386/floppies/common/boot.cfg Thu Feb 10 00:43:19 2011 +0000
@@ -1,11 +1,11 @@
banner=NetBSD floppy diskette installation
banner================================================================================
banner=
-banner=These diskettes do not have support for ACPI and may not work on some
-banner=modern hardware. If the floppy disk installation does not work, please
-banner=try installing using a CD-ROM image.
+banner=ACPI should work on all modern and legacy hardware, however if you have
+banner=problems, please try disabling it.
banner=
menu=Install NetBSD:boot netbsd
-menu=Install NetBSD (no SMP):boot netbsd -12
+menu=Install NetBSD (no ACPI):boot netbsd -2
+menu=Install NetBSD (no ACPI, no SMP):boot netbsd -12
menu=Drop to boot prompt:prompt
timeout=10
diff -r 112c49249c7a -r 712ecc9f158b distrib/i386/instkernel/Makefile
--- a/distrib/i386/instkernel/Makefile Thu Feb 10 00:23:14 2011 +0000
+++ b/distrib/i386/instkernel/Makefile Thu Feb 10 00:43:19 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2009/03/07 21:35:10 ad Exp $
+# $NetBSD: Makefile,v 1.13 2011/02/10 00:43:20 jym Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@@ -18,9 +18,10 @@
# If you change the list of distributed install kernels, don't forget
# to update the release documentation in distrib/notes/common/contents
MDSETTARGETS+= GENERIC ${RAMDISK_B} -
-MDSETTARGETS+= INSTALL_FLOPPY ${RAMDISK_B} -
+MDSETTARGETS+= INSTALL ${RAMDISK_B} -
MDSETTARGETS+= INSTALL_XEN3_DOMU ${RAMDISK_B} -
MDSETTARGETS+= INSTALL_XEN3PAE_DOMU ${RAMDISK_B} -
+# MDSETTARGETS+= INSTALL_FLOPPY ${RAMDISK_B} -
# MDSETTARGETS+= INSTALL_SMALL ${RAMDISK_S} -
# MDSETTARGETS+= INSTALL_TINY ${RAMDISK_T} -
# MDSETTARGETS+= INSTALL_PS2 ${RAMDISK_S} -
diff -r 112c49249c7a -r 712ecc9f158b etc/etc.i386/Makefile.inc
--- a/etc/etc.i386/Makefile.inc Thu Feb 10 00:23:14 2011 +0000
+++ b/etc/etc.i386/Makefile.inc Thu Feb 10 00:43:19 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.64 2009/10/01 11:51:04 tron Exp $
+# $NetBSD: Makefile.inc,v 1.65 2011/02/10 00:43:20 jym Exp $
#
# etc.i386/Makefile.inc -- i386-specific etc Makefile targets
#
@@ -15,9 +15,10 @@
# KERNEL_SETS+= GENERIC_TINY
# KERNEL_SETS+= GENERIC_PS2TINY
-BUILD_KERNELS+= INSTALL_FLOPPY
+BUILD_KERNELS+= INSTALL
BUILD_KERNELS+= INSTALL_XEN3_DOMU
BUILD_KERNELS+= INSTALL_XEN3PAE_DOMU
+# BUILD_KERNELS+= INSTALL_FLOPPY
# BUILD_KERNELS+= INSTALL_SMALL
# BUILD_KERNELS+= INSTALL_TINY
# BUILD_KERNELS+= INSTALL_PS2
diff -r 112c49249c7a -r 712ecc9f158b sys/arch/i386/conf/INSTALL
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/i386/conf/INSTALL Thu Feb 10 00:43:19 2011 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: INSTALL,v 1.327 2011/02/10 00:43:19 jym Exp $
+#
+# INSTALL - Installation kernel.
+#
+# This kernel is derived from GENERIC with additional memory disk
+# options.
+
+include "arch/i386/conf/GENERIC"
+
+#ident "INSTALL-$Revision: 1.327 $"
+
+no options MEMORY_DISK_DYNAMIC
+options MEMORY_DISK_IS_ROOT # force root on memory disk
+options MEMORY_DISK_SERVER=0 # no userspace memory disk support
+options MEMORY_DISK_ROOT_SIZE=10000 # size of memory disk, in blocks
Home |
Main Index |
Thread Index |
Old Index