]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
bzip2/lzma: update boot protocol specification
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 15 Jan 2009 00:07:38 +0000 (16:07 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 15 Jan 2009 00:07:38 +0000 (16:07 -0800)
Impact: documentation

Update the boot protocol specification to include the currently
supported file formats and their magic numbers.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Documentation/x86/boot.txt

index fcdc62b3c3d8d8d1b826c04ce70a3bf9ea0b2a9b..9ac70ffe2b7773b76da5b33f0dca52c3f756be4e 100644 (file)
@@ -542,7 +542,10 @@ Protocol:  2.08+
 
   The payload may be compressed. The format of both the compressed and
   uncompressed data should be determined using the standard magic
-  numbers. Currently only gzip compressed ELF is used.
+  numbers.  The currently supported compression formats are gzip
+  (magic numbers 1F 8B or 1F 9E), bzip2 (magic number 42 5A) and LZMA
+  (magic number 5D 00).  The uncompressed payload is currently always ELF
+  (magic number 7F 45 4C 46).
   
 Field name:    payload_length
 Type:          read