[PATCH] [RFC] powerpc: Xilinx: adding virtex5 powerpc 440 support

Josh Boyer jwboyer at linux.vnet.ibm.com
Tue Jun 24 11:35:56 EST 2008


On Mon, 23 Jun 2008 15:30:35 -0600
John Linn <John.Linn at xilinx.com> wrote:

> >> + *
> >> + * Copyright 2007 IBM Corporation
> >> + *   Based on cuboot-83xx.c, which is:
> >> + * Copyright (c) 2007 Freescale Semiconductor, Inc.
> >> + *
> >> + * This program is free software; you can redistribute it and/or
> modify
> >> it
> >> + * under the terms of the GNU General Public License version 2 as
> >> published
> >> + * by the Free Software Foundation.
> >> + */
> >> +
> >> +#include <stddef.h>
> >> +#include <stdio.h>
> >> +#include "ops.h"
> >> +#include "dcr.h"
> >> +#include "4xx.h"
> >> +#include "io.h"
> >> +#include "reg.h"
> >> +
> >> +BSS_STACK(4096);
> >> +
> >> +#include "types.h"
> >> +#include "gunzip_util.h"
> >> +#include <libfdt.h>
> >> +#include "../../../include/linux/autoconf.h"
> >
> >Ew.  We've never included the CONFIG_ variables from Kconfig in the
> >bootwrapper.  It's supposed to be independent of the kernel.
> >
> 
> I'll try to better understand if we can detect the compressed device
> tree and if we really have to disable the APU.
> 
> What's the reasoning for being independent of the kernel, maybe it's
> obvious to everyone but me?

The intention, as I understand it, is that the wrapper utilities can be
installed stand-alone and used to wrap other kernels if needs be.  In
practice I've not seen this happen yet, as most PowerPC kernels
are built directly from the kernel source.  Fedora does have a
separate package for the wrapper bits, but I'm not entirely sure it's
used.

My understanding could be totally wrong, and if so I'll politely ask
Paul or anyone else to hit me with a cluebat :).

josh



More information about the Linuxppc-dev mailing list