18 Sep, 2008

1 commit

  • One of the changes in the bootwrapper makefile introduced the dtbImage
    targets for boards that need a simple zImage with a DTB embedded in
    them (595be948cce574ff2d5dde5d0426a636a4363c70, "[POWERPC]
    bootwrapper: Build multiple cuImages"). When this was done, it broke
    booting on the Holly board as the zImage.holly wrapper did not get the
    DTB embedded properly.

    This changes the target for the Holly board to a dtbImage so that the
    wrapper includes the vmlinux, wrapper bits, and DTB.

    Signed-off-by: Josh Boyer
    Signed-off-by: Paul Mackerras

    Josh Boyer
     

17 Sep, 2008

1 commit

  • For Freescale 8xxx devices that use an MPIC, the interrupt numbers in
    the device tree must be 16 greater than the values documented in the
    reference manual. In these chips, the MPIC is wired to use the first
    16 numbers for external interrupts, but the documentation numbers
    internal interrupts from 0.

    In the MPC8610 HPCD device tree, the interrupt properties for the DMA
    channels for DMA2 were not the adjusted values. This fixes that.

    Signed-off-by: Timur Tabi
    Signed-off-by: Kumar Gala
    Signed-off-by: Paul Mackerras

    Timur Tabi
     

08 Sep, 2008

1 commit

  • A make -j20 powerpc kernel build broke a couple of months ago saying:
    In file included from arch/powerpc/boot/gunzip_util.h:13,
    from arch/powerpc/boot/prpmc2800.c:21:
    arch/powerpc/boot/zlib.h:85: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘*’ token
    arch/powerpc/boot/zlib.h:630: warning: type defaults to ‘int’ in declaration of ‘Byte’
    arch/powerpc/boot/zlib.h:630: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token

    It happened again yesterday: too rare for me to confirm the fix, but
    it looks like the list of dependants on gunzip_util.h was incomplete.

    Signed-off-by: Hugh Dickins
    Signed-off-by: Paul Mackerras

    Hugh Dickins
     

21 Aug, 2008

3 commits


12 Aug, 2008

1 commit

  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    powerpc: Remove include/linux/harrier_defs.h
    powerpc: Do not ignore arch/powerpc/include
    powerpc: Delete completed "ppc removal" task from feature removal file
    powerpc/mm: Fix attribute confusion with htab_bolt_mapping()
    powerpc/pci: Don't keep ISA memory hole resources in the tree
    powerpc: Zero fill the return values of rtas argument buffer
    powerpc/4xx: Update defconfig files for 2.6.27-rc1
    powerpc/44x: Incorrect NOR offset in Warp DTS
    powerpc/44x: Warp DTS changes for board updates
    powerpc/4xx: Cleanup Warp for i2c driver changes.
    powerpc/44x: Adjust warp-nand resource end address

    Linus Torvalds
     

06 Aug, 2008

1 commit


05 Aug, 2008

2 commits


04 Aug, 2008

1 commit

  • from include/asm-powerpc. This is the result of a

    mkdir arch/powerpc/include/asm
    git mv include/asm-powerpc/* arch/powerpc/include/asm

    Followed by a few documentation/comment fixups and a couple of places
    where was being used explicitly. Of the latter only
    one was outside the arch code and it is a driver only built for powerpc.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Paul Mackerras

    Stephen Rothwell
     

30 Jul, 2008

1 commit

  • add simple-bus compatible property to soc nodes for 83xx/85xx platforms
    that were missing them. Add same to platform probe code.

    This fixes SoC device drivers (such as talitos) to succeed in matching
    devices present in the soc node.

    also update mpc836x_rdk dts to new SEC bindings (overlooked in commit
    3fd4473: powerpc/fsl: update crypto node definition and device tree
    instances).

    Signed-off-by: Kim Phillips
    Signed-off-by: Kumar Gala

    Kim Phillips
     

22 Jul, 2008

1 commit

  • For C code spaces versus tabs is just a religious issue,
    but for Makefiles it actually matters.

    This patch fixes he following errors:
    /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/powerpc/boot/Makefile:166: *** missing separator. Stop.
    /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/powerpc/boot/Makefile:171: *** missing separator. Stop.

    Since this was inside an ifdef DTC_GENPARSER it was not a problem unless
    someone wanted to regenerate the shipped generated files.

    Signed-off-by: Adrian Bunk
    Acked-by: David Gibson
    Signed-off-by: Benjamin Herrenschmidt

    Adrian Bunk
     

17 Jul, 2008

3 commits


15 Jul, 2008

2 commits


14 Jul, 2008

7 commits


13 Jul, 2008

2 commits

  • Current device tree is only bare bones. This patch adds nodes to make
    it a complete tree for the MPC5121ads.

    Added nodes include:
    mbx - opengl coprocessor
    nfc - nand flash controller
    cpld-pic - on board cpld
    rtc
    clock - clock control
    pmc - power management control
    gpio
    mscan - can module
    i2c
    axe - audio coprocessor
    display - display interface unit
    mdio
    ethernet
    usb
    ioctl - pin config
    pata
    ac97 - PSC configured as AC97
    pscfifo - psc fifo configuration
    dma
    pci

    Fix typo in header changing MDS to ADS.

    Add a compatible property of the form "fsl,mpc5121-..."
    to nodes missing one.

    Changed localbus compatible to fsl,mpc5121-localbus, this does
    not break anything because the only code that uses it finds it
    via the node name, not compatible.

    Signed-off-by: John Rigby
    Signed-off-by: Grant Likely

    John Rigby
     
  • This patch adds the still missing FDT nodes for the MSCAN devices for
    the TQM52xx modules.

    Signed-off-by: Wolfgang Grandegger
    Signed-off-by: Grant Likely

    Wolfgang Grandegger
     

10 Jul, 2008

1 commit


09 Jul, 2008

2 commits

  • It is inconvenient to add additional default targets to the bootwrapper
    Makefile for each new board supported which just needs a different dts
    file. This change allows the defconfig to specify additional build
    targets.

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

    Grant Likely
     
  • Various instances of the EMAC core have varying: 1) number of address
    match slots, 2) width of the registers for handling address match slots,
    3) number of registers for handling address match slots and 4) base
    offset for those registers.

    As the driver stands today, it assumes that all EMACs have 4 IAHT and
    GAHT 32-bit registers, starting at offset 0x30 from the register base,
    with only 16-bits of each used for a total of 64 match slots.

    The 405EX(r) and 460EX now use the EMAC4SYNC core rather than the EMAC4
    core. This core has 8 IAHT and GAHT registers, starting at offset 0x80
    from the register base, with ALL 32-bits of each used for a total of
    256 match slots.

    This adds a new compatible device tree entry "emac4sync" and a new,
    related feature flag "EMAC_FTR_EMAC4SYNC" along with a series of macros
    and inlines which supply the appropriate parameterized value based on
    the presence or absence of the EMAC4SYNC feature.

    The code has further been reworked where appropriate to use those macros
    and inlines.

    In addition, the register size passed to ioremap is now taken from the
    device tree:

    c4 for EMAC4SYNC cores
    74 for EMAC4 cores
    70 for EMAC cores

    rather than sizeof (emac_regs).

    Finally, the device trees have been updated with the appropriate compatible
    entries and resource sizes.

    This has been tested on an AMCC Haleakala board such that: 1) inbound
    ICMP requests to 'haleakala.local' via MDNS from both Mac OS X 10.4.11
    and Ubuntu 8.04 systems as well as 2) outbound ICMP requests from
    'haleakala.local' to those same systems in the '.local' domain via MDNS
    now work.

    Signed-off-by: Grant Erickson
    Acked-by: Jeff Garzik
    Signed-off-by: Benjamin Herrenschmidt

    Grant Erickson
     

04 Jul, 2008

3 commits


02 Jul, 2008

1 commit


01 Jul, 2008

2 commits

  • Since most bootloaders or wrappers tend to update or add some information
    to the .dtb they a handled they need some working space to do that in.

    By default add 1K of padding via a default setting of DTS_FLAGS.

    Signed-off-by: Kumar Gala
    Signed-off-by: Paul Mackerras

    Kumar Gala
     
  • Currently we set the start of the .text section to be 4Mb for pSeries.
    In situations where the zImage is > 8Mb we'll fail to boot (due to
    overlapping with OF). Move .text in a zImage from 4MB to 64MB
    (well past OF).

    We still will not be able to load large zImage unless we also move OF,
    to that end, add a note to the zImage ELF to move OF to 32Mb. If this
    is the very first kernel booted then we'll need to move OF manually by
    setting real-base.

    Signed-off-by: Tony Breeds
    Signed-off-by: Paul Mackerras

    Tony Breeds
     

30 Jun, 2008

2 commits


28 Jun, 2008

1 commit


16 Jun, 2008

1 commit

  • GCC 4.4.x looks to be adding support for generating out-of-line register
    saves/restores based on:

    http://gcc.gnu.org/ml/gcc-patches/2008-04/msg01678.html

    This breaks the bootwrapper as we'd need to link with libgcc to get the
    implementation of the register save/restores.

    To workaround this issue, we just stole the save/restore code from gcc
    and simplified it down for our needs (integer only).

    Signed-off-by: Kumar Gala
    Signed-off-by: Paul Mackerras

    Kumar Gala