07 Feb, 2009

2 commits

  • TSEC0 is connected to Vitesse 7385 5-port switch. The switch
    isn't connected to any mdio bus, the link to the switch is fixed
    to Full-duplex 1000 Mb/s (no pause).

    This patch fixes following failure during bootup:

    mdio@24520:01 not found
    eth0: Could not attach to PHY
    IP-Config: Failed to open eth0

    Signed-off-by: Anton Vorontsov
    Signed-off-by: Kumar Gala

    Anton Vorontsov
     
  • commit b31a1d8b41513b96e9c7ec2f68c5734cef0b26a4 ("gianfar: Convert
    gianfar to an of_platform_driver") introduced a child node for
    the ethernet@25000 controller, but no address and size cells
    specifiers were added, and that makes dtc unhappy:

    DTC: dts->dtb on file "arch/powerpc/boot/dts/mpc8313erdb.dts"
    Warning (reg_format): "reg" property in /soc8313@e0000000/ethernet@25000/mdio@25520 has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
    Warning (avoid_default_addr_size): Relying on default #address-cells value for /soc8313@e0000000/ethernet@25000/mdio@25520
    Warning (avoid_default_addr_size): Relying on default #size-cells value for /soc8313@e0000000/ethernet@25000/mdio@25520

    Signed-off-by: Anton Vorontsov
    Signed-off-by: Kumar Gala

    Anton Vorontsov
     

28 Jan, 2009

1 commit


27 Jan, 2009

1 commit


20 Jan, 2009

3 commits


14 Jan, 2009

1 commit

  • FSL U-Boots use /soc8315@e0000000 node to search and fixup serial
    nodes' clock-frequency properties. Though in upstream kernels we use
    new naming convention -- for IMMR address space dts files specify
    /immr@e0000000 nodes.

    This makes FSL U-Boots fail to fixup the clock frequencies, and that
    leads to serial ports misbehaviour. We can workaround the issue by
    filling the clock frequency values manually.

    p.s. For the same reason FSL U-Boots fail to fixup MAC addresses for
    ethernet nodes, so users should either change the .dts file locally
    or set MAC address via `ifconfig hw ether' command.

    Signed-off-by: Anton Vorontsov
    Signed-off-by: Kumar Gala

    Anton Vorontsov
     

13 Jan, 2009

2 commits


08 Jan, 2009

4 commits

  • This patch makes the default install script (arch/powerpc/boot/install.sh)
    copy the bootable image files into the install directory. Before this
    patch only the vmlinux image file was copied.

    This patch makes the default 'make install' command useful for embedded
    development when $(INSTALL_PATH) is set in the environment.

    As a side effect, this patch changes the calling convention of the
    install.sh script. Instead of a single 5th parameter, the script is now
    passed a list of all the target images stored in the $(image-y) Makefile
    variable. This should be backwards compatible with existing install scripts
    since it just adds additional arguments and does not change existing ones.

    Signed-off-by: Grant Likely
    Acked-by: Josh Boyer
    Signed-off-by: Benjamin Herrenschmidt

    Grant Likely
     
  • Benjamin Herrenschmidt
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (123 commits)
    wimax/i2400m: add CREDITS and MAINTAINERS entries
    wimax: export linux/wimax.h and linux/wimax/i2400m.h with headers_install
    i2400m: Makefile and Kconfig
    i2400m/SDIO: TX and RX path backends
    i2400m/SDIO: firmware upload backend
    i2400m/SDIO: probe/disconnect, dev init/shutdown and reset backends
    i2400m/SDIO: header for the SDIO subdriver
    i2400m/USB: TX and RX path backends
    i2400m/USB: firmware upload backend
    i2400m/USB: probe/disconnect, dev init/shutdown and reset backends
    i2400m/USB: header for the USB bus driver
    i2400m: debugfs controls
    i2400m: various functions for device management
    i2400m: RX and TX data/control paths
    i2400m: firmware loading and bootrom initialization
    i2400m: linkage to the networking stack
    i2400m: Generic probe/disconnect, reset and message passing
    i2400m: host/device procotol and core driver definitions
    i2400m: documentation and instructions for usage
    wimax: Makefile, Kconfig and docbook linkage for the stack
    ...

    Linus Torvalds
     
  • A published errata for ppc440epx states, that when running Linux with
    both EHCI and OHCI modules loaded, the EHCI module experiences a fatal
    error when a high-speed device is connected to the USB2.0, and
    functions normally if OHCI module is not loaded.

    There used to be recommendation to use only hi-speed or full-speed
    devices with specific conditions, when respective module was unloaded.
    Later, it was observed that ohci suspend is enough to keep things
    going, and it was turned into workaround, as explained below.

    Quote from original descriprion:

    The 440EPx USB 2.0 Host controller is an EHCI compliant controller. In
    USB 2.0 Host controllers, each EHCI controller has one or more companion
    controllers, which may be OHCI or UHCI. An USB 2.0 Host controller will
    contain one or more ports. For each port, only one of the controllers
    is connected at any one time. In the 440EPx, there is only one OHCI
    companion controller, and only one USB 2.0 Host port.
    All ports on an USB 2.0 controller default to the companion
    controller. If you load only an ohci driver, it will have control of
    the ports and any deviceplugged in will operate, although high speed
    devices will be forced to operate at full speed. When an ehci driver
    is loaded, it explicitly takes control of the ports. If there is a
    device connected, and / or every time there is a new device connected,
    the ehci driver determines if the device is high speed or not. If it
    is high speed, the driver retains control of the port. If it is not,
    the driver explicitly gives the companion controller control of the
    port.

    The is a software workaround that uses
    Initial version of the software workaround was posted to
    linux-usb-devel:

    http://www.mail-archive.com/linux-usb-devel@lists.sourceforge.net/msg54019.html

    and later available from amcc.com:
    http://www.amcc.com/Embedded/Downloads/download.html?cat=1&family=15&ins=2

    The patch below is generally based on the latter, but reworked to
    powerpc/of_device USB drivers, and uses a few devicetree inquiries to
    get rid of (some) hardcoded defines.

    Signed-off-by: Vitaly Bordug
    Signed-off-by: Stefan Roese
    Cc: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Vitaly Bordug
     

07 Jan, 2009

1 commit


06 Jan, 2009

1 commit


05 Jan, 2009

1 commit


31 Dec, 2008

3 commits

  • The newest revision of uboot reworks the memory map for this
    board to look more like the 85xx boards. Also, some regions
    which were far larger than the actual hardware have been scaled
    back to match the board, and the imaginary second flash bank has
    been removed. Rapidio and PCI are mutually exclusive in the hardware,
    and they now are occupying the same space in the address map.
    The Rapidio node is commented out of the .dts since PCI is the
    common use case.

    Signed-off-by: Becky Bruce
    Signed-off-by: Kumar Gala

    Becky Bruce
     
  • Simply add the usb node to support USB host on the MPC8360E-RDK
    boards.

    Currently U-Boot doesn't fill the clock-frequency property for
    timer nodes, so for now we have to fill it manually.

    Signed-off-by: Anton Vorontsov
    Signed-off-by: Kumar Gala

    Anton Vorontsov
     
  • - Update the device tree per QE USB bindings;
    - Add timer (FSL GTM) node;
    - Add gpio-controller node for BCSR13 bank (GPIOs on that bank
    are used to control the USB transceiver);
    - Set up other BCSR registers;
    - Configure the QE Par IO.

    The work is loosely based on Li Yang's patch[1], which was used
    to support peripheral mode only.

    [1] http://ozlabs.org/pipermail/linuxppc-dev/2008-August/061357.html

    The s-o-b line of the original patch preserved here.

    Signed-off-by: Li Yang
    Signed-off-by: Anton Vorontsov
    Signed-off-by: Kumar Gala

    Anton Vorontsov
     

29 Dec, 2008

1 commit

  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (144 commits)
    powerpc/44x: Support 16K/64K base page sizes on 44x
    powerpc: Force memory size to be a multiple of PAGE_SIZE
    powerpc/32: Wire up the trampoline code for kdump
    powerpc/32: Add the ability for a classic ppc kernel to be loaded at 32M
    powerpc/32: Allow __ioremap on RAM addresses for kdump kernel
    powerpc/32: Setup OF properties for kdump
    powerpc/32/kdump: Implement crash_setup_regs() using ppc_save_regs()
    powerpc: Prepare xmon_save_regs for use with kdump
    powerpc: Remove default kexec/crash_kernel ops assignments
    powerpc: Make default kexec/crash_kernel ops implicit
    powerpc: Setup OF properties for ppc32 kexec
    powerpc/pseries: Fix cpu hotplug
    powerpc: Fix KVM build on ppc440
    powerpc/cell: add QPACE as a separate Cell platform
    powerpc/cell: fix build breakage with CONFIG_SPUFS disabled
    powerpc/mpc5200: fix error paths in PSC UART probe function
    powerpc/mpc5200: add rts/cts handling in PSC UART driver
    powerpc/mpc5200: Make PSC UART driver update serial errors counters
    powerpc/mpc5200: Remove obsolete code from mpc5200 MDIO driver
    powerpc/mpc5200: Add MDMA/UDMA support to MPC5200 ATA driver
    ...

    Fix trivial conflict in drivers/char/Makefile as per Paul's directions

    Linus Torvalds
     

23 Dec, 2008

1 commit

  • Since the QPACE (Chromodynamics Parallel Computing on the
    Cell Broadband Engine) platform doesn't use a iommu, doesn't
    have PCI devices and a MPIC much lesser setup and
    configurations are needed. So far all devices are detected
    as OF device. A notifier function is used to set the dma_ops
    for the of_platform bus. Further this patch splits the
    PPC_CELL_NATIVE into PPC_CELL_COMMON which are parts that are
    shared with the QPACE platform and the rest.

    Signed-off-by: Benjamin Krill
    Signed-off-by: Arnd Bergmann

    Benjamin Krill
     

21 Dec, 2008

1 commit


17 Dec, 2008

2 commits


16 Dec, 2008

2 commits


11 Dec, 2008

2 commits

  • With this patch the L2 cache is enabled on Canyonlands to increase the
    overall performance. There is a known cache coherency issue with the L2
    cache, but this is related to the high bandwidth (HB) PLB segment where
    the memory address is 0x8.xxxx.xxxx (low bandwidth PLB segment is mapped
    to 0x0.xxxx.xxxx). Since this HB address is currently unused it is safe
    to enable the L2 cache.

    Signed-off-by: Stefan Roese
    Signed-off-by: Josh Boyer

    Stefan Roese
     
  • The cuboot-acadia.c wrapper can cause assembler errors on some
    toolchains due to the lack of the proper BOOTCFLAGS. This adds
    the proper flags for the file.

    Signed-off-by: Josh Boyer

    Josh Boyer
     

04 Dec, 2008

5 commits

  • This adds support for ISA memory holes on the PCI, PCI-X and
    PCI-E busses of the 4xx platforms. The patch includes changes
    to the Bamboo and Canyonlands device-trees to add such a hole,
    others can be updated separately.

    The ISA memory hole is an additional outbound window configured
    in the bridge to generate PCI cycles in the low memory addresses,
    thus allowing to access things such as the hard-decoded VGA
    aperture at 0xa0000..0xbffff or other similar things. It's made
    accessible to userspace via the new legacy_mem file in sysfs for
    which support was added by a previous patch.

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

    Benjamin Herrenschmidt
     
  • This patch creates the dts files for each core and splits the devices
    between the two cores for MPC8572DS.

    core0 has memory, L2, i2c, dma1, global-util, eth0, eth1, crypto, pci0, pci1.
    core1 has L2, dma2, eth2, eth3, pci2, msi.

    MPIC is shared between two cores but each core will protect its interrupts
    from other core by using "protected-sources" of mpic.

    Signed-off-by: Haiying Wang
    Signed-off-by: Kumar Gala

    Haiying Wang
     
  • Also add NOR and NAND flash partitions for mpc8572ds board

    Signed-off-by: Haiying Wang
    Signed-off-by: Kumar Gala

    Haiying Wang
     
  • Basic support for the GPIO available on the SBC610 VPX Single Board Computer
    from GE Fanuc (PowerPC MPC8641D).

    This patch adds basic support for the GPIO in the devices I/O FPGA, the GPIO
    functionality is exposed through the AFIX pins on the backplane, unless used
    by an AFIX card.

    This code currently does not support switching between totem-pole and
    open-drain outputs (when used as outputs, GPIOs default to totem-pole).
    The interrupt capabilites of the GPIO lines is also not currently supported.

    Signed-off-by: Martyn Welch
    Signed-off-by: Kumar Gala

    Martyn Welch
     
  • Adding use of newly added Epson RTX-8581 real-time clock driver to GE
    Fanuc SBC610's dts file and adding driver to default config.

    Signed-off-by: Martyn Welch
    Signed-off-by: Kumar Gala

    Martyn Welch
     

03 Dec, 2008

2 commits


20 Nov, 2008

2 commits


12 Nov, 2008

1 commit


09 Nov, 2008

1 commit