Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/luna68k/conf/Makefile.luna68k
RevisionDateAuthorComments
 1.30  11-Apr-2023  tsutsui Fix missing locore.d dependency output on make depend.

Reported from isaki@. Looks missed in rev 1.13 (22 years ago):
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/luna68k/conf/Makefile.luna68k#rev1.13

Should be pulled up to netbsd-8, netbsd-9, and netbsd-10.
 1.29  22-Sep-2018  rin branches: 1.29.4; 1.29.30;
- Determine KERN_AS automatically depending on whether OPT_MODULAR is
set or not, in the same way as libcompat.

- Specify OPT_MODULAR in the port Makefile instead of KERN_AS.

Now, KERN_AS=library is used for kernels without module(7) for all ports.

OK christos
 1.28  25-Feb-2018  mrg branches: 1.28.2; 1.28.4;
add a special rule to build m68k/fpu.c to avoid passing -msoft-float.
fixes GCC 6 kernel builds that use this file.
 1.27  06-Sep-2015  uebayasi branches: 1.27.10;
Declare dependency on fpsp.o via newly introduced ${MD_LIBS} instead of
${MD_OBJS}.

${MD_OBJS} should be used only for objects that must be linked first (i.e.,
start code). Objects have to be compiled following common compile rules,
and have to be generated into common places (i.e., top of kernel build
directory).

