summaryrefslogtreecommitdiffstats
path: root/sys/boot/powerpc
Commit message (Collapse)AuthorAgeFilesLines
* Merge binutils 2.17.50 to head. This brings a number of improvements todim2011-02-182-0/+2
|\ | | | | | | | | | | | | | | | | x86 CPU support, better support for powerpc64, some new directives, and many other things. Bump __FreeBSD_version, and add a note to UPDATING. Thanks to the many people that have helped to test this. Obtained from: projects/binutils-2.17
| * Sync: merge r215396 through r215463 from ^/head.dim2010-11-181-1/+14
| |
* | Don't need __DYNAMIC here. it is commented out and a.out only -- these are ↵imp2011-01-202-4/+0
| | | | | | | | all ELF.
* | Import support for the Sony Playstation 3 using the OtherOS featurenwhitehorn2011-01-0617-1/+2364
| | | | | | | | | | | | | | | | | | | | | | | | available on firmwares 3.15 and earlier. Caveats: Support for the internal SATA controller is currently missing, as is support for framebuffer resolutions other than 720x480. These deficiencies will be remedied soon. Special thanks to Peter Grehan for providing the hardware that made this port possible, and thanks to Geoff Levand of Sony Computer Entertainment for advice on the LV1 hypervisor.
* | Revert r215435. We need to figure out the exact value to be loaded.andreast2010-11-171-1/+1
| | | | | | | | Approved by: nwhitehorn (mentor)
* | Make sure the .bss is cleared at the beginning. The pSeries OF ELF loader doesandreast2010-11-171-1/+14
| | | | | | | | | | | | not clear .bss automatically. Approved by: nwhitehorn (mentor)
* | Load the full 16k stack space.andreast2010-11-171-1/+1
|/ | | | Approved by: nwhitehorn (mentor)
* Provide support in loader for booting 64-bit PowerPC kernels. Like amd64,nwhitehorn2010-07-128-23/+67
| | | | | 64-bit PowerPC kernels are loaded by a 32-bit loader, since nearly all powerpc64 firmwares execute in 32-bit mode.
* Fix conditional FDT support in loader(8).raj2010-06-131-1/+3
|
* Initial loader(8) support for Flattened Device Tree.raj2010-05-252-2/+14
| | | | | | | | | | o This is disabled by default for now, and can be enabled using WITH_FDT at build time. o Tested with ARM and PowerPC. Reviewed by: imp Sponsored by: The FreeBSD Foundation
* Enable U-Boot storage for PowerPC. While there fix loader(8) help file name.raj2010-02-252-5/+5
| | | | MFC after: 1 week
* Enable NETIF_OPEN_CLOSE_ONCE on PowerPC OFW. This fixes netbooting onnwhitehorn2010-02-201-0/+5
| | | | | | | PowerPC Book-S hardware, which had been broken for a very long time. Submitted by: Andreas Tobler MFC after: 1 week
* Bump PowerPC loader(8) version to reflect extensions it has recently grown.raj2009-06-221-0/+1
|
* Fix build when WITH_SSP is set explicitly.ru2009-02-211-2/+1
| | | | Submitted by: Jeremie Le Hen
* Improve style(9) in PowerPC U-Boot support lib.raj2008-12-171-4/+4
|
* Modify our boot block to pick an output device, without which boot1 will failnwhitehorn2008-10-312-0/+5
| | | | | | on G4 machines. On the assumption that most people using FreeBSD on Apple hardware are not using serial consoles, set boot1's output to screen. This should be revisited. While here, reduce verbosity of boot1.
* Add a simple HFS boot block implementation for booting PowerPC macs. It createsnwhitehorn2008-10-147-1/+906
| | | | | | | a small HFS filesystem with a CHRP boot script and an early-stage bootloader derived from the sparc64 boot block. Obtained from: sparc64
* Use current SP instead of global data ptr for the U-Boot API signature ↵raj2008-09-031-1/+1
| | | | | | | | | | | | search hint. Global data (pointed by R2 on PowerPC) in principle is not guaranteed to be in proximity of U-Boot heap (where the API signature is placed) accross different architectures and platforms. Instead, use U-Boot stack pointer as a hint for the search instead of the global data; this method tends to be more uniform accross different platforms. Obtained from: Semihalf
* Make metadata.c shared across all platforms using U-Boot.raj2008-09-032-457/+1
| | | | This will [soon] be needed for ARM.
* Enable GCC stack protection (aka Propolice) for userland:ru2008-06-252-0/+5
| | | | | | | | | | | | | | | | | | | | | - It is opt-out for now so as to give it maximum testing, but it may be turned opt-in for stable branches depending on the consensus. You can turn it off with WITHOUT_SSP. - WITHOUT_SSP was previously used to disable the build of GNU libssp. It is harmless to steal the knob as SSP symbols have been provided by libc for a long time, GNU libssp should not have been much used. - SSP is disabled in a few corners such as system bootstrap programs (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves. - It should be safe to use -fstack-protector-all to build world, however libc will be automatically downgraded to -fstack-protector because it breaks rtld otherwise. - This option is unavailable on ia64. Enable GCC stack protection (aka Propolice) for kernel: - It is opt-out for now so as to give it maximum testing. - Do not compile your kernel with -fstack-protector-all, it won't work. Submitted by: Jeremie Le Hen <jeremie@le-hen.org>
* Improve handling U-Boot's "eth%daddr" while PowerPC metadata preparation.raj2008-03-121-3/+20
| | | | | | | | We're now more robust against cases of non-sorted and/or non-continuous numbering of those entries. Reviewed by: imp, marcel Approved by: cognet (mentor)
* o Build and install the U-Boot loader as ubldr.marcel2008-02-232-10/+6
| | | | | | o Don't build/install the manual pages or configuration files that are already installed by the OFW loader. o Hook the U-Boot loader to the build.
* 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.
OpenPOWER on IntegriCloud