| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
While here, make local function static and update copyright.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
not LOADER_NET_SUPPORT.
|
|
|
|
| |
with -msoft-float too.
|
| |
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Use "FreeBSD/powerpc Open Firmware ..." instead.
|
|
|
|
| |
Repocopy by: simon@
|
|
|
|
| |
were repocopied from ./loader to ./ofw.
|
|
|
|
| |
stale comments.
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
"boot_dfltroot", "boot_mute", and "boot_pause" respectively.
|
| |
|
| |
|
|
|
|
| |
did anything, so this commit should be considered a NO-OP.
|
|
|
|
| |
Noticed by: ru
|
|
|
|
|
|
| |
"Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended).
Ok'ed by: tmm
|
|
|
|
| |
with test code written in the loader.
|
|
|
|
|
|
| |
command-line options, such as misaligning the data segment.
Exposed by the limited PearPC OFW ELF loader, but a good thing in
general.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Submitted by: ru
|
| |
|
| |
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
| |
to make the asm a bit more readable.
|
|
|
|
| |
powerpc) when building metadata.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
| |
(also resort some CFLAGS such that the more "important" value are first so
they are easier to see)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Add support for module metadata. The old way of dependancy
handling will be supported for a while.
Reviewed by: peter
|
|
|
|
| |
the new readdir function.
|
|
Submitted by: dfr
|