head	1.1;
access;
symbols
	netbsd-11-0-RC4:1.1
	netbsd-11-0-RC3:1.1
	netbsd-11-0-RC2:1.1
	netbsd-11-0-RC1:1.1
	perseant-exfatfs-base-20250801:1.1
	netbsd-11:1.1.0.42
	netbsd-11-base:1.1
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.1
	perseant-exfatfs:1.1.0.40
	perseant-exfatfs-base:1.1
	netbsd-9-4-RELEASE:1.1
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	thorpej-ifq:1.1.0.38
	thorpej-ifq-base:1.1
	thorpej-altq-separation:1.1.0.36
	thorpej-altq-separation-base:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.34
	netbsd-10-base:1.1
	bouyer-sunxi-drm:1.1.0.32
	bouyer-sunxi-drm-base:1.1
	netbsd-9-3-RELEASE:1.1
	thorpej-i2c-spi-conf2:1.1.0.30
	thorpej-i2c-spi-conf2-base:1.1
	thorpej-futex2:1.1.0.28
	thorpej-futex2-base:1.1
	thorpej-cfargs2:1.1.0.26
	thorpej-cfargs2-base:1.1
	cjep_sun2x-base1:1.1
	cjep_sun2x:1.1.0.24
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	netbsd-9-2-RELEASE:1.1
	cjep_staticlib_x:1.1.0.22
	cjep_staticlib_x-base:1.1
	thorpej-i2c-spi-conf:1.1.0.20
	thorpej-i2c-spi-conf-base:1.1
	thorpej-cfargs:1.1.0.18
	thorpej-cfargs-base:1.1
	thorpej-futex:1.1.0.16
	thorpej-futex-base:1.1
	netbsd-9-1-RELEASE:1.1
	bouyer-xenpvh-base2:1.1
	phil-wifi-20200421:1.1
	bouyer-xenpvh-base1:1.1
	phil-wifi-20200411:1.1
	bouyer-xenpvh:1.1.0.14
	bouyer-xenpvh-base:1.1
	is-mlppp:1.1.0.12
	is-mlppp-base:1.1
	phil-wifi-20200406:1.1
	ad-namecache-base3:1.1
	netbsd-9-0-RELEASE:1.1
	netbsd-9-0-RC2:1.1
	ad-namecache-base2:1.1
	ad-namecache-base1:1.1
	ad-namecache:1.1.0.10
	ad-namecache-base:1.1
	netbsd-9-0-RC1:1.1
	phil-wifi-20191119:1.1
	netbsd-9:1.1.0.8
	netbsd-9-base:1.1
	phil-wifi:1.1.0.6
	phil-wifi-20190609:1.1
	isaki-audio2:1.1.0.4
	isaki-audio2-base:1.1
	pgoyette-compat-merge-20190127:1.1.2.2
	pgoyette-compat-20190127:1.1
	pgoyette-compat:1.1.0.2
	pgoyette-compat-20190118:1.1;
locks; strict;
comment	@# @;


1.1
date	2019.01.12.16.44.47;	author tsutsui;	state Exp;
branches
	1.1.2.1
	1.1.6.1;
next	;
commitid	7OXyb3uOrDFQVv7B;

1.1.2.1
date	2019.01.12.16.44.47;	author pgoyette;	state dead;
branches;
next	1.1.2.2;
commitid	Lmlzg3OVT2cd6f8B;

1.1.2.2
date	2019.01.18.08.50.22;	author pgoyette;	state Exp;
branches;
next	;
commitid	Lmlzg3OVT2cd6f8B;

1.1.6.1
date	2019.01.12.16.44.47;	author christos;	state dead;
branches;
next	1.1.6.2;
commitid	jtc8rnCzWiEEHGqB;

1.1.6.2
date	2019.06.10.22.06.44;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.1
log
@Import irisboot, yet another bootloader for pre-ARC sgimips machines.

