Browse Source

bzip2/lzma: update boot protocol specification

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>
H. Peter Anvin 17 years ago
parent
commit
ee287587da
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Documentation/x86/boot.txt

+ 4 - 1
Documentation/x86/boot.txt

@@ -542,7 +542,10 @@ Protocol:	2.08+
 
 
   The payload may be compressed. The format of both the compressed and
   The payload may be compressed. The format of both the compressed and
   uncompressed data should be determined using the standard magic
   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
 Field name:	payload_length
 Type:		read
 Type:		read