[Top] [All Lists]

Re: IP32 prom crashes due to __pa() funkiness

To: Kumba <>
Subject: Re: IP32 prom crashes due to __pa() funkiness
From: "Franck Bui-Huu" <>
Date: Mon, 19 Mar 2007 15:17:50 +0100
Cc: "Linux MIPS List" <>, "Arnaud Giersch" <>
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed;; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZMPMDVzh+Wag/mjNxoi+KedLlF46IizRcGt8dsJeRL/WtYIu0StrkrNpB+7IRnHp9ZAAxM+1AjX47ETu7wOEItxtfKZmp+Ealj2QmRngF9EQ7R0sR85PPeSV4Mw56IYeZT/Z3HwnTjsoBg8IWC5w532x0PxhznvLhoka990DAjY=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oJ4VcuwuavjfWiWacJtHOrXeqcx263RplMIDgdRyxnB5QXbjwzNCig3RfosZT0GTt7RtbFqF5fHhe3/oP3bszmS4ICJWXQcnTJ5msUhr2gJMUJaZeVz5Y9kMfcMf+6WYHX/xXAXh6Dugj1fcd2d3hJ0Ni21rGqpTkzRNBAUToVE=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <> <>
On 3/19/07, Franck Bui-Huu <> wrote:
Now it's clear that CONFIG_BUILD_ELF64 is really confusing. I would say
that whatever the value of CONFIG_BUILD_ELF64, your kernel should run
fine. BUT it really depends on your kernel load address:

if CONFIG_BUILD_ELF64=y then kernel load address must be in XKPHYS
if CONFIG_BUILD_ELF64=n then kernel load address must be in CKSEG0

to be more accurate, the following other config:

       CONFIG_BUILD_ELF64=y and kernel load address in CKSEG0

should theoretically work but currently doesn't because of __pa() introduction.

This config should not be used because it's normally not interesting
for normal user. It's only interesting for testing purpose if I recall
correctly. And the patch that automatically set CONFIG_BUILD_ELF64
should fix this.

BTW, you should take a look at:

this thread clearly state that current config of IP32 kernel is
broken. Sorry for remembering so lately...

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