[Top] [All Lists]

Re: IP32 prom crashes due to __pa() funkiness

To: Franck Bui-Huu <>
Subject: Re: IP32 prom crashes due to __pa() funkiness
From: Thiemo Seufer <>
Date: Mon, 19 Mar 2007 14:07:38 +0000
Cc: Kumba <>, Linux MIPS List <>, Arnaud Giersch <>
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <> <> <> <>
User-agent: Mutt/1.5.13 (2006-08-11)
Franck Bui-Huu wrote:
> > Now I guess we're back to CONFIG_BUILD_ELF64=n?  I guess the real
> > question is, which way is the OneWay(TM), RightWay(TM) and OnlyWay(TM)?
> 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
> All others configs (I think) are buggy...

Why? A ELF64 kernel for CKSEG0 should be fine, at least in principle,
even if it doesn't work wih the current codebase.

> That's said, it seems that IPxx kernels are really special
> beasts. Take from MIPS makefile:
> """
> Some machines like the Indy need 32-bit ELF binaries for booting
> purposes.
> """

This is true for netbooting via firmware. For booting from disk the
bootloaders support AFAIR ELF64-for-CKSEG0.


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