${MD_LIBS} defines libraries that are built by separate makefiles, under
separate directories. `Makefile.kern.inc' doesn't know intermediate library
objects.
 1.26  13-Nov-2014  tsutsui branches: 1.26.2;
Stop building a.out kernels so that mkldscript.sh is no longer necessary.

Tested "build.sh release", and the default ELF GENERIC kernel loaded by
the native bootloader just works on LUNA-II.
 1.25  13-Nov-2014  uebayasi Missing dependency on ldscript files.
 1.24  10-Mar-2013  christos Explicitly set KERN_AS (this could be done in /usr/src/sys/conf/Makefile.*)
so that modules work, on config files that did not set it explicitly. All
the files now use the standard logic, except the ones that set KERN_AS=obj
and Makefile.usermode which sets KERN_AS=library.
 1.23  12-Nov-2011  tsutsui branches: 1.23.10;
Finally complete LUNA-II support, after almost 12 years since
initial import of NetBSD/luna68k.

Note a working LUNA-II machine was found and provided by OMRON guys
after LUNA demonstration at Open Source Conference 2011 Kansai @ Kyoto:
http://mail-index.NetBSD.org/source-changes/2011/07/16/msg024675.html
and this resurrected LUNA-II which runs NetBSD/luna68k -current with Xserver
was also demonstrated on the NetBSD booth at Kansai Open Source 2011:
http://www.NetBSD.org/gallery/events.html#kansai-os-jp-2011

It's really pleasure to meet many OMRON LUNA developers and LUNA users
at the NetBSD booth. Thank you everyone!


Changes details:

luna68k/luna68k/locore.s
- don't use 68030 specific pflusha instruction in 68040 initialization path
- use TBIA() to invalidate TLB instead of 68030's pflusha
after MMU is turned on (as hp300 does)
(these two bugs are fatal at early bootstrap)
- pull loadustp() fixes from hp300/locore.s rev 1.82
(more flush ops are required in it otherwise causes random coredumps)
- specify correct %tt1 mask value
(the mask value means actually bit mask, not transparent range)

luna68k/luna68k/machdep.c
- use proper delay_divisor for 68040 25MHz LUNA-II

luna68k/luna68k/mainbus.c
- prepare and use per-model mainbus device lists for mainbus_attach_args

luna68k/conf/GENERIC
luna68k/conf/INSTALL
- enable options M68040 and FPSP
- enable secondary spc(4) on LUNA-II

luna68k/conf/Makefile.luna68k
- include arch/m68k/fpsp/Makefile.inc for FPSP

luna68k/dev/lcd.c
- promote LUNA-II model on LCD

XXX: old and slow SCSI-1 drives like Hitachi DK312 seems to have
XXX: some problem with spc(4) driver, even on the original LUNA
 1.22  20-Jul-2011  tsutsui branches: 1.22.2;
Fix thinko. src/sys/conf/mkldscript.sh requires $OBJDUMP, not $ELF2AOUT.
(note generated faked a.out kernels can still be loaded and work fine)
 1.21  16-Jul-2011  tsutsui Revive NetBSD/luna68k.

Even after almost a lost decade since NetBSD/luna68k was
switched to using ELF format by default back in 2001,
actually only one fix (bus.h) is required for a GENERIC kernel itself
to get multiuser login: prompt on a real hardware. Hurrahhh!!!

Demonstrated with a working Xorg mono server on the NetBSD booth
at Open Source Conference 2011 Kansai @ Kyoto:
http://www.ospn.jp/osc2011-kyoto/

"Very impressed," commented by Tomoko YOSHIDA,
Program Committee Chair of the Conference,
and some other OMRON guys.

Special Thanks to Tadashi Okamura, for providing
a working SX-9100/DT "LUNA" for this mission.


Changes details:

sys/arch/luna68k/include/bus.h
- handle stride properly even on multi and region ops for MI spc(4)
- also fix stride handling of (currently unused) 2 and 4 byte ops

sys/arch/luna68k/conf/Makefile.luna68k
sys/arch/luna68k/conf/kern.ldscript.head
sys/arch/luna68k/conf/kern.ldscript.tail
- build a faked a.out kernel using elf2aout(8) tool
and a linker script derived from cats and shark
for the LUNA firmware that loads a.out binary directly
via network or from a UNIOS partition on a local disk

sys/arch/luna68k/dev/omrasops.c
sys/arch/luna68k/dev/omron_rfont.h
- use the original OMRON font derived from 4.4BSD-Lite/luna68k
rather than gallant19 which is used on Sun workstations
(XXX omrasops.c should be rewritten to use generic wsfont(4))

distrib/luna68k/*
distrib/utils/sysinst/arch/luna68k/*
etc/etc.luna68k/MAKEDEV.conf
etc/etc.luna68k/Makefile.inc
sys/arch/luna68k/conf/INSTALL
- build a ramdisk based INSTALL kernel with sysinst(8) for luna68k
- also build an installation iso image for luna68k

sys/arch/luna68k/conf/GENERIC
- enable SYSVSHM (and other SYSV*) options for Xorg server

More Xorg changes (which need some more cleanup) and
isiboot.c fixes will come soon.
 1.20  21-Jan-2011  joerg Switch remaining platforms to modern CPP for assembler.
 1.19  19-Feb-2008  joerg branches: 1.19.32; 1.19.38; 1.19.40;
Add missing assym.h dependencies.
 1.18  11-Dec-2005  christos branches: 1.18.50;
merge ktrace-lwp.
 1.17  31-May-2005  christos branches: 1.17.2;
s/GENASSYM/GENASSYM_CONF/ so we can use "GENASSYM" as the program name.
 1.16  04-Jun-2004  thorpej Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
 1.15  26-Nov-2002  thorpej branches: 1.15.6; 1.15.10;
The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.
 1.14  04-Jun-2002  thorpej Don't use -traditional-cpp if HAVE_GCC3.
 1.13  09-Dec-2001  atatat branches: 1.13.8;
Roll the rest of the ports over to the new MI kernel build machinery.
Any problems reported by testers have been fixed, and massive
cross-compiling of kernels has shown that any problems that remain
with actually building kernels are not related to this.
 1.12  20-Nov-2001  lukem cleanup:
options SPACE TAB
makeoptions TAB
psuedo-device TAB
remove trailing whitespace
replace multiple spaces -> tabs
options "FOO" -> options FOO
options "FOO=bar" -> options FOO=bar
options "FOO=\"bar\"" -> options FOO="\"bar\""
 1.11  26-Oct-2001  jmc branches: 1.11.2;
Change defaults for kernel compiles. Default all to USETOOLS?=no and have
the etc Makefile override that by putting USETOOLS into $.MAKEOVERRIDES
This way the default for kernel compiles is still to use the installed
toolchain instead of depending on $TOOLDIR. $TOOLDIR can be used by
simply adding USETOOLS=yes to the command line as usual.

Adjust each ports template to set the default no setting and also pull in
bsd.own.mk if they weren't already to ensure they'll build correctly
with the new toolchain setup.
 1.10  23-Oct-2001  thorpej branches: 1.10.2;
Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
 1.9  29-May-2001  mrg branches: 1.9.2;
define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
 1.8  17-Dec-2000  jdolecek branches: 1.8.2;
delete obsolete comment
 1.7  09-May-2000  hubertf branches: 1.7.6;
Add "install" target, so "make install" after building the kernel
does something useful. The target can be redefined by putting a
install-kernel-${MACHINE_NAME} target that fits your needs into
/etc/mk.conf.
 1.6  09-May-2000  thorpej HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also,
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
 1.5  01-Feb-2000  tsutsui Revert STRIPPROG -> STRIP
 1.4  24-Jan-2000  tron Add "dependall" target for comfort.
 1.3  19-Jan-2000  tsutsui STRIP -> STRIPPROG
 1.2  19-Jan-2000  tsutsui Change STRIPFLAGS=-g for cross-toolchains.
 1.1  05-Jan-2000  nisimura Introduce NetBSD/luna68k port into CVS repository.
 1.7.6.3  05-Jan-2001  bouyer Sync with HEAD
 1.7.6.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.7.6.1  09-May-2000  bouyer file Makefile.luna68k was added on branch thorpej_scsipi on 2000-11-20 20:10:25 +0000
 1.8.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.9.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.9.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.2.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.11.2.4  11-Dec-2002  thorpej Sync with HEAD.
 1.11.2.3  20-Jun-2002  nathanw Catch up to -current.
 1.11.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.11.2.1  26-Oct-2001  nathanw file Makefile.luna68k was added on branch nathanw_sa on 2002-01-08 00:25:50 +0000
 1.13.8.1  14-Jul-2002  gehenna catch up with -current.
 1.15.10.1  06-Feb-2005  jmc Pull up patch (requested by martti in ticket #1086)
Move ipf to sys/dist/ipf and sync w. trunk
 1.15.6.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.15.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.15.6.1  03-Aug-2004  skrll Sync with HEAD
 1.17.2.1  27-Feb-2008  yamt sync with head.
 1.18.50.1  23-Mar-2008  matt sync with HEAD
 1.19.40.1  08-Feb-2011  bouyer Sync with HEAD
 1.19.38.1  06-Jun-2011  jruoho Sync with HEAD.
 1.19.32.1  05-Mar-2011  rmind sync with head
 1.22.2.2  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.22.2.1  17-Apr-2012  yamt sync with head
 1.23.10.2  03-Dec-2017  jdolecek update from HEAD
 1.23.10.1  23-Jun-2013  tls resync from head
 1.26.2.1  22-Sep-2015  skrll Sync with HEAD
 1.27.10.1  20-Apr-2023  martin Pull up following revision(s) (requested by tsutsui in ticket #1821):

sys/arch/luna68k/conf/Makefile.luna68k: revision 1.30

Fix missing locore.d dependency output on make depend.
Reported from isaki@. Looks missed in rev 1.13 (22 years ago):

https://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/luna68k/conf/Makefile.luna68k#rev1.13
 1.28.4.1  10-Jun-2019  christos Sync with HEAD
 1.28.2.1  30-Sep-2018  pgoyette Ssync with HEAD
 1.29.30.1  20-Apr-2023  martin Pull up following revision(s) (requested by tsutsui in ticket #143):

sys/arch/luna68k/conf/Makefile.luna68k: revision 1.30

Fix missing locore.d dependency output on make depend.
Reported from isaki@. Looks missed in rev 1.13 (22 years ago):

https://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/luna68k/conf/Makefile.luna68k#rev1.13
 1.29.4.1  20-Apr-2023  martin Pull up following revision(s) (requested by tsutsui in ticket #1627):

sys/arch/luna68k/conf/Makefile.luna68k: revision 1.30

Fix missing locore.d dependency output on make depend.
Reported from isaki@. Looks missed in rev 1.13 (22 years ago):

https://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/luna68k/conf/Makefile.luna68k#rev1.13

RSS XML Feed