1. 03 10月, 2007 3 次提交
  2. 22 9月, 2007 1 次提交
  3. 23 8月, 2007 1 次提交
  4. 20 8月, 2007 1 次提交
  5. 17 7月, 2007 1 次提交
  6. 25 6月, 2007 1 次提交
  7. 02 6月, 2007 1 次提交
  8. 17 5月, 2007 1 次提交
  9. 12 5月, 2007 1 次提交
    • M
      [POWERPC] Add Makefile rules to wrap dts file in zImage · 916066d5
      Mark A. Greer 提交于
      Add 'zImage.dts' and 'zImage.dts_initrd' build rules that automatically
      compile and wrap a dts file from arch/powerpc/boot/dts into the zImage file.
      The resulting zImage will be arch/powerpc/boot/zImage.dts.<platform> and
      arch/powerpc/boot/zImage.dts_initrd.<platform>, respectively.
      
      Having separate rules allows the user to choose whether to include a device
      tree--and which device tree--at build time.  This is useful when one Makefile
      target builds a zImage that runs on several platforms except for differing
      device trees.  By just setting CONFIG_DEVICE_TREE and running "make zImage.dts"
      the exact zImage you want is built without Makefile bloat or manually running
      the wrapper script.
      
      The dts file is expected to be arch/powerpc/boot/dts/$(CONFIG_DEVICE_TREE)
      Signed-off-by: NMark A. Greer <mgreer@mvista.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      916066d5
  10. 02 5月, 2007 1 次提交
  11. 27 4月, 2007 2 次提交
  12. 24 4月, 2007 1 次提交
  13. 28 9月, 2006 1 次提交
    • P
      [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot · 2bf11819
      Paul Mackerras 提交于
      This puts the knowledge of how to create various sorts of zImage
      wrappers into a script called "wrapper" that could be used outside of
      the kernel tree.  This changes arch/powerpc/boot so it first builds
      the files that the wrapper script needs, then runs it to create
      whatever flavours of zImage are required.
      
      This version does uImages as well.  The zImage names are changed
      slightly; zImage.pseries is the one with the PT_NOTE program header
      entry added, and zImage.pmac is the one without.  If the
      zImage.pseries gets made, it will also get hardlinked to zImage;
      otherwise, if zImage.pmac is made, it gets hardlinked to zImage.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      2bf11819
  14. 15 6月, 2006 1 次提交
  15. 14 4月, 2006 1 次提交
    • O
      [PATCH] powerpc32: Set cpu explicitly in kernel compiles · f48b8296
      Olaf Hering 提交于
      Compile the 32bit kernel with -mcpu=powerpc. This reduces the imagesize
      when a compiler is used that defaults to -mtune=power4. It inserts lots
      of nops to please the 64bit cpu instruction scheduling. But all these nops
      are not needed for 32bit kernels.
      
      Example with SLES10 gcc 4.1.0 and arch/powerpc/configs/pmac32_defconfig:
      
                          vmlinux  vmlinux.strip  vmlinux.gz
       -O2                4980515     4187528      1846829
       -Os                4618801     3827084      1673333
       -O2 -mcpu=powerpc  4738851     3945868      1816253
       -Os -mcpu=powerpc  4532785     3741068      1664688
      Signed-off-by: NOlaf Hering <olh@suse.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f48b8296
  16. 28 3月, 2006 1 次提交
  17. 27 3月, 2006 1 次提交
    • P
      powerpc: Don't compile in arch/ppc/kernel for 32-bit ARCH=powerpc · e7e2d2da
      Paul Mackerras 提交于
      All of the things needed for 32-bit ARCH=powerpc builds have now
      moved to arch/powerpc/kernel, so we don't need to go down into
      arch/ppc/kernel any more, and we can remove the CONFIG_PPC_MERGE
      conditional from arch/ppc/kernel/Makefile.
      
      There were two files still referenced in the merge section of
      arch/ppc/kernel/Makefile: ppc-stub.o, depending on CONFIG_KGDB,
      and dma-mapping.o, depending on CONFIG_NOT_COHERENT_CACHE.  None
      of the platforms currently in ARCH=powerpc have caches that
      aren't coherent with DMA, but when we do get one we'll move
      dma-mapping.c over.  As for CONFIG_KGDB, none of the Kconfig
      files in the tree define it, so I'll let it languish for now.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      e7e2d2da
  18. 06 3月, 2006 1 次提交
  19. 11 2月, 2006 1 次提交
    • A
      [PATCH] Fix building external modules on ppc32 · 70567293
      Andreas Gruenbacher 提交于
      We are setting up sources for building external modules like this:
      
        /usr/src/linux-obj> # create a .config file
        /usr/src/linux-obj> make -C /usr/src/linux O=$PWD oldconfig
        /usr/src/linux-obj> make -C /usr/src/linux O=$PWD prepare
        /usr/src/linux-obj> make -C /usr/src/linux O=$PWD scripts
        /usr/src/linux-obj> make -C /usr/src/linux O=$PWD clean
      
      After that, external modules can be built with:
      
        /usr/src/module> make -C /usr/src/linux-obj M=$PWD
      
      This fails for ppc32 because the `make clean' removes the
      arch/powerpc/include directory.  This should be done in archmrproper
      instead of in archclean.
      Signed-off-by: NAndreas Gruenbacher <agruen@suse.de>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      70567293
  20. 10 2月, 2006 2 次提交
  21. 20 1月, 2006 1 次提交
  22. 13 1月, 2006 2 次提交
  23. 09 1月, 2006 2 次提交
  24. 25 11月, 2005 1 次提交
  25. 18 11月, 2005 2 次提交
  26. 16 11月, 2005 1 次提交
  27. 14 11月, 2005 1 次提交
  28. 03 11月, 2005 1 次提交
    • M
      powerpc: Set entry point and text address in linker script · e19e4ab4
      Michael Ellerman 提交于
      Currently we set the kernel entry point and the address of the text
      section in the Makefile, using CONFIG_KERNEL_START.
      
      But we've already got <asm/page.h> in the linker script, so we can just
      use KERNELBASE directly. That means if we ever change KERNELBASE there's
      one less place to change it.
      
      And we can set the entry point with ENTRY().
      
      There are zero differences from "readelf -a vmlinux" with or without this
      patch.
      Signed-off-by: NMichael Ellerman <michael@ellerman.id.au>
      e19e4ab4
  29. 29 10月, 2005 1 次提交
  30. 28 10月, 2005 1 次提交
    • P
      powerpc: Merge xmon · f78541dc
      Paul Mackerras 提交于
      The merged version follows the ppc64 version pretty closely mostly,
      and in fact ARCH=ppc64 now uses the arch/powerpc/xmon version.
      The main difference for ppc64 is that the 'p' command to call
      show_state (which was always pretty dodgy) has been replaced by
      the ppc32 'p' command, which calls a given procedure (so in fact
      the old 'p' command behaviour can be achieved with 'p $show_state').
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f78541dc
  31. 20 10月, 2005 1 次提交
  32. 18 10月, 2005 1 次提交
  33. 13 10月, 2005 1 次提交