* Loading and executing kernel from a non-standard address using SY SLINUX
@ 2003-03-04 17:08 ravikumar.chakaravarthy
2003-03-04 17:34 ` Martin J. Bligh
2003-03-04 22:59 ` H. Peter Anvin
0 siblings, 2 replies; 3+ messages in thread
From: ravikumar.chakaravarthy @ 2003-03-04 17:08 UTC (permalink / raw)
To: linux-kernel
I am trying to load and boot the kernel from a non-standard address
(0x200000). I am using the SYSLINUX boot loader, which loads the
kernel at that address. I have also made changes to the kernel to
setup code and startup_32() function to effect the same. When I boot
the system It says
Loading.......... Ready
Uncompressing Linux... OK Booting the kernel
and then hangs.
I guess the reason being the System.map entries are still using the
PAGE_OFFSET = 0xc0000000, as opposed to 0xc0100000.
I have the following questions??
1. How do i change the System.map to get the right PAGE_OFFSET.
2. Will it work if I load and boot the kernel from a different address
like (0xdf000000)??
3. Am I in the right track or missing something.
Thanks
-Ravi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Loading and executing kernel from a non-standard address using SY SLINUX
2003-03-04 17:08 Loading and executing kernel from a non-standard address using SY SLINUX ravikumar.chakaravarthy
@ 2003-03-04 17:34 ` Martin J. Bligh
2003-03-04 22:59 ` H. Peter Anvin
1 sibling, 0 replies; 3+ messages in thread
From: Martin J. Bligh @ 2003-03-04 17:34 UTC (permalink / raw)
To: ravikumar.chakaravarthy, linux-kernel
> I am trying to load and boot the kernel from a non-standard address
> (0x200000). I am using the SYSLINUX boot loader, which loads the
> kernel at that address. I have also made changes to the kernel to
> setup code and startup_32() function to effect the same. When I boot
> the system It says
>
> Loading.......... Ready
> Uncompressing Linux... OK Booting the kernel
>
> and then hangs.
>
> I guess the reason being the System.map entries are still using the
> PAGE_OFFSET = 0xc0000000, as opposed to 0xc0100000.
> I have the following questions??
>
> 1. How do i change the System.map to get the right PAGE_OFFSET.
> 2. Will it work if I load and boot the kernel from a different address
> like (0xdf000000)??
>
> 3. Am I in the right track or missing something.
The kernel should decompress itself to the right space anyway ... check
arch/i386/boot/compressed/head.S ... should be minimal changes needed,
if any.
M.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Loading and executing kernel from a non-standard address using SY SLINUX
2003-03-04 17:08 Loading and executing kernel from a non-standard address using SY SLINUX ravikumar.chakaravarthy
2003-03-04 17:34 ` Martin J. Bligh
@ 2003-03-04 22:59 ` H. Peter Anvin
1 sibling, 0 replies; 3+ messages in thread
From: H. Peter Anvin @ 2003-03-04 22:59 UTC (permalink / raw)
To: linux-kernel
Followup to: <99F2150714F93F448942F9A9F112634CA54B07@txexmtae.amd.com>
By author: ravikumar.chakaravarthy@amd.com
In newsgroup: linux.dev.kernel
>
> I am trying to load and boot the kernel from a non-standard address
> (0x200000). I am using the SYSLINUX boot loader, which loads the
> kernel at that address. I have also made changes to the kernel to
> setup code and startup_32() function to effect the same. When I boot
> the system It says
>
Modified, perhaps. Stock SYSLINUX loads at the standard address
(0x100000).
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-04 22:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-04 17:08 Loading and executing kernel from a non-standard address using SY SLINUX ravikumar.chakaravarthy
2003-03-04 17:34 ` Martin J. Bligh
2003-03-04 22:59 ` H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).