Skip to contentSkip to conversation

compile a linux kernel for ppc4xx, error message

DISCUSSION caixupeng 2 participants 3 messages Nov 22, 2002 3 messages not in the archive

lore
Share & tools
lore

caixupeng

author
#0 lore raw

Dear all,

I config the kernel as ppc4xx-->walnut ,a 405 based board. and make zImage,then I got the following error messages:

{standard input}: Assembler messages:
{standard input}:44: Error: unsupported relocation against DCRN_EXISR {standard input}:45: Error: unsupported relocation against DCRN_EXIER {standard input}:72: Error: unsupported relocation against DCRN_EXIER {standard input}:89: Error: unsupported relocation against DCRN_EXIER {standard input}:106: Error: unsupported relocation against DCRN_EXIER {standard input}:110: Error: unsupported relocation against DCRN_EXISR {standard input}:25: Error: unsupported relocation against DCRN_EXIER make[1]: *** [ppc4xx_pic.o] Error 1
make[1]: Leaving directory `/usr/src/src-linuxppc_2_4/arch/ppc/kernel'
make: *** [_dir_arch/ppc/kernel] Error 2

another question:

who has successed in compiling a linux kernel for ppc440GP?

I have made my ebony board run ppcboot correctly, and I want compile and download a

linux kernel to the ebony board.

who can help me?

thanks!

edmoon

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

#1 lore raw

Hi Edmoon,

the problem is most likely a wrong kernel source or a wrong .config. There is a nice little howto on the web, actualy posted here a long time ago. Try a google search with
howto kernel compile walnut
and you'll find that posting.

Kind regards,
Georg Klug

Quoted 26 lines

Dear all,

I config the kernel as ppc4xx-->walnut ,a 405 based board. and make zImage,then
I got the following error messages:

{standard input}: Assembler messages:
{standard input}:44: Error: unsupported relocation against DCRN_EXISR {standard input}:45: Error: unsupported relocation against DCRN_EXIER {standard input}:72: Error: unsupported relocation against DCRN_EXIER {standard input}:89: Error: unsupported relocation against DCRN_EXIER {standard input}:106: Error: unsupported relocation against DCRN_EXIER {standard input}:110: Error: unsupported relocation against DCRN_EXISR {standard input}:25: Error: unsupported relocation against DCRN_EXIER make[1]: *** [ppc4xx_pic.o] Error 1
make[1]: Leaving directory `/usr/src/src-linuxppc_2_4/arch/ppc/kernel'
make: *** [_dir_arch/ppc/kernel] Error 2

another question:

who has successed in compiling a linux kernel for ppc440GP?

I have made my ebony board run ppcboot correctly, and I want compile and download a

Quoted 7 lines

linux kernel to the ebony board.

who can help me?

thanks!

edmoon

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

author
#5 lore raw
In reply to a message not in the archive

Wonderful!
I download the newest develeping version of linux kernel from bitkeeper. And compiled without any errors.

I don't have any Montvista or others. I only have binutils-2.13 and gcc-core-2.95.3.

thank you very much!

edmoon

----- Original Message -----
From: "Aman" <[email protected]>
To: "caixupeng" <[email protected]>
Sent: Friday, November 22, 2002 3:45 PM
Subject: Re: compile a linux kernel for ppc4xx, error message

Quoted 17 lines

1. The Linux kernel is available as a tar'd file from the following site:
http://www.ppckernel.org/tree.php?id=5
2. These kernels are in a constant state of change, as developers upload revised versions.
3. The latest version is titled "BitKeeper 2.4 development". This actually contains kernels targeted to a number of processors in addition to the 440.
4. The tar'd file should be downloaded to a local machine then untar'd, which will in turn yield a set of directories for the different kernel targets.
5. Traverse to the 4xx directory, and therein will reside the necessary source code.
6. In order to compile the software, I believe you will need the MontaVista cross compiler. [ Do you have Montavist compiler, if not try "Embedded Linux Development Kit" at www.denx.de]
7. In order to make the kernel, If you just want to play with the _devel tree then use your

Quoted 8 lines

ppc_405- toolchain to build the kernel. Edit the top-level Makefile to say
"ARCH := ppc" and "CROSS_COMPILE := ppc_405-". [ If you don't have "ppc_405-" tool set, set the appropriate compiler you hv]
make ebony_config
make oldconfig
make dep
make clean
make zImage

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