[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Sarge Installation Manual



On Tue, Aug 03, 2004 at 05:25:09PM +0200, Petr Stehlik wrote:
> V Út, 03. 08. 2004 v 16:36, Geert Uytterhoeven píše:
> > > 1) kernel and ramdisk must be in the same contiguous memory (IIUIC)
> > 
> > Perhaps this restriction can be relaxed?
> 
> that's the only sensible chance we have. But for that we need someone
> with pretty good kernel internals knowledge willing to come up with
> ideas and actual patches. And I can compile it and test it on the
> Afterburner, Didier on CT60 and I am sure I'd find someone with a TT030.
> 
> BTW, the reason why bootstrap generally stays away from FastRAM is that
> the PMMU in TOS is set differently than in Linux so whatever you load to
> FastRAM in TOS disappears as soon as Linux inits the PMMU for itself. If
> the kernel is in FastRAM it gets killed by this immediately, that's
> clear. If it's ramdisk then it's simply inaccessible then. Maybe if we
> loaded it at one place in FastRAM but passed different values to the
> kernel that would match the linux PMMU setup it could work?

Allocate fastram, get the physical address of every allocated page
(ptestr on 68040, plpar on 68060), sort by physical address and write
the image to the memory so it is contiguous in physical memory.
Perhaps you could use smart shortcut if TOS pages are guaranteed
to be contiguous, perhaps not. That has to be done in the booter,
the kernel no longer sees the previously active translation tables.

Examples for ptestr/plpar are in arch/m68k/kernel.

Richard



Reply to: