public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: gshan <gshan@alcatel-lucent.com>
To: linux-kernel@vger.kernel.org
Subject: help me on 2.6.15 kernel on MPC850
Date: Thu, 12 Apr 2007 14:05:50 +0800	[thread overview]
Message-ID: <461DCC3E.9020900@alcatel-lucent.com> (raw)

Hey Guys,

The CPU was spinning when executing in head_8xx.S::initial_mmu. I have 
located the instruction that cause the spinning through on-board leds. 
Do you have any ideas?

#ifdef CONFIG_8xx_COPYBACK
       mtspr   SPRN_DC_CST, r8                                     <<< 
The spinning was caused by this instruction
#endif

#else
       /*
        * For a debug option, I left this here to easily enable
        * the write through cache mode
        */
       lis     r8, DC_SFWT@h
       mtspr   SPRN_DC_CST, r8
       lis     r8, IDC_ENABLE@h
       mtspr   SPRN_DC_CST, r8
#endif

       blr

-----------------------------

The output from u-boot:

=> tftp 0x100000 uImage
Using SCC ETHERNET device
TFTP from server 90.0.0.3; our IP address is 90.0.0.50
Filename 'uImage'.
Load address: 0x100000
Loading: #################################################################
        #################################################################
        ###################################
done
Bytes transferred = 844738 (ce3c2 hex)
=> bootm
## Booting image at 00100000 ...
  Image Name:   Linux-2.6.15
  Created:      2007-04-07  17:25:29 UTC
  Image Type:   PowerPC Linux Kernel Image (gzip compressed)
  Data Size:    844674 Bytes = 824.9 kB
  Load Address: 00000000
  Entry Point:  00000000
  Verifying Checksum ... OK
  Uncompressing Kernel Image ... OK               <<< The CPU is 
spinning then

-----------------------------

The hardware, bootloader, linux I'm using:

1) MPC850, 1KB DCache + 2KB ICache
2) u-boot 1.1.4 ( Data Cache is turned off all the way, but instruction 
cache is always on)
3) ppclinux 2.6.15

Thanks,
Gavin


                 reply	other threads:[~2007-04-12  6:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=461DCC3E.9020900@alcatel-lucent.com \
    --to=gshan@alcatel-lucent.com \
    --cc=linux-kernel@vger.kernel.org \
    /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