linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* compile a linux kernel for ppc4xx, error message
@ 2002-11-22  0:56 caixupeng
  2002-11-22  7:27 ` AW: " Georg Klug
       [not found] ` <001001c291ec$be79adf0$370da8c0@aman>
  0 siblings, 2 replies; 3+ messages in thread
From: caixupeng @ 2002-11-22  0:56 UTC (permalink / raw)
  To: linuxppc-embedded


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/

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

* AW: compile a linux kernel for ppc4xx, error message
  2002-11-22  0:56 compile a linux kernel for ppc4xx, error message caixupeng
@ 2002-11-22  7:27 ` Georg Klug
       [not found] ` <001001c291ec$be79adf0$370da8c0@aman>
  1 sibling, 0 replies; 3+ messages in thread
From: Georg Klug @ 2002-11-22  7:27 UTC (permalink / raw)
  To: caixupeng, linuxppc-embedded


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

> 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/

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

* Re: compile a linux kernel for ppc4xx, error message
       [not found]     ` <009901c291fb$16c84e40$370da8c0@aman>
@ 2002-11-22 10:26       ` caixupeng
  0 siblings, 0 replies; 3+ messages in thread
From: caixupeng @ 2002-11-22 10:26 UTC (permalink / raw)
  To: Aman; +Cc: linuxppc-embedded


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" <aman@mistralsoftware.com>
To: "caixupeng" <edmoon@huawei.com>
Sent: Friday, November 22, 2002 3:45 PM
Subject: Re: compile a linux kernel for ppc4xx, error message

> 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
>  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/

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

end of thread, other threads:[~2002-11-22 10:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-22  0:56 compile a linux kernel for ppc4xx, error message caixupeng
2002-11-22  7:27 ` AW: " Georg Klug
     [not found] ` <001001c291ec$be79adf0$370da8c0@aman>
     [not found]   ` <000901c291f2$952c3250$33690b0a@DBKQW41X>
     [not found]     ` <009901c291fb$16c84e40$370da8c0@aman>
2002-11-22 10:26       ` caixupeng

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).