All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathan Lynch <ntl@pobox.com>
To: Jon Smirl <jonsmirl@gmail.com>
Cc: ppc-dev <Linuxppc-dev@ozlabs.org>
Subject: Re: can't boot mpc5200, powerpc: Enable AT_BASE_PLATFORM aux vector
Date: Fri, 25 Jul 2008 17:00:38 -0500	[thread overview]
Message-ID: <20080725220038.GI9594@localdomain> (raw)
In-Reply-To: <9e4733910807251451s623b87cetcf7ed5ff6a12f012@mail.gmail.com>

Jon Smirl wrote:
> I've lost my ability to boot on the mpc5200. Reverting this patch fixes it.

How does it fail?


> @@ -1652,6 +1655,14 @@ struct cpu_spec * __init identify_cpu(unsigned
> long offset, unsigned int pvr)
>  			} else
>  				*t = *s;
>  			*PTRRELOC(&cur_cpu_spec) = &the_cpu_spec;
> +
> +			/*
> +			 * Set the base platform string once; assumes
> +			 * we're called with real pvr first.
> +			 */
> +			if (powerpc_base_platform == NULL)
> +				powerpc_base_platform = t->platform;
> +

Hmm, maybe this needs RELOC/PTRRELOC tricks?

  reply	other threads:[~2008-07-25 22:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-25 21:51 can't boot mpc5200, powerpc: Enable AT_BASE_PLATFORM aux vector Jon Smirl
2008-07-25 22:00 ` Nathan Lynch [this message]
2008-07-25 22:15   ` Benjamin Herrenschmidt
2008-07-25 22:46     ` Jon Smirl
2008-07-25 22:51       ` Jon Smirl
2008-07-25 22:50     ` Nathan Lynch
2008-07-25 22:52       ` Jon Smirl
2008-07-25 22:58         ` Nathan Lynch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080725220038.GI9594@localdomain \
    --to=ntl@pobox.com \
    --cc=Linuxppc-dev@ozlabs.org \
    --cc=jonsmirl@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.