Home | History | Annotate | Download | only in libsa
History log of /src/sys/arch/x68k/stand/libsa/Makefile
RevisionDateAuthorComments
 1.31  17-Jan-2016  tsutsui Enable LIBSA_CREAD_NOCRC. PR/50638

Bump version to denote user visible change.
XXX: recent visible changes (memsize probe, SRAM switch command)
were not denoted in versions
Tested on (real) X68030.
 1.30  25-Jul-2015  isaki sysinst is 15*2 sect/cyl (fdXc), not 8*2 sect/cyl (it's fdXa,
DOS compatible). It makes the loading of sysinst a bit faster.
Pointed out by Yosuke Sugahara.
 1.29  12-Oct-2012  tsutsui branches: 1.29.14;
First cut at x68k network bootloader via NE2000 on Neptune-X and Nereid.
Written by isaki@ back in 2003 based on x86's NE2000 netboot, and
misc debug and improvements by tsutsui@ and Y.Sugahara.

Tested on XM6i (emulating Nereid Ethernet) and X68030 + Neptune-X by me,
also on X68030 + Nereid and X68000 PRO-II + Xellent30 + Nereid by isaki@.

Note:
- X680x0 IPLROM doesn't support bootstrap from Neptune-X or Nereid,
so this network bootloader needs to be loaded from floppy or harddisk.
- Currently netboot support is not merged into the secondary Multi-boot
(/usr/mdec/boot) due to size restriction.
- Primary loaders assumes that the secondary bootloader name is /boot,
so /usr/mdec/netboot needs to be installed as /boot into the target
bootstrap device.
 1.28  25-Dec-2011  tsutsui branches: 1.28.2; 1.28.6;
Apply the following patch submitted by Evgeniy Ivanov:
http://mail-index.NetBSD.org/tech-kern/2011/12/15/msg012226.html
http://mail-index.NetBSD.org/tech-kern/2011/12/17/msg012229.html