This bootloader adds support for Personal IRIS 4D/25 (IP6),
Personal IRIS 4D/35 (IP12), and Indigo R3000 (IP12) etc. and
optionally supports R4000 Indy and Indigo R4000 (ARCS machine)
using standalone WD33C93 SCSI driver.

Submitted by Naruaki Etomi via PR port-sgimips/53539,
and reviewed by tsutsui@@.  See also port-sgimips@@ ML thread:
 https://mail-index.netbsd.org/port-sgimips/2018/09/16/msg000778.html
@
text
@#	$NetBSD$

# Silicon Graphics "IRIS" series MIPS processors machine.
STRIPFLAG=
# If you try to use ARCBIOS(Indy or Indigo R4000) machine, Please comment it out!
# Be sure to edit /sgimips/stand/common/iris_machdep.h!
PRE_ARCS= yes

.if defined(PRE_ARCS)
SRCS=   iris_start.S 
.else
SRCS=   start.S arcbios_calls.S
.endif

SRCS+=  iris_boot.c
SRCS+=  bootinfo.c
SRCS+=  iris_prf.c iris_cons.c iris_zs.c
SRCS+=  iris_parse.c
SRCS+=  iris_autoconf.c iris_scsi.c
SRCS+=  iris_disk.c
SRCS+=  iris_scsictl.c
SRCS+=  iris_conf.c
SRCS+=  iris_devopen.c

PROG=	irisboot
${PROG}: ip12boot
.if ${MACHINE_ARCH} == "mipseb"
	cp ip12boot ip12boot.tmp
	${MIPS_ELF2ECOFF} ip12boot.tmp ${.TARGET}
.else
	touch ${.TARGET}
.endif

# XXX Temporary hack to install the ELF version, too.
FILES+=		ip12boot
CLEANFILES+=	ip12boot ip12boot.elf

CLEANFILES+=	ip12boot.map

CLEANFILES+=	ip12boot.tmp

.include "../Makefile.booters"

ip12boot: ${OBJS} ${LIBS}
	${_MKTARGET_LINK}
.if defined(PRE_ARCS)
	${LD} -Map ${.TARGET}.map -N -x -Ttext ${LOAD_ADDRESS_IP12} ${LDBUG} \
	    -m elf32btsmip -e start -o ${.TARGET}.elf ${OBJS} ${LIBS}
.else
	${LD} -Map ${.TARGET}.map -N -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \
	    -m elf32btsmip -e start -o ${.TARGET}.elf ${OBJS} ${LIBS}
.endif
	@@${STRIP} -s ${.TARGET}.elf -o ${.TARGET}
	@@${SIZE} ${.TARGET}

cleandir distclean: .WAIT cleanlibdir
cleanlibdir:
	-rm -rf lib
@


1.1.6.1
log
@file Makefile was added on branch phil-wifi on 2019-06-10 22:06:44 +0000
@
text
@d1 58
@


1.1.6.2
log
@Sync with HEAD
@
text
@a0 58
#	$NetBSD: Makefile,v 1.1 2019/01/12 16:44:47 tsutsui Exp $

# Silicon Graphics "IRIS" series MIPS processors machine.
STRIPFLAG=
# If you try to use ARCBIOS(Indy or Indigo R4000) machine, Please comment it out!
# Be sure to edit /sgimips/stand/common/iris_machdep.h!
PRE_ARCS= yes

.if defined(PRE_ARCS)
SRCS=   iris_start.S 
.else
SRCS=   start.S arcbios_calls.S
.endif

SRCS+=  iris_boot.c
SRCS+=  bootinfo.c
SRCS+=  iris_prf.c iris_cons.c iris_zs.c
SRCS+=  iris_parse.c
SRCS+=  iris_autoconf.c iris_scsi.c
SRCS+=  iris_disk.c
SRCS+=  iris_scsictl.c
SRCS+=  iris_conf.c
SRCS+=  iris_devopen.c

