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


Default branch: MAIN


Revision 1.17.14.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:21 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync w/ HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jun 15 17:17:57 2021 UTC (2 years, 10 months ago) by tsutsui
Branch: 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, netbsd-10-base, 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
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Specify -fno-unwind-tables to shrink binary size.  Tested on nono.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:26 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.14: +5 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Sync with HEAD

Revision 1.17 / (download) - annotate - [select for diffs], Fri May 24 15:52:35 2019 UTC (4 years, 10 months ago) by tsutsui
Branch: 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-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
Changes since 1.16: +4 -2 lines
Diff to previous 1.16 (colored)

LUNA's firmware requires OMAGIC a.out.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:18 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.14.2.1: +2 -2 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Synch with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jan 2 00:50:02 2019 UTC (5 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, isaki-audio2-base, isaki-audio2
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

use the right version of ELF2AOUT

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:45 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Ssync with HEAD

Revision 1.15 / (download) - annotate - [select for diffs], Fri Sep 28 03:51:34 2018 UTC (5 years, 6 months ago) by isaki
Branch: MAIN
CVS Tags: pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Add missing link message.

Revision 1.9.6.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:23 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.9.6.3: +3 -7 lines
Diff to previous 1.9.6.3 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

update from HEAD

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Wed Nov 22 15:20:15 2017 UTC (6 years, 4 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

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) - annotate - [select for diffs], Sun Nov 12 08:24:37 2017 UTC (6 years, 5 months ago) by tsutsui
Branch: 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
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

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) - annotate - [select for diffs], Mon Aug 28 17:51:43 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.11.6.1: +2 -8 lines
Diff to previous 1.11.6.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:04 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.12: +2 -8 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:30 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.12: +2 -8 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Sat Apr 8 19:53:21 2017 UTC (7 years ago) by christos
Branch: 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
Changes since 1.12: +2 -8 lines
Diff to previous 1.12 (colored)

centralize vers.c building for standalone programs.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Sat Mar 19 11:30:01 2016 UTC (8 years ago) by skrll
Branch: nick-nhusb
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 17 04:40:10 2016 UTC (8 years, 3 months ago) by tsutsui
Branch: 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
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Enable LIBSA_CREAD_NOCRC.  PR/50638

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

Revision 1.9.6.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:10 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.9.6.2: +1 -2 lines
Diff to previous 1.9.6.2 (colored) to branchpoint 1.9 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:39:55 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.9.2.2: +3 -4 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (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.9.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:15 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.9: +2 -3 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 16 01:15:34 2014 UTC (10 years, 3 months ago) by christos
Branch: 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
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored)

eliminate use of bsd.sys.mk from Makefiles

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jan 10 11:12:03 2014 UTC (10 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Mon Feb 25 00:28:48 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.9.6.1: +98 -0 lines
Diff to previous 1.9.6.1 (colored) to branchpoint 1.9 (colored)

resync with head

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:52 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.9.2.1: +98 -0 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

sync with head

Revision 1.9.6.1, Tue Jan 22 15:48:40 2013 UTC (11 years, 2 months ago) by tls
Branch: tls-maxphys
Changes since 1.9: +0 -98 lines
FILE REMOVED

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 (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.9: +0 -98 lines
FILE REMOVED

file Makefile was added on branch yamt-pagecache on 2013-01-23 00:05:52 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jan 22 15:48:40 2013 UTC (11 years, 2 months ago) by tsutsui
Branch: 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
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Whitespace cleanup.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 21 11:58:12 2013 UTC (11 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Add support for "await key" to abort autoboot and get boot menu.
Also add command help.  Bump version.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Jan 20 02:35:13 2013 UTC (11 years, 2 months ago) by tsutsui
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

Specify text address via Makefile rather than hardcoding in boot.ldscript.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 16 15:15:01 2013 UTC (11 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.5: +4 -2 lines
Diff to previous 1.5 (colored)

Enable and add ls command for ufs.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jan 13 14:10:55 2013 UTC (11 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.4: +10 -3 lines
Diff to previous 1.4 (colored)

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) - annotate - [select for diffs], Thu Jan 10 15:51:32 2013 UTC (11 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

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) - annotate - [select for diffs], Thu Jan 10 13:10:26 2013 UTC (11 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.2: +3 -4 lines
Diff to previous 1.2 (colored)

Link the target boot binary as a.out directly rather than using elf2aout(1).
Confirmed working on LUNA-I.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jan 9 16:28:41 2013 UTC (11 years, 3 months ago) by tsutsui
Branch: MAIN
Changes since 1.1: +4 -2 lines
Diff to previous 1.1 (colored)

Make sure to print proper bootprog name in banner.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jan 5 17:44:24 2013 UTC (11 years, 3 months ago) by tsutsui
Branch: 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?)

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>