summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
* MFp4: differences for bwct ethernet attachmentimp2006-12-202-3/+13
|
* MFp4: Differences in flash part for bwct. need a more generic way to cope.imp2006-12-202-0/+35
|
* MFp4: Add timeout to eeprom access for lame eeprom that go awolimp2006-12-202-4/+8
|
* MFp4: bwct memory size and PLL parametersimp2006-12-201-0/+8
|
* MFp4: bwct boot rom is different. need a more generic way to cope long term.imp2006-12-201-0/+4
|
* MFp4: Delay a second or two after the upload before printing Done.imp2006-12-201-2/+6
| | | | Add an automatic reset for remote operational luvin' goodness.
* MFp4: bwct is a new board choice.imp2006-12-201-1/+1
|
* add an interface for passing the entire kernel size up front to thekmacy2006-12-182-1/+52
| | | | | loader so that it can memory can be allocated aligned at the beginning of the desired large page
* Add an entry for the msk(4) module.yongari2006-12-131-0/+1
|
* Ignore any breakpoint instructions (int 3) we encounter in vm86 modejhb2006-12-061-0/+2
| | | | | | | | rather than treating them as a fatal exception and halting. At least one storage BIOS (some newer mpt(4) parts) have a breakpoint instruction in their disk read routine. MFC after: 3 days
* Note that not all architectures use sendfile(2) buffers;yar2006-11-291-1/+4
| | | | | | refer to the respective manpage for details. MFC after: 3 days
* remove CDDL derive hcall.Skmacy2006-11-231-986/+0
|
* Remove LDR_LOG2_PGSZ, ia64_pgtbl and ia64_pgtblsz. They are part ofmarcel2006-11-192-8/+0
| | | | a WIP and not used yet.
* Remove an unused variable.ru2006-11-161-2/+1
|
* Mfp4: Remove mci_device.c. It should have been removed when it wasimp2006-11-161-575/+0
| | | | merged ito sd-card.c, but this is an imperfect world.
* Move to using a common arm_init.S. These things are more similar thanimp2006-11-168-248/+26
| | | | different at this point.
* MFp4: Don't fix the size at 8k, and some minor cleanups. andre@ contributedimp2006-11-161-4/+11
| | | | to fixing this problem.
* MFp4: Improvements, including the ability to download to an arbitraryimp2006-11-161-5/+8
| | | | part of the spi flash.
* Tweaks for better boot flavor support.imp2006-11-161-5/+2
|
* Mfp4: We no longer need ee.h included here.imp2006-11-161-1/+0
|
* MFp4: boot2 should now buildimp2006-11-092-1/+3
|
* MFp4: boot on KB9202 correctly. Also, reduce the size of the SD/MMC driverimp2006-11-0915-163/+331
| | | | somewhat.
* MFp4: Support KB9202 booting betterimp2006-11-091-0/+4
|
* Fix typoimp2006-11-091-1/+1
|
* MFp4: Make boot2 work on Kwikbyte KB9202 boards.imp2006-11-094-10/+67
|
* MFp4: Merge a slightly more generic build infrastructure.imp2006-11-091-6/+8
|
* MFp4: Remove bogus \rimp2006-11-091-2/+2
|
* Add a stub of bios_addsmapdata(). PC98 does not have BIOS SMAP.nyan2006-11-091-0/+38
|
* MFi386: revisions from 1.39 to 1.43.nyan2006-11-091-58/+50
|
* Major rework of the ia64 loaders. The two primary objectives are:marcel2006-11-0539-2798/+1269
| | | | | | | | | | | | | | 1. Make libefi portable by removing ia64 specific code and build it on i386 and amd64 by default to prevent regressions. These changes include fixes and improvements over previous code to establish or improve APIs where none existed or when the amount of kluging was unacceptably high. 2. Increase the amount of sharing between the efi and ski loaders to improve maintainability of the loaders and simplify making changes to the loader-kernel handshaking in the future. The version of the efi and ski loaders are now both changed to 1.2 as user visible improvements and changes have been made.
* Make this compile on EFI32. The EFI_PHYSICAL_ADDRESS type is alwaysmarcel2006-11-031-1/+1
| | | | 64-bit, even when sizeof(void *) is 32-bit.
* Properly calculate the checksum of the APIC table.marcel2006-11-031-1/+2
|
* Unbreak compile with ELF_VERBOSE defined, and fix format warnings.ru2006-11-021-3/+4
|
* Revert the last change. Masking only 2 MSBs of the virtual addressru2006-11-025-10/+10
| | | | | | | | | | | | | to get the physical address doesn't work for all values of KVA_PAGES, while masking 8 MSBs works for all values of KVA_PAGES that are multiple of 4 for non-PAE and 8 for PAE. (This leaves us limited with 12MB for non-PAE kernels and 14MB for PAE kernels.) To get things right, we'd need to subtract the KERNBASE from the virtual address (but KERNBASE is not easy to figure out from here), or have physical addresses set properly in the ELF headers. Discussed with: jhb
* Sync the EFI headers with version 1.10.14.62 of the Intel sample EFImarcel2006-11-0220-647/+1255
| | | | | implementation. This re-introduces C99 style comments that previously were replaced by original C comments.
* Extend struct devdesc with a unit field, called d_unit. Promote themarcel2006-11-0219-70/+58
| | | | | | | | | device (kind) specific unit field to the common field. This change allows a future version of libefi to work without requiring anything more than what is defined in struct devdesc and as such makes it possible to compile said version of libefi for different platforms without requiring that those platforms have identical derivatives of struct devdesc.
* Don't unconditionally compile-in the bcache code. It's only used onmarcel2006-11-027-18/+10
| | | | | i386/amd64 and pc98. Remove useless calls to bcache_init() from the ia64 and sparc64 loaders, as well as from the OFW common code.
* o Make sure to clear f->f_devdata if d_dev->dv_open() fails. Itmarcel2006-11-021-13/+18
| | | | | would otherwise cause devclose() to free() the memory again. o Refactor devopen() so that it's more readable.
* Because the BTX mini-kernel now uses flat memory mode and clientsru2006-10-295-10/+10
| | | | | | | | | | | | | | | | are no longer limited to a virtual address space of 16 megabytes, only mask high two bits of a virtual address. This allows to load larger kernels (up to 1 gigabyte). Not masking addresses at all was a bad idea on machines with less than >3G of memory -- kernels are linked at 0xc0xxxxxx, and that would attempt to load a kernel at above 3G. By masking only two highest bits we stay within the safe limits while still allowing to boot larger kernels. (This is a safer reimplmentation of sys/boot/i386/boot2/boot.2.c rev. 1.71.) Prodded by: jhb Tested by: nyan (pc98)
* Adopt comments borrowed from aout_freebsd.c.ru2006-10-262-2/+2
|
* Restore support for -c and -d that were treacherously murdered inru2006-10-262-4/+8
| | | | | | | rev. 1.58. (This only costs us four bytes.) Prodded by: bde MFC after: 3 days
* Back out rev. 1.71 as it breaks directly loading (i386) kernels.ru2006-10-262-6/+6
| | | | | | OK'ed by: jhb PR: i386/96430, i386/104709 MFC after: 3 days
* Don't descend into at91 until we sort out the boot loader issues more generallyimp2006-10-231-1/+1
|
* MFp4: default to not loading the fpgaimp2006-10-215-5/+170
|
* MFp4: Update to smaller code footprint.imp2006-10-215-17/+67
|
* MFp4: Move to smaller code footprint.imp2006-10-212-20/+20
|
* MFp4: Move to smaller code. This was somehow forgotten before.imp2006-10-211-5/+5
|
* There's no fpga.c, so omit it.imp2006-10-201-1/+1
|
* MFp4:imp2006-10-2025-1058/+1165
| | | | | | | | Massive update. The highlights: o dramatically cut memory usage by writing better, less intertwingled code. o implement booting off mmc/sd cards (sd only tested one at the moment) o start to split out board specific stuff for boot2.
* Replace a rarely used "depuration" with "debugging".ru2006-10-133-3/+3
| | | | | | PR: docs/85127 Submitted by: Gary W. Swearingen (partially) MFC after: 3 days
OpenPOWER on IntegriCloud