PROG=	irisboot
${PROG}: ip12boot
.if ${MACHINE_ARCH} == "mipseb"
	cp ip12boot ip12boot.tmp
	${MIPS_ELF2ECOFF} ip12boot.tmp ${.TARGET}
.else
	touch ${.TARGET}
.endif

# XXX Temporary hack to install the ELF version, too.
FILES+=		ip12boot
CLEANFILES+=	ip12boot ip12boot.elf

CLEANFILES+=	ip12boot.map

CLEANFILES+=	ip12boot.tmp

.include "../Makefile.booters"

ip12boot: ${OBJS} ${LIBS}
	${_MKTARGET_LINK}
.if defined(PRE_ARCS)
	${LD} -Map ${.TARGET}.map -N -x -Ttext ${LOAD_ADDRESS_IP12} ${LDBUG} \
	    -m elf32btsmip -e start -o ${.TARGET}.elf ${OBJS} ${LIBS}
.else
	${LD} -Map ${.TARGET}.map -N -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \
	    -m elf32btsmip -e start -o ${.TARGET}.elf ${OBJS} ${LIBS}
.endif
	@@${STRIP} -s ${.TARGET}.elf -o ${.TARGET}
	@@${SIZE} ${.TARGET}

cleandir distclean: .WAIT cleanlibdir
cleanlibdir:
	-rm -rf lib
@


1.1.2.1
log
@file Makefile was added on branch pgoyette-compat on 2019-01-18 08:50:22 +0000
@
text
@d1 58
@


1.1.2.2
log
@Synch with HEAD
@
text
@a0 58
#	$NetBSD: Makefile,v 1.1 2019/01/12 16:44:47 tsutsui Exp $

# Silicon Graphics "IRIS" series MIPS processors machine.
STRIPFLAG=
# If you try to use ARCBIOS(Indy or Indigo R4000) machine, Please comment it out!
# Be sure to edit /sgimips/stand/common/iris_machdep.h!
PRE_ARCS= yes

.if defined(PRE_ARCS)
SRCS=   iris_start.S 
.else
SRCS=   start.S arcbios_calls.S
.endif

SRCS+=  iris_boot.c
SRCS+=  bootinfo.c
SRCS+=  iris_prf.c iris_cons.c iris_zs.c
SRCS+=  iris_parse.c
SRCS+=  iris_autoconf.c iris_scsi.c
SRCS+=  iris_disk.c
SRCS+=  iris_scsictl.c
SRCS+=  iris_conf.c
SRCS+=  iris_devopen.c

PROG=	irisboot
${PROG}: ip12boot
.if ${MACHINE_ARCH} == "mipseb"
	cp ip12boot ip12boot.tmp
	${MIPS_ELF2ECOFF} ip12boot.tmp ${.TARGET}
.else
	touch ${.TARGET}
.endif

# XXX Temporary hack to install the ELF version, too.
FILES+=		ip12boot
CLEANFILES+=	ip12boot ip12boot.elf

CLEANFILES+=	ip12boot.map

CLEANFILES+=	ip12boot.tmp

.include "../Makefile.booters"

ip12boot: ${OBJS} ${LIBS}
	${_MKTARGET_LINK}
.if defined(PRE_ARCS)
	${LD} -Map ${.TARGET}.map -N -x -Ttext ${LOAD_ADDRESS_IP12} ${LDBUG} \
	    -m elf32btsmip -e start -o ${.TARGET}.elf ${OBJS} ${LIBS}
.else
	${LD} -Map ${.TARGET}.map -N -x -Ttext ${LOAD_ADDRESS} ${LDBUG} \
	    -m elf32btsmip -e start -o ${.TARGET}.elf ${OBJS} ${LIBS}
.endif
	@@${STRIP} -s ${.TARGET}.elf -o ${.TARGET}
	@@${SIZE} ${.TARGET}

cleandir distclean: .WAIT cleanlibdir
cleanlibdir:
	-rm -rf lib
@


