Re: [PATCH] [RFC] powerpc: Xilinx: adding virtex5 powerpc 440 support
From: Josh Boyer <hidden>
Date: 2008-06-24 01:39:18
On Mon, 23 Jun 2008 15:30:35 -0600 John Linn [off-list ref] wrote:
quoted
quoted
+ * + * 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/ormodifyquoted
quoted
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