summaryrefslogtreecommitdiffstats
path: root/sys/boot/alpha
Commit message (Collapse)AuthorAgeFilesLines
* Cut more than 500 bytes off the size of the alpha boot1 by addingiedowse2002-01-181-0/+10
| | | | | | | | | a simple version of bcopy() so we avoid picking up the overly-complex implementation in libc (via libstand). This is not necessary on -current, but RELENG_4 has apparently just exceeded the 15-sector limit for boot1. Reviewed by: wilko
* Make the alpha boot1 work on filesystems that have a block sizeiedowse2002-01-111-24/+41
| | | | | | | | | | | larger than 8k. We now use 4k buffers regardless of the filesystem block size, so there is no longer a static limit. Simply increasing the buffer size from 8k to 16k as done on the i386 doesn't work on the alpha, probably because it causes us to overshoot boot1's 48k runtime memory limit. Tested by: naddy
* Catch the netboot version up to the main loader. This is pretty bogus.jhb2002-01-111-0/+5
| | | | | | | | All the alpha loaders should use the same version file. Also, we might should merge the various loaders (cdboot, loader, netboot) into one loader that can boot off of disks, CD's, and network devices. The version bump is needed so the FICL scripts won't bomb out thinking that the netboot binary is too old.
* - Add 'fwrite' and 'fseek' words for writing to and seeking on files.jhb2001-12-112-0/+2
| | | | | | | | | | | | | - Change the 'fopen' keyword to accept a mode parameter. Note that this will break existing 4th scripts that use fopen. Thus, the loader version has been bumped and loader.4th has been changed to check for a sufficient version on i386 and alpha. Be sure that you either do a full world build or install or full build and install of sys/boot after this since loader.old won't work with the new 4th files and vice versa. PR: kern/32389 Submitted by: Jonathan Mini <mini@haikugeek.com> Sponsored by: ClickArray, Inc.
* Bump the CD boot loader up to 1.1 so that the FICL upgrade a while backjhb2001-11-211-0/+1
| | | | | will not fail thinking that the loader version is stale. This lets us use the Forth code on the CD now.
* Create backup copies using install(1).ru2001-09-121-3/+1
|
* Don't clobber the default for CFLAGS.bde2001-08-311-1/+1
| | | | Reviewed by: dfr
* Style cleanup.obrien2001-08-101-2/+2
|
* Work around what looks like a bad make(1) bug. For some reason,peter2001-06-161-5/+3
| | | | | | | | | | | | | | | | | | make(1) wants to build loader.sym *before* the .o files. Eliminating one seeminly intermediate step avoids the problem. Somehow, it seems that variables are not getting expanded at the right time. Any explanations would be appreciated... Changing: ${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o ${LD} ... To: BASEOBJS= ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o ${BASE}.sym: ${BASEOBJS} echo ${BASEOBJS} ${LD} ... .. the echo only shows LIBFICL, CRT and vers.o. ${OBJS} is not included.
* Nuke old gensetdefs based linker sets with extreme prejudicepeter2001-06-141-11/+2
|
* Revert the ugly band-aide[tm] hack of rev 1.12.obrien2001-05-291-6/+2
| | | | The offending loader.4th commit (rev 1.20) has been backed out.
* One needs to introduce things with a `.file' directive before trying toobrien2001-05-281-1/+2
| | | | | do a .loc on it. BTW, the .loc needs to be in a .text section. gas 2.11.0 catches these oversights where previous versions did not.
* grep -v offending lines from loader.4th until the master version of itobrien2001-05-281-2/+6
| | | | is fixed.
* Add the generated help files to CLEANDIRS.obrien2001-05-281-0/+1
| | | | Found by: rm -rf /usr/obj/usr/src/sys/boot ; make ; make clean ; cvs -q up
* no longer needed now that we are able to build cdboot from sources againgallatin2001-04-081-1554/+0
|
* build cdboot from sources now that the cd9660 fs support worksgallatin2001-04-071-5/+4
| | | | MFC candidate
* Don't call prom_open() multiple times. This confuses some versions of SRMdfr2001-04-051-8/+22
| | | | | | | and makes it impossible to boot from floppy and CD on some AlphaServer platforms. Detective work by: Michael Richards <michael@fastmail.ca>
* Fix whitespace.obrien2001-03-041-2/+2
|
* Preceed/preceeding are not english words. Use precede or preceding.asmodai2001-02-181-1/+1
|
* `cdboot' is broken as it cannot load a kernel.obrien2000-11-272-4/+1559
| | | | | | The release engineer keeps using the wrong /boot/cdboot when creating the ISO images. So we'll add the 4.0-RELEASE cdboot to the tree until someone bothers to fix the source so a working `cdboot' is built.
* init booted_kernel from environment kernelname (if there)mjacob2000-11-141-0/+6
|
* move init of booted_kernel to bootinfo.cmjacob2000-11-141-4/+2
|
* Backout revision 1.7 which was a bad idea since it would force peopledfr2000-10-271-1/+1
| | | | | | | | | | to reinstall boot1 after a 'make world'. Unfortunately this means that people who have already installed a new boot1 from a 'make world' after 2000/09/18 *must* reinstall it after their next build using something like: # disklabel -B /dev/da0c
* Install the loader manpages.obrien2000-10-261-1/+0
|
* Move the call to extend_heap() from main to start so that if our BSSdfr2000-10-252-3/+6
| | | | | | expands beyond the limit we will extend the address space before trying to zero the BSS. This should give us plenty of headroom for modest expansion of the loader.
* Don't build start.S as part of libalpha.a - its built specially.dfr2000-10-251-1/+1
|
* Make a few functions inline to save space.dfr2000-10-251-3/+3
|
* Steal 512KB more from system memory for heap instead of 256KB. We diedmjacob2000-09-181-9/+11
| | | | without the extra space. What a pity.
* Run SECONDARY_LOAD_ADDRESS down to 0x2000a000- this still leavesmjacob2000-09-181-1/+1
| | | | | (barely) enough room for boot1 and gives us 8KB more to play with in the loader.
* Make the stack 12K- we seem to need a bit more.mjacob2000-09-181-3/+3
| | | | | Rename 'stack' to 'stackbase' as this variable more correctly denotes what it is.
* Bump up version as a result of the recent changes to kernel path,dcs2000-09-101-0/+1
| | | | | | and boot-conf&boot semantic changes. Reminded by: peter (even though he doesn't know it)
* This is real released software, let people think that.obrien2000-09-031-0/+1
|
* Fix the more obvious warnings to deal with my earlier warning cleanups.jhb2000-08-033-11/+12
|
* Remove an unnecessary .PATH entry.jhb2000-07-211-1/+0
|
* Declare our DEC Alpha cdboot to be a fully released version 1.0.obrien2000-07-181-0/+1
|
* Always install loader.4th, defaults/loader.conf, and support.4th instead ofjhb2000-07-101-1/+1
| | | | | | | only doing so if loader.rc does not exist. This fixes the problem where installworld doesn't update /boot/loader.4th, resulting in device.hints not being loaded after updating past the config(8) changes, which resulted in mcclock0 not being probed, and a nice kernel panic during boot.
* Delay calling the device cleanup routines until the absolute lastps2000-06-141-0/+1
| | | | | | moment. We were cleaning up after PXE too early and the module dependancy code would not be able to load any files if it needed too.
* Bump loader version due to FICL (duh!) and copyin, copyout, setenv&cia.dcs2000-06-071-0/+2
|
* Record the new PALcode revision in the pcs structure after changing todfr2000-06-031-0/+2
| | | | | | run OSF/1 PALcode. Obtained from: NetBSD
* Remove INSTALL_FORTH stuff.dcs2000-05-191-1/+0
|
* Move man page directives to common/Makefile.inc.dcs2000-05-191-6/+0
| | | | Remove INSTALL_FORTH stuff.
* Install the bootforth config files for the Alpha too. loader.conf shouldpeter2000-05-122-0/+18
| | | | be functional now.
* Reactivate the FICL hooks to make it be compiled in, but also initializepeter2000-05-121-8/+8
| | | | | | | | | FICL. bootforth is now live on the Alpha! **BEWARE** - you *MUST* build and install a current libstand or you will most likely get zfree() panics at loader startup. We should now be able to set up the loader.conf stuff on the Alpha too.
* Fix the Alpha loader the rest of the way. If FICL is present inpeter2000-05-121-8/+8
| | | | | | | | | | | | | | | | | | | | /boot/loader (even though it is 100% dormant in the Alpha version), then the loader panics with a zfree error:Loading /boot/loader.test *** keyboard not plugged in... Console: SRM firmware console panic: zfree(0x2003cb58,4096): wild pointer versus the exact same code but without FICL linked in: Loading /boot/loader Console: SRM firmware console VMS PAL rev: 0x1000600010114 OSF PAL rev: 0x1000600020116 Switch to OSF PAL code succeeded. FreeBSD/alpha SRM disk boot, Revision 0.1 This is almost certainly an alpha infrastructure bug, not a FICL problem. It's probably the same thing that made FICL fail for no apparent reason on the Alpha.
* Teach the alpha loader install process to make backup copies of themsmith2000-05-061-2/+5
| | | | boot programs when installing new versions.
* Add $FreeBSD$peter2000-05-012-0/+2
|
* Update loader logic to distinguish modules vs. files.bp2000-05-013-32/+32
| | | | | | | Add support for module metadata. The old way of dependancy handling will be supported for a while. Reviewed by: peter
* Teach the loader about the ext2fs filesystem, extended partitions, andjlemon2000-04-292-1/+4
| | | | the new readdir function.
* Pass unit number to bcache_strategy(), so that the cache can bedcs2000-03-151-2/+3
| | | | | | | | | | flushed if the unit changes. Compute the absolute offset before bcache_strategy() instead of after. The actual fix is sligthly different for the one in the PR. PR: 17098 Submitted by: John Hood <jhood@sitaranetworks.com>
* Connect up the bootforth glue and compile it, but don't initialize itpeter1999-12-271-3/+13
| | | | | | at runtime as it has a nasty habit of crashing on the Alpha :-(. This is being done this way so we have a common starting point for debugging.
OpenPOWER on IntegriCloud