NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-macppc/53549 ppc601 machines need their own INSTALL kernel
The following reply was made to PR port-macppc/53549; it has been noted by GNATS.
From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: martin%duskware.de@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: port-macppc/53549 ppc601 machines need their own INSTALL kernel
Date: Sat, 8 Sep 2018 00:47:26 +0900
> Yes, you need mkisofs from cdrtools 2.01 (but not newer!)
It looks cdrtools 3.01nb1 from pkgsrc-2018Q2 can be used
to build the 8.0 macppc image with the following diff:
(note large debug.tgz is removed manually for now)
---
Index: Makefile
===================================================================
RCS file: /cvsroot/src/distrib/cdrom/Makefile,v
retrieving revision 1.51
diff -u -p -d -r1.51 Makefile
--- Makefile 11 Feb 2017 03:07:06 -0000 1.51
+++ Makefile 7 Sep 2018 15:01:03 -0000
@@ -76,7 +76,7 @@ SUBDIR+= macppc_installboot
##### Default paths for programs #####
-MKISOFS?= /usr/local/bin/mkisofs
+MKISOFS?= /usr/pkg/bin/mkisofs
RSYNC?= /usr/pkg/bin/rsync
ALPHA_IBOOT?= ${TOOL_INSTALLBOOT} -m alpha -o sunsum,append
PMAX_IBOOT?= ${TOOL_INSTALLBOOT} -m pmax -o sunsum,append
@@ -296,6 +296,7 @@ MKISOFS_ARGS.${image}+= -b ${BOOTFILE.am
BOOTHFS= boothfs
MKISOFS_ARGS.${image}+= -hfs -part -hide-hfs-list ${.CURDIR}/hide-hfs.lst \
--macbin -map ${.CURDIR}/hfsmap.lst \
+ -data-change-warn \
-boot-hfs-file ${.OBJDIR}/${BOOTHFS}
UUDECODE_FILES= ${BOOTHFS}
.include <bsd.files.mk>
--- /dev/null 2018-09-08 00:11:34.407061407 +0900
+++ NetBSD-8.0.mk 2018-09-06 01:17:14.158166907 +0900
@@ -0,0 +1,70 @@
+# $NetBSD$
+#
+# Configuration file for the NetBSD-8.0 binary release.
+
+# sysinst expects the architectures at top level
+RELEASE_SUBDIR= # empty
+
+# BOOTFILE.alpha is absolute
+BOOTFILE.alpha= ${EXTFILEDIR}/alpha.bootxx
+EXTFILES.alpha= alpha.bootxx:alpha/binary/sets/base.tgz,./usr/mdec/bootxx_cd9660
+INTFILES.alpha= netbsd.alpha:alpha/installation/instkernel/netbsd.gz,link \
+ boot:alpha/binary/sets/base.tgz,./usr/mdec/boot
+
+# cats needs an a.out kernel to boot from
+INTFILES.cats= netbsd.cats:cats/binary/kernel/netbsd.aout-INSTALL.gz
+
+# BOOTFILE.i386 is relative to CD staging root
+BOOTFILE.i386= boot.i386
+INTFILES.i386= boot.i386:i386/binary/sets/base.tgz,./usr/mdec/bootxx_cd9660 \
+ boot:i386/binary/sets/base.tgz,./usr/mdec/boot \
+ netbsd:i386/binary/kernel/netbsd-INSTALL_LARGE.gz,link \
+ nblaptop:i386/binary/kernel/netbsd-INSTALL_LAPTOP.gz,link \
+ nbnoacpi:i386/binary/kernel/netbsd-INSTALL.gz,link
+
+# BOOTFILE.amd64 is relative to CD staging root
+BOOTFILE.amd64= boot.amd64
+INTFILES.amd64= boot.amd64:amd64/binary/sets/base.tgz,./usr/mdec/bootxx_cd9660 \
+ boot:amd64/binary/sets/base.tgz,./usr/mdec/boot \
+ netbsd:amd64/binary/kernel/netbsd-INSTALL.gz,link
+
+# macppc has external bootblock generation tool
+EXTFILES.macppc= macppc.bootxx:macppc/binary/sets/base.tgz,./usr/mdec/bootxx \
+ macppc.ofwboot:macppc/binary/sets/base.tgz,./usr/mdec/ofwboot
+INTFILES.macppc= ofwboot.xcf:macppc/installation/ofwboot.xcf,link \
+ ofwboot:macppc/binary/sets/base.tgz,./usr/mdec/ofwboot \
+ netbsd.macppc:macppc/binary/kernel/netbsd-INSTALL.gz,link
+
+# BOOTFILE.pmax is absolute
+BOOTFILE.pmax= ${EXTFILEDIR}/pmax.bootxx
+EXTFILES.pmax= pmax.bootxx:pmax/binary/sets/base.tgz,./usr/mdec/bootxx_cd9660
+INTFILES.pmax= netbsd.pmax:pmax/binary/kernel/netbsd-INSTALL.gz,link \
+ boot.pmax:pmax/binary/sets/base.tgz,./usr/mdec/boot.pmax
+
+# sgimips needs the compressed kernels with short names in /, the various
+# boot files that go into the volume header and the bootblock.h file
+# to grep for the volume header size
+EXTFILES.sgimips= sgimips.bootblock.h:sgimips/binary/sets/comp.tgz,./usr/include/sys/bootblock.h
+INTFILES.sgimips= aoutboot:sgimips/binary/sets/base.tgz,./usr/mdec/aoutboot \
+ ip2xboot:sgimips/binary/sets/base.tgz,./usr/mdec/ip2xboot \
+ ip3xboot:sgimips/binary/sets/base.tgz,./usr/mdec/ip3xboot \
+ ip2x:sgimips/binary/kernel/netbsd-INSTALL32_IP2x.gz,link \
+ ip3x:sgimips/binary/kernel/netbsd-INSTALL32_IP3x.gz,link
+
+
+# BOOTFILE.sparc is absolute
+BOOTFILE.sparc= ${EXTFILEDIR}/sparc-boot.fs
+EXTFILES.sparc= sparc-boot.fs:sparc/installation/bootfs/boot.fs.gz
+INTFILES.sparc= installation/bootfs/instfs.tgz:sparc/installation/bootfs/instfs.tgz,link
+INTDIRS.sparc= installation/bootfs
+MKISOFS_ARGS.sparc= -hide-hfs ./installation -hide-joliet ./installation
+
+# BOOTFILE.sparc64 is absolute
+BOOTFILE.sparc64= ${EXTFILEDIR}/sparc64-boot.fs
+EXTFILES.sparc64= sparc64-boot.fs:sparc64/installation/misc/boot.fs.gz
+
+# BOOTFILE.vax is absolute
+BOOTFILE.vax= ${EXTFILEDIR}/vax.xxboot
+EXTFILES.vax= vax.xxboot:vax/binary/sets/base.tgz,./usr/mdec/xxboot
+INTFILES.vax= netbsd.vax:vax/installation/netboot/install.ram.gz,link \
+ boot.vax:vax/binary/sets/base.tgz,./usr/mdec/boot
--- /dev/null 2018-09-08 00:11:34.407061407 +0900
+++ 8.0.conf 2018-09-06 01:16:42.555824532 +0900
@@ -0,0 +1,267 @@
+# $NetBSD$
+#
+# Makefile fragment for CD sets; includes config information.
+
+##############################################################################
+# The NetBSD release being packaged on this CD set. This also implies
+# inclusion of a config file for that release, named NetBSD-${CD_RELEASE}.mk.
+# That file defines the various per-port specifics for that release.
+
+CD_RELEASE?= 8.0 # conf files for patch releases will include this
+
+##############################################################################
+# The NetBSD release to be used in the .iso image filenames. Defaults to
+# ${CD_RELEASE} but can be overridden in the environment.
+
+ISO_RELEASE?= ${CD_RELEASE}
+
+##############################################################################
+# The names of the individual CD images, without ".iso".
+# This also indicates the suffix of configuration variables later in this file
+# which are CD-image specific.
+
+CD_IMAGES=
+.if defined(TARGET_CD_IMAGE)
+.for targetcd in ${TARGET_CD_IMAGE}
+CD_IMAGES+= ${targetcd}-${ISO_RELEASE}
+.endfor
+.else
+#CD_IMAGES+= multi-cd1-${ISO_RELEASE}
+#CD_IMAGES+= multi-cd2-${ISO_RELEASE}
+#CD_IMAGES+= multi-cd3-${ISO_RELEASE}
+#CD_IMAGES+= acorn26cd-${ISO_RELEASE}
+#CD_IMAGES+= acorn32cd-${ISO_RELEASE}
+#CD_IMAGES+= algorcd-${ISO_RELEASE}
+#CD_IMAGES+= alphacd-${ISO_RELEASE}
+#CD_IMAGES+= amd64cd-${ISO_RELEASE}
+#CD_IMAGES+= amigacd-${ISO_RELEASE}
+#CD_IMAGES+= arccd-${ISO_RELEASE}
+#CD_IMAGES+= ataricd-${ISO_RELEASE}
+#CD_IMAGES+= catscd-${ISO_RELEASE}
+#CD_IMAGES+= cesficcd-${ISO_RELEASE}
+#CD_IMAGES+= cobaltcd-${ISO_RELEASE}
+#CD_IMAGES+= dreamcastcd-${ISO_RELEASE}
+#CD_IMAGES+= evbarmcd-${ISO_RELEASE}
+#CD_IMAGES+= evbmips-mipsebcd-${ISO_RELEASE}
+#CD_IMAGES+= evbmips-mipselcd-${ISO_RELEASE}
+#CD_IMAGES+= evbppccd-${ISO_RELEASE}
+#CD_IMAGES+= evbsh3-sh3ebcd-${ISO_RELEASE}
+#CD_IMAGES+= evbsh3-sh3elcd-${ISO_RELEASE}
+#CD_IMAGES+= hp300cd-${ISO_RELEASE}
+#CD_IMAGES+= hp700cd-${ISO_RELEASE}
+#CD_IMAGES+= hpcarmcd-${ISO_RELEASE}
+#CD_IMAGES+= hpcmipscd-${ISO_RELEASE}
+#CD_IMAGES+= hpcshcd-${ISO_RELEASE}
+#CD_IMAGES+= i386cd-${ISO_RELEASE}
+#CD_IMAGES+= ibmnwscd-${ISO_RELEASE}
+#CD_IMAGES+= iyonix-${ISO_RELEASE}
+#CD_IMAGES+= luna68kcd-${ISO_RELEASE}
+CD_IMAGES+= mac68kcd-${ISO_RELEASE}
+CD_IMAGES+= macppccd-${ISO_RELEASE}
+#CD_IMAGES+= mipscocd-${ISO_RELEASE}
+#CD_IMAGES+= mmeyecd-${ISO_RELEASE}
+#CD_IMAGES+= mvmeppccd-${ISO_RELEASE}
+#CD_IMAGES+= mvme68kcd-${ISO_RELEASE}
+#CD_IMAGES+= netwindercd-${ISO_RELEASE}
+#CD_IMAGES+= news68kcd-${ISO_RELEASE}
+#CD_IMAGES+= newsmipscd-${ISO_RELEASE}
+#CD_IMAGES+= next68kcd-${ISO_RELEASE}
+#CD_IMAGES+= ofppccd-${ISO_RELEASE}
+#CD_IMAGES+= pmaxcd-${ISO_RELEASE}
+#CD_IMAGES+= prepcd-${ISO_RELEASE}
+#CD_IMAGES+= sandpointcd-${ISO_RELEASE}
+#CD_IMAGES+= sbmips-mipsebcd-${ISO_RELEASE}
+#CD_IMAGES+= sbmips-mipselcd-${ISO_RELEASE}
+#CD_IMAGES+= sgimipscd-${ISO_RELEASE}
+#CD_IMAGES+= sharkcd-${ISO_RELEASE}
+#CD_IMAGES+= sourcecd-${ISO_RELEASE}
+#CD_IMAGES+= sparccd-${ISO_RELEASE}
+#CD_IMAGES+= sparc64cd-${ISO_RELEASE}
+#CD_IMAGES+= sun2cd-${ISO_RELEASE}
+#CD_IMAGES+= sun3cd-${ISO_RELEASE}
+#CD_IMAGES+= vaxcd-${ISO_RELEASE}
+#CD_IMAGES+= x68kcd-${ISO_RELEASE}
+.endif
+
+##############################################################################
+# The maximum size of an individual CD.
+
+CD_SIZE= 700000
+
+##############################################################################
+# The CD volume IDs for each CD-ROM image. This will show up as the
+# "volume label" on most operating systems. This is REQUIRED for each image.
+# Typically only 16 characters should be used for maximum OS compatibility.
+
+.for image in ${CD_IMAGES}
+VOLID.${image}= NetBSD ${CD_RELEASE} ${image:S/-${ISO_RELEASE}$//}
+.endfor
+
+# The "abstract file" name. If there is a file in the CD root describing
+# use of the CD or booting info, this may be useful to some OS's.
+
+#.for image in ${CD_IMAGES}
+#ABSTRACT.${image}= booting.txt
+#.endfor
+
+# The "copyright file" name. If there is a file in the CD root describing
+# the copyright of the contained files, this may be useful to some OS's.
+# This usually needs ADDFILES to go along with it.
+
+#.for image in ${CD_IMAGES}
+#COPYRIGHT.${image}= copyrght.txt
+#ADDFILES.${image}+= copyrght.txt:${.CURDIR}/extra/copyright.txt,link
+#.endfor
+
+# The "publisher name" field on the CD-ROM. Room for 128 characters.
+
+PUBLISHER= The NetBSD Foundation, Inc. / http://www.NetBSD.org/
+
+# The "preparer name" field on the CD-ROM. Room for 128 characters.
+
+PREPARER= NetBSD CD Build System
+
+##############################################################################
+# The ports for which the base OS binaries will be included.
+# MACHINE_ARCH shared distribution directories and the "ALL" shared
+# distribution directory are added automatically where needed.
+#
+# The following ports, if included, will be bootable on their respective
+# CD images:
+#
+# alpha, amd64, cats, i386, macppc, pmax, sgimips, sparc, sparc64, sun3, vax.
+#
+# Special notes on booting:
+#
+# * macppc and mac68k will cause the inclusion of HFS partition and
+# filesystem info on the CD, with automatic MacBinary probing and encoding.
+#
+# * macppc cannot boot on the same disc as either pmax or vax.
+# macppc uses the same locations in block 0 to store boot
+# information as pmax and vax.
+# This will cause a warning in the build, and macppc will override.
+#
+# * sparc64 cannot boot using default boot arguments on the same disc as
+# the sun3x model of sun3. These platforms use the same partitions
+# in the Sun boot map by default. This will cause a warning in the build,
+# and sparc64 machines will have to boot with "boot cdrom:g" instead of
+# "boot cdrom".
+#
+# * sgimips must be on a disc on its own
+#
+
+BASE_PORTS.multi-cd1-${ISO_RELEASE}= amd64 sparc sparc64 macppc
+
+BASE_PORTS.multi-cd2-${ISO_RELEASE} = alpha \
+ amiga atari mac68k next68k sun3
+
+BASE_PORTS.multi-cd3-${ISO_RELEASE}= i386 \
+ cobalt hpcmips pmax # vax
+
+BASE_PORTS.acorn32cd-${ISO_RELEASE}=acorn32
+BASE_PORTS.algorcd-${ISO_RELEASE}=algor
+BASE_PORTS.alphacd-${ISO_RELEASE}=alpha
+BASE_PORTS.amd64cd-${ISO_RELEASE}=amd64
+BASE_PORTS.amigacd-${ISO_RELEASE}=amiga
+BASE_PORTS.arccd-${ISO_RELEASE}=arc
+BASE_PORTS.ataricd-${ISO_RELEASE}=atari
+BASE_PORTS.catscd-${ISO_RELEASE}=cats
+BASE_PORTS.cesficcd-${ISO_RELEASE}=cesfic
+BASE_PORTS.cobaltcd-${ISO_RELEASE}=cobalt
+BASE_PORTS.dreamcastcd-${ISO_RELEASE}=dreamcast
+BASE_PORTS.evbarmcd-${ISO_RELEASE}=evbarm
+BASE_PORTS.evbmips-mipsebcd-${ISO_RELEASE}=evbmips-mipseb
+BASE_PORTS.evbmips-mipselcd-${ISO_RELEASE}=evbmips-mipsel
+BASE_PORTS.evbsh3-sh3ebcd-${ISO_RELEASE}=evbsh3-sh3eb
+BASE_PORTS.evbsh3-sh3elcd-${ISO_RELEASE}=evbsh3-sh3el
+BASE_PORTS.evbsh5-sh5elcd-${ISO_RELEASE}=evbsh5-sh5el
+BASE_PORTS.hp300cd-${ISO_RELEASE}=hp300
+BASE_PORTS.hpcarmcd-${ISO_RELEASE}=hpcarm
+BASE_PORTS.hpcmipscd-${ISO_RELEASE}=hpcmips
+BASE_PORTS.hpcshcd-${ISO_RELEASE}=hpcsh
+BASE_PORTS.i386cd-${ISO_RELEASE}=i386
+BASE_PORTS.iyonixcd-${ISO_RELEASE}=iyonix
+BASE_PORTS.ibmnwscd-${ISO_RELEASE}=ibmnws
+BASE_PORTS.luna68kcd-${ISO_RELEASE}=luna68k
+BASE_PORTS.mac68kcd-${ISO_RELEASE}=mac68k
+BASE_PORTS.macppccd-${ISO_RELEASE}=macppc
+BASE_PORTS.mipscocd-${ISO_RELEASE}=mipsco
+BASE_PORTS.mmeyecd-${ISO_RELEASE}=mmeye
+BASE_PORTS.mvme68kcd-${ISO_RELEASE}=mvme68k
+BASE_PORTS.mvmeppccd-${ISO_RELEASE}=mvmeppc
+BASE_PORTS.netwindercd-${ISO_RELEASE}=netwinder
+BASE_PORTS.news68kcd-${ISO_RELEASE}=news68k
+BASE_PORTS.newsmipscd-${ISO_RELEASE}=newsmips
+BASE_PORTS.next68kcd-${ISO_RELEASE}=next68k
+BASE_PORTS.ofppccd-${ISO_RELEASE}=ofppc
+BASE_PORTS.pmaxcd-${ISO_RELEASE}=pmax
+BASE_PORTS.pmppccd-${ISO_RELEASE}=pmppc
+BASE_PORTS.prepcd-${ISO_RELEASE}=prep
+BASE_PORTS.sandpointcd-${ISO_RELEASE}=sandpoint
+BASE_PORTS.sbmips-mipsebcd-${ISO_RELEASE}=sbmips-mipseb
+BASE_PORTS.sbmips-mipselcd-${ISO_RELEASE}=sbmips-mipsel
+BASE_PORTS.sgimipscd-${ISO_RELEASE}=sgimips
+BASE_PORTS.sharkcd-${ISO_RELEASE}=shark
+BASE_PORTS.sourcecd-${ISO_RELEASE}=source
+BASE_PORTS.sparccd-${ISO_RELEASE}=sparc
+BASE_PORTS.sparc64cd-${ISO_RELEASE}=sparc64
+BASE_PORTS.sun2cd-${ISO_RELEASE}=sun2
+BASE_PORTS.sun3cd-${ISO_RELEASE}=sun3
+BASE_PORTS.vaxcd-${ISO_RELEASE}=vax
+BASE_PORTS.x68kcd-${ISO_RELEASE}=x68k
+
+.for image in ${CD_IMAGES}
+#INTDIRS.${image}+= packages
+# The following doc files are in ftp dir but not in RELEASEDIR on build.sh
+#BASE_PORTS.${image}+= CHANGES CHANGES-8.0 CHANGES.prev \
+#BASE_PORTS.${image}+= LAST_MINUTE README.files
+.endfor
+
+##############################################################################
+# These provide additional functionality to some host OS's that may or may
+# not be desired in some cases. Uncomment to enable, or comment out to
+# disable.
+
+# USE_ROCK_RIDGE adds -r to mkisofs to use full Un*x style pathnames and
+# permissions. For most situations, this is needed.
+
+USE_ROCK_RIDGE= yes
+
+# USE_LONG_NAMES adds -l to mkisofs to use full 32-character ISO-9660 names.
+# This allows some host OS's, particularly AmigaDOS, the ability to see long
+# filenames in most cases.
+
+USE_LONG_NAMES= yes
+
+# USE_TRANS_TBL adds -T to mkisofs to provide long names through the use of
+# TRANS.TBL translation table files. (These will automatically be hidden
+# from Joliet and HFS trees.) Typically this is not used in conjunction
+# with USE_LONG_NAMES, but may be used if names still exceed 32 characters.
+
+#USE_TRANS_TBL= yes
+
+# USE_JOLIET adds -J to mkisofs to provide Joliet long filename support for
+# Microsoft Windows OS's
+
+USE_JOLIET= yes
+
+# USE_APPLE_ISO adds -apple to mkisofs to provide the Apple ISO-9660
+# Extensions. This gives full MacOS attribute information to files without
+# the overhead of full HFS. (A disc that is forced into HFS mode by the
+# presence of mac68k or macppc will use HFS, not the Apple ISO Extensions.)
+
+USE_APPLE_ISO= yes
+
+# LOG_MKISOFS causes the mkisofs command to be logged in "extra verbose"
+# mode (-v -v) to the image filename with .log appended.
+
+#LOG_MKISOFS= yes
+
+##############################################################################
+# "Easter egg" file. If this option is present, the standard 32k end padding
+# is replaced by a message in this file (no more than 16k), padded to 32k
+# with null bytes.
+
+#EASTER_EGG= ${.CURDIR}/extra/egg.txt
+
+##############################################################################
---
$ cd /s/src/distrib/cdrom
$ /s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/nbmake-macppc RELEASE=8.0 TARGET_CD_IMAGE=macppccd RSYNC_HOST=rsync3.jp.NetBSD.org RSYNC_PATH_PREFIX=/pub fetch
Fetching distributions....
/usr/pkg/bin/rsync --include "/shared" --include "/macppc" --include "/shared/powerpc" -va --delete --exclude=/* --exclude=Split --exclude=cdrom --exclude "/[a-z]*" --exclude "/shared/[a-z]*" rsync://rsync3.jp.NetBSD.org/pub/NetBSD/NetBSD-8.0/ /s/src/distrib/cdrom/obj.macppc/download/
Welcome to JAIST Public Mirror Service (ftp.jaist.ac.jp).
If you have any issues or comments, please contact the mirror admins via e-mail at ftp-admin%jaist.ac.jp@localhost.
*DISCLAIMER* JAIST is not liable for any use, storage or transmission of any files stored on this archive. This archive is provided as a free service to the public and all files are provided *as is*.
We banned the following addresses because they established multiple connections simultaneously. You should contact ftp-admin%jaist.ac.jp@localhost if you want us to cancel your ban.
124.109.1.152,132.222.121.100 103.18.1.145, 219.249.189.12, 103.18.0.18, 118.238.203.205, 106.186.114.104
receiving incremental file list
./
macppc/
macppc/INSTALL.html
macppc/INSTALL.more
macppc/INSTALL.ps
macppc/INSTALL.txt
macppc/binary/
macppc/binary/kernel/
macppc/binary/kernel/MD5
macppc/binary/kernel/SHA512
macppc/binary/kernel/netbsd-GENERIC.MP.gz
macppc/binary/kernel/netbsd-GENERIC.gz
macppc/binary/kernel/netbsd-GENERIC_601.gz
macppc/binary/kernel/netbsd-GENERIC_MD.gz
macppc/binary/kernel/netbsd-GENERIC_MD.symbols.gz
macppc/binary/kernel/netbsd-INSTALL.gz
macppc/binary/kernel/netbsd-INSTALL.symbols.gz
macppc/binary/sets/
macppc/binary/sets/MD5
macppc/binary/sets/SHA512
macppc/binary/sets/base.tgz
macppc/binary/sets/comp.tgz
macppc/binary/sets/debug.tgz
macppc/binary/sets/etc.tgz
macppc/binary/sets/games.tgz -> ../../../shared/powerpc/games.tgz
macppc/binary/sets/kern-GENERIC.MP.tgz
macppc/binary/sets/kern-GENERIC.tgz
macppc/binary/sets/kern-GENERIC_601.tgz
macppc/binary/sets/man.tgz -> ../../../shared/ALL/man.tgz
macppc/binary/sets/misc.tgz -> ../../../shared/ALL/misc.tgz
macppc/binary/sets/modules.tgz
macppc/binary/sets/tests.tgz
macppc/binary/sets/text.tgz
macppc/binary/sets/xbase.tgz
macppc/binary/sets/xcomp.tgz
macppc/binary/sets/xdebug.tgz
macppc/binary/sets/xetc.tgz
macppc/binary/sets/xfont.tgz
macppc/binary/sets/xserver.tgz
macppc/installation/
macppc/installation/ofwboot.elf
macppc/installation/ofwboot.xcf
macppc/installation/floppy/
macppc/installation/floppy/boot1.fs
macppc/installation/floppy/boot2.fs
shared/
shared/ALL/
shared/ALL/man.tgz
shared/ALL/misc.tgz
shared/powerpc/
shared/powerpc/games.tgz
shared/powerpc/xbase.tgz
shared/powerpc/xcomp.tgz
shared/powerpc/xfont.tgz
shared/powerpc/xserver.tgz
sent 1,012 bytes received 753,112,509 bytes 5,860,805.61 bytes/sec
total size is 752,925,744 speedup is 1.00
$ /s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/nbmake-macppc RELEASE=8.0 TARGET_CD_IMAGE=macppccd all
all ===> macppc_installboot
rm -rf fs
/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/powerpc--netbsd-install -d fs
/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/powerpc--netbsd-install -d fs/cd9660
ln -s /s/src/sys/fs/unicode.h fs
ln -s /s/src/sys/fs/cd9660/iso.h fs/cd9660
# compile macppc_installboot/installboot.lo
cc -O -I. -I/s/src/distrib/cdrom/macppc_installboot -I/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/include/compat -I/s/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -c -o installboot.lo.o /s/src/distrib/cdrom/macppc_installboot/installboot.c
mv installboot.lo.o installboot.lo
# compile macppc_installboot/cd9660.lo
cc -O -I. -I/s/src/distrib/cdrom/macppc_installboot -I/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/include/compat -I/s/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -c -o cd9660.lo.o /s/src/distrib/cdrom/macppc_installboot/cd9660.c
mv cd9660.lo.o cd9660.lo
# compile macppc_installboot/cd9660_util.lo
cc -O -I. -I/s/src/distrib/cdrom/macppc_installboot -I/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/include/compat -I/s/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -c -o cd9660_util.lo.o /s/src/sys/fs/cd9660/cd9660_util.c
mv cd9660_util.lo.o cd9660_util.lo
# link macppc_installboot/macppc_installboot
cc -O -I. -I/s/src/distrib/cdrom/macppc_installboot -I/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/include/compat -I/s/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -o macppc_installboot installboot.lo cd9660.lo cd9660_util.lo -L/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/lib -lnbcompat -lrt -lz
mkdir -p /s/src/distrib/cdrom/obj.macppc/staging/macppccd-8.0 /s/src/distrib/cdrom/obj.macppc/extfiles
rm -f /s/src/distrib/cdrom/obj.macppc/staging/macppccd-8.0.pathlist /s/src/distrib/cdrom/obj.macppc/macppccd-8.0.contents
Extracting: /s/src/distrib/cdrom/obj.macppc/download/macppc/binary/sets/base.tgz,./usr/mdec/bootxx --> /s/src/distrib/cdrom/obj.macppc/extfiles/macppc.bootxx...
Extracting: /s/src/distrib/cdrom/obj.macppc/download/macppc/binary/sets/base.tgz,./usr/mdec/ofwboot --> /s/src/distrib/cdrom/obj.macppc/extfiles/macppc.ofwboot...
cp /s/src/distrib/cdrom/obj.macppc/download/macppc/installation/ofwboot.xcf /s/src/distrib/cdrom/obj.macppc/staging/macppccd-8.0/ofwboot.xcf
Extracting: /s/src/distrib/cdrom/obj.macppc/download/macppc/binary/sets/base.tgz,./usr/mdec/ofwboot --> /s/src/distrib/cdrom/obj.macppc/staging/macppccd-8.0/ofwboot...
cp /s/src/distrib/cdrom/obj.macppc/download/macppc/binary/kernel/netbsd-INSTALL.gz /s/src/distrib/cdrom/obj.macppc/staging/macppccd-8.0/netbsd.macppc
# create cdrom/boothfs
rm -f boothfs
/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/nbuudecode -p /s/src/distrib/cdrom/boothfs.uue > boothfs
Total extents scheduled to be written = 375631
375631
Projected size of macppccd-8.0.iso: 769327104 bytes (751296K).
Image too large for 700000 KB CD!
*** Failed target: size-macppccd-8.0
*** Failed command: size=$((`cd /s/src/distrib/cdrom/obj.macppc/staging/macppccd-8.0 && /usr/pkg/bin/mkisofs -A "NetBSD 8.0" -hide-rr-moved -m Split -m cdrom -publisher "The NetBSD Foundation, Inc. / http://www.NetBSD.org/" -p "NetBSD CD Build System" -r -l -J -hide-joliet-list /s/src/distrib/cdrom/hide-jol.lst -V "NetBSD 8.0 macppccd" -graft-points -path-list /s/src/distrib/cdrom/obj.macppc/staging/macppccd-8.0.pathlist -hfs -part -hide-hfs-list /s/src/distrib/cdrom/hide-hfs.lst --macbin -map /s/src/distrib/cdrom/hfsmap.lst -boot-hfs-file /s/src/distrib/cdrom/obj.macppc/boothfs -print-size . 2>&1 | tee /dev/stderr | /s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/nbsed '/=/!d;s/^[^=]*=//'` * 2048)) && if [ "" != "" ]; then size=$(($(($size + 327679)) / 327680 * 327680)) && bootfiles=`for f in ; do echo $f; done | uniq` && for f in $bootfiles; do bfsize=$(/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/nbstat -f '%z' $f) && size=$(($size + $(($(($bfsize + 327679)) / 327680 * 327!
680)))); done; fi && if [ "" != "" ]; then size=$(($size + $(($(($(/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/nbstat -f '%z' /s/src/distrib/cdrom/obj.macppc/extfiles/pmax.bootxx) + 511)) / 512 * 512)))); fi && if [ "" != "" ]; then size=$(($size + $(($(($(/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/nbstat -f '%z' /s/src/distrib/cdrom/obj.macppc/extfiles/vax.xxboot) + 511)) / 512 * 512)))); fi && if [ "" != "" -a "sgimips.bootblock.h:sgimips/binary/sets/comp.tgz,./usr/include/sys/bootblock.h" != "" ]; then size=$(($size + 4096 * 512)); fi && size=$(($(($size + 16383)) / 16384 * 16384 + 32768)) && sizek=$(($size / 1024)) && echo "Projected size of macppccd-8.0.iso: $size bytes (${sizek}K)." && if [ $sizek -gt 700000 ]; then echo "Image too large for 700000 KB CD!"; false; fi
*** Error code 1
Stop.
nbmake: stopped in /s/src/distrib/cdrom
$ rm -f obj.macppc/download/macppc/binary/sets/debug.tgz
$ /usr/pkg/bin/mkisofs --version
mkisofs 3.01 (i386-unknown-netbsd8.0.) Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2015 Joerg Schilling
$ /s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/nbmake-macppc RELEASE=8.0 TARGET_CD_IMAGE=macppccd all
all ===> macppc_installboot
rm -rf fs
/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/powerpc--netbsd-install -d fs
/s/src/obj.macppc/tooldir.NetBSD-8.0-i386/bin/powerpc--netbsd-install -d fs/cd9660
ln -s /s/src/sys/fs/unicode.h fs
ln -s /s/src/sys/fs/cd9660/iso.h fs/cd9660
mkdir -p /s/src/distrib/cdrom/obj.macppc/staging/macppccd-8.0 /s/src/distrib/cdrom/obj.macppc/extfiles
rm -f /s/src/distrib/cdrom/obj.macppc/staging/macppccd-8.0.pathlist /s/src/distrib/cdrom/obj.macppc/macppccd-8.0.contents
Total extents scheduled to be written = 242271
242271
Projected size of macppccd-8.0.iso: 496205824 bytes (484576K).
cd /s/src/distrib/cdrom/obj.macppc/staging/macppccd-8.0 && /usr/pkg/bin/mkisofs -o /s/src/distrib/cdrom/obj.macppc/macppccd-8.0.iso -A "NetBSD 8.0" -hide-rr-moved -m Split -m cdrom -publisher "The NetBSD Foundation, Inc. / http://www.NetBSD.org/" -p "NetBSD CD Build System" -r -l -J -hide-joliet-list /s/src/distrib/cdrom/hide-jol.lst -V "NetBSD 8.0 macppccd" -graft-points -path-list /s/src/distrib/cdrom/obj.macppc/staging/macppccd-8.0.pathlist -hfs -part -hide-hfs-list /s/src/distrib/cdrom/hide-hfs.lst --macbin -map /s/src/distrib/cdrom/hfsmap.lst -data-change-warn -boot-hfs-file /s/src/distrib/cdrom/obj.macppc/boothfs .
2.06% done, estimate finish Sat Sep 8 00:02:17 2018
4.13% done, estimate finish Sat Sep 8 00:01:53 2018
6.20% done, estimate finish Sat Sep 8 00:01:45 2018
8.26% done, estimate finish Sat Sep 8 00:01:41 2018
10.33% done, estimate finish Sat Sep 8 00:01:38 2018
12.39% done, estimate finish Sat Sep 8 00:01:37 2018
14.45% done, estimate finish Sat Sep 8 00:01:35 2018
16.52% done, estimate finish Sat Sep 8 00:01:35 2018
18.58% done, estimate finish Sat Sep 8 00:01:34 2018
20.64% done, estimate finish Sat Sep 8 00:01:33 2018
22.71% done, estimate finish Sat Sep 8 00:01:33 2018
24.77% done, estimate finish Sat Sep 8 00:01:33 2018
26.83% done, estimate finish Sat Sep 8 00:01:36 2018
28.89% done, estimate finish Sat Sep 8 00:01:35 2018
30.97% done, estimate finish Sat Sep 8 00:01:35 2018
33.03% done, estimate finish Sat Sep 8 00:01:35 2018
35.09% done, estimate finish Sat Sep 8 00:01:34 2018
37.15% done, estimate finish Sat Sep 8 00:01:34 2018
39.22% done, estimate finish Sat Sep 8 00:01:34 2018
41.28% done, estimate finish Sat Sep 8 00:01:33 2018
43.34% done, estimate finish Sat Sep 8 00:01:33 2018
45.40% done, estimate finish Sat Sep 8 00:01:33 2018
47.47% done, estimate finish Sat Sep 8 00:01:33 2018
49.53% done, estimate finish Sat Sep 8 00:01:33 2018
51.60% done, estimate finish Sat Sep 8 00:01:32 2018
53.67% done, estimate finish Sat Sep 8 00:01:32 2018
55.73% done, estimate finish Sat Sep 8 00:01:32 2018
57.79% done, estimate finish Sat Sep 8 00:01:32 2018
59.86% done, estimate finish Sat Sep 8 00:01:32 2018
61.93% done, estimate finish Sat Sep 8 00:01:33 2018
63.99% done, estimate finish Sat Sep 8 00:01:33 2018
66.05% done, estimate finish Sat Sep 8 00:01:33 2018
68.11% done, estimate finish Sat Sep 8 00:01:33 2018
70.17% done, estimate finish Sat Sep 8 00:01:33 2018
72.24% done, estimate finish Sat Sep 8 00:01:33 2018
74.30% done, estimate finish Sat Sep 8 00:01:33 2018
76.37% done, estimate finish Sat Sep 8 00:01:32 2018
78.42% done, estimate finish Sat Sep 8 00:01:32 2018
80.49% done, estimate finish Sat Sep 8 00:01:32 2018
82.56% done, estimate finish Sat Sep 8 00:01:32 2018
84.62% done, estimate finish Sat Sep 8 00:01:32 2018
86.68% done, estimate finish Sat Sep 8 00:01:32 2018
88.75% done, estimate finish Sat Sep 8 00:01:32 2018
90.82% done, estimate finish Sat Sep 8 00:01:32 2018
92.88% done, estimate finish Sat Sep 8 00:01:32 2018
94.94% done, estimate finish Sat Sep 8 00:01:33 2018
97.00% done, estimate finish Sat Sep 8 00:01:33 2018
mkisofs: File '/s/src/distrib/cdrom/obj.macppc/boothfs' did shrink.
Total extents actually written (inc HFS) = 242121
(Size of ISO volume = 236148, HFS extra = 5973)
Total translation table size: 0
Total rockridge attributes bytes: 6705
Total directory bytes: 20480
Path table size(bytes): 140
Max brk space used 0
242271 extents written (473 MB)
/s/src/distrib/cdrom/macppc_installboot/obj.macppc.NetBSD-8.0-i386/macppc_installboot /s/src/distrib/cdrom/obj.macppc/macppccd-8.0.iso /s/src/distrib/cdrom/obj.macppc/extfiles/macppc.bootxx /ofwboot
Rounding up to 32k boundary and padding 32k....
$
---
I'm afraid the above warning
"mkisofs: File '/s/src/distrib/cdrom/obj.macppc/boothfs' did shrink."
(which is the reason why I added '-data-change-warn' to the option)
is a false alarm, but image is bootable on my macppc (UMAX Apus2000).
Note SCSI CDROM drive on my Apus seems being dead, so I'm afraid
I can test further images soon.
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index