From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.185]) by ozlabs.org (Postfix) with ESMTP id 76EABDDE26 for ; Wed, 15 Aug 2007 23:58:00 +1000 (EST) Received: by rv-out-0910.google.com with SMTP id c27so1488970rvf for ; Wed, 15 Aug 2007 06:57:59 -0700 (PDT) Message-ID: <5c9cd53b0708150657k71531bdbl848375d5d80faf21@mail.gmail.com> Date: Wed, 15 Aug 2007 09:57:59 -0400 From: "mike zheng" To: "Jon Loeliger" Subject: Re: System crash on boot_e500.S In-Reply-To: <1187124014.32650.80.camel@ld0161-tx32> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5504_23768597.1187186279408" References: <5c9cd53b0708141314o57440c62waffb4cca3f2be0b9@mail.gmail.com> <1187124014.32650.80.camel@ld0161-tx32> Cc: "linuxppc-dev@ozlabs.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_5504_23768597.1187186279408 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Did you done similar work before? Current 2.6 code need many other files, I have following errors when I try to use the head_e500.S from 2.6 code: /kernel-> powerpc-linux-gnuspe-gcc -m32 -Wp,-MD,arch/ppc/kernel/.entry.o.d -nostdinc -isystem /opt/mtwk/usr/local/gcc-3_4- e500-glibc-2.3.4-dp/powerpc-linux-gnuspe/lib/gcc/powerpc-linux-gnuspe/3.4.3/include -D__KERNEL__ -Iinclude -Iarch/ppc -D__ASSEMBLY__ -Iarch/ppc -Wa,-me500 -c -o arch/ppc/kernel/entry.o arch/ppc/kernel/entry.S arch/ppc/kernel/entry.S: Assembler messages: entry.S:819: Error: unsupported relocation against CSRR0 entry.S:820: Error: unsupported relocation against CSRR1 entry.S:888: Error: unsupported relocation against MCSRR0 entry.S:889: Error: unsupported relocation against MCSRR1 entry.S:909: Error: unsupported relocation against CSRR0 entry.S:911: Error: unsupported relocation against CSRR1 entry.S 819 mtspr CSRR0, r11 820 mtspr CSRR1, r12 On 8/14/07, Jon Loeliger wrote: > > On Tue, 2007-08-14 at 15:14, mike zheng wrote: > > Hi All, > > > > I am trying to bring up MPC8548 CDS board on 2.4 kernel. I have > > problem in the head > > Ow, it hurts when I do this! > > > _e500.S. The "mtspr SRR0, r7; mtspr SRR1 r6" does not work for me. The > > content of R7 and R6 are not moved to SRR0 and SRR1. I am using the > > tool-chain from Freescale for 2.6 kernel. > > > > Any idea on this issue? > > Maybe use current 2.6 code? > > jdl > > > ------=_Part_5504_23768597.1187186279408 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Did you done similar work before? Current 2.6 code need many other files,  I have following errors when I try to use the head_e500.S from 2.6 code:
 

/kernel->   powerpc-linux-gnuspe-gcc -m32 -Wp,-MD,arch/ppc/kernel/.entry.o.d -nostdinc -isystem /opt/mtwk/usr/local/gcc-3_4- e500-glibc-2.3.4-dp /powerpc-linux-gnuspe/lib/gcc/powerpc-linux-gnuspe/3.4.3/include -D__KERNEL__ -Iinclude  -Iarch/ppc -D__ASSEMBLY__ -Iarch/ppc -Wa,-me500     -c -o arch/ppc/kernel/entry.o arch/ppc/kernel/entry.S
arch/ppc/kernel/entry.S: Assembler messages:

entry.S:819: Error: unsupported relocation against CSRR0
entry.S:820: Error: unsupported relocation against CSRR1
entry.S:888: Error: unsupported relocation against MCSRR0
entry.S:889: Error: unsupported relocation against MCSRR1
entry.S:909: Error: unsupported relocation against CSRR0
entry.S:911: Error: unsupported relocation against CSRR1



entry.S

819   mtspr CSRR0, r11
820   mtspr CSRR1, r12

 

 


On 8/14/07, Jon Loeliger <jdl@freescale.com> wrote:
On Tue, 2007-08-14 at 15:14, mike zheng wrote:
> Hi All,
>
> I am trying to bring up MPC8548 CDS board on 2.4 kernel. I have
> problem in the head

Ow, it hurts when I do this!

> _e500.S. The "mtspr SRR0, r7; mtspr SRR1 r6" does not work for me. The
> content of R7 and R6 are not moved to SRR0 and SRR1.  I am using the
> tool-chain from Freescale for 2.6 kernel.
>
> Any idea on this issue?

Maybe use current 2.6 code?

jdl



------=_Part_5504_23768597.1187186279408--