On Fri, 5 Jun 2009, David Miller wrote:
From: Robert Reif <reif@xxxxxxxxxxxxx>
Date: Fri, 05 Jun 2009 08:12:13 -0400
David Miller wrote:
You'll have to learn how to load kernel TLB entries for about 4 or 5
different major TLB/cache types on sun4c, sun4m, and sun4d systems.
Couldn't you do this using OBP in a HW independent way?
Not really.
Only sparc64's OBP adds facilities to load locked TLB entries via the
firmware.
This is what you need to do to relocate the kernel into a new location
then jump to it.
On sparc32, is the kernel always loaded in the lower 3 MB
of physical memory regardless of the amount of physical
memory and just left there?
Last time I looked at this, the primary problem was not where the kernel
was loaded but that it only relocated the first 3 MB of kernel thus
restricting the kernel to a maximum size of 3 MB (.text+.data). It is a
relativly simple patch to head.S to change this to 8 MB which sould be
enough to provide a usable kernel.
I don't know, you'd have to see what SILO does.
As for direct loads such as tftpboot via the firmware, it loads
the A.OUT kernel image at 0x4000 and simply jumps there.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html