The NetBSD Project

CVS log for src/sys/arch/x68k/stand/xxboot/Makefile.xxboot

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / x68k / stand / xxboot

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 25 15:12:07 2022 UTC (9 months, 1 week ago) by mlelstv
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

libsa now needs ioctl to support media with large sectors. Provide
missing functions.

libsa defines files[] array itself, just reference it.
This also adds another global variable that tracks the root
filesystem module.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Feb 4 06:16:03 2022 UTC (11 months, 4 weeks ago) by isaki
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Add missing -m68020-60 option.  This makes xxboot_ustarfs work even on 68060.
Problem reported by Makoto Kamada.  Confirmed on XEiJ (68060 mode).

Revision 1.18 / (download) - annotate - [select for diffs], Sun Aug 16 06:43:43 2020 UTC (2 years, 5 months ago) by isaki
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.17: +11 -3 lines
Diff to previous 1.17 (colored)

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.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Aug 14 03:54:46 2020 UTC (2 years, 5 months ago) by isaki
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

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.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Aug 14 03:40:47 2020 UTC (2 years, 5 months ago) by isaki
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Fri Aug 14 03:29:23 2020 UTC (2 years, 5 months ago) by isaki
Branch: MAIN
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored)

Style fixes.  One entry per line for some parts.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Aug 14 03:25:39 2020 UTC (2 years, 5 months ago) by isaki
Branch: MAIN
Changes since 1.13: +11 -2 lines
Diff to previous 1.13 (colored)

- 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.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 10 07:00:49 2020 UTC (2 years, 5 months ago) by rin
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Make x68k/stand compile with GCC8. Tested with XEiJ.

Revision 1.4.14.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:58 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.4: +15 -56 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Merge changes from current as of 20200406

Revision 1.4.20.3 / (download) - annotate - [select for diffs], Sat Feb 29 20:18:33 2020 UTC (2 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.4.20.2: +2 -1 lines
Diff to previous 1.4.20.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jan 28 12:02:02 2020 UTC (3 years ago) by isaki
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

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.

Revision 1.4.20.2 / (download) - annotate - [select for diffs], Sat Jan 25 22:38:44 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.4.20.1: +14 -28 lines
Diff to previous 1.4.20.1 (colored) to branchpoint 1.4 (colored)

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Jan 18 07:25:12 2020 UTC (3 years ago) by isaki
Branch: MAIN
CVS Tags: ad-namecache-base2
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jan 18 06:44:23 2020 UTC (3 years ago) by isaki
Branch: MAIN
Changes since 1.9: +3 -20 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jan 18 06:34:30 2020 UTC (3 years ago) by isaki
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Change primary bootloader's load address from 0x0f0000 to 0x003000.
- Moving addresses closer eliminates bunch of this linker errors:
    in function `entry0':
    relocation truncated to fit: R_68K_16 against `edata'+ffffffffffff8000
    :
- 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.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jan 18 05:46:26 2020 UTC (3 years ago) by isaki
Branch: MAIN
Changes since 1.7: +12 -12 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jan 18 05:41:49 2020 UTC (3 years ago) by isaki
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

Pass address constants from Makefile to ldscript.

Revision 1.4.20.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:28 2020 UTC (3 years ago) by ad
Branch: ad-namecache
Changes since 1.4: +9 -37 lines
Diff to previous 1.4 (colored)

Sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 16 13:15:47 2020 UTC (3 years ago) by isaki
Branch: MAIN
CVS Tags: ad-namecache-base1
Changes since 1.5: +9 -11 lines
Diff to previous 1.5 (colored)

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)

Revision 1.5 / (download) - annotate - [select for diffs], Thu Jan 16 12:54:16 2020 UTC (3 years ago) by isaki
Branch: MAIN
Changes since 1.4: +1 -27 lines
Diff to previous 1.4 (colored)

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

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:49 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.1.4.1: +1 -5 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

update from HEAD

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:56 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.3: +2 -6 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.3.8.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:08 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.3: +2 -6 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.3.12.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:38 2017 UTC (5 years, 9 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.3: +2 -6 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with HEAD

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 8 19:53:23 2017 UTC (5 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Changes since 1.3: +2 -6 lines
Diff to previous 1.3 (colored)

centralize vers.c building for standalone programs.

Revision 1.1.4.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:29 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.1: +1 -2 lines
Diff to previous 1.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:10 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Rebase.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 8 15:20:10 2014 UTC (8 years, 5 months ago) by isaki
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, nick-nhusb, bouyer-socketcan
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

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

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:13 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1.2.2: +2 -2 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

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")

Revision 1.1.8.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:23 2013 UTC (9 years, 5 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) next main 1.2 (colored)

sync with head

Revision 1.2 / (download) - annotate - [select for diffs], Mon Aug 12 16:34:05 2013 UTC (9 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Build boot loaders without unwind tables.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Sun Nov 18 19:05:17 2012 UTC (10 years, 2 months ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.1.6.1: +116 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

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.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:03 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.1.2.1: +116 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored)

sync with head

Revision 1.1.6.1, Tue Mar 20 13:01:32 2012 UTC (10 years, 10 months ago) by riz
Branch: netbsd-6
Changes since 1.1: +0 -116 lines
FILE REMOVED

file Makefile.xxboot was added on branch netbsd-6 on 2012-11-18 19:05:17 +0000

Revision 1.1.2.1, Tue Mar 20 13:01:32 2012 UTC (10 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.1: +0 -116 lines
FILE REMOVED

file Makefile.xxboot was added on branch yamt-pagecache on 2012-04-17 00:07:03 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue Mar 20 13:01:32 2012 UTC (10 years, 10 months ago) by minoura
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet, netbsd-6

Initial support for xxboot (cdboot_cd9660, specifically).

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>