26 Mar, 2008

1 commit

  • This patch alters the bootwrapper for a number of machines (roubhly
    all 4xx based cuboot or treeboot platforms) to use aliases instead of
    the linux,network-index hack to work out which MAC address to attach
    to which ethernet device node.

    The now obsolete linux,network-index properties are removed from the
    corresponding device trees. This won't break backwards compatiblity,
    because in cases where this fixup code is relevant, the device tree is
    part of the kernel image.

    The references to linux,network-index are removed from
    booting-without-of.txt. Not only is it now deprecated, but as a hack
    applicable only when the device tree blob and fixup code were in the
    same image, this property never belonged in booting-without-of.txt
    which describes the interface between the kernel and firmware or
    bootloaders which produce a device tree. By the time the device tree
    reaches the kernel, all the MAC addresses must be fully filled in.

    Signed-off-by: David Gibson
    Signed-off-by: Josh Boyer

    David Gibson
     

24 Dec, 2007

2 commits

  • This reworks the boot wrapper library function that probes
    the chip clocks. Better separate the base function that is
    used on 440GX,SPe,EP,... from the uart fixups as those need
    different device-tree path on different processors.

    Also, rework the function itself based on the arch/ppc code
    from Eugene Surovegin which I find more readable, and which
    handles one more bypass case. Also handle the subtle difference
    between 440EP/EPx and 440SPe/GX, on the former, PerClk is derived
    from the PLB clock while on the later, it's derived from the OPB.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Josh Boyer

    Benjamin Herrenschmidt
     
  • This adds a function to the bootwrapper 4xx library to decode memory
    size on 440SPE processors.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Josh Boyer

    Benjamin Herrenschmidt
     

11 Dec, 2007

1 commit

  • This incorporates libfdt (from the source embedded in an earlier
    commit) into the wrapper.a library used by the bootwrapper. This
    includes adding a libfdt_env.h file, which the libfdt sources need in
    order to integrate into the bootwrapper environment, and a
    libfdt-wrapper.c which provides glue to connect the bootwrapper's
    abstract device tree callbacks to the libfdt functions.

    In addition, this changes the various wrapper and platform files to
    use libfdt functions instead of the older flatdevtree.c library.

    Signed-off-by: David Gibson
    Signed-off-by: Paul Mackerras

    David Gibson
     

20 Sep, 2007

1 commit

  • Add a cuboot wrapper for the Bamboo board. Additionally, we enable MAC
    address fixups for both cuboot and treeboot.

    This also removes some obsoleted linker declarations that have been
    moved into ops.h

    Signed-off-by: Josh Boyer
    Acked-by: David Gibson

    Josh Boyer
     

20 Aug, 2007

1 commit