linux-mips
[Top] [All Lists]

RE: Kernel 2.4.20

To: "Thiemo Seufer" <ica2_ts@csv.ica.uni-stuttgart.de>
Subject: RE: Kernel 2.4.20
From: "jeff" <jeff_lee@coventive.com>
Date: Tue, 25 Feb 2003 16:17:53 +0800
Cc: <linux-mips@linux-mips.org>
Importance: Normal
In-reply-to: <20030225080327.GC25303@rembrandt.csv.ica.uni-stuttgart.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Dear Thiemo,
    Thanks for your quickly response.
I try to modify the /arch/mips/ld.script.in or /arch/mips/kernel/head.S
but still can't work (entry is changed but kernel can't work). Do I make
any mistake?

Thanks

Jeff @ Coventive

-----Original Message-----
From: Thiemo Seufer [mailto:ica2_ts@csv.ica.uni-stuttgart.de]
Sent: Tuesday, February 25, 2003 4:03 PM
To: jeff
Cc: linux-mips@linux-mips.org
Subject: Re: Kernel 2.4.20


jeff wrote:
> Dear All,
>     I am trying to porting NEC Vr4131 platform from 2.4.16 to 2.4.20 but I 
> found some problem.
> In kernel 2.4.16, the kernel entry is 0x80002470 but the kernel entry in 
> 2.4.20 is 0x801xxxxx

That's just normal, the entry is variable.

> So my problem is how to change the kernel entry from 0x801xxxxx to be 
> 0x8000xxxx? or how 
> to test this kernel when the kernel entry is 0x801xxxxx?

The entry address is encoded in the ELF header at the beginning of vmlinux
(as it is for all other ELF executables). The header's layout can be found
e.g. in linux/include/linux/elf.h.


Thiemo
<Prev in Thread] Current Thread [Next in Thread>