Skip to contentSkip to conversation

Downloading Image

DISCUSSION Aman 3 participants 5 messages Aug 26, 2002 – Sep 7, 2002

lore
Share & tools
lore

Aman

author
#0 lore raw

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/

#1 lore raw
Quoted 9 lines · Aman

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.

Quoted 3 lines

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
[email protected]
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/

author
#2 lore raw

ELDK Compiler

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" <[email protected]>
To: "Aman" <[email protected]>
Cc: "linuxppc embedded" <[email protected]>
Sent: Tuesday, August 27, 2002 2:27 AM
Subject: Re: Downloading Image

Quoted 8 lines · Aman
Quoted 6 lines

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

Quoted 1 line
Quoted 1 line

image to the IBM PPC 440 evalkit for which I used elf2ppceval utilility

by

Quoted 9 lines
Quoted 2 lines

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.

Quoted 2 lines

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

Quoted 12 lines
Quoted 1 line

me the cross-compiler for PPC 440.

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

Regards,
--
Matt Porter
[email protected]
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/

#3 lore raw

Re: ELDK Compiler

Quoted 4 lines · Aman

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
[email protected]
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/

#4 lore raw

Re: ELDK Compiler

Quoted 6 lines

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/