1. 19 7月, 2016 1 次提交
    • A
      Kbuild: arch: look for generated headers in obtree · 58ab5e0c
      Arnd Bergmann 提交于
      There are very few files that need add an -I$(obj) gcc for the preprocessor
      or the assembler. For C files, we add always these for both the objtree and
      srctree, but for the other ones we require the Makefile to add them, and
      Kbuild then adds it for both trees.
      
      As a preparation for changing the meaning of the -I$(obj) directive to
      only refer to the srctree, this changes the two instances in arch/x86 to use
      an explictit $(objtree) prefix where needed, otherwise we won't find the
      headers any more, as reported by the kbuild 0day builder.
      
      arch/x86/realmode/rm/realmode.lds.S:75:20: fatal error: pasyms.h: No such file or directory
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMichal Marek <mmarek@suse.com>
      58ab5e0c
  2. 17 5月, 2016 1 次提交
  3. 14 12月, 2015 1 次提交
  4. 17 10月, 2015 1 次提交
  5. 16 9月, 2015 1 次提交
  6. 07 4月, 2015 1 次提交
  7. 16 3月, 2015 1 次提交
  8. 25 9月, 2014 1 次提交
    • T
      powerpc/boot: Don't install zImage.* from make install · c913e5f9
      Tony Breeds 提交于
      in commit 29f1aff2 (powerpc: Copy bootable images in the default
      install script) we changed to copying all the built boot targets based
      on the assumption that it's backwards compatible.  It turns out that
      debian devived installkernel scripts will barf if not given exactly 4
      args.
      
      This change reverts make install to just install the vmlinux (we can
      change the dfault in a seperate patch) and introduces a new make
      zInstall which works with a more flexible installkernel script.
      
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NTony Breeds <tony@bakeyournoodle.com>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      c913e5f9
  9. 12 6月, 2014 1 次提交
  10. 01 5月, 2014 1 次提交
  11. 28 4月, 2014 2 次提交
  12. 07 3月, 2014 1 次提交
    • P
      powerpc: Delete old PrPMC 280/2800 support · 3c8464a9
      Paul Gortmaker 提交于
      This processor/memory module was mostly used on ATCA blades and
      before that, on cPCI blades.  It wasn't really user friendly, with
      custom non u-boot bootloaders (powerboot/motload) and no real way
      to recover corrupted boot flash (which was a common problem).
      
      As such, it had its day back before the big ppc --> powerpc move
      to device trees, and that was largely through commercial BSPs that
      started to dry up around 2007.
      
      Systems using one were largely in a "deploy and sustain" mode,
      so interest in upgrading to new kernels in the field was nil.
      Also, requiring 50A, 48V power supplies and a 2'x2'x2' ATCA
      chassis largely rules out any hobbyist/enthusiast interest.
      
      The point of all this, is that we might as well delete the in
      kernel files relating to this platform.  No point in continuing
      to build it via walking the defconfigs or via linux-next testing.
      
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      3c8464a9
  13. 11 1月, 2014 1 次提交
    • P
      powerpc: fix 8xx and 6xx final link failures · 78f3d050
      Paul Gortmaker 提交于
      As of commit b81f18e5 ("powerpc/boot:
      Only build board support files when required.") the two defconfigs
      ep88xc_defconfig and storcenter_defconfig would fail final link as
      follows:
      
        WRAP    arch/powerpc/boot/dtbImage.ep88xc
      arch/powerpc/boot/wrapper.a(mpc8xx.o): In function `mpc885_get_clock':
      arch/powerpc/boot/mpc8xx.c:30: undefined reference to `fsl_get_immr'
      make[1]: *** [arch/powerpc/boot/dtbImage.ep88xc] Error 1
      
       ...and...
      
        WRAP    arch/powerpc/boot/cuImage.storcenter
      arch/powerpc/boot/cuboot-pq2.o: In function `pq2_platform_fixups':
      cuboot-pq2.c:(.text+0x324): undefined reference to `fsl_get_immr'
      make[1]: *** [arch/powerpc/boot/cuImage.storcenter] Error 1
      
      We need the fsl-soc board files built for these two platforms.
      
      Cc: Tony Breeds <tony@bakeyournoodle.com>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Fixes: b81f18e5 ("powerpc/boot: Only build board support files when required.")
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      78f3d050
  14. 10 1月, 2014 1 次提交
    • S
      powerpc/embedded6xx: Add support for Motorola/Emerson MVME5100 · be201981
      Stephen Chivers 提交于
      Add support for the Motorola/Emerson MVME5100 Single Board Computer.
      
      The MVME5100 is a 6U form factor VME64 computer with:
      
      	- A single MPC7410 or MPC750 CPU
      	- A HAWK Processor Host Bridge (CPU to PCI) and
      	  MultiProcessor Interrupt Controller (MPIC)
      	- Up to 500Mb of onboard memory
      	- A M48T37 Real Time Clock (RTC) and Non-Volatile Memory chip
      	- Two 16550 compatible UARTS
      	- Two Intel E100 Fast Ethernets
      	- Two PCI Mezzanine Card (PMC) Slots
      	- PPCBug Firmware
      
      The HAWK PHB/MPIC is compatible with the MPC10x devices.
      
      There is no onboard disk support. This is usually provided by installing a PMC
      in first PMC slot.
      
      This patch revives the board support, it was present in early 2.6
      series kernels. The board support in those days was by Matt Porter of
      MontaVista Software.
      
      CSC Australia has around 31 of these boards in service. The kernel in use
      for the boards is based on 2.6.31. The boards are operated without disks
      from a file server.
      
      This patch is based on linux-3.13-rc2 and has been boot tested.
      
      Only boards with 512 Mb of memory are known to work.
      Signed-off-by: NStephen Chivers <schivers@csc.com>
      Tested-by: NAlessio Igor Bogani <alessio.bogani@elettra.eu>
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      be201981
  15. 11 10月, 2013 1 次提交
  16. 25 9月, 2013 1 次提交
  17. 07 9月, 2012 1 次提交
    • M
      powerpc: Fix build dependencies for c files requiring libfdt.h · 0090e02b
      Matthew McClintock 提交于
      Several files in obj-plat depend on libfdt header file. Sometimes
      when building one can see the following issue. This patch adds
      libfdt as dependency to those object files
      
      | In file included from arch/powerpc/boot/treeboot-iss4xx.c:33:0:
      | arch/powerpc/boot/libfdt.h:854:1: error: unterminated comment
      | In file included from arch/powerpc/boot/treeboot-iss4xx.c:33:0:
      | arch/powerpc/boot/libfdt.h:1:0: error: unterminated #ifndef
      |   BOOTCC  arch/powerpc/boot/inffast.o
      | make[1]: *** [arch/powerpc/boot/treeboot-iss4xx.o] Error 1
      | make[1]: *** Waiting for unfinished jobs....
      |   BOOTCC  arch/powerpc/boot/inflate.o
      | make: *** [uImage] Error 2
      | ERROR: oe_runmake failed
      | ERROR: Function failed: do_compile (see /srv/home/pokybuild/yocto-autobuilder/yocto-slave/p1022ds/build/build/tmp/work/p1022ds-poky-linux-gnuspe/linux-qoriq-sdk-3.0.34-r5/temp/log.do_compile.2167 for further information)
      NOTE: recipe linux-qoriq-sdk-3.0.34-r5: task do_compile: Failed
      Signed-off-by: NMatthew McClintock <msm@freescale.com>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      0090e02b
  18. 10 7月, 2012 1 次提交
  19. 03 7月, 2012 1 次提交
  20. 21 3月, 2012 1 次提交
  21. 17 3月, 2012 1 次提交
  22. 15 1月, 2012 1 次提交
    • S
      Kbuild: Use dtc's -d (dependency) option · 7c431851
      Stephen Warren 提交于
      This hooks dtc into Kbuild's dependency system.
      
      Thus, for example, "make dtbs" will rebuild tegra-harmony.dtb if only
      tegra20.dtsi has changed yet tegra-harmony.dts has not. The previous
      lack of this feature recently caused me to have very confusing "git
      bisect" results.
      
      For ARM, it's obvious what to add to $(targets). I'm not familiar enough
      with other architectures to know what to add there. Powerpc appears to
      already add various .dtb files into $(targets), but the other archs may
      need something added to $(targets) to work.
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Acked-by: NShawn Guo <shawn.guo@linaro.org>
      [mmarek: Dropped arch/c6x part to avoid merging commits from the middle
      of the merge window]
      Signed-off-by: NMichal Marek <mmarek@suse.cz>
      7c431851
  23. 09 12月, 2011 1 次提交
  24. 08 12月, 2011 1 次提交
    • B
      powerpc: Add support for OpenBlockS 600 · 11eab297
      Benjamin Herrenschmidt 提交于
      So I've had one of these for a while and it looks like the vendor never
      bothered submitting the support upstream.
      
      This adds it using ppc40x_simple and provides a device-tree.
      
      There are some changes to the boot wrapper because the way u-boot works
      on this thing, it seems to expect a multipart image with the kernel,
      initrd and dtb in it.
      
      The USB support is missing as it needs the yet unmerged driver for
      the DWC OTG part and the GPIOs may need further definition in the dts.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      11eab297
  25. 20 9月, 2011 2 次提交
  26. 19 5月, 2011 1 次提交
  27. 20 4月, 2011 1 次提交
  28. 21 1月, 2011 1 次提交
  29. 24 12月, 2010 1 次提交
  30. 15 6月, 2010 1 次提交
  31. 05 5月, 2010 1 次提交
  32. 07 4月, 2010 1 次提交
  33. 14 1月, 2010 1 次提交
    • B
      zlib: Fix build of powerpc boot wrapper · 6846ee5c
      Benjamin Herrenschmidt 提交于
      Commit ac4c2a3b broke the build
      of all powerpc boot wrappers.
      
      It attempts to add an include of autoconf.h but used the wrong
      path for it. It also adds -D__KERNEL__ to our boot wrapper, both
      things that we pretty much didn't do on purpose so far.
      
      We want our boot wrapper to remain independent enough of the kernel
      for various reasons, one of them being that you can "wrap" an existing
      kernel at distro install time which allows to ship one kernel image
      and a set of boot wrappers for different platforms, the wrappers
      don't have to be built out of the same kernel build tree.
      
      It's also incorrect to do what the patch does in our boot environment
      since we may not have a proper alignment exception handler which means
      we may not be able to fixup the few cases where an unaligned access will
      need SW emulation (depends on the core variant, could be when crossing
      page or segment boundaries for example).
      
      This patch fixes it by putting the old code back in and using the
      new "fancy" variant only when CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS
      is set, which happens not to be set on powerpc since we don't include
      autoconf.h. It also reverts the changes to our boot wrapper Makefile.
      
      This means that x86 should, afaik, keep the optimisations since its
      boot wrapper does include autoconf.h and define __KERNEL__ (though I
      doubt they make that much different outside of slow embedded processors).
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6846ee5c
  34. 12 1月, 2010 1 次提交
  35. 13 12月, 2009 3 次提交
  36. 31 8月, 2009 1 次提交