On Thu, Sep 06, 2001 at 08:56:39AM -0700, Tom Rini wrote:
On Thu, Sep 06, 2001 at 11:36:39AM -0400, Brian Waite wrote:
quoted
I tried that and I was unable to relocate just the initrd. Right now, I just
tested to see:
if ((zImage_start >= 0xf0000000) || (zImage_start <= 0x00800000))
That seems to work for now, but I'll take a peek at the gemeni and see how
they do it.
Er, after re-reading, it's wrong too. I'll send you a patch
privately, if you can test it.
This location checking logic is all a hack...I've already stared at this
a while to make it work for someone. I recommend we _always_ relocate
both zImage and initrd (if present).
See the attached patch to misc-simple.c (this is versus 2.4.2ish, but
should apply cleanly) which gets the initrd relocated properly...it's
tested with bugboot.
--
Matt Porter
MontaVista Software, Inc.
mporter@mvista.com