Re: x86 embedded - Problem getting past 'move compressed kernel before decompression'

From: H. Peter Anvin
Date: Mon Mar 01 2010 - 11:46:49 EST


On 03/01/2010 03:56 AM, Graeme Russ wrote:
>
> I have done a little more digging. By adding an ascii string before
> relocated: label, I am able to determine that the int3 after the relocated:
> label exists in bzImage at offset 0x1C3FD7
>
> EAX holds (for the jump) 0x5379d0 (different bzImage of course). The
> contents of memory at this address is in bzImage at offset 0x1C09D7 - A
> difference of 0x3600 (seems too even to be random)
>
> I'm obviously doing something hideously wrong, but what?
>

0x3600 sounds like the size of the real-mode code in bzImage.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/