2018年11月7日 星期三

lzma linux image tool

 ./lzma e vmlinux_img vmlinux_img.gz


LZMA 4.06 Copyright (c) 1999-2004 Igor Pavlov  2004-09-05

Usage:  LZMA <e|d> inputFile outputFile [<switches>...]
  e: encode file
  d: decode file
  b: Benchmark
<Switches>
  -a{N}:  set compression mode - [0, 2], default: 2 (max)
  -d{N}:  set dictionary - [0,28], default: 23 (8MB)
  -fb{N}: set number of fast bytes - [5, 255], default: 128
  -lc{N}: set number of literal context bits - [0, 8], default: 3
  -lp{N}: set number of literal pos bits - [0, 4], default: 0
  -pb{N}: set number of pos bits - [0, 4], default: 2
  -mf{MF_ID}: set Match Finder: [bt2, bt3, bt4, bt4b, pat2r, pat2,
              pat2h, pat3h, pat4h, hc3, hc4], default: bt4
  -eos:   write End Of Stream marker
  -si:    Read data from stdin
  -so:    Write data to stdout


沒有留言:

張貼留言