summaryrefslogtreecommitdiffstats
path: root/sys/boot/powerpc
Commit message (Collapse)AuthorAgeFilesLines
* Provide verbose help for fdt commands on platforms that use it.kientzle2013-02-112-2/+2
|
* Fix build on powerpc.trasz2012-11-191-8/+8
| | | | Reviewed by: nwhitehorn
* Hook in new files menusets.4th and manual.dteske2012-11-072-2/+2
| | | | Approved by: adrian (co-mentor) (implicit)
* Handle LOADER_NO_DISK_SUPPORT knob in the arm and powerpc ubldr.ae2012-09-091-0/+4
|
* Use 32-bit ufs_ino_t instead of ino_t to keep boot2 small and preventgleb2012-05-251-2/+1
| | | | | | unnecessary 64-bit math on 32-bit machines. Sponsored by: Google Summer of Code 2011
* Fix build after changes to trap headers.nwhitehorn2012-03-291-0/+2
|
* Make sure to synchronize icache for the newly loaded loader. Not an issuenwhitehorn2012-02-162-3/+7
| | | | | | on most systems, when the relevant icache lines are not full. MFC after: 2 weeks
* Experimental support for booting CHRP-type PowerPC systems from hard disks.nwhitehorn2012-01-251-1/+0
|
* Fix some unreliability problems related to MSR bits inherited from kboot bynwhitehorn2012-01-151-1/+1
| | | | | setting an absolute MSR when during on the MMU. This prevents delay(), in particular, from intermittently malfunctioning.
* Rename the linker emulation name for powerpc and powerc64. This is needed thatandreast2011-11-191-1/+1
| | | | | we can also use the upstream binutils linker where we have to have a unique name for the FreeBSD emulation.
* - change "is is" to "is" or "it is"eadler2011-10-161-1/+1
| | | | | | | | - change "the the" to "the" Approved by: lstewart Approved by: sahil (mentor) MFC after: 3 days
* Add support for the Blu-Ray drive found in the Sony Playstation 3 and fixnwhitehorn2011-08-148-35/+209
| | | | | | | some realted minor bugs in PS3 internal storage support. Submitted by: glevand <geoffrey.levand@mail.ru> Approved by: re (bz)
* Add support for booting PS3s from disk. This is still a little hackish untilnwhitehorn2011-07-1614-23/+1092
| | | | | | | | | | | we can find a way to get the information from petitboot or to guess it, so the current algorithm is: 1. See if ps3disk3p1 (first GPT slice on OtherOS partition) exists, and if so try to boot it. 2. Otherwise, netboot. Submitted by: glevand <geoffrey.levand at mail dot ru >
* Include forgotten framework changes to get some of the new menu files ↵julian2011-05-301-1/+2
| | | | | | installed correctly on non x86/amd systems. pointy-hut to devin
* Add some missing files. Without we hang in the OF prompt asking for screen.4th.andreast2011-05-291-0/+1
| | | | Approved by: nwhitehorn (mentor)
* New boot loader menus from Devin Teske.julian2011-05-282-0/+12
| | | | | | | | Discussed on hackers and recommended for inclusion into 9.0 at the devsummit. All support email to devin dteske at vicor dot ignoreme dot com . Submitted by: dteske at vicor dot ignoreme dot com Reviewed by: me and many others
* 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.
OpenPOWER on IntegriCloud