| History log of /src/distrib/common/bootimage/Makefile.bootimage |
| Revision | | Date | Author | Comments |
| 1.50 |
| 18-Jan-2026 |
tsutsui | bootimage: allow MD Makefiles to add a port-specific boot partition
Some ports require an additional port-specific boot partition even for live images so that firmware ROMs can load a bootloader. For example, luna68k ROMs require old 4.3-BSD style FFS, and hp300 ROMs require an HP LIF format diretory entries.
Add a USE_MDBOOTPART switch and adjust size/offset calculations and image concatination so MD liveimage Makefiles can provide own rules to build and populate the boot-partition image.
|
| 1.49 |
| 16-Jan-2026 |
tsutsui | bootimage: make ${FATFILES} dependency more explicit for readability
Only add the FATFILES -> TARGETFS dependency in Makefile.bootimage when FATFILES is defined in MD Makefiles.
This makes the optional nature of FATFILES clearer for MD ports and avoids relying on empty-target handling as an implicit make(1) behavior.
|
| 1.48 |
| 14-Jan-2026 |
tsutsui | bootimage: fix a build error of zaurus live-image on parallel build
Add an explicit dependency of ${FATFILES} on ${TARGETFS} since necessary files are assumed to be extracted during ${TARGETFS} image build (not sure how it worked before).
Should be pulled up to netbsd-11.
|
| 1.47 |
| 13-Jan-2026 |
tsutsui | bootimage: Derive sunlabel(8) input from the disklabel protofile
For USE_SUNLABEL labeling, stop hard-coding the sunlabel(8) geometry in cylinders in Makefile.bootimage. Instead, generate the sunlabel(8) command stream by parsing the generated disklabel protofile with a small awk helper.
This keeps the Sun disk label consistent with the disklabel(8) protofile and avoids maintaining two independent sets of geometry/partition logic.
Tested with a sun3 live-image on TME.
|
| 1.46 |
| 26-Apr-2025 |
pgoyette | branches: 1.46.2; Add new file-system spec.in for KERNEL_DIR=yes
|
| 1.45 |
| 02-Feb-2025 |
tsutsui | Use FFSv2 for amd64 live-image and install-image via new $IMGFFSVERSION.
Fixes PR/59007.
|
| 1.44 |
| 18-Jan-2025 |
tsutsui | FAT (for ESP) is always LE so "-B endian" for makefs(8) is not necessary.
(not sure if there is any "EFI on big endian CPU" system though)
|
| 1.43 |
| 10-Jan-2025 |
tsutsui | Remove "(untested)" comment from INSTALLBOOT_AFTER_DISKLABEL.
Also note vax requires it.
|
| 1.42 |
| 31-Dec-2024 |
jmmv | Do not include tests in boot images if MKATF=no
|
| 1.41 |
| 26-Jun-2024 |
martin | branches: 1.41.2; Now that we label GPT partitions, adjust the generated fdisk to match.
|
| 1.40 |
| 25-Jun-2024 |
martin | Short the root wedge name to NBImgRoot (to get NAME=NBImgRoot below 16 chars
|
| 1.39 |
| 25-Jun-2024 |
martin | Previous did not work out well - ${INSTIMGBASE} was not always set here and spaces in the label name confuse the (over simplistic) xen command line parser. Use (fixed) "NetBSD_ImageRoot" instead for the root partition.
|
| 1.38 |
| 24-Jun-2024 |
martin | Try to give the root partition a usable (but unique enough) name if we use GPT. This helps when booting without a bootloader (e.g. in qemu) and passing boot arguments to identify the root partition.
|
| 1.37 |
| 18-May-2024 |
christos | include all extra flavors of the kernel and use the proper variable for the machine dependent installation directory.
|
| 1.36 |
| 16-May-2024 |
christos | Apply the -xx treatment to the rest of the ffs makefs invocations.
|
| 1.35 |
| 22-Apr-2024 |
nia | Move MIPS N64 compat out of {base,debug}32 into {base,debug}64
martin requested separation by ABI and it doesn't make much sense to have 64-bit binaries in a set called 32.
|
| 1.34 |
| 09-Apr-2024 |
nia | Add new sets: base32, debug32, manhtml
- base32 contains (when MKCOMPAT=yes) shared libraries for 32-bit compatibility, previously included in base
- debug32 contains (when MKCOMPAT=yes) debug symbols and static libraries containing debug symbols for 32-bit compatiblity, previously included in debug
- manhtml contains (when MKHTML=yes) the HTML files previously included in 'man', which are of limited utility without third-party software.
The motivation for this change is to be able to easily exclude sets from CD-ROM images that go over the size limit without xz compression (which many NetBSD platforms struggle to extract at acceptable speeds).
|
| 1.33 |
| 08-Feb-2024 |
christos | PR/57910: Jan-Benedict Glaw: Fix typo preventing reproducible builds
|
| 1.32 |
| 03-Dec-2023 |
tsutsui | Use defined ${GPTSECTORS} rather than hardcoded 2048.
|
| 1.31 |
| 03-Dec-2023 |
tsutsui | Document USE_GPTMBR and GPTSECTORS.
|
| 1.30 |
| 15-May-2022 |
mrg | branches: 1.30.2; allow some invocations of expr(1) to "fail" - expr(1) returns "1" is the expression expands to "0" or empty, and sometimes these values end up correctly being 0.
|
| 1.29 |
| 25-Sep-2021 |
maya | Move DRM-driver firmware from base to its own set, gpufw
This set is only installed on amd64,i386,evbarm. This set is installed on minimal installs and on install media, in case someone needs it for basic driver functionality.
Comments: Switched to a single MK tunable for it - that is probably unneeded.
An upcoming DRM update will include even fatter firmware, and we'd like to minimize the impact of it.
|
| 1.28 |
| 24-Jul-2021 |
jmcneill | bootimage: allow appending additional rc.conf options
If RC_CONF_EXTRA is defined, append the contents of this file to the target file-system's rc.conf
|
| 1.27 |
| 04-Jun-2021 |
tsutsui | Check and remove a stale work file for UEFI images with incorrect size.
Fixes PR/56132 (build.sh target install-image fails in update-mode).
|
| 1.26 |
| 05-Aug-2020 |
jmcneill | branches: 1.26.4; Add support for EC2 and resize root to AMD64 live images.
|
| 1.25 |
| 28-May-2020 |
jmcneill | Only install gptmbr.bin if USE_GPTMBR=yes
|
| 1.24 |
| 21-Mar-2020 |
tsutsui | Add "live-image with a FAT partition for bootstrap files" support.
See PR/55075 for more details.
|
| 1.23 |
| 21-Nov-2019 |
joerg | Merge amd64's UEFI logic back into the generic bootimage handling.
|
| 1.22 |
| 02-Oct-2019 |
maya | Split out /rescue to its own set and adapt installers/images to add it.
This is meant to make updates safer: if something goes wrong with updating base, we still have the old, standalone /rescue to recover from.
|
| 1.21 |
| 22-Feb-2019 |
tsutsui | branches: 1.21.2; Reduce diffs between common and amd64 uefi Makefile.bootimage files.
No functional change.
|
| 1.20 |
| 15-Dec-2018 |
gson | Use the special device name "ROOT." in /etc/fstab not just on the arm images, but also on the bootable disk images of other ports, so that they can be booted from differently named devices. Merge the i386 and amd64 -live-sd0root and -live-wd0root images into a single live image per port, bootable both from usb media and in qemu. Drop the -xx0root suffixes from image names as they are no longer meaningful.
|
| 1.19 |
| 19-Nov-2018 |
aymeric | Make building boot images work with xz sets on non-NetBSD hosts.
NetBSD gzip is not toolified so we can't assume the host gzip will be able to decompress xz files. Use the toolified xz instead in the USE_XZ_SETS case.
|
| 1.18 |
| 07-Oct-2018 |
martin | Support .tar.xz sets
|
| 1.17 |
| 11-Feb-2017 |
pgoyette | branches: 1.17.10; 1.17.12; Remove leftover "-f" from when this used to be a cp command.
Unbreak the build for install-image target.
|
| 1.16 |
| 11-Feb-2017 |
christos | remove extra endif
|
| 1.15 |
| 11-Feb-2017 |
christos | more MKREPRO_TIMESTAMP fixes (for pax/tar generated files)
|
| 1.14 |
| 10-Feb-2017 |
christos | Initial pass to be unaffected by build umask on build artifacts 1. ${MKDIR} -> ${MKDIR} ${MKDIRPERM} 2. ${CP} -> ${INSTALL} ${COPY} -m <perm>
|
| 1.13 |
| 24-Jan-2017 |
christos | use the same logic to compute the timestamp like the other files
|
| 1.12 |
| 25-Nov-2015 |
christos | branches: 1.12.2; 1.12.4; PR/50360: Thomas Klausner: if MKREPRO is set, provide a consistent timestamp for the files in the cdroms to be built. For now we copy the timestamp of <sys/param.h>. We could set an absolute timestamp too like -T 0 for the epoch.
|
| 1.11 |
| 08-May-2015 |
riastradh | Fix ytpo: INSTALLBOOTOPTIONS, not INSTALLBOOTOPTOINS.
From qjsgkem on Freenode.
|
| 1.10 |
| 12-Mar-2015 |
snj | unbreak amd64 install images by passing ipty to MAKEDEV. revision 1.21 of etc/etc.amd64/MAKEDEV.conf removed them from 'all'. (hi christos!)
|
| 1.9 |
| 05-Aug-2014 |
apb | branches: 1.9.2; Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.
This will pass -nT instead of just -n if the gzip program is actually pigz.
|
| 1.8 |
| 27-Jan-2014 |
apb | branches: 1.8.2; Pass the -n flag to gzip invocations.
This prevents it from embedding a timestamp in the output. We pass "-n" unconditionally, not conditional on MKREPRO, because many other invocations of gzip already passed the -n flag unconditionally.
|
| 1.7 |
| 16-Jan-2014 |
christos | eliminate use of bsd.sys.mk from Makefiles
|
| 1.6 |
| 22-Apr-2012 |
tsutsui | branches: 1.6.2; Fix typo in comments.
|
| 1.5 |
| 22-Apr-2012 |
tsutsui | Add two optional variables for liveimage/installimage builds: --- MBR_BOOTCODE optional MBR bootcode which should be installed by fdisk(8) (default: empty) - specified MBR_BOOTCODE must exist in ${DESTDIR}/usr/mdec - if MBR_BOOTCODE is not specified, MBR_DEFAULT_BOOTCODE (default: mbr) will be used if the target ${MACHINE} has the one in /usr/mdec
INSTALLBOOTOPTIONS options passed to installboot(8), e.g., -o console=com0 (default: empty) --- Proposed by Brook Milligan on current-users@: http://mail-index.NetBSD.org/current-users/2012/04/16/msg019892.html
Also make USE_MBR work on ${MACHINE}s which don't have the default /usr/mdec/mbr bootcode. (no such port has the liveimage target yet though)
XXX: tools fdisk(8) implicitly uses host's /usr/mdec/mbr for the default XXX: bootcode even for non-x86 targets if host is x86
|
| 1.4 |
| 09-Apr-2012 |
riz | branches: 1.4.2; s/Createing/Creating/
|
| 1.3 |
| 22-Jan-2012 |
tsutsui | branches: 1.3.2; Appease warnings `"expr 0 \* 1024 \* 1024 / 512" returned non-zero status.'
SWAPMB could be zero (in install-image case) and expr(1) returns exit status 1 in that case. Umm.
|
| 1.2 |
| 22-Jan-2012 |
tsutsui | Fix checks for RELEASEDIR (and xxxxIMGBASE) variables to perform it only on live_image or install_image targets. PR toolchain/45864
|
| 1.1 |
| 22-Jan-2012 |
tsutsui | Add "live-image" and "install-image" target support to build.sh.
"live-image" target builds pre-installed disk images that can be used on emulators or boot from USB memory sticks to try NetBSD without installation. Currently amd64, i386, pmax, sparc, sparc64, sun2, sun3, and vax (which have working emulators and don't require extra tools like preparing msdosfs or partitioning MD label structures) support this target.
"install-image" target builds an bootable installation disk image that can be used as an install CD but burned into USB memory sticks etc. Current only amd64 and i386 (which would support USB boot) have this target.
For more details (and known issue) see following posts on netbsd-bugs@: http://mail-index.NetBSD.org/netbsd-bugs/2011/08/06/msg023639.html http://mail-index.NetBSD.org/netbsd-bugs/2011/09/23/msg024207.html http://mail-index.NetBSD.org/netbsd-bugs/2011/12/07/msg025166.html http://mail-index.NetBSD.org/netbsd-bugs/2011/12/08/msg025178.html
No particular comments about implementation, and "go ahead" comments from mrg@, riz@ and christos@.
Closes PR toolchain/45153 and PR misc/45155.
|
| 1.3.2.1 |
| 09-May-2012 |
riz | Pull up following revision(s) (requested by tsutsui in ticket #235): distrib/common/bootimage/Makefile.bootimage: revision 1.5 Add two optional variables for liveimage/installimage builds: --- MBR_BOOTCODE optional MBR bootcode which should be installed by fdisk(8) (default: empty) - specified MBR_BOOTCODE must exist in ${DESTDIR}/usr/mdec - if MBR_BOOTCODE is not specified, MBR_DEFAULT_BOOTCODE (default: mbr) will be used if the target ${MACHINE} has the one in /usr/mdec INSTALLBOOTOPTIONS options passed to installboot(8), e.g., -o console=com0 (default: empty) --- Proposed by Brook Milligan on current-users@: http://mail-index.NetBSD.org/current-users/2012/04/16/msg019892.html Also make USE_MBR work on ${MACHINE}s which don't have the default /usr/mdec/mbr bootcode. (no such port has the liveimage target yet though) XXX: tools fdisk(8) implicitly uses host's /usr/mdec/mbr for the default XXX: bootcode even for non-x86 targets if host is x86
|
| 1.4.2.4 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.4.2.3 |
| 23-May-2012 |
yamt | sync with head.
|
| 1.4.2.2 |
| 17-Apr-2012 |
yamt | sync with head
|
| 1.4.2.1 |
| 09-Apr-2012 |
yamt | file Makefile.bootimage was added on branch yamt-pagecache on 2012-04-17 00:02:32 +0000
|
| 1.6.2.1 |
| 19-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.8.2.1 |
| 10-Aug-2014 |
tls | Rebase.
|
| 1.9.2.1 |
| 30-Jul-2015 |
snj | Pull up following revision(s) (requested by riastradh in ticket #902): distrib/common/bootimage/Makefile.bootimage: revision 1.11 Fix ytpo: INSTALLBOOTOPTIONS, not INSTALLBOOTOPTOINS. From qjsgkem on Freenode.
|
| 1.12.4.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
| 1.12.2.1 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
| 1.17.12.3 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.17.12.2 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.17.12.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
| 1.17.10.3 |
| 26-Dec-2018 |
pgoyette | Sync with HEAD, resolve a few conflicts
|
| 1.17.10.2 |
| 26-Nov-2018 |
pgoyette | Sync with HEAD, resolve a couple of conflicts
|
| 1.17.10.1 |
| 20-Oct-2018 |
pgoyette | Sync with head
|
| 1.21.2.2 |
| 24-Apr-2020 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #846):
distrib/hpcarm/Makefile: revision 1.7 distrib/amd64/uefi-installimage/Makefile: revision 1.7 distrib/common/bootimage/Makefile.installimage: revision 1.6 distrib/hpcarm/liveimage/spec.in: revision 1.1 distrib/common/bootimage/Makefile.bootimage: revision 1.23 distrib/common/bootimage/Makefile.bootimage: revision 1.24 distrib/zaurus/liveimage/Makefile: revision 1.1 distrib/amd64/uefi-installimage/Makefile.installimage: revision 1.3 distrib/zaurus/Makefile: revision 1.3 distrib/hpcarm/liveimage/Makefile: revision 1.1 distrib/zaurus/liveimage/spec.in: revision 1.1 distrib/common/bootimage/diskproto.mbrfat.in: revision 1.1 distrib/amd64/uefi-installimage/Makefile.bootimage: revision 1.13 distrib/hpcarm/liveimage/fstab.in: revision 1.1 distrib/zaurus/liveimage/fstab.in: revision 1.1
Merge amd64's UEFI logic back into the generic bootimage handling.
Add "live-image with a FAT partition for bootstrap files" support. See PR/55075 for more details.
Add "build.sh live-image" support for zaurus. Tested on SL-C3000 and SL-C700. See also PR/55075 for live-image with FAT partition support.
Add "build.sh live-image" support for hpcarm. Tested on WS003SH. See also PR/55075 for live-image with FAT partition support.
|
| 1.21.2.1 |
| 17-Nov-2019 |
martin | Pull up following revision(s) (requested by maya in ticket #435):
distrib/sets/maketars: revision 1.90 usr.sbin/sysinst/arch/playstation2/md.h: revision 1.2 usr.sbin/sysinst/arch/sandpoint/md.h: revision 1.3 usr.sbin/sysinst/arch/evbppc/md.h: revision 1.3 usr.sbin/sysinst/arch/hpcarm/md.h: revision 1.3 usr.sbin/sysinst/arch/mvme68k/md.h: revision 1.3 distrib/sun3/MakeInstTape: revision 1.3 usr.sbin/sysinst/util.c: revision 1.33 distrib/sets/lists/rescue/mi: revision 1.1 distrib/sets/lists/base/rescue.sun2: file removal usr.sbin/sysinst/arch/zaurus/md.h: revision 1.3 distrib/sets/lists/base/rescue.ad.m68k.shl: file removal distrib/sets/regpkgset: revision 1.13 usr.sbin/sysinst/arch/i386/md.h: revision 1.7 distrib/sets/lists/base/rescue.sparc: file removal distrib/notes/mvme68k/xfer: revision 1.19 distrib/sets/sets.subr: revision 1.187 distrib/common/bootimage/Makefile.bootimage: revision 1.22 usr.sbin/sysinst/msg.mi.de: revision 1.16 usr.sbin/sysinst/arch/atari/md.h: revision 1.3 rescue/Makefile: revision 1.38 distrib/sets/lists/base/rescue.macppc: file removal usr.sbin/sysinst/arch/arc/md.h: revision 1.4 distrib/miniroot/install.sub: revision 1.49 usr.sbin/sysinst/arch/acorn32/md.h: revision 1.3 usr.sbin/sysinst/arch/x68k/md.h: revision 1.3 usr.sbin/sysinst/arch/hpcmips/md.h: revision 1.3 usr.sbin/sysinst/arch/bebox/md.h: revision 1.3 usr.sbin/sysinst/arch/hpcsh/md.h: revision 1.2 distrib/sets/lists/base/rescue.shark: file removal usr.sbin/sysinst/arch/emips/md.h: revision 1.5 distrib/utils/embedded/mkimage: revision 1.70 usr.sbin/sysinst/arch/shark/md.h: revision 1.3 usr.sbin/sysinst/arch/pmax/md.h: revision 1.4 usr.sbin/sysinst/arch/amiga/md.h: revision 1.4 usr.sbin/sysinst/arch/hp300/md.h: revision 1.5 rescue/list.ldconfig: file removal distrib/sets/lists/base/rescue.ad.m68k: file removal usr.sbin/sysinst/arch/prep/md.h: revision 1.4 usr.sbin/sysinst/arch/cats/md.h: revision 1.4 usr.sbin/sysinst/arch/amd64/md.h: revision 1.7 usr.sbin/sysinst/msg.mi.es: revision 1.17 usr.sbin/sysinst/msg.mi.fr: revision 1.20 usr.sbin/sysinst/msg.mi.pl: revision 1.23 distrib/sets/lists/base/rescue.i386: file removal usr.sbin/sysinst/arch/evbarm/md.h: revision 1.3 distrib/sets/lists/base/rescue.vax: file removal distrib/amd64/uefi-installimage/Makefile.bootimage: revision 1.12 usr.sbin/sysinst/arch/evbmips/md.h: revision 1.3 distrib/sets/lists/base/rescue.mi: file removal distrib/sets/README: revision 1.14 usr.sbin/sysinst/arch/sgimips/md.h: revision 1.4 distrib/sets/lists/base/rescue.sparc64: file removal distrib/sets/lists/base/rescue.mi: revision 1.45 distrib/sets/lists/base/rescue.mi: revision 1.46 usr.sbin/sysinst/arch/ofppc/md.h: revision 1.4 usr.sbin/sysinst/arch/cobalt/md.h: revision 1.4 distrib/sets/lists/base/rescue.ad.arm: file removal distrib/sets/lists/base/rescue.mac68k: file removal usr.sbin/sysinst/defs.h: revision 1.45 usr.sbin/sysinst/arch/landisk/md.h: revision 1.2 distrib/notes/atari/xfer: revision 1.17 etc/Makefile: revision 1.441 usr.sbin/sysinst/msg.mi.en: revision 1.22 distrib/sun2/MakeInstTape: revision 1.2
Remove ldconfig from /rescue, and mark it MI obsolete. - ldconfig in netbsd refers to a.out binaries only. We've been ELF-only since NetBSD 2.0 or so, and having it in /rescue served little purpose even before that, as /rescue is standalone. - Using MI obsolete to avoid the need for MD set lists where ldconfig is the sole entry
Mark /rescue/edlabel as MI-obsolete, so we can remove all remaining MD rescue set list files.
Split out /rescue to its own set and adapt installers/images to add it.
This is meant to make updates safer: if something goes wrong with updating base, we still have the old, standalone /rescue to recover from.
|
| 1.26.4.1 |
| 06-Jun-2021 |
cjep | sync with head
|
| 1.30.2.1 |
| 20-Feb-2025 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #1046):
distrib/vax/liveimage/emuimage/Makefile: revision 1.5 distrib/common/bootimage/Makefile.bootimage: revision 1.43
It turns out vax liveimage requires INSTALLBOOT_AFTER_DISKLABEL.
It looks tools disklabel(8) doesn't preserve installed bootblock on creating a new label. Confirmed on simh.
Remove "(untested)" comment from INSTALLBOOT_AFTER_DISKLABEL. Also note vax requires it.
|
| 1.41.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.46.2.3 |
| 25-Jan-2026 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #164):
distrib/luna68k/liveimage/fstab.in: revision 1.1 distrib/common/bootimage/Makefile.bootimage: revision 1.50 distrib/luna68k/Makefile: revision 1.3 distrib/luna68k/liveimage/spec.in: revision 1.1 distrib/luna68k/liveimage/Makefile: revision 1.1 distrib/luna68k/liveimage/Makefile: revision 1.2 distrib/luna68k/liveimage/diskproto.in: revision 1.1 distrib/luna68k/liveimage/spec.boot.in: revision 1.1
bootimage: allow MD Makefiles to add a port-specific boot partition
Some ports require an additional port-specific boot partition even for live images so that firmware ROMs can load a bootloader.
For example, luna68k ROMs require old 4.3-BSD style FFS, and hp300 ROMs require an HP LIF format diretory entries. Add a USE_MDBOOTPART switch and adjust size/offset calculations and image concatination so MD liveimage Makefiles can provide own rules to build and populate the boot-partition image. distrib/luna68k: add "build.sh live-image" support for luna68k
Using recently added "USE_MDBOOTPART" in Makefile.bootimage with MD rules.
A generated live-image is confirmed working on nono 1.6.4 with LUNA's ROM: --- % nono-cli -V vmtype=luna -V prom-image=LUNAROM.DAT -V dipsw-autoboot=no -V dipsw-serial=yes -V hostcom-driver=stdio -V spc0-id6-image=hd,NetBSD-11.99.5-luna68k-live.img -V spc0-id6-writeignore=1 (PROM) Unknown PROM version (SCSIHD6) write is ignored Diagnostic Start.... 11.549'836'096 805b XP(HD647180) WriteInternalIO 53H(DERA) <- $07 (NOT IMPLEMENTED) 11.549'839'519 8060 XP(HD647180) WriteInternalIO 60H(IODRA) <- $50 (NOT IMPLEMENTED) 11.549'842'942 8065 XP(HD647180) WriteInternalIO 70H(DDRA) <- $70 (NOT IMPLEMENTED) 11.650'402'532 8528 XP(HD647180) WriteInternalIO 60H(IODRA) <- $20 (NOT IMPLEMENTED) 11.653'401'080 8bd1 XP(HD647180) ReadInternalIO 48H(T2CSR1) -> $ff (NOT IMPLEMENTED) 11.653'404'340 8bd6 XP(HD647180) WriteInternalIO 48H(T2CSR1) <- $ff (NOT IMPLEMENTED) 11.653'406'785 8bd9 XP(HD647180) ReadInternalIO 49H(T2CSR2) -> $ff (NOT IMPLEMENTED) 11.653'410'045 8bde XP(HD647180) WriteInternalIO 49H(T2CSR2) <- $ff (NOT IMPLEMENTED) No problems in hardware OMRON WS Monitor Ver4.25 (Thu May 16 11:54:02 1991) - 0x01000000 bytes of memory "BSD Monitor-mode" k ctlr: dk drv: 0 par: c d fnam: vmunix boot g SPC RESET CONDITION !! x > NetBSD/luna68k boot, Revision 1.12 (Sat Jan 17 07:19:27 UTC 2026) > (based on Stinger ver 0.0 [Phase-31]) Machine model = LUNA-I Physical Memory = 0x1000000 (16 MB) sc0 at 0xe1000000: async, parity, ID 7 ID 6: NONO SCSIHD rev 0, 512 bytes/sect x 3145728 sectors le0: Am7990 LANCE Ethernet, mem at 0x71010000 le0: Ethernet address = 00:00:0a:02:4d:36 Press return to boot now, any other key for boot menu booting sd(6,0)netbsd - starting in 0 seconds. type "help" for help. boot> boot -s Booting sd(6,0)netbsd (howto 0x2) 2358892+97604 [336560+209989]=0x2dd6c8 [ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, [ 1.0000000] 2024, 2025, 2026 [ 1.0000000] The NetBSD Foundation, Inc. All rights reserved. [ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993 [ 1.0000000] The Regents of the University of California. All rights reserved. [ 1.0000000] NetBSD 11.99.5 (GENERIC) #0: Sat Jan 17 16:26:14 JST 2026 [ 1.0000000] tsutsui@proslim:/home/tsutsui/obj.luna68k/sys/arch/luna68k/compile/GENERIC [ 1.0000000] LUNA-I (MC68030 CPU+MMU, MC68881 FPU) :
luna68k/liveimage: fix live-image build errors on non-NetBSD hosts
|
| 1.46.2.2 |
| 25-Jan-2026 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #163):
distrib/common/bootimage/Makefile.bootimage: revision 1.48 distrib/common/bootimage/Makefile.bootimage: revision 1.49
bootimage: fix a build error of zaurus live-image on parallel build
Add an explicit dependency of ${FATFILES} on ${TARGETFS} since necessary files are assumed to be extracted during ${TARGETFS} image build (not sure how it worked before).
bootimage: make ${FATFILES} dependency more explicit for readability
Only add the FATFILES -> TARGETFS dependency in Makefile.bootimage when FATFILES is defined in MD Makefiles.
This makes the optional nature of FATFILES clearer for MD ports and avoids relying on empty-target handling as an implicit make(1) behavior.
|
| 1.46.2.1 |
| 22-Jan-2026 |
martin | Pull up following revision(s) (requested by tsutsui in ticket #158):
distrib/common/bootimage/Makefile.bootimage: revision 1.47 distrib/common/bootimage/diskproto2sunlabel.awk: revision 1.1
bootimage: Derive sunlabel(8) input from the disklabel protofile
For USE_SUNLABEL labeling, stop hard-coding the sunlabel(8) geometry in cylinders in Makefile.bootimage. Instead, generate the sunlabel(8) command stream by parsing the generated disklabel protofile with a small awk helper.
This keeps the Sun disk label consistent with the disklabel(8) protofile and avoids maintaining two independent sets of geometry/partition logic.
Tested with a sun3 live-image on TME.
|