- add 'ls' op to struct fs_ops to support ls command on each fs,
enabled by -DLIBSA_ENABLE_LS_OP and SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
in libsa
- split sys/lib/libsa/ufs_ls.c into UFS specific part and MI part (ls.c)
that opens the target fs and calls fs-depedent XXX_ls() functions
- add a ls op for ext2fs
(all other fs than ufs and ext2fs don't have actual ls ops yet)
- replace existing MD ufs_ls() calls with this new MI ls()

The original patch was written for i386 and ext2fs.
zaurus zboot has been tested by nonaka@.
ews4800mips and x68k loaders have been tested by me (with several fixes).
landisk might be okay since it was almost copied from i386.

XXX1: "ls" op in fs_ops looks a bit inconsistent, but we will be able to
replace it with real fs ops like readdir if it's really worth
XXX2: someone might have to check sys/arch/ia64/stand/efi/libefi/efifs_ls.c
 1.27  11-Oct-2011  tsutsui branches: 1.27.2; 1.27.6;
Fix "Error occurs, please reset" boot problem on
X68030 + 060turbo in 060 mode, found on NetBSD booth
at OSC 2011 Hiroshima:

- use -D__daddr_t=int32_t for all bootloader files
to avoid 64 bit ops in FFS
- explicitly specify -m68020-60 to avoid 64 bit mulsl/mulul
instructions which need to be handled by 060SP emulation
but not available in 060turbo IPL ROM
(LFS still has uint64_t members even with 32bit daddr_t)

The problem was investigated (at least 1.6.2 bootloaders worked)
by Yasushi Oshima at OSC booth, and fixes have been confirmed
by Y.Sugahara on his 060turbo. Thanks everyone!

Should also be pulled up to netbsd-5.
 1.26  12-Apr-2011  tsutsui Make x68k bootloader to use MI libsa, libkern, and libz Makefiles in
src/sys/lib dirs for maintainability. Tested on X68030, ok from isaki@.
 1.25  19-Mar-2009  tsutsui branches: 1.25.4; 1.25.6;
Remove bcmp() from MD libsa.

XXX: These ports should be rewritten to use MI libsa for maintainability.
 1.24  12-Jan-2009  tsutsui branches: 1.24.2;
- WARNSfy
- make sure machine and ${MACHIN_ARCH} symlinks are always created
- several tweaks to allow build without installed DESTDIR
 1.23  28-Nov-2008  he We now also need globals.c from the common libsa.
 1.22  11-Nov-2007  isaki branches: 1.22.14; 1.22.18; 1.22.24; 1.22.26; 1.22.28;
x68k's floppy is 8*2 sect/cyl, not 18*2 sect/cyl.
 1.21  17-Oct-2007  garbled branches: 1.21.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.20  23-Jun-2007  isaki branches: 1.20.8; 1.20.10; 1.20.14;
Remove _ZLIB_PRIVATE that should have been removed 10 years ago.
 1.19  16-Jan-2006  he branches: 1.19.28; 1.19.30; 1.19.36;
Adapt to use of $S/../common/dist/zlib.
 1.18  27-Dec-2005  he branches: 1.18.2;
Make this build again by using ${S}/../common/lib/libc/Makefile.inc,
after the libc/libkern consolidation.
 1.17  11-Dec-2005  christos merge ktrace-lwp.
 1.16  23-Aug-2003  he branches: 1.16.16;
Add memmove.c, needed by new ufs.c.
 1.15  30-Mar-2003  isaki branches: 1.15.2;
Make it compilable.
see http://mail-index.netbsd.org/source-changes/2003/03/26/0009.html
 1.14  23-Feb-2003  simonb Update for LFSv2 support. Ports that have "bootxx_lfs"-style
bootblocks currently only support LFSv2, but the second level
"boot" program supports both LFS versions.
 1.13  02-Feb-2003  isaki - sys/lib/libsa/ufs_ls.c rev 1.3 needs strrchr.
- sort.
 1.12  25-Jan-2003  isaki Make it compilable with 64bit daddr_t.
 1.11  05-May-2002  isaki libsa/Makefile: Fix rules to create symlinks on read-only source tree.
{boot,libsa,mboot}/Makefile, Makefile.booters:
move that common rule to Makefile.booters
 1.10  12-Dec-2001  tv branches: 1.10.2;
MKfoo=no -> NOfoo
 1.9  02-Dec-2001  minoura Do not install libsa.a
 1.8  14-Nov-2001  tv Work around <bsd.lib.mk> used for kernel libs in other places. Clean up
include paths.
 1.7  31-Oct-2001  thorpej branches: 1.7.2;
Build the loadfile() a.out, ECOFF, and ELF back-ends as separate
objects.
 1.6  30-Sep-2001  minoura branches: 1.6.2;
Print daemon image on startup.
(any other missing features?)
 1.5  29-Sep-2001  minoura Implement ls command.
Correct bootdev detection.
Other minor changes.
 1.4  29-Sep-2001  minoura Exclude N/W code.
 1.3  28-Sep-2001  minoura Add changedisk_hook().
 1.2  27-Sep-2001  minoura Add some missing definitions.
 1.1  27-Sep-2001  minoura libsa for the new bootloader of x68k port.
 1.6.2.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.7.2.3  20-Jun-2002  nathanw Catch up to -current.
 1.7.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.7.2.1  31-Oct-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:28:48 +0000
 1.10.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.10.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.2.1  12-Dec-2001  thorpej file Makefile was added on branch kqueue on 2002-01-10 19:50:34 +0000
 1.15.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.15.2.1  03-Aug-2004  skrll Sync with HEAD
 1.16.16.3  15-Nov-2007  yamt sync with head.
 1.16.16.2  03-Sep-2007  yamt sync with head.
 1.16.16.1  21-Jun-2006  yamt sync with head.
 1.18.2.1  01-Feb-2006  yamt sync with head.
 1.19.36.1  26-Jun-2007  garbled Sync with HEAD.
 1.19.30.1  11-Jul-2007  mjf Sync with head.
 1.19.28.2  03-Dec-2007  ad Sync with HEAD.
 1.19.28.1  15-Jul-2007  ad Sync with head.
 1.20.14.1  13-Nov-2007  bouyer Sync with HEAD
 1.20.10.2  09-Jan-2008  matt sync with HEAD
 1.20.10.1  06-Nov-2007  matt sync with HEAD
 1.20.8.1  11-Nov-2007  joerg Sync with HEAD.
 1.21.2.1  19-Nov-2007  mjf Sync with HEAD.
 1.22.28.1  17-Mar-2012  bouyer Pull up following revision(s) (requested by tsutsui in ticket #1731):
sys/arch/x68k/stand/boot_ufs/Makefile: revision 1.26 via patch
sys/arch/x68k/stand/boot/version: revision 1.4 via patch
sys/arch/x68k/stand/libsa/Makefile: revision 1.27 via patch
sys/arch/x68k/stand/Makefile.booters: revision 1.7 via patch
sys/arch/x68k/stand/boot_ustar/Makefile: revision 1.19 via patch
Fix "Error occurs, please reset" boot problem on
X68030 + 060turbo in 060 mode, found on NetBSD booth
at OSC 2011 Hiroshima:
- use -D__daddr_t=int32_t for all bootloader files
to avoid 64 bit ops in FFS
- explicitly specify -m68020-60 to avoid 64 bit mulsl/mulul
instructions which need to be handled by 060SP emulation
but not available in 060turbo IPL ROM
(LFS still has uint64_t members even with 32bit daddr_t)
The problem was investigated (at least 1.6.2 bootloaders worked)
by Yasushi Oshima at OSC booth, and fixes have been confirmed
by Y.Sugahara on his 060turbo. Thanks everyone!
Should also be pulled up to netbsd-5.
Bump version to denote 060turbo boot fix.
 1.22.26.2  28-Apr-2009  skrll Sync with HEAD.
 1.22.26.1  19-Jan-2009  skrll Sync with HEAD.
 1.22.24.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.22.18.1  04-May-2009  yamt sync with head.
 1.22.14.1  17-Jan-2009  mjf Sync with HEAD.
 1.24.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.25.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.25.4.1  21-Apr-2011  rmind sync with head
 1.27.6.1  18-Feb-2012  mrg merge to -current.
 1.27.2.2  30-Oct-2012  yamt sync with head
 1.27.2.1  17-Apr-2012  yamt sync with head
 1.28.6.2  03-Dec-2017  jdolecek update from HEAD
 1.28.6.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.28.2.1  18-Nov-2012  riz Pull up following revision(s) (requested by tsutsui in ticket #645):
sys/arch/x68k/stand/newdisk/newdisk.c: revision 1.10
sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile: revision 1.1
sys/arch/x68k/stand/xxboot/xx.c: revision 1.1
sys/arch/x68k/stand/Makefile: revision 1.10
sys/arch/x68k/stand/Makefile: revision 1.11
sys/arch/x68k/stand/boot/conf.c: revision 1.9
sys/arch/x68k/stand/Makefile: revision 1.12
sys/arch/x68k/stand/Makefile: revision 1.13
sys/arch/x68k/include/loadfile_machdep.h: revision 1.7
sys/arch/x68k/stand/xxboot/consio1.c: revision 1.1
sys/arch/x68k/stand/libsa/sdcd.c: revision 1.12
sys/arch/x68k/stand/libsa/libx68k.h: revision 1.6
sys/arch/x68k/stand/boot/ne.c: revision 1.1
sys/arch/x68k/stand/xxboot/boot.S: revision 1.1
sys/arch/x68k/stand/libsa/sdcd.c: revision 1.13
sys/arch/x68k/stand/netboot/boot.c: revision 1.1
sys/arch/x68k/stand/libsa/devopen.c: revision 1.6
sys/arch/x68k/stand/libsa/clock.c: revision 1.1
sys/arch/x68k/stand/boot/ne.h: revision 1.1
sys/arch/x68k/stand/netboot/conf.c: revision 1.1
sys/arch/x68k/stand/boot/version: revision 1.5
sys/arch/x68k/stand/boot/version: revision 1.6
sys/arch/x68k/stand/netboot/version: revision 1.1
sys/arch/x68k/stand/xxboot/Makefile.xxboot: revision 1.1
sys/arch/x68k/stand/boot/if_ne.c: revision 1.1
sys/arch/x68k/stand/boot/dp8390.h: revision 1.1
sys/arch/x68k/stand/xxboot/xxboot_lfsv2/Makefile: revision 1.1
sys/arch/x68k/stand/boot/dp8390.c: revision 1.1
sys/arch/x68k/stand/xxboot/bootmain.c: revision 1.1
sys/arch/x68k/stand/installboot/installboot.c: revision 1.6
sys/arch/x68k/stand/xxboot/conf.c: revision 1.1
sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile: revision 1.1
sys/arch/x68k/stand/libsa/Makefile.inc: revision 1.2
distrib/sets/lists/base/md.x68k: revision 1.44
sys/arch/x68k/stand/boot/conf.c: revision 1.10
sys/arch/x68k/stand/boot/boot.ldscript: revision 1.3
distrib/sets/lists/base/md.x68k: revision 1.45
sys/arch/x68k/stand/xxboot/xxboot.ldscript: revision 1.1
sys/arch/x68k/stand/xxboot/Makefile: revision 1.15
sys/arch/x68k/stand/libsa/Makefile: revision 1.29
sys/arch/x68k/stand/xxboot/cdboot_cd9660/Makefile: revision 1.1
sys/arch/x68k/stand/netboot/Makefile: revision 1.1
sys/arch/x68k/stand/libsa/consio.c: revision 1.10
sys/arch/x68k/stand/xxboot/version: revision 1.1
sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile: revision 1.1
Comment fix.
Add FFSv2 support.
Fix CD support.
Initial support for xxboot (cdboot_cd9660, specifically).
Add xxboot (stage1) support.
put library first.
Fix CD support (again!).
Descend to xxboot.
Add xxboot_?fsv?.
Change to the 2-clauses license.
Tweak SUBDIR build order and add comments about each dir.
Fix a bug in check_getchar() (called from awaitkey_1sec()).
It didn't clear input key data when non ASCII keys (CTRL, OPT.1 etc)
were pressed so it couldn't detect further key inputs and
"any other key for boot menu" interrupt during boot didn't work
in that case.
The problem was tracked by Y.Sugahara,
and tested on X68030 and XM6i by me.
Bump version to denote check_getchar() bug fix.
First cut at x68k network bootloader via NE2000 on Neptune-X and Nereid.
Written by isaki@ back in 2003 based on x86's NE2000 netboot, and
misc debug and improvements by tsutsui@ and Y.Sugahara.
Tested on XM6i (emulating Nereid Ethernet) and X68030 + Neptune-X by me,
also on X68030 + Nereid and X68000 PRO-II + Xellent30 + Nereid by isaki@.
Note:
- X680x0 IPLROM doesn't support bootstrap from Neptune-X or Nereid,
so this network bootloader needs to be loaded from floppy or harddisk.
- Currently netboot support is not merged into the secondary Multi-boot
(/usr/mdec/boot) due to size restriction.
- Primary loaders assumes that the secondary bootloader name is /boot,
so /usr/mdec/netboot needs to be installed as /boot into the target
bootstrap device.
Add new /usr/mdec/netboot.
Check lp->d_npartitions before calling dkcksum()
(which is in src/sbin/disklabel/dkcksum.c) because
it doesn't check range and could cause coredump during
installboot against floppy that includes garbage in LABELSECTOR.
 1.29.14.2  19-Mar-2016  skrll Sync with HEAD
 1.29.14.1  22-Sep-2015  skrll Sync with HEAD

RSS XML Feed