From: Tom Rini <trini@kernel.crashing.org>
To: Sven Hartge <hartge@ds9.gnuu.de>, Meelis Roos <mroos@linux.ee>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.5-pre* does not boot on my PReP PPC
Date: Mon, 29 Mar 2004 08:15:15 -0700 [thread overview]
Message-ID: <20040329151515.GD2895@smtp.west.cox.net> (raw)
In-Reply-To: <E1B7EHF-0004Jm-DY@ds9.argh.org>
On Sat, Mar 27, 2004 at 02:55:09PM +0100, Sven Hartge wrote:
> Tom Rini <trini@kernel.crashing.org> wrote:
> > On Fri, Mar 26, 2004 at 08:33:18PM +0200, Meelis Roos wrote:
>
> >> Recent 2.6.5-pre* and -rc1 and -BK don't boot on my Motorola Powerstack
> >> (PReP with no RTAS but with OF).
> >>
> >> I use netboot to test new kernels. Normally, the screen is changed to
> >> VGA text mode and the bootloader speaks some lines of info and asks for
> >> the kernel command line. Now, the image is loaded via tftp (as shown by
> >> tcpdump, the last datagram is smaller) and nothing more happens. The
> >> cursor stays where it is - at the beginning of the Booting ... line in
> >> graphics mode OF environment and that's all.
>
> > Hmm. Can you hook up a serial line, enable serial console as well and
> > see if anything pops out there?
>
> I am seeing the same problem here too (Powerstack II with OF).
Ok. Can both of you try the following patch on top of the version which
fails?
arch/ppc/boot/simple/head.S | 2 +-
arch/ppc/boot/simple/misc-prep.c | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
--- 1.8/arch/ppc/boot/simple/head.S Mon Mar 1 16:34:28 2004
+++ edited/arch/ppc/boot/simple/head.S Mon Mar 29 08:14:48 2004
@@ -99,8 +99,8 @@
mr r25,r5
#else
bl disable_6xx_mmu
-#endif
bl disable_6xx_l1cache
+#endif
CLEAR_CACHES
#endif
--- 1.1/arch/ppc/boot/simple/misc-prep.c Mon Mar 1 16:34:28 2004
+++ edited/arch/ppc/boot/simple/misc-prep.c Mon Mar 29 08:13:08 2004
@@ -35,6 +35,7 @@
extern struct bi_record *decompress_kernel(unsigned long load_addr,
int num_words, unsigned long cksum);
extern void disable_6xx_mmu(void);
+extern void disable_6xx_l1cache(void);
extern unsigned long mpc10x_get_mem_size(void);
static void
@@ -152,8 +153,9 @@
}
/* Now go and clear out the BATs and ensure that our MSR is
- * correct .*/
+ * correct. Also disable the L1s finally. */
disable_6xx_mmu();
+ disable_6xx_l1cache();
/* Make r3 be a pointer to the residual data. */
return (unsigned long)hold_residual;
--
Tom Rini
http://gate.crashing.org/~trini/
next prev parent reply other threads:[~2004-03-29 15:15 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-26 18:33 Meelis Roos
2004-03-26 18:51 ` Tom Rini
2004-03-27 13:55 ` Sven Hartge
2004-03-29 15:09 ` Tom Rini
2004-03-29 15:15 ` Tom Rini [this message]
2004-03-30 11:31 ` Meelis Roos
2004-03-30 18:45 ` Sven Hartge
2004-04-04 17:34 ` Christian Kujau
2004-04-05 15:50 ` Tom Rini
2004-04-05 21:19 ` Christian Kujau
2004-04-05 21:48 ` Hollis Blanchard
2004-04-05 22:30 ` Hollis Blanchard
2004-04-05 21:45 ` Christian Kujau
2004-04-05 16:15 ` Tom Rini
2004-03-30 18:49 ` Sven Hartge
2004-03-30 19:09 ` Tom Rini
2004-03-26 21:54 ` Christian Kujau
2004-03-27 13:56 ` Sven Hartge
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=20040329151515.GD2895@smtp.west.cox.net \
--to=trini@kernel.crashing.org \
--cc=hartge@ds9.gnuu.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mroos@linux.ee \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®