All of lore.kernel.org
 help / color / mirror / Atom feed
* MPC8560 util.S compilation error with E500 core support
@ 2004-08-24 16:36 Gérard Guével
  2004-08-24 18:00 ` Kumar Gala
  0 siblings, 1 reply; 2+ messages in thread
From: Gérard Guével @ 2004-08-24 16:36 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

I first download a 2.6.7 Linux kernel to port it to a custom 8560 board.
The ./arch/ppc/boot/common/util.S compiles fine.

Then I download a 2.6.8 kernel. The same file util.S does not
compile any more because of "mtsrin" instruction not found with E500.

Between the 2 kernels, the -me500 option is distributed all over the
./arch/ppc directory. So the ./arch/ppc/boot is compiled with this option
and fails.

What is the right solution ?
Compile the boot whitout -me500 option or change util.S code ?

Thanks for any idea.
Gérard Guével


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

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

* Re: MPC8560 util.S compilation error with E500 core support
  2004-08-24 16:36 MPC8560 util.S compilation error with E500 core support Gérard Guével
@ 2004-08-24 18:00 ` Kumar Gala
  0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2004-08-24 18:00 UTC (permalink / raw)
  To: Gérard Guével; +Cc: linuxppc-embedded


Most of the boards that use 85xx use u-boot as their bootloader.  This
code does not get built for kernel images loaded by u-boot, and this
does not currently build for e500.

The issue is that mtsrin is 'classic' ppc instruction that does not
exist on e500.  If you want to use the common boot code you will need
to go through the effort of making it work for e500 and 85xx.

- kumar

On Aug 24, 2004, at 11:36 AM, Gérard Guével wrote:

>
> Hi,
>
> I first download a 2.6.7 Linux kernel to port it to a custom 8560
> board.
> The ./arch/ppc/boot/common/util.S compiles fine.
>
> Then I download a 2.6.8 kernel. The same file util.S does not
> compile any more because of "mtsrin" instruction not found with E500.
>
> Between the 2 kernels, the -me500 option is distributed all over the
> ./arch/ppc directory. So the ./arch/ppc/boot is compiled with this
> option
> and fails.
>
> What is the right solution ?
> Compile the boot whitout -me500 option or change util.S code ?
>
> Thanks for any idea.
> Gérard Guével
>
>


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

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

end of thread, other threads:[~2004-08-24 18:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24 16:36 MPC8560 util.S compilation error with E500 core support Gérard Guével
2004-08-24 18:00 ` Kumar Gala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.