CVS commit: src/sys/arch/x68k/stand/xxboot

2020-08-22 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Aug 22 10:12:29 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/xxboot: ashldi3.S

Log Message:
Minor improvement.
add/addx is faster and the size remains the same.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/ashldi3.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2020-08-22 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Aug 22 10:05:04 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/xxboot: ashldi3.S

Log Message:
typo in comment.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/ashldi3.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-08-16 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Aug 16 07:25:51 UTC 2020

Modified Files:
src/sys/arch/x68k/stand: README

Log Message:
Update and fix.
All primary bootloaders can recognize Human68k partition table.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/README

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-08-15 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Aug 16 06:43:44 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/libiocs: iocscall.h
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot boot.S bootmain.c
consio1.c version xx.c xxboot.h xxboot.ldscript
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2: Makefile
Added Files:
src/sys/arch/x68k/stand/xxboot: ashldi3.S ashrdi3.S memcmp.S memcpy.S
memset.S
src/sys/arch/x68k/stand/xxboot/fdboot_ustarfs: Makefile

Log Message:
Overhaul xxboot.  And merge floppy boot, taken from boot_ustar.
- Rewrite boot.S completely.
  boot.S now supports boot from SCSI HD/CD and floppy.
- Use IOCS call to identify the floppy format, instead of chkfmt.s which
  accesses hardware directly.
- Import print_hex() debug function from boot_ufs.
- Import a feature that displays initial registers (for debug) from boot_ufs,
  and restore it (this in boot_ufs has been broken).
- Add size optimized alternatives for some libkern routines.
- Stop linking libsa to prevent to link unexpected objects.
- Bump version to 2.0.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/libiocs/iocscall.h
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot
cvs rdiff -u -r0 -r1.1 src/sys/arch/x68k/stand/xxboot/ashldi3.S \
src/sys/arch/x68k/stand/xxboot/ashrdi3.S \
src/sys/arch/x68k/stand/xxboot/memcmp.S \
src/sys/arch/x68k/stand/xxboot/memcpy.S \
src/sys/arch/x68k/stand/xxboot/memset.S
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x68k/stand/xxboot/boot.S
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/xxboot/bootmain.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/consio1.c
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/version \
src/sys/arch/x68k/stand/xxboot/xx.c \
src/sys/arch/x68k/stand/xxboot/xxboot.h
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript
cvs rdiff -u -r0 -r1.1 src/sys/arch/x68k/stand/xxboot/fdboot_ustarfs/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2020-08-13 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Fri Aug 14 03:54:46 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot xxboot.ldscript

Log Message:
Reduce binary size as possible.  These reduce filesize about 20 words.
- Use word alignment (rather than longword alignment) for text/data section.
- Use short reference.  In the bootloader, all symbols can be expressed in
  short.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2020-08-13 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Fri Aug 14 03:43:28 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/xxboot: bootmain.c

Log Message:
Use DEV_OPEN() macro.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x68k/stand/xxboot/bootmain.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2020-08-13 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Fri Aug 14 03:40:48 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot
src/sys/arch/x68k/stand/xxboot/cdboot_cd9660: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2: Makefile

Log Message:
Use fixed 'xx' instead of DEV and DEVDRV for simplicity.
There is no choice other than xx for now.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot
cvs rdiff -u -r1.2 -r1.3 \
src/sys/arch/x68k/stand/xxboot/cdboot_cd9660/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2020-08-13 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Fri Aug 14 03:34:22 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/xxboot: bootmain.c xx.c
Added Files:
src/sys/arch/x68k/stand/xxboot: xxboot.h

Log Message:
Add xxboot.h common header to share prototype definitions.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/bootmain.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/xx.c
cvs rdiff -u -r0 -r1.3 src/sys/arch/x68k/stand/xxboot/xxboot.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-08-13 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Fri Aug 14 03:29:23 UTC 2020

Modified Files:
src/sys/arch/x68k/stand: Makefile
src/sys/arch/x68k/stand/xxboot: Makefile Makefile.xxboot

Log Message:
Style fixes.  One entry per line for some parts.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x68k/stand/Makefile
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x68k/stand/xxboot/Makefile
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2020-08-13 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Fri Aug 14 03:25:39 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot xxboot.ldscript

Log Message:
- Restore display of first_kbyte.  This is helpful for development.
- Check the filesize of resulting file instead of section sizes.
  If there is a gap between sections, the filesize may be exceeded even
  though the section total is not exceeded.  Of course that doesn't
  usually happen but I've experienced this during development.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2020-08-13 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Fri Aug 14 02:51:48 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/xxboot: bootmain.c

Log Message:
Make compilable even with XXBOOT_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/bootmain.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-08-10 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Mon Aug 10 07:00:49 UTC 2020

Modified Files:
src/sys/arch/x68k/stand: Makefile.inc
src/sys/arch/x68k/stand/boot: Makefile
src/sys/arch/x68k/stand/mboot: Makefile
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot

Log Message:
Make x68k/stand compile with GCC8. Tested with XEiJ.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/Makefile.inc
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/x68k/stand/boot/Makefile
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x68k/stand/mboot/Makefile
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/mboot

2020-02-01 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Feb  1 08:08:15 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/mboot: Makefile

Log Message:
Make it output 68000 binary.
CFLAGS already has -m68000 but AFLAGS didn't.

This change makes it proceed to next stage1 even if MPU is 68000.
All stage1 bootloader displays an error message if MPU is 68000.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x68k/stand/mboot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2020-01-28 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Tue Jan 28 12:02:02 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot boot.S

Log Message:
Set heap area explicitly.
Until the load address was moved, the heap was placed at _end (it's default)
and it was large space.  After moving, this default space was too small.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot \
src/sys/arch/x68k/stand/xxboot/boot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-28 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Tue Jan 28 11:57:22 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: boot.S boot_ufs.ldscript
src/sys/arch/x68k/stand/xxboot: boot.S xxboot.ldscript

Log Message:
Revert placing .bss right after .data, and make .bss fixed at 0x5000.
.bss placed right after .data was overwritten when first 1KB loads full
.text+.data.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x68k/stand/boot_ufs/boot.S
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/boot_ufs/boot_ufs.ldscript
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x68k/stand/xxboot/boot.S
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-28 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Tue Jan 28 11:52:21 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: boot.S
src/sys/arch/x68k/stand/xxboot: boot.S

Log Message:
Use __bss_start rather than edata to point the beginning of .bss.
Currently the .bss is placed right after .data.  In that case, edata
points to the beginning of .bss so that there is no visible changes at
least currently.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x68k/stand/boot_ufs/boot.S
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/xxboot/boot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 07:25:12 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: Makefile boot_ufs.ldscript
src/sys/arch/x68k/stand/boot_ustar: Makefile boot_ustar.ldscript
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot xxboot.ldscript

Log Message:
Check whether the text+data+bss doesn't reach 0x6000 where secondary
bootloader should be.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/x68k/stand/boot_ufs/Makefile
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x68k/stand/boot_ufs/boot_ufs.ldscript
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/x68k/stand/boot_ustar/Makefile
cvs rdiff -u -r1.5 -r1.6 \
src/sys/arch/x68k/stand/boot_ustar/boot_ustar.ldscript
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 07:09:32 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: boot_ufs.ldscript
src/sys/arch/x68k/stand/xxboot: xxboot.ldscript

Log Message:
Make .bss follows .data to detect size restriction easier.
Previously, if text+data exceeds the restricted size, it will conflict
with manually fixed .bss area and ldscript makes it an error.
By this change, ASSERT() can detect it.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/boot_ufs/boot_ufs.ldscript
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 06:44:23 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: Makefile boot_ufs.ldscript
src/sys/arch/x68k/stand/boot_ustar: Makefile boot_ustar.ldscript
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot xxboot.ldscript

Log Message:
Use ASSERT() in ldscript to check first_kbyte (etc) restrictions,
rather than complicated shell expressions in Makefile.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/x68k/stand/boot_ufs/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/boot_ufs/boot_ufs.ldscript
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/x68k/stand/boot_ustar/Makefile
cvs rdiff -u -r1.4 -r1.5 \
src/sys/arch/x68k/stand/boot_ustar/boot_ustar.ldscript
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 06:34:30 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: Makefile boot.S
src/sys/arch/x68k/stand/boot_ustar: Makefile
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot boot.S

Log Message:
Change primary bootloader's load address from 0x0f to 0x003000.
- Moving addresses closer eliminates bunch of this linker errors:
in function `entry0':
relocation truncated to fit: R_68K_16 against `edata'+8000
:
- By this change, harmful -noinhibit-exec option can also be removed.
  Finally, we can break the builds when assemble error occurs!
- Load address of secondary is 0x6000, so that this change limits
  text+data+bss 12KB or less.  Current actual size is 5~7KB.
  I think it should be fine.
- cd9660 can have up to 30KB text+data in its bootarea.  Even in this
  case, this change limits text+data+bss 12KB or less (currently, it's
  about 6KB).  However, I take breaking the builds on errors rather than
  future size limitation.
There is no user visible changes or interface changes.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/x68k/stand/boot_ufs/Makefile
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x68k/stand/boot_ufs/boot.S
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/x68k/stand/boot_ustar/Makefile
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot \
src/sys/arch/x68k/stand/xxboot/boot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 06:03:03 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot: boot.ldscript
src/sys/arch/x68k/stand/boot_ufs: boot_ufs.ldscript
src/sys/arch/x68k/stand/boot_ustar: boot_ustar.ldscript
src/sys/arch/x68k/stand/xxboot: xxboot.ldscript

Log Message:
Remove commented out ALIGN() operation.
It looks unnecessary and has never been used.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x68k/stand/boot/boot.ldscript
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/boot_ufs/boot_ufs.ldscript
cvs rdiff -u -r1.3 -r1.4 \
src/sys/arch/x68k/stand/boot_ustar/boot_ustar.ldscript
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot_ustar

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 06:00:04 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ustar: boot_ustar.S

Log Message:
Check whether MPU >= 68020.
Because current secondary bootloader assumes that.
This will display a reasonable error message instead of "Error occurs,
please reset" (IPL message) when you try sysinst*.fs on X68000.

XXX secondary bootloader (/boot) should not assume mpu regardless of
whether primary bootloader has checked mpu. (?)


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x68k/stand/boot_ustar/boot_ustar.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 05:56:51 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: boot.S
src/sys/arch/x68k/stand/xxboot: boot.S

Log Message:
Typo in comment. s/availble/available/


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x68k/stand/boot_ufs/boot.S
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/xxboot/boot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 05:48:31 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: boot.S
src/sys/arch/x68k/stand/xxboot: boot.S

Log Message:
Add comment and figure of address map.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x68k/stand/boot_ufs/boot.S
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x68k/stand/xxboot/boot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 05:46:26 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot: Makefile
src/sys/arch/x68k/stand/boot_ufs: Makefile
src/sys/arch/x68k/stand/boot_ustar: Makefile
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot

Log Message:
Add 0x prefix when defining variables, not when using it.
This was necessary for bc(1) but it's no longer necessary.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/x68k/stand/boot/Makefile
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/x68k/stand/boot_ufs/Makefile
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/x68k/stand/boot_ustar/Makefile
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 05:41:49 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot: Makefile boot.ldscript
src/sys/arch/x68k/stand/boot_ufs: Makefile boot_ufs.ldscript
src/sys/arch/x68k/stand/boot_ustar: Makefile boot_ustar.ldscript
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot xxboot.ldscript

Log Message:
Pass address constants from Makefile to ldscript.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/x68k/stand/boot/Makefile
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/boot/boot.ldscript
cvs rdiff -u -r1.31 -r1.32 src/sys/arch/x68k/stand/boot_ufs/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/boot_ufs/boot_ufs.ldscript
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/x68k/stand/boot_ustar/Makefile
cvs rdiff -u -r1.2 -r1.3 \
src/sys/arch/x68k/stand/boot_ustar/boot_ustar.ldscript
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/xxboot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 05:07:34 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: boot.S version
src/sys/arch/x68k/stand/boot_ustar: boot_ustar.S version
src/sys/arch/x68k/stand/libiocs: iocscall.h
src/sys/arch/x68k/stand/xxboot: boot.S version

Log Message:
Initialize the screen in all primary bootloaders.
- Some IPL (or boot selector) don't do it, but current secondary bootloader
  expects the screen to be initialized to display logo.
  To keep messages (like version signature) displayed by primary bootloader,
  this initialization should be done early in all primary bootloaders.
- For boot_ustar.S, relocates some registers to save bootinfo (%d0).
- Bumps version.

Confirmed on X68030+060turbo and my X68030.  This problem was found on
X68030+060turbo at NetBSD booth in OSC 2011 Hiroshima (8+ years ago).


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x68k/stand/boot_ufs/boot.S
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/boot_ufs/version
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x68k/stand/boot_ustar/boot_ustar.S
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/boot_ustar/version
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/libiocs/iocscall.h
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/boot.S
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-17 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jan 18 04:42:29 UTC 2020

Added Files:
src/sys/arch/x68k/stand: README

Log Message:
Add a document about this directory.
Reviewed by tsutsui@ on port-x68k.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/arch/x68k/stand/README

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-16 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Thu Jan 16 13:37:27 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: boot.S
src/sys/arch/x68k/stand/boot_ustar: boot_ustar.S
src/sys/arch/x68k/stand/xxboot: boot.S

Log Message:
Use .org directive to fix disklabel location instead of hand calculation.
If the code size before disklabel is less, zero is filled automatically.
If the code size before disklabel is exceeded, assembler stops with error.
Note that this changes a padding word in the current output binary from
a NOP instruction to zero but there are no functional changes.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x68k/stand/boot_ufs/boot.S
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/boot_ustar/boot_ustar.S
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/boot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-16 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Thu Jan 16 13:15:47 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: Makefile
src/sys/arch/x68k/stand/boot_ustar: Makefile
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot

Log Message:
Rewrite limit check using cross-build tools.
This eliminates use of hosts tr(1) and bc(1).
(But I'm going to remove this again soon due to other reason)


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/x68k/stand/boot_ufs/Makefile
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/x68k/stand/boot_ustar/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2020-01-16 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Thu Jan 16 12:54:16 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot

Log Message:
Remove .else part of .if OBJECT_FMT == ELF.
All similar parts in other Makefiles are removed in 2010.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot_ufs

2020-01-13 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Tue Jan 14 04:00:41 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: boot.S boot_ufs.h

Log Message:
Clean up.
- B_KEYINP is no longer called from C.
- B_COLOR is no longer used.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x68k/stand/boot_ufs/boot.S
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/boot_ufs/boot_ufs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2020-01-13 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Tue Jan 14 03:48:10 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot: boot.c

Log Message:
consio_init() should be done before printf().


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/x68k/stand/boot/boot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-12 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Mon Jan 13 03:34:05 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: boot.S
src/sys/arch/x68k/stand/boot_ustar: boot_ustar.S
src/sys/arch/x68k/stand/xxboot: boot.S

Log Message:
Typo in comment.  s/LABELLOFFSET/LABELOFFSET/


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x68k/stand/boot_ufs/boot.S
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x68k/stand/boot_ustar/boot_ustar.S
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/boot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2020-01-12 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Jan 12 13:51:12 UTC 2020

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: version
src/sys/arch/x68k/stand/boot_ustar: version

Log Message:
Fix broken RCS NetBSD tag.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/boot_ufs/version
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/boot_ustar/version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/aout2hux

2019-01-26 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun Jan 27 05:06:35 UTC 2019

Modified Files:
src/sys/arch/x68k/stand/aout2hux: Makefile

Log Message:
fix duplicated chunk from merge


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/aout2hux/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2019-01-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jan  2 00:48:13 UTC 2019

Modified Files:
src/sys/arch/x68k/stand/boot: Makefile

Log Message:
use the right version of ELF2AOUT


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/x68k/stand/boot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2018-12-31 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Dec 31 19:25:46 UTC 2018

Modified Files:
src/sys/arch/x68k/stand/boot: Makefile boot.ldscript

Log Message:
use elf2aout for boot.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/x68k/stand/boot/Makefile
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x68k/stand/boot/boot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/loadbsd

2016-12-10 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Dec 10 14:06:44 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/loadbsd: Makefile

Log Message:
Fix comment. We do not use the a.out format anymore...


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/x68k/stand/loadbsd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/loadbsd

2016-12-10 Thread Rin Okuyama
Module Name:src
Committed By:   rin
Date:   Sat Dec 10 14:03:34 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/loadbsd: Makefile

Log Message:
Clear STRIPFLAG after include bsd.own.mk; it can be modified by mk.conf via
bsd.own.mk.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x68k/stand/loadbsd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2016-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 17 18:08:33 UTC 2016

Modified Files:
src/sys/arch/x68k/stand: Makefile.booters

Log Message:
Kill ssp


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/Makefile.booters

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2016-09-17 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Sep 17 17:18:14 UTC 2016

Modified Files:
src/sys/arch/x68k/stand: Makefile.booters

Log Message:
Kill the PIE


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x68k/stand/Makefile.booters

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2016-08-04 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Thu Aug  4 12:15:08 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/boot: boot.c

Log Message:
gets -> kgets. the last part of PR/51200.
It was using libsa's gets, so it's possible to change to kgets
as rev 1.23.  I've confirmed that it works.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/x68k/stand/boot/boot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2016-06-25 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Jun 26 04:17:18 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/boot: boot.c
src/sys/arch/x68k/stand/libsa: devopen.c libx68k.h

Log Message:
Add SCSI host adaptor selector to "boot" command of /boot.
By this function, /boot which booted from non-SCSI
(in other words, floppy) can load SCSI kernel.
Now, single /boot can load kernel of all supported filesystems
of all supported boot devices.

---
New "boot" command's syntax is: boot [hostadaptor@][dev:][file]

If you booted from SCSI, hostadaptor is already set (from IOCS)
and you can omit hostadaptor in this case.  You can type like
"boot sd0a:netbsd" as before.

If you booted from floppy (hostadaptor is not set) and want to
load the SCSI kernel (hostadaptor is needed), you have to select
your hostadaptor in boot command, like "boot spc0@sd0a:netbsd".


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/x68k/stand/boot/boot.c
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x68k/stand/libsa/devopen.c \
src/sys/arch/x68k/stand/libsa/libx68k.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2016-06-25 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jun 25 16:05:43 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/boot: boot.c

Log Message:
Fix my mistake of previous commit.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/x68k/stand/boot/boot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2016-06-25 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jun 25 14:35:59 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/boot: Makefile boot.c conf.c version
src/sys/arch/x68k/stand/boot_ustar: Makefile
src/sys/arch/x68k/stand/netboot: Makefile
Removed Files:
src/sys/arch/x68k/stand/netboot: conf.c version

Log Message:
Unify netboot and boot (into boot).
Now boot becomes to be able to load the NFS kernel and
netboot also becomes to be able to load the local kernel.
The only difference is the default kernel which loads.
I.e., netboot's default is nfs.

Bump boot_ustar's BOOT_MAXSIZE.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/x68k/stand/boot/Makefile \
src/sys/arch/x68k/stand/boot/boot.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x68k/stand/boot/conf.c
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/boot/version
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/x68k/stand/boot_ustar/Makefile
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x68k/stand/netboot/Makefile
cvs rdiff -u -r1.3 -r0 src/sys/arch/x68k/stand/netboot/conf.c
cvs rdiff -u -r1.2 -r0 src/sys/arch/x68k/stand/netboot/version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot_ustar

2016-06-24 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jun 25 04:08:57 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/boot_ustar: Makefile boot_ustar.S

Log Message:
Define BOOT_MAXSIZE instead of magic number.
Present size 56832 is 65536 - 8192 - 0x200 and is the same size
as before.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x68k/stand/boot_ustar/Makefile
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/boot_ustar/boot_ustar.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2016-06-19 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Jun 19 09:42:28 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/boot: boot.c

Log Message:
Display debug messages before loading the kernel.
It makes easy to read.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/x68k/stand/boot/boot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2016-06-19 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Jun 19 09:23:16 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/boot: boot.c

Log Message:
Split variable.
'dev' is the device number in devspec[] and
'bootdev' is the boot device parameter made from 'dev'.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/x68k/stand/boot/boot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2016-06-10 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Jun 11 06:57:46 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/boot: boot.c

Log Message:
Revert this one; I can't tell for sure if it's using libsa gets or its
own firmware one in ../libdos. If the latter, switching and bringing
in the libsa one (a) might not work and (b) might make the bootloader
overflow size limits.

PR 51200.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x68k/stand/boot/boot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2016-06-10 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sat Jun 11 06:50:21 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/boot: boot.c

Log Message:
PR 51200 gets in libsa considered harmful: use kgets


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/x68k/stand/boot/boot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libsa

2016-05-30 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Tue May 31 04:12:10 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/libsa: parseutils.c

Log Message:
PR 51194 David Binderman: simplify redundant conditional


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/libsa/parseutils.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2016-01-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jan 17 04:47:59 UTC 2016

Modified Files:
src/sys/arch/x68k/stand/boot: version
src/sys/arch/x68k/stand/libsa: Makefile
src/sys/arch/x68k/stand/netboot: version

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x68k/stand/boot/version
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/x68k/stand/libsa/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/netboot/version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot_ufs

2015-08-21 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Aug 21 15:33:04 UTC 2015

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: readufs.h readufs_lfs.c

Log Message:
fix build (dholland)


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x68k/stand/boot_ufs/readufs.h
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x68k/stand/boot_ufs/readufs_lfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot_ufs

2015-07-28 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Jul 28 16:51:25 UTC 2015

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: readufs_lfs.c

Log Message:
fix build


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x68k/stand/boot_ufs/readufs_lfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libsa

2015-07-24 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Jul 25 06:58:37 UTC 2015

Modified Files:
src/sys/arch/x68k/stand/libsa: Makefile

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/x68k/stand/libsa/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libsa

2014-11-20 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Nov 21 01:18:39 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/libsa: clock.c

Log Message:
put back missing paren.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/libsa/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libsa

2014-11-20 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Nov 20 15:48:05 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/libsa: clock.c

Log Message:
This now needs clock.h


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/libsa/clock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2014-08-08 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Fri Aug  8 15:19:51 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/boot: Makefile
src/sys/arch/x68k/stand/mboot: Makefile
src/sys/arch/x68k/stand/netboot: Makefile

Log Message:
Remove STRIP?=strip.
Falling back to the hosttool is not a good way now.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/arch/x68k/stand/boot/Makefile
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/x68k/stand/mboot/Makefile
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/netboot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2014-08-08 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Fri Aug  8 15:20:10 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/xxboot: Makefile.xxboot

Log Message:
Remove OBJCOPY?=objcopy.
Falling back to the hosttool is not a good way now.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/Makefile.xxboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2014-08-06 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Wed Aug  6 14:10:42 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/boot: Makefile
src/sys/arch/x68k/stand/netboot: Makefile

Log Message:
Remove unused variable.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/x68k/stand/boot/Makefile
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/netboot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2014-08-05 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Tue Aug  5 13:49:04 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/boot: Makefile boot.c
src/sys/arch/x68k/stand/netboot: Makefile
Added Files:
src/sys/arch/x68k/stand/boot: switch.c switch.h

Log Message:
Support a 'switch' command.
It displays/modifies some SRAM parameters on X680x0, like as
memswitch(1) or Human68k's SWITCH.X .
It makes easy to change the boot devices or correct the inconsistency
of SRAM/real memory size.

sample usage:
 > switch show .. show all supported parameters
 > switch boot=std .. set boot order to 'STD'
 > switch memory=12.. set memory size to 12MB


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x68k/stand/boot/Makefile
cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x68k/stand/boot/boot.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/x68k/stand/boot/switch.c \
src/sys/arch/x68k/stand/boot/switch.h
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/netboot/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2014-07-06 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jul  6 08:10:21 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/boot: boot.c

Log Message:
Probe the actual memory size and warn if it's different from SRAM value.

Without this, ancient X680x0 machines with a dead SRAM battery will
fail to boot silently (or hang right after early copyright messages).

Discussed with and reviewed by isaki@.

XXX: probably we should rather pass the probed memory size to a kernel
XXX: than the size value stored in SRAM..


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/x68k/stand/boot/boot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2014-07-05 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jul  6 06:28:50 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/boot: Makefile boot.c
src/sys/arch/x68k/stand/netboot: Makefile
Removed Files:
src/sys/arch/x68k/stand/netboot: boot.c

Log Message:
Merge and share boot.c between normal boot and netboot by dumb #ifdefs.

Tested on XM6i.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/sys/arch/x68k/stand/boot/Makefile
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/x68k/stand/boot/boot.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/netboot/Makefile
cvs rdiff -u -r1.3 -r0 src/sys/arch/x68k/stand/netboot/boot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2014-07-05 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jul  6 05:31:03 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/boot: boot.c
src/sys/arch/x68k/stand/netboot: boot.c

Log Message:
Reduce diffs to prepare to merge these files.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/x68k/stand/boot/boot.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/netboot/boot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot_ustar

2014-04-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Apr 16 14:33:43 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/boot_ustar: Makefile

Log Message:
Put back "-Wa,-march=m68000 -Wa,-mcpu=m68000" for AFLAGS for X68000 models.

See my post in source-changes-d@ for details.
http://mail-index.netbsd.org/source-changes-d/2014/04/15/msg006723.html

Also use "-m68000" for CFLAGS for consistency.
(the previous -m68020-60 was harmless because vers.c has
 only const strings and there is no instruction)


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/x68k/stand/boot_ustar/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot_ustar

2014-04-14 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Mon Apr 14 14:24:27 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/boot_ustar: Makefile

Log Message:
Remove -mc68000 asm option for GCC4.8 (or new binutils?).
With this option, new gcc complains that "boot_ustar.S:21: Error:
selected processor does not have all features of selected architecture".
I'm not sure about the essence of this error, but this option maybe
not needed because there is no need to consider about 68000 here.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/x68k/stand/boot_ustar/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libsa

2014-03-07 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Mar  8 03:20:24 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/libsa: fd.c

Log Message:
Unused variable, for GCC4.8.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x68k/stand/libsa/fd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2014-03-01 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Mar  2 06:16:27 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/boot: boot.ldscript

Log Message:
Discard .SUNW_ctf section just in case.
patch from martin@, see PR/48623.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/boot/boot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libiocs

2014-02-11 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Feb 11 08:10:10 UTC 2014

Removed Files:
src/sys/arch/x68k/stand/libiocs: scsi.h

Log Message:
Remove unused inline version of SCSI IOCS functions.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r0 src/sys/arch/x68k/stand/libiocs/scsi.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2014-02-11 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Tue Feb 11 08:06:07 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/libiocs: iocs.h
src/sys/arch/x68k/stand/libsa: sdcd.c

Log Message:
Specify default SCSI inquiry size (36 bytes) on IOCS_S_INQUIRY() command.

X680x0 SCSI IOCS stalls if SCSI device doesn't return inquiry data
of specified allocation length size on the INQUIRY command,
and it causes hangup on the XM6 based emulators that return only
upto 36 byte inquiry data on SCSI disk emulation.

Many real SCSI-2 hard drives seem to support >100 byte inquiry data,
but at least there is a harddisk that returns only supported inquiry
data size and quits transfer.

The bootloader checks only the device type and there is no reason
to read 100 bytes that includes vender specific data.

Analyzed and reported by GIMONS, a developer of XM6 TypeG emulator,
which also can run NetBSD/x68k.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x68k/stand/libiocs/iocs.h
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x68k/stand/libsa/sdcd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/loadbsd

2013-08-21 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Aug 21 08:17:34 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/loadbsd: Makefile

Log Message:
Use 


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x68k/stand/loadbsd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2013-08-12 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Aug 12 16:32:40 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/boot: boot.ldscript

Log Message:
Discard ELF unwind sections for the boot loader.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/boot/boot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot_ufs

2013-06-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jun 15 01:39:56 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: Makefile

Log Message:
revert previous


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/x68k/stand/boot_ufs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot_ufs

2013-06-14 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Jun 15 01:37:10 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: Makefile readufs.h readufs_lfs.c

Log Message:
adjust to the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to 
the lfs splitadjust to the lfs splitadjust to the lfs splitadjust to the lfs 
splitadjust to the lfs splitadjust to the lfs split


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/x68k/stand/boot_ufs/Makefile
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x68k/stand/boot_ufs/readufs.h
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x68k/stand/boot_ufs/readufs_lfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libdos

2013-05-25 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun May 26 05:52:13 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/libdos: Makefile

Log Message:
Fix failed substitution in 1.10 (christos@) and
revert 1.12 (christos@) which was necessary by broken 1.10.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x68k/stand/libdos/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libdos

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 16:04:37 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/libdos: Makefile

Log Message:
Add missing functions needed by loadbsd.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x68k/stand/libdos/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libiocs

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 16:00:17 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/libiocs: Makefile

Log Message:
fix more of the same kind of shortcut rule lossage


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x68k/stand/libiocs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 15:59:57 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/boot: boot.ldscript

Log Message:
discard debug sections that are not representable in the a.out object format.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/boot/boot.ldscript

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libdos

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 15:35:36 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/libdos: Makefile

Log Message:
fix progress printing.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x68k/stand/libdos/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libdos

2013-05-24 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri May 24 15:34:59 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/libdos: Makefile

Log Message:
Don't play tricks trying to shortcut source rules because it breaks MKDEBUGLIB.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/libdos/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/netboot

2013-01-13 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Jan 13 14:27:06 UTC 2013

Modified Files:
src/sys/arch/x68k/stand/netboot: conf.c

Log Message:
Remove unnecessary struct open_file files[] leftover.
It's in libsa/files.c.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/netboot/conf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libsa

2012-11-24 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sun Nov 25 04:07:00 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/libsa: putimage.S

Log Message:
Make the end of image address absolute-long.
It allows to locate the end of image higher than 0x1.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/x68k/stand/libsa/putimage.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libsa

2012-11-22 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Thu Nov 22 20:15:50 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/libsa: sdcd.c

Log Message:
Make sure to initialize partition offset in cdopen(),
i.e. fix an uninitialized auto variable which happened
to be zero on XM6i emulator.

Now cdboot also works on real X68030.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x68k/stand/libsa/sdcd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 19:10:47 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: bootmain.c version
src/sys/arch/x68k/stand/xxboot/cdboot_cd9660: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2: Makefile

Log Message:
Make xxboot for ufs variants actually functional:
- set bootdev properly even on SCSI HD and floppy boot
  per SDBOOT/FDBOOT/CDBOOT defines in each Makefile
- always print xxboot name and version
- use IOCS PRINT calls instead of printf to avoid size overflow in DEBUG case
- wrap debug stuff with #ifdef XXBOOT_DEBUG
- bump version to denote changes
Mostly taken from old boot_ufs.

XXX: xxboot_lfs[12] are untested.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/bootmain.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/version
cvs rdiff -u -r1.1 -r1.2 \
src/sys/arch/x68k/stand/xxboot/cdboot_cd9660/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 17:59:00 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2: Makefile

Log Message:
Fix previous; no need to echo dummy command.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 17:51:10 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2: Makefile

Log Message:
Appease warning "nbmake: ${TOUCHPROG} expands to empty string".


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 16:16:46 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: bootmain.c

Log Message:
Set *file for FS_OPS() pathname properly in devopen().
Now bootxx_ffsv1 (and other bootxx ufs variants) work properly.

XXX: cd9660_open() in sys/lib/libsa/cd9660.c seems to open a file in
 the first entry of root directory if specified path is empty.
 Not sure if it's intentional behavoir.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/bootmain.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 16:02:00 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: xx.c

Log Message:
- use declarations in 
- remove __P() and some KNF
- remove extern variable decl
- use uintNN_t type


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/xx.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 15:59:28 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: bootmain.c

Log Message:
- fix comments
- use proper uintNN_t types
- use ANSI function decls
- remove unnecessary function decl
- remove __P()
- misc KNF and cosmetics


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/bootmain.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




CVS commit: src/sys/arch/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 15:53:21 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: boot.S

Log Message:
Use a correct function name in .globl decl.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/boot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 15:50:13 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: boot.S

Log Message:
Pull fixes in comments from x68k/stand/boot_ufs/boot.S rev 1.9 and 1.10.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/boot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/bootlogo

2012-11-03 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Sat Nov  3 08:01:36 UTC 2012

Removed Files:
src/sys/arch/x68k/stand/bootlogo: MANIFEST netbsd.xpm setbootimg.c
xpm2bootimg.c

Log Message:
Remove x68k/stand/bootlogo/ directory.
It was a tool before the bootloader becomes multi-stage (>10 years ago),
and it does not work anymore today.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/sys/arch/x68k/stand/bootlogo/MANIFEST \
src/sys/arch/x68k/stand/bootlogo/netbsd.xpm
cvs rdiff -u -r1.4 -r0 src/sys/arch/x68k/stand/bootlogo/setbootimg.c
cvs rdiff -u -r1.5 -r0 src/sys/arch/x68k/stand/bootlogo/xpm2bootimg.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2012-11-01 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Thu Nov  1 14:46:26 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/boot: dp8390.c dp8390.h if_ne.c ne.c
src/sys/arch/x68k/stand/libsa: clock.c
src/sys/arch/x68k/stand/netboot: Makefile boot.c conf.c

Log Message:
Remove my local RCS IDs.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/boot/dp8390.c \
src/sys/arch/x68k/stand/boot/dp8390.h \
src/sys/arch/x68k/stand/boot/if_ne.c src/sys/arch/x68k/stand/boot/ne.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/libsa/clock.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/netboot/Makefile \
src/sys/arch/x68k/stand/netboot/boot.c \
src/sys/arch/x68k/stand/netboot/conf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot_ufs

2012-11-01 Thread Tetsuya Isaki
Module Name:src
Committed By:   isaki
Date:   Thu Nov  1 14:33:31 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/boot_ufs: boot.S

Log Message:
Fix typo in comment. s/d1/d0/


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/boot_ufs/boot.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/installboot

2012-10-14 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun Oct 14 16:20:04 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/installboot: installboot.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/installboot/installboot.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2012-10-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Oct 12 20:15:53 UTC 2012

Modified Files:
src/sys/arch/x68k/stand: Makefile
src/sys/arch/x68k/stand/boot: conf.c
src/sys/arch/x68k/stand/libsa: Makefile Makefile.inc devopen.c
libx68k.h
Added Files:
src/sys/arch/x68k/stand/boot: dp8390.c dp8390.h if_ne.c ne.c ne.h
src/sys/arch/x68k/stand/libsa: clock.c
src/sys/arch/x68k/stand/netboot: Makefile boot.c conf.c version

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x68k/stand/Makefile
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/boot/conf.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/x68k/stand/boot/dp8390.c \
src/sys/arch/x68k/stand/boot/dp8390.h \
src/sys/arch/x68k/stand/boot/if_ne.c src/sys/arch/x68k/stand/boot/ne.c \
src/sys/arch/x68k/stand/boot/ne.h
cvs rdiff -u -r1.28 -r1.29 src/sys/arch/x68k/stand/libsa/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/libsa/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/sys/arch/x68k/stand/libsa/clock.c
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/libsa/devopen.c \
src/sys/arch/x68k/stand/libsa/libx68k.h
cvs rdiff -u -r0 -r1.1 src/sys/arch/x68k/stand/netboot/Makefile \
src/sys/arch/x68k/stand/netboot/boot.c \
src/sys/arch/x68k/stand/netboot/conf.c \
src/sys/arch/x68k/stand/netboot/version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/boot

2012-10-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Oct 12 18:06:27 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/boot: version

Log Message:
Bump version to denote check_getchar() bug fix.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/x68k/stand/boot/version

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand/libsa

2012-10-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Oct 12 18:01:53 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/libsa: consio.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x68k/stand/libsa/consio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/x68k/stand

2012-10-12 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Fri Oct 12 17:06:48 UTC 2012

Modified Files:
src/sys/arch/x68k/stand: Makefile

Log Message:
Tweak SUBDIR build order and add comments about each dir.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x68k/stand/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



  1   2   >