From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from de01egw02.freescale.net (de01egw02.freescale.net [192.88.165.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "de01egw02.freescale.net", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id 14C74DDE9C for ; Thu, 16 Aug 2007 02:31:03 +1000 (EST) Message-ID: <46C32A3F.2040005@freescale.com> Date: Wed, 15 Aug 2007 11:30:55 -0500 From: Scott Wood MIME-Version: 1.0 To: Kumar Gala Subject: Re: System crash on boot_e500.S References: <5c9cd53b0708141314o57440c62waffb4cca3f2be0b9@mail.gmail.com> <1187124014.32650.80.camel@ld0161-tx32> <5c9cd53b0708150657k71531bdbl848375d5d80faf21@mail.gmail.com> <20070815160254.GA9049@ld0162-tx32.am.freescale.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Cc: "linuxppc-dev@ozlabs.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Kumar Gala wrote: > > On Aug 15, 2007, at 11:02 AM, Scott Wood wrote: > >> On Wed, Aug 15, 2007 at 09:57:59AM -0400, mike zheng wrote: >> >>> 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 >> >> >> Try arch/powerpc; arch/ppc is deprecated. > > > He's trying a 2.4 kernel. Sorry, I read the above as "I tried 2.6 and head_e500.S gave me these errors", not "I copied head_e500.S from 2.6 and for some reason expected it to work". -Scott