We modified the head.S and the kernel_entry change to 0x80000798
(check from System.map) and we download this kernel to RAM address
0x80000000 and jump to 0x8000798 to execute. It show EXCEPTION...
And our bootloader will not handle ELF file format. But after build the kernel
image, we got two image, vmlinux and vmlinux.binary. vmlinux is FLE file
format and vmlinux.binary is only data (check by file). We download
vmlinux.binary to test.
From: Thiemo Seufer [mailto:email@example.com]
Sent: Tuesday, February 25, 2003 4:33 PM
Subject: Re: Kernel 2.4.20
> Dear Thiemo,
> Thanks for your quickly response.
> I try to modify the /arch/mips/ld.script.in or /arch/mips/kernel/head.S
This won't help. The entry address is where the linker happens to
place the entry function. It may vary even for slight differences
in Kernel compilation.
> but still can't work (entry is changed but kernel can't work).
What does "can't work" mean? What happens exactly?
What sort of bootloader are you using? Normally it is able to
handle ELF properly, which makes this thing work automatically.
> Do I make any mistake?