1. 11 12月, 2008 1 次提交
  2. 21 10月, 2008 1 次提交
  3. 17 10月, 2008 1 次提交
  4. 18 9月, 2008 1 次提交
    • J
      powerpc: Holly board needs dtbImage target · 32dde0f9
      Josh Boyer 提交于
      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 (595be948, "[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: NJosh Boyer <jwboyer@linux.vnet.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      32dde0f9
  5. 16 9月, 2008 1 次提交
    • P
      powerpc: Make the 64-bit kernel as a position-independent executable · 549e8152
      Paul Mackerras 提交于
      This implements CONFIG_RELOCATABLE for 64-bit by making the kernel as
      a position-independent executable (PIE) when it is set.  This involves
      processing the dynamic relocations in the image in the early stages of
      booting, even if the kernel is being run at the address it is linked at,
      since the linker does not necessarily fill in words in the image for
      which there are dynamic relocations.  (In fact the linker does fill in
      such words for 64-bit executables, though not for 32-bit executables,
      so in principle we could avoid calling relocate() entirely when we're
      running a 64-bit kernel at the linked address.)
      
      The dynamic relocations are processed by a new function relocate(addr),
      where the addr parameter is the virtual address where the image will be
      run.  In fact we call it twice; once before calling prom_init, and again
      when starting the main kernel.  This means that reloc_offset() returns
      0 in prom_init (since it has been relocated to the address it is running
      at), which necessitated a few adjustments.
      
      This also changes __va and __pa to use an equivalent definition that is
      simpler.  With the relocatable kernel, PAGE_OFFSET and MEMORY_START are
      constants (for 64-bit) whereas PHYSICAL_START is a variable (and
      KERNELBASE ideally should be too, but isn't yet).
      
      With this, relocatable kernels still copy themselves down to physical
      address 0 and run there.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      549e8152
  6. 08 9月, 2008 1 次提交
    • H
      powerpc: Fix rare boot build breakage · 4ff23fa9
      Hugh Dickins 提交于
      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: NHugh Dickins <hugh@veritas.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      4ff23fa9
  7. 22 7月, 2008 1 次提交
  8. 09 7月, 2008 1 次提交
  9. 04 7月, 2008 1 次提交
  10. 02 7月, 2008 1 次提交
  11. 01 7月, 2008 1 次提交
  12. 16 6月, 2008 1 次提交
  13. 11 6月, 2008 1 次提交
  14. 10 6月, 2008 1 次提交
  15. 09 6月, 2008 2 次提交
    • R
      powerpc: Boot code for the C2K · c6ec08e0
      Remi Machet 提交于
      Support for the C2K cPCI Single Board Computer from GEFanuc
      (PowerPC MPC7448 with a Marvell MV64460 chipset).
      All features of the board are not supported yet, but the board
      boots, flash works, all Ethernet ports are working and PCI
      devices are all found (USB and SATA on PCI1 do not work yet).
      
      Part 2 of 5: support for the board in arch/powerpc/boot.
      Signed-off-by: NRemi Machet <rmachet@slac.stanford.edu>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c6ec08e0
    • A
      [POWERPC] boot/Makefile CONFIG_ variable fixes · efa58fbf
      Adrian Bunk 提交于
      This corrects the names of two CONFIG_ variables.
      
      Note that the CONFIG_MPC86XADS fix uncovers another bug
      (with mpc866_ads_defconfig) that will require fixing:
      
      <--  snip  -->
      
      ...
      arch/powerpc/boot/dtc -O dtb -o arch/powerpc/boot/mpc866ads.dtb -b 0  /home/bunk/linux/kernel-2.6/git/linux-2.6/arch/powerpc/boot/dts/mpc866ads.dts
      DTC: dts->dtb  on file "/home/bunk/linux/kernel-2.6/git/linux-2.6/arch/powerpc/boot/dts/mpc866ads.dts"
        WRAP    arch/powerpc/boot/cuImage.mpc866ads
      powerpc64-linux-ld: arch/powerpc/boot/cuboot-mpc866ads.o: No such file: No such file or directory
      make[2]: *** [arch/powerpc/boot/cuImage.mpc866ads] Error 1
      
      <--  snip  -->
      Reported-by: NRobert P. J. Day <rpjday@crashcourse.ca>
      Signed-off-by: NAdrian Bunk <bunk@kernel.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      efa58fbf
  16. 03 6月, 2008 1 次提交
  17. 20 5月, 2008 1 次提交
  18. 25 4月, 2008 1 次提交
  19. 15 4月, 2008 1 次提交
  20. 03 4月, 2008 2 次提交
  21. 27 3月, 2008 1 次提交
  22. 26 3月, 2008 1 次提交
  23. 20 3月, 2008 1 次提交
  24. 13 3月, 2008 1 次提交
  25. 20 2月, 2008 1 次提交
  26. 14 2月, 2008 1 次提交
  27. 07 2月, 2008 1 次提交
    • G
      [POWERPC] bootwrapper: Build multiple cuImages · 25431333
      Grant Likely 提交于
      Currently, the kernel uses CONFIG_DEVICE_TREE to wrap a kernel image
      with a fdt blob which means for any given configuration only one dts
      file can be selected and so support for only one board can be built
      
      This moves the selection of the default .dts file out of the kernel
      config and into the bootwrapper makefile.  The makefile chooses which
      images to build based on the kernel config and the dts source file
      name is taken directly from the image name.  For example "cuImage.ebony"
      will use "ebony.dts" as the device tree source file.
      
      In addition, this patch allows a specific image to be requested from the
      command line by adding "cuImage.%" and "treeImage.%" targets to the list
      of valid built targets in arch/powerpc/Makefile.  This allows the default
      dts selection to be overridden.
      
      Another advantage to this change is it allows a single defconfig to be
      supplied for all boards using the same chip family and only differing in
      the device tree.
      
      Important note: This patch adds two new zImage targets; zImage.dtb.% and
      zImage.dtb.initrd.% for zImages with embedded dtb files.  Currently
      there are 5 platforms which require this: ps3, ep405, mpc885ads, ep88xc,
      adder875-redboot and ep8248e.  This patch *changes the zImage filenames*
      for those platforms.  ie. 'zImage.ps3' is now 'zImage.dtb.ps3'.
      
      This new zImage.dtb targets were added so that the .dts file could be
      part of the dependancies list for building them.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      25431333
  28. 29 1月, 2008 1 次提交
  29. 28 1月, 2008 1 次提交
  30. 25 1月, 2008 1 次提交
  31. 24 1月, 2008 3 次提交
  32. 24 12月, 2007 4 次提交
  33. 20 12月, 2007 1 次提交