The NetBSD Project

CVS log for src/sys/arch/luna68k/stand/boot/Makefile

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / luna68k / stand / boot

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.17.14.1: download - view: text, markup, annotated - select for diffs
Thu Jun 17 04:46:21 2021 UTC (3 years, 9 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +2 -2 lines
Sync w/ HEAD.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jun 15 17:17:57 2021 UTC (3 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Specify -fno-unwind-tables to shrink binary size.  Tested on nono.

Revision 1.14.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:26 2019 UTC (5 years, 9 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +5 -2 lines
Sync with HEAD

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri May 24 15:52:35 2019 UTC (5 years, 9 months ago) by tsutsui
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, 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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -2 lines
LUNA's firmware requires OMAGIC a.out.

Revision 1.14.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:50:18 2019 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.14.2.1: preferred, colored; branchpoint 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14.2.1: +2 -2 lines
Synch with HEAD

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Jan 2 00:50:02 2019 UTC (6 years, 2 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, isaki-audio2-base, isaki-audio2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -2 lines
use the right version of ELF2AOUT

Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:45 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
Ssync with HEAD

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Sep 28 03:51:34 2018 UTC (6 years, 5 months ago) by isaki
Branches: MAIN
CVS tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
Add missing link message.

Revision 1.9.6.4: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:23 2017 UTC (7 years, 3 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.9.6.3: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.6.3: +3 -7 lines
update from HEAD

Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Wed Nov 22 15:20:15 2017 UTC (7 years, 3 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +2 -1 lines
Pull up following revision(s) (requested by tsutsui in ticket #376):
	sys/arch/luna68k/stand/boot/Makefile: revision 1.14
Explicitly set NOPIE.  GOT seems problematic on elf2aout(1) conversion.
Fixes silent hangup of luna68k boot.
Should be pulled up to netbsd-8.
Current bsd.own.mk sets NOPIE in case of BINDIR=/usr/mdec for standalone
programs and in luna68k case it's defined in ../Makefile.inc.
However, many bootloader Makefiles include bsd.own.mk first to override
CFLAGS etc. and Makefile.inc is not included (so BINDIR is not set) yet
at the point.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Nov 12 08:24:37 2017 UTC (7 years, 4 months ago) by tsutsui
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, 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
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
Explicitly set NOPIE.  GOT seems problematic on elf2aout(1) conversion.

Fixes silent hangup of luna68k boot.
Should be pulled up to netbsd-8.

Current bsd.own.mk sets NOPIE in case of BINDIR=/usr/mdec for standalone
programs and in luna68k case it's defined in ../Makefile.inc.
However, many bootloader Makefiles include bsd.own.mk first to override
CFLAGS etc. and Makefile.inc is not included (so BINDIR is not set) yet
at the point.

Revision 1.11.6.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:43 2017 UTC (7 years, 6 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.11.6.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.6.1: +2 -8 lines
Sync with HEAD

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:04 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +2 -8 lines
Sync with HEAD

Revision 1.12.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:30 2017 UTC (7 years, 11 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +2 -8 lines
Sync with HEAD

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Apr 8 19:53:21 2017 UTC (7 years, 11 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -8 lines
centralize vers.c building for standalone programs.

Revision 1.11.6.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:01 2016 UTC (9 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
Sync with HEAD

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Jan 17 04:40:10 2016 UTC (9 years, 2 months ago) by tsutsui
Branches: MAIN
CVS tags: 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, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -1 lines
Enable LIBSA_CREAD_NOCRC.  PR/50638

Also bump version to denote user visible change.
Tested on LUNA-II.

Revision 1.9.6.3: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:10 2014 UTC (10 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.9.6.2: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.6.2: +1 -2 lines
Rebase to HEAD as of a few days ago.

Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:55 2014 UTC (10 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.9.2.2: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.2: +3 -4 lines
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.9.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:15 2014 UTC (10 years, 10 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +2 -3 lines
sync with head

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jan 16 01:15:34 2014 UTC (11 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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
Branch point for: nick-nhusb
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -2 lines
eliminate use of bsd.sys.mk from Makefiles

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Jan 10 11:12:03 2014 UTC (11 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
Reorgenize boot device configuration.  The idea is taken from OpenBSD/luna88k.

- remove kernel-like autoconfiguration to probe bootable devices
- initialize SCSI and Ethernet controllers statically instead
- reorganize device softc structures per autoconf removal
- probe and print all SCSI disks (but don't assign unit numbers)
- make sdopen() to recheck the device and allocate softc dynamically
- use controller number and SCSI target ID (ctlr * 10 + id) to specify
  the boot disk on the "boot" command arg
- bump version to denote changes

Now bootloader works as the following:
---
>> NetBSD/luna68k boot, Revision 1.8 (Wed Jan  8 22:13:12 JST 2014)
>> (based on Stinger ver 0.0 [Phase-31])

Machine model   = LUNA-II
Physical Memory = 0x4000000  (64 MB)

sc0 at 0xe1000000: async, parity, ID 7
 ID 3: TEAC FC-1     HGF  10 rev , 512 bytes/sect x 2879 sectors
 ID 6: IBM DPES-31080 rev S31Q, 512 bytes/sect x 2118143 sectors
sc1 at 0xe1000040: async, parity, ID 7
 ID 6: MELCO DSC-G rev 1.00, 512 bytes/sect x 62533295 sectors
le0: Am7990 LANCE Ethernet, mem at 0x71010000
le0: Ethernet address = 00:00:0a:03:42:77

Press return to boot now, any other key for boot menu
booting sd(16,0)netbsd - starting in 0 seconds.
auto-boot sd(16,0)netbsd
1911696+96040 [280480+159179]=0x255a30
 :

Revision 1.9.6.2: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:48 2013 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.9.6.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.6.1: +98 -0 lines
resync with head

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:05:52 2013 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.1: +98 -0 lines
sync with head

Revision 1.9.6.1
Tue Jan 22 15:48:40 2013 UTC (12 years, 1 month ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.9: +0 -98 lines
file Makefile was added on branch tls-maxphys on 2013-02-25 00:28:48 +0000

Revision 1.9.2.1
Tue Jan 22 15:48:40 2013 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.9: +0 -98 lines
file Makefile was added on branch yamt-pagecache on 2013-01-23 00:05:52 +0000

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Jan 22 15:48:40 2013 UTC (12 years, 1 month ago) by tsutsui
Branches: MAIN
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Whitespace cleanup.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jan 21 11:58:12 2013 UTC (12 years, 2 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base8
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
Add support for "await key" to abort autoboot and get boot menu.
Also add command help.  Bump version.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jan 20 02:35:13 2013 UTC (12 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2 lines
Specify text address via Makefile rather than hardcoding in boot.ldscript.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jan 16 15:15:01 2013 UTC (12 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -2 lines
Enable and add ls command for ufs.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jan 13 14:10:55 2013 UTC (12 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +10 -3 lines
Add netboot support.
Based on ews4800mips, mvme68k, and x68k standalone drivers.
Also bump version.

Tested on LUNA-I.

XXX: We really need proper documents about libsa APIs.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jan 10 15:51:32 2013 UTC (12 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -3 lines
Revert to using elf2aout(1) to build a.out binary.
a.out binary linked by ldscript doesn't work on some uncertain conditions.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Jan 10 13:10:26 2013 UTC (12 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -4 lines
Link the target boot binary as a.out directly rather than using elf2aout(1).
Confirmed working on LUNA-I.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 16:28:41 2013 UTC (12 years, 2 months ago) by tsutsui
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -2 lines
Make sure to print proper bootprog name in banner.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Jan 5 17:44:24 2013 UTC (12 years, 2 months ago) by tsutsui
Branches: MAIN
First cut at NetBSD/luna68k native bootloader.

Based on 4.4BSD-Lite2/luna68k "Stinger" loader revision "Phase-31"
 http://svnweb.freebsd.org/csrg/sys/luna68k/stand/
and MI libsa glue stuff are taken from hp300 etc.

Tested on LUNA-I and old DK315C SCSI disk drive.

LUNA's monitor PROM can load only an a.out binary in 4.3BSD FFS partition
(i.e. created by "newfs -O 0") on disks with OMRON's UniOS disklabel,
but now we can load an ELF kernel in root partition via this bootloader.
(See luna68k/disksubr.c for details of UniOS label)

TODO:
 - LUNA-II support (check 68040 to adjust cpuspeed for DELAY())
 - secondary SCSI support for LUNA-II
 - netboot via le(4) (should be trivial)
 - support boot options on bootloader prompt
 - bootinfo (passing info about booted device and kernel symbols)
 - support "press return to boot now, any other key for boot menu" method
   like x86 bootloader (needs cnscan() like functions)
 - tapeboot (anyone wants it?)

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>