1. 04 Oct, 2016 29 commits
  2. 29 Sep, 2016 9 commits
  3. 28 Sep, 2016 2 commits
    • Oliver O'Halloran's avatar
      powerpc/boot: Add support for XZ compression · c762c69e
      Oliver O'Halloran authored
      This patch adds an option to use XZ compression for the kernel image.
      
      Currently this is only enabled for 64-bit Book3S targets, which is
      roughly equivalent to the platforms that use the kernel's zImage
      wrapper, and that have been tested.
      
      The bulk of the 32-bit platforms and 64-bit BookE use uboot images,
      which relies on uboot implementing XZ. In future we can enable XZ
      support for those targets once someone has tested it.
      Signed-off-by: default avatarOliver O'Halloran <oohall@gmail.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      c762c69e
    • Oliver O'Halloran's avatar
      powerpc/boot: Add XZ support to the wrapper script · f1e510bb
      Oliver O'Halloran authored
      This modifies the wrapper script so that the -Z option takes an argument
      to specify the compression type. It can either be 'gz', 'xz' or 'none'.
      
      The legazy --no-gzip and -z options are still supported and will set the
      compression to none and gzip respectively, but they are not documented.
      
      Only XZ -6 is used for compression rather than XZ -9. Using compression
      levels higher than 6 requires the decompressor to build a large (64MB)
      dictionary when decompressing and some environments cannot satisfy such
      large allocations (e.g. POWER 6 LPAR partition firmware).
      Signed-off-by: default avatarOliver O'Halloran <oohall@gmail.com>
      Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
      f1e510bb