Commit Graph

46 Commits

Author SHA1 Message Date
mycroft 88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
pk b7feb4a35e Enable interrupts; some ROM versions apparently turn them off. 1995-12-13 23:35:18 +00:00
pk 0c031adc76 Not all v2 proms understand the `mac-address' word (from Theo). 1995-11-14 15:04:01 +00:00
pk c2cd05605d UFS => FFS conversion. 1995-11-08 09:09:20 +00:00
pk 54ec9fb697 Correct test for sun4 machines (thanks Chuck).
Since uname currently does not allow to discriminate different sparc
models, we use `sysctl.hw.cpumodel' to do this somewhat heuristicly:
if the returned strings starts with "SUN4-" a sun4 architecture is
assumed. This information is used to determine whether or not to strip
the a.out header off the 1st-stage bootblocks.
1995-11-07 11:45:24 +00:00
pk ce2afd8d64 Sync filesystem before running installboot. 1995-10-11 13:32:57 +00:00
pk 64a90cd0b0 Check input channel in gettick(); for `L1-A' processing. 1995-10-10 20:11:33 +00:00
pk ebe37d8041 We don't need `rem.o'. 1995-10-10 20:07:54 +00:00
pk 4dcb5917b8 Brr.. libkern.o is way too big for our bootxx.. 1995-10-09 23:25:54 +00:00
pk 48849279bf Script to assist installing second-stage boot programs. 1995-10-05 21:03:12 +00:00
pk 13dcbfbb29 Make this work with OBJ dirs. 1995-09-30 21:43:35 +00:00
pk 160b38697c Refer to installboot(8) 1995-09-30 21:33:30 +00:00
pk a029979ad3 Manual page for installboot(8). 1995-09-30 21:32:14 +00:00
pk 691b9f2bfa Avoid reading the filesystem superblock in bootxx; all info now prepared
by installboot (per Gordon Ross).
1995-09-27 09:03:13 +00:00
chuck b3ecc4c310 make sure devopen() sets pd->devtype properly when BOOTXX is defined
(should be DT_BLOCK).  otherwise the bootxx boot block will fail if
you are on a system with a v2 openprom [because it will not do the
v2_seek in obp_strategy()].    fixes the problem recently noted on
the port-sparc list by matthew green <mrg@eterna.com.au>.   i tested
fix on a ss2 with a v2 prom.
1995-09-26 20:07:53 +00:00
pk c030fa6ef2 Install in /usr/mdec 1995-09-18 23:33:42 +00:00
pk aa41c30406 Don't strip bootxx on installation. 1995-09-18 23:32:41 +00:00
pk 371dd67d56 sync filesystems just prior to writing the bootblocks to the raw device. 1995-09-18 22:36:19 +00:00
pk 974115eb54 Adapt to libsa changes & some other minor nits. 1995-09-18 21:31:44 +00:00
chuck 05f929580f read superblock into &sblock rather than LOADADDR. we can't read
into LOADADDR because it can't be mapped into DVMA space.   this fixes
a dvma panic on a sun4 boot from an xd disk.
1995-09-18 20:24:53 +00:00
chuck 24ba08adca Fixed RELOC's to be hex numbers (as expected) rather than decimal.
(e.g. s/340000/0x340000/).   Fixes DVMA panic on my sun-4/280 when
booted diskless.
1995-09-18 19:52:15 +00:00
pk a32163f292 Correct some prototypes. 1995-09-17 00:50:54 +00:00
pk f97c30e5fe Network booting; "oldmon" support; combine all functionality in single images.
Many thanks to Gordon Ross and Chuck Cranor for figuring out and testing
the old monitor (sun4) stuff.
1995-09-16 23:20:22 +00:00
pk f5252faa3b Include exec header in length computation. 1995-08-18 21:44:01 +00:00
pk 09ea33db05 Do away with ROM printf. 1995-06-26 23:45:06 +00:00
pk a50ba2b546 Adapt to new lib{sa,kern} regime. 1995-06-26 23:26:57 +00:00
pk 2321aeb62a Reserve arguments 2-4 for SunOS loaders; pass DDB stuff in args 5 and 6. 1995-06-25 23:26:21 +00:00
cgd 8f62c773e8 don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN 1995-06-18 14:45:14 +00:00
pk 39a8c80c65 Prototype internal function. 1995-05-16 15:28:01 +00:00
pk 530cf06fbb Adapt declaration to stand.h; PR #1036 1995-05-08 18:56:06 +00:00
mycroft a01e93cf4e Use the twiddle() from libsa. 1995-02-22 08:18:18 +00:00
pk e8880dceb9 Follow prototype changes in libsa. 1994-12-11 15:18:34 +00:00
pk fc1b40eef4 cosmetic change. 1994-12-06 10:39:40 +00:00
deraadt e7728e3080 support obj directory 1994-11-25 23:09:34 +00:00
deraadt f08d8394d7 putchar is void 1994-11-25 23:09:20 +00:00
deraadt 2bfe2ea770 round text segment to __LDPGSZ 1994-11-25 23:09:09 +00:00
deraadt 274a90762d copyright/Id cleanup 1994-11-20 20:51:32 +00:00
pk 1b07d18247 Keep those pointers moving. 1994-08-13 08:33:51 +00:00
pk 820532e4cf Remove bogus fsstat(). 1994-08-13 08:33:08 +00:00
pk cb1f841e18 Use PROM node properties to determine device type. 1994-07-30 14:22:11 +00:00
pk 94c3db28ba Make it work for V0 proms.
First cut at two stage bootstrap.
1994-07-20 20:47:02 +00:00
pk 7d2e12f330 Adapt to current libsa. 1994-07-01 10:46:55 +00:00
pk 4f785694ac DDB support 1994-03-20 09:13:37 +00:00
pk 4fb4e6a9ec bootblocks must be stripped. 1994-02-27 18:28:20 +00:00
pk 188f08ecf9 A one liner for now. 1994-02-26 11:04:02 +00:00
pk 196acb6c78 Sparc bootblocks (a tight fit) 1994-02-26 10:57:09 +00:00