Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/ofppc/stand/ofwboot
Module Name: src
Committed By: garbled
Date: Wed Feb 13 20:11:38 UTC 2008
Modified Files:
src/sys/arch/ofppc/stand/ofwboot: Makefile ofwstart.S version
Added Files:
src/sys/arch/ofppc/stand/ofwboot: ldscript
Log Message:
Add support to ofwboot for booting on the 7046-B50. Also likely to work
on the 7043-150. The B50 wants not only a note at the head of the
binary, like the 7044 did, but it also wants a PHDR that points at it.
Because the IBM firmware doesn't like the real note section that ld
generates (it puts it at the end of the file), we instead point PT_NOTE
at the text section. This works, because at the top of the text section,
there is a note hacked in, which was required for the 7044.
Also, change the mode from virtual mode to real mode in the note, because
the B50 hangs if you load it in virtual. Tested to work on a B50, 7044,
and Pegasos2.
Yay IBM.
To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/sys/arch/ofppc/stand/ofwboot/Makefile
cvs rdiff -r0 -r1.1 src/sys/arch/ofppc/stand/ofwboot/ldscript
cvs rdiff -r1.1 -r1.2 src/sys/arch/ofppc/stand/ofwboot/ofwstart.S
cvs rdiff -r1.9 -r1.10 src/sys/arch/ofppc/stand/ofwboot/version
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index