From: "poorbeyond" <poorbeyond@163.com>
To: "Linux-ppc mail list" <linuxppc-embedded@ozlabs.org>
Subject: a question about mpc8xx linux
Date: Fri, 27 Jul 2007 21:11:19 +0800 [thread overview]
Message-ID: <200707272111187341027@163.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 863 bytes --]
my cpu is MPC860, use u-boot-1.1.4, linux-2.6.20.14
i use the "tftp 300000 uImage" command download kernel image,
then use the "bootm 300000" command boot the image.
i found the bootm cmd entered the /arch/ppc/kernel/head_8xx.s, stop at the instruction "rfi".
is it right? after the instruction, where does the code go normally ? what should i do now?
thanks
.globl __start
__start:
mr r31,r3 /* save parameters */
mr r30,r4
mr r29,r5
mr r28,r6
mr r27,r7
/* We have to turn on the MMU right away so we get cache modes
* set correctly.
*/
bl initial_mmu
/* We now have the lower 8 Meg mapped into TLB entries, and the caches
* ready to work.
*/
turn_on_mmu:
mfmsr r0
ori r0,r0,MSR_DR|MSR_IR
mtspr SPRN_SRR1,r0
lis r0,start_here@h
ori r0,r0,start_here@l
mtspr SPRN_SRR0,r0
SYNC
rfi /* enables MMU */
poorbeyond
2007-07-27
[-- Attachment #2: Type: text/html, Size: 2368 bytes --]
next reply other threads:[~2007-07-27 13:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-27 13:11 poorbeyond [this message]
2007-07-27 17:53 ` a question about mpc8xx linux Scott Wood
2007-07-27 17:56 ` Scott Wood
2007-08-01 14:48 ` Barisa kisku
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=200707272111187341027@163.com \
--to=poorbeyond@163.com \
--cc=linuxppc-embedded@ozlabs.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 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.