summaryrefslogtreecommitdiffstats
path: root/sys/boot/powerpc
Commit message (Collapse)AuthorAgeFilesLines
...
* style(9) commit.marcel2008-02-231-211/+218
|
* Setup the new bootinfo structure.marcel2008-02-231-36/+99
| | | | While here, make local function static and update copyright.
* o Keep running on U-Boot's stack.marcel2008-02-231-21/+23
| | | | | | | | | | o Disable interrupts while not running U-Boot code. We clobber registers that the U-Boot interrupt handlers assume to be fixed as per the U-Boot register usage. At this time this only applies to r14. U-Boot uses r2 now for what they used r29 for. After we restore r14 in preparation of doing the syscall, we re-enable interrupts. When we return from the syscall, we disable interrupts and restore the callee-saved r14.
* The NFS file system support is conditional upon LOADER_NFS_SUPPORT,marcel2008-02-231-1/+1
| | | | not LOADER_NET_SUPPORT.
* We build ficl and libofw with -msoft-float. Build the loadermarcel2008-02-231-1/+1
| | | | with -msoft-float too.
* Move the $FreeBSD$ tag in a comment as __FBSDID doesn't work.marcel2008-02-171-3/+2
|
* MFp4 (e500):marcel2008-02-167-0/+817
| | | | | | | Add support for U-Boot. This uses the U-Boot API as developed by Rafal and which is (will be) part of U-Boot 1.3.2 and later. Credits to: raj@
* Clean up PowerPC loader(8) build config.raj2008-02-112-2/+2
| | | | | | | | | | Turn off TFTP support by default: when both TFTP and NFS are enabled in the loader, strange interactions occur in the pure netbooting scenario (i.e. loader is TFTP-ed, kernel+world mounted over NFS), leading to very slow access to the NFS-exported files. Reviewed by: grehan Approved by: cognet (mentor)
* "FreeBSD/Open Firmware/PowerPC ..." is confusing and non-standard.marcel2007-12-261-1/+1
| | | | Use "FreeBSD/powerpc Open Firmware ..." instead.
* Remove file after being repocopied to ../ofw, where it lives on.marcel2007-12-177-749/+0
| | | | Repocopy by: simon@
* Build the OFW loader from its new location after the sourcesmarcel2007-12-171-1/+1
| | | | were repocopied from ./loader to ./ofw.
* Remove more Alpha bits from the boot code including fixing severaljhb2006-05-122-2/+2
| | | | stale comments.
* Reimplementation of world/kernel build options. For details, see:ru2006-03-172-2/+6
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* Add loader(8) variables for RB_DFLTROOT, RB_MUTE, and RB_PAUSE:ru2005-09-222-4/+16
| | | | "boot_dfltroot", "boot_mute", and "boot_pause" respectively.
* Start each of the license/copyright comments with /*-imp2005-01-052-2/+2
|
* NOFORTH -> NO_FORTHru2004-12-212-2/+2
|
* Remove the last vestiges of the userconfig option. None of this actuallyscottl2004-12-012-8/+0
| | | | did anything, so this commit should be considered a NO-OP.
* Remove NOMAN so loader man pages are installed.grehan2004-08-182-2/+0
| | | | Noticed by: ru
* Instead of "OpenFirmware", "openfirmware", etc. use the official spellingmarius2004-08-162-4/+4
| | | | | | "Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended). Ok'ed by: tmm
* Add PowerPC bridge instruction flag to the assembler to help outgrehan2004-08-022-0/+6
| | | | with test code written in the loader.
* Use a linker script for the loader. This avoids issues withgrehan2004-07-084-4/+284
| | | | | | command-line options, such as misaligning the data segment. Exposed by the limited PearPC OFW ELF loader, but a good thing in general.
* Remove cache flush, 256Mb 1:1 BAT mapping, and BAT clearing. This doesn'tgrehan2004-07-082-90/+0
| | | | | | | work on a G5 (no BAT registers) or on PearPC (dBAT3 used for mapping the framebuffer and BATs not re-inited on OpenFirmware calls). It also hid a number of bugs.
* Loader makefile cleanup.grehan2004-02-092-92/+38
| | | | Submitted by: ru
* Convert to __FBSDID.obrien2004-01-046-10/+18
|
* Update libstand filesystems to be in-line with tier-1 platforms.grehan2003-12-102-12/+28
|
* - Bring Makefile up to rev with sparc64 in terms of config options and rulesgrehan2003-12-102-106/+130
| | | | | | - Move loader relocation up to 0x1C00000. This is in line with OSX bootx, and allows more space for boot-time modules/ramdisks without conflicting with OpenFirmware's use of RAM
* FICL doesn't build on PowerPC yet, so disable.obrien2003-08-162-20/+20
|
* Fix asm string newlines to keep gcc3.3 happy. Use register prefixesgrehan2003-08-052-108/+108
| | | | to make the asm a bit more readable.
* Also look for an "elf64 kernel" (for sparc64) and "elf32 kernel" (forpeter2003-04-302-2/+6
| | | | powerpc) when building metadata.
* Renamed the loader's zipfs to gzipfs. zipfs.c was repo-copied to gzipfs.c.jake2002-12-192-2/+2
|
* Change the device path representation in libofw to use the full firmwarejake2002-11-102-20/+6
| | | | | | | | | path, instead of an internal i386 specific one. Don't try to interpret a disklabel in ofw_disk.c, open the partition's device node directly and let the firmware do it. This fixes booting from a partition other than 'a' on sparc64, which is needed to support more installation methods. No objection: ppc
* Add support for passing metadata.benno2002-07-104-2/+644
|
* Uncomment some bits that we now need.benno2002-06-072-12/+12
|
* -ffreestanding is the word.obrien2002-05-102-2/+2
| | | | | (also resort some CFLAGS such that the more "important" value are first so they are easier to see)
* Mega-patch for OpenFirmware loader support.benno2001-10-076-12/+36
| | | | | | | | | | | | | - Flesh out ofw_readin routine. - Add OpenFirmware load and exec routines. - Make sure memory allocation for the kernel is done correctly. - Change the way the heap is allocated so as to make it easier to deallocate when we hand over. - Add a command to print memory maps similar to the one for ia64. With this patch, I can now load and hand over to a kernel on my iMac. There are some problems with OpenFirmware routines failing after the hand over that still need to be addressed.
* Create backup copies using install(1).ru2001-09-122-6/+2
|
* Remove -DNEW_LINKERSET, it is not used here anymore. This is now native.peter2001-06-212-6/+0
|
* Nuke old gensetdefs based linker sets with extreme prejudicepeter2001-06-142-22/+4
|
* MAN[1-9] -> MAN.ru2001-03-272-2/+0
|
* OpenFirmware/PowerPC loader, part 2.benno2000-11-106-64/+282
| | | | | | | | | | As of this patchset, the loader builds (under NetBSD/macppc), boots, interacts and talks to BOOTP/NFS servers. (main.c was moved from boot/ofw/libofw to boot/ofw/common but has no revision history) Reviewed by: obrien
* Convert from the Alpha compontents to PowerPC ones.obrien2000-10-162-28/+36
|
* "Ok, my loader's now up to putting up a prompt. It probes disks partiallyobrien2000-10-167-0/+251
| | | | | | | | but can't boot from them yet." Thanks to Stephane Potvin for the some of the code in this set. Submitted by: Benno Rice <benno@jeamland.net>
* Update loader logic to distinguish modules vs. files.bp2000-05-012-4/+4
| | | | | | | 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-0/+6
| | | | the new readdir function.
* Add more missing files from the reorganisation.msmith1999-09-072-0/+198
Submitted by: dfr
OpenPOWER on IntegriCloud