linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Downloading Image
@ 2002-08-26 20:22 Aman
  2002-08-26 20:57 ` Matt Porter
  0 siblings, 1 reply; 5+ messages in thread
From: Aman @ 2002-08-26 20:22 UTC (permalink / raw)
  To: linuxppc embedded


Hi

I have build a linux image for IBM PPC 440 using the
src-linuxppc_2_4_devel.tar.bz2 [Powerpc Kernel Source] taken from the
website http://www.ppckernel.org/tree.php?id=5. Now I want to download the
image to the IBM PPC 440 evalkit for which I used elf2ppceval utilility by
Grant Erickson.  I copied the script and named as mkevimg.shar. When I
executed the command  "unshar mkevimg.shar ". I got the following error

[root@hardhat aman]# unshar mkevimg.shar
/home/aman/mkevimg.shar:
'h: line 22: syntax error near unexpected token `do
'h: line 22: `do
Broken pipe


Can anyone help me in solving this issue or please suggest the way of
downloading a the 440 image to the IBM PPC 440 evalkit. Also can you suggest
me the cross-compiler for PPC 440.

Thanking you in advance.

Regards
Aman


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Downloading Image
  2002-08-26 20:22 Downloading Image Aman
@ 2002-08-26 20:57 ` Matt Porter
  2002-09-06 17:05   ` ELDK Compiler Aman
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Porter @ 2002-08-26 20:57 UTC (permalink / raw)
  To: Aman; +Cc: linuxppc embedded


On Tue, Aug 27, 2002 at 01:52:34AM +0530, Aman wrote:
>
> Hi
>
> I have build a linux image for IBM PPC 440 using the
> src-linuxppc_2_4_devel.tar.bz2 [Powerpc Kernel Source] taken from the
> website http://www.ppckernel.org/tree.php?id=5. Now I want to download the
> image to the IBM PPC 440 evalkit for which I used elf2ppceval utilility by
> Grant Erickson.  I copied the script and named as mkevimg.shar. When I
> executed the command  "unshar mkevimg.shar ". I got the following error

This step is unnecessary.  The kernel build process generates a
'zImage.ebony' which is directly bootable on the IBM 440GP reference
board.

> Can anyone help me in solving this issue or please suggest the way of
> downloading a the 440 image to the IBM PPC 440 evalkit. Also can you suggest
> me the cross-compiler for PPC 440.

The ppc4xx toolchain from the free ELDK is what you are looking for.

Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* ELDK Compiler
  2002-08-26 20:57 ` Matt Porter
@ 2002-09-06 17:05   ` Aman
  2002-09-06 17:39     ` Matt Porter
  0 siblings, 1 reply; 5+ messages in thread
From: Aman @ 2002-09-06 17:05 UTC (permalink / raw)
  To: Matt Porter; +Cc: linuxppc embedded


Hi Matt

I  have downloaded ELDK compiler for PPC 440 evalkit. In the ELDK html file
, it says the the predefined compiler flag as "mcpu=403". Will this ELDK
compiler work very well with PPC 440 processor?. Or are there any other
compilers which works well with PPC 440 processor.

Thanking you in advance

Regards
Aman


----- Original Message -----
From: "Matt Porter" <porter@cox.net>
To: "Aman" <aman@mistralsoftware.com>
Cc: "linuxppc embedded" <linuxppc-embedded@lists.linuxppc.org>
Sent: Tuesday, August 27, 2002 2:27 AM
Subject: Re: Downloading Image


>
> On Tue, Aug 27, 2002 at 01:52:34AM +0530, Aman wrote:
> >
> > Hi
> >
> > I have build a linux image for IBM PPC 440 using the
> > src-linuxppc_2_4_devel.tar.bz2 [Powerpc Kernel Source] taken from the
> > website http://www.ppckernel.org/tree.php?id=5. Now I want to download
the
> > image to the IBM PPC 440 evalkit for which I used elf2ppceval utilility
by
> > Grant Erickson.  I copied the script and named as mkevimg.shar. When I
> > executed the command  "unshar mkevimg.shar ". I got the following error
>
> This step is unnecessary.  The kernel build process generates a
> 'zImage.ebony' which is directly bootable on the IBM 440GP reference
> board.
>
> > Can anyone help me in solving this issue or please suggest the way of
> > downloading a the 440 image to the IBM PPC 440 evalkit. Also can you
suggest
> > me the cross-compiler for PPC 440.
>
> The ppc4xx toolchain from the free ELDK is what you are looking for.
>
> Regards,
> --
> Matt Porter
> porter@cox.net
> This is Linux Country. On a quiet night, you can hear Windows reboot.
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ELDK Compiler
  2002-09-06 17:05   ` ELDK Compiler Aman
@ 2002-09-06 17:39     ` Matt Porter
  2002-09-07 18:45       ` Kumar Gala
  0 siblings, 1 reply; 5+ messages in thread
From: Matt Porter @ 2002-09-06 17:39 UTC (permalink / raw)
  To: Aman; +Cc: Matt Porter, linuxppc embedded


On Fri, Sep 06, 2002 at 10:35:42PM +0530, Aman wrote:
> I  have downloaded ELDK compiler for PPC 440 evalkit. In the ELDK html file
> , it says the the predefined compiler flag as "mcpu=403". Will this ELDK
> compiler work very well with PPC 440 processor?. Or are there any other
> compilers which works well with PPC 440 processor.

Nobody has provided PPC440-specific support for binutils.  Right now,
everybody is using mcpu=[403|405] since they define an identical
set of instructions. The -mbooke support in current binutils will
not work on 440 since it is e500 specific.

The ELDK toolchain works fine.

Regards,
--
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ELDK Compiler
  2002-09-06 17:39     ` Matt Porter
@ 2002-09-07 18:45       ` Kumar Gala
  0 siblings, 0 replies; 5+ messages in thread
From: Kumar Gala @ 2002-09-07 18:45 UTC (permalink / raw)
  To: Matt Porter; +Cc: Aman, linuxppc embedded


> Nobody has provided PPC440-specific support for binutils.  Right now,
> everybody is using mcpu=[403|405] since they define an identical
> set of instructions. The -mbooke support in current binutils will
> not work on 440 since it is e500 specific.
>

This is not exactly true, the -mbooke option does NOT produce an e500
specific set of instructions that the assembler knows about but as
close to a generic booke set.  Unfortunately, Book-E leaves remove for
a few instructions to have implementation specific operands (for
example tlbwe/tlbre).  The e500 & 440 differ in the number of operands
these instructions require (e500 - 0, 440 - 3).  The currently binutils
treats these instructions as having no operands.

I am not aware of any other cases in which the current binutils would
not work for 440 code (possibly use of simplified mtspr/mfspr
instructions would not work with the -mbooke flag).

- kumar


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-09-07 18:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-26 20:22 Downloading Image Aman
2002-08-26 20:57 ` Matt Porter
2002-09-06 17:05   ` ELDK Compiler Aman
2002-09-06 17:39     ` Matt Porter
2002-09-07 18:45       ` Kumar Gala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).