Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

adder875 boot fail

0 views
Skip to first unread message

Jingyu Liu

unread,
Nov 15, 2009, 2:07:13 PM11/15/09
to
Hi there,

I have a adder875 board and I am trying to run linux 2..6.30 on it.
However, the kernel can't bootup and fails at head_8xx.S. I've traced
the code down and found it fails at the following point:

=====================================================
mtspr SPRN_M_TWB, r6
lis r4,2f@h
ori r4,r4,2f@l
tophys(r4,r4)
li r3,MSR_KERNEL & ~(MSR_IR|MSR_DR)
mtspr SPRN_SRR0,r4
mtspr SPRN_SRR1,r3
rfi

/* Load up the kernel context */
2:
SYNC /* Force all PTE updates to finish */
tlbia /* Clear all TLB entries */
sync /* wait for tlbia/tlbie to finish */
TLBSYNC /* ... on all CPUs */

====================================================

The kernel hangs after rfi instruction. It's supposed to return to
where "2:" is, but it doesn't.

Can anyone help? Thanks a lot

Jingyu

0 new messages