2 +++ b/arch/arm/boot/compressed/LzmaDecode.c
6 + LZMA Decoder (optimized for Speed version)
8 + LZMA SDK 4.22 Copyright (c) 1999-2005 Igor Pavlov (2005-06-10)
9 + http://www.7-zip.org/
11 + LZMA SDK is licensed under two licenses:
12 + 1) GNU Lesser General Public License (GNU LGPL)
13 + 2) Common Public License (CPL)
14 + It means that you can select one of these two licenses and
15 + follow rules of that license.
18 + Igor Pavlov, as the author of this Code, expressly permits you to
19 + statically or dynamically link your Code (or bind by name) to the
20 + interfaces of this file without subjecting your linked Code to the
21 + terms of the CPL or GNU LGPL. Any modifications or additions
22 + to this file, however, are subject to the LGPL or CPL terms.
25 +#include "LzmaDecode.h"
28 +#define Byte unsigned char
31 +#define kNumTopBits 24
32 +#define kTopValue ((UInt32)1 << kNumTopBits)
34 +#define kNumBitModelTotalBits 11
35 +#define kBitModelTotal (1 << kNumBitModelTotalBits)
36 +#define kNumMoveBits 5
38 +#define RC_READ_BYTE (*Buffer++)
40 +#define RC_INIT2 Code = 0; Range = 0xFFFFFFFF; \
41 + { int i; for(i = 0; i < 5; i++) { RC_TEST; Code = (Code << 8) | RC_READ_BYTE; }}
45 +#define RC_TEST { if (Buffer == BufferLim) \
46 + { SizeT size; int result = InCallback->Read(InCallback, &Buffer, &size); if (result != LZMA_RESULT_OK) return result; \
47 + BufferLim = Buffer + size; if (size == 0) return LZMA_RESULT_DATA_ERROR; }}
49 +#define RC_INIT Buffer = BufferLim = 0; RC_INIT2
53 +#define RC_TEST { if (Buffer == BufferLim) return LZMA_RESULT_DATA_ERROR; }
55 +#define RC_INIT(buffer, bufferSize) Buffer = buffer; BufferLim = buffer + bufferSize; RC_INIT2
59 +#define RC_NORMALIZE if (Range < kTopValue) { RC_TEST; Range <<= 8; Code = (Code << 8) | RC_READ_BYTE; }
61 +#define IfBit0(p) RC_NORMALIZE; bound = (Range >> kNumBitModelTotalBits) * *(p); if (Code < bound)
62 +#define UpdateBit0(p) Range = bound; *(p) += (kBitModelTotal - *(p)) >> kNumMoveBits;
63 +#define UpdateBit1(p) Range -= bound; Code -= bound; *(p) -= (*(p)) >> kNumMoveBits;
65 +#define RC_GET_BIT2(p, mi, A0, A1) IfBit0(p) \
66 + { UpdateBit0(p); mi <<= 1; A0; } else \
67 + { UpdateBit1(p); mi = (mi + mi) + 1; A1; }
69 +#define RC_GET_BIT(p, mi) RC_GET_BIT2(p, mi, ; , ;)
71 +#define RangeDecoderBitTreeDecode(probs, numLevels, res) \
72 + { int i = numLevels; res = 1; \
73 + do { CProb *p = probs + res; RC_GET_BIT(p, res) } while(--i != 0); \
74 + res -= (1 << numLevels); }
77 +#define kNumPosBitsMax 4
78 +#define kNumPosStatesMax (1 << kNumPosBitsMax)
80 +#define kLenNumLowBits 3
81 +#define kLenNumLowSymbols (1 << kLenNumLowBits)
82 +#define kLenNumMidBits 3
83 +#define kLenNumMidSymbols (1 << kLenNumMidBits)
84 +#define kLenNumHighBits 8
85 +#define kLenNumHighSymbols (1 << kLenNumHighBits)
88 +#define LenChoice2 (LenChoice + 1)
89 +#define LenLow (LenChoice2 + 1)
90 +#define LenMid (LenLow + (kNumPosStatesMax << kLenNumLowBits))
91 +#define LenHigh (LenMid + (kNumPosStatesMax << kLenNumMidBits))
92 +#define kNumLenProbs (LenHigh + kLenNumHighSymbols)
95 +#define kNumStates 12
96 +#define kNumLitStates 7
98 +#define kStartPosModelIndex 4
99 +#define kEndPosModelIndex 14
100 +#define kNumFullDistances (1 << (kEndPosModelIndex >> 1))
102 +#define kNumPosSlotBits 6
103 +#define kNumLenToPosStates 4
105 +#define kNumAlignBits 4
106 +#define kAlignTableSize (1 << kNumAlignBits)
108 +#define kMatchMinLen 2
111 +#define IsRep (IsMatch + (kNumStates << kNumPosBitsMax))
112 +#define IsRepG0 (IsRep + kNumStates)
113 +#define IsRepG1 (IsRepG0 + kNumStates)
114 +#define IsRepG2 (IsRepG1 + kNumStates)
115 +#define IsRep0Long (IsRepG2 + kNumStates)
116 +#define PosSlot (IsRep0Long + (kNumStates << kNumPosBitsMax))
117 +#define SpecPos (PosSlot + (kNumLenToPosStates << kNumPosSlotBits))
118 +#define Align (SpecPos + kNumFullDistances - kEndPosModelIndex)
119 +#define LenCoder (Align + kAlignTableSize)
120 +#define RepLenCoder (LenCoder + kNumLenProbs)
121 +#define Literal (RepLenCoder + kNumLenProbs)
123 +#if Literal != LZMA_BASE_SIZE
128 +int LzmaDecodeProperties(CLzmaProperties *propsRes, const unsigned char *propsData, int size)
130 + unsigned char prop0;
131 + if (size < LZMA_PROPERTIES_SIZE)
132 + return LZMA_RESULT_DATA_ERROR;
133 + prop0 = propsData[0];
134 + if (prop0 >= (9 * 5 * 5))
135 + return LZMA_RESULT_DATA_ERROR;
137 + for (propsRes->pb = 0; prop0 >= (9 * 5); propsRes->pb++, prop0 -= (9 * 5));
138 + for (propsRes->lp = 0; prop0 >= 9; propsRes->lp++, prop0 -= 9);
139 + propsRes->lc = prop0;
141 + unsigned char remainder = (unsigned char)(prop0 / 9);
142 + propsRes->lc = prop0 % 9;
143 + propsRes->pb = remainder / 5;
144 + propsRes->lp = remainder % 5;
148 + #ifdef _LZMA_OUT_READ
151 + propsRes->DictionarySize = 0;
152 + for (i = 0; i < 4; i++)
153 + propsRes->DictionarySize += (UInt32)(propsData[1 + i]) << (i * 8);
154 + if (propsRes->DictionarySize == 0)
155 + propsRes->DictionarySize = 1;
158 + return LZMA_RESULT_OK;
162 +#define kLzmaStreamWasFinishedId (-1)
164 +int LzmaDecode(CLzmaDecoderState *vs,
166 + ILzmaInCallback *InCallback,
168 + const unsigned char *inStream, SizeT inSize, SizeT *inSizeProcessed,
170 + unsigned char *outStream, SizeT outSize, SizeT *outSizeProcessed)
172 + CProb *p = vs->Probs;
174 + Byte previousByte = 0;
175 + UInt32 posStateMask = (1 << (vs->Properties.pb)) - 1;
176 + UInt32 literalPosMask = (1 << (vs->Properties.lp)) - 1;
177 + int lc = vs->Properties.lc;
179 + #ifdef _LZMA_OUT_READ
181 + UInt32 Range = vs->Range;
182 + UInt32 Code = vs->Code;
184 + const Byte *Buffer = vs->Buffer;
185 + const Byte *BufferLim = vs->BufferLim;
187 + const Byte *Buffer = inStream;
188 + const Byte *BufferLim = inStream + inSize;
190 + int state = vs->State;
191 + UInt32 rep0 = vs->Reps[0], rep1 = vs->Reps[1], rep2 = vs->Reps[2], rep3 = vs->Reps[3];
192 + int len = vs->RemainLen;
193 + UInt32 globalPos = vs->GlobalPos;
194 + UInt32 distanceLimit = vs->DistanceLimit;
196 + Byte *dictionary = vs->Dictionary;
197 + UInt32 dictionarySize = vs->Properties.DictionarySize;
198 + UInt32 dictionaryPos = vs->DictionaryPos;
200 + Byte tempDictionary[4];
202 + #ifndef _LZMA_IN_CB
203 + *inSizeProcessed = 0;
205 + *outSizeProcessed = 0;
206 + if (len == kLzmaStreamWasFinishedId)
207 + return LZMA_RESULT_OK;
209 + if (dictionarySize == 0)
211 + dictionary = tempDictionary;
212 + dictionarySize = 1;
213 + tempDictionary[0] = vs->TempDictionary[0];
216 + if (len == kLzmaNeedInitId)
219 + UInt32 numProbs = Literal + ((UInt32)LZMA_LIT_SIZE << (lc + vs->Properties.lp));
221 + for (i = 0; i < numProbs; i++)
222 + p[i] = kBitModelTotal >> 1;
223 + rep0 = rep1 = rep2 = rep3 = 1;
228 + dictionary[dictionarySize - 1] = 0;
232 + RC_INIT(inStream, inSize);
237 + while(len != 0 && nowPos < outSize)
239 + UInt32 pos = dictionaryPos - rep0;
240 + if (pos >= dictionarySize)
241 + pos += dictionarySize;
242 + outStream[nowPos++] = dictionary[dictionaryPos] = dictionary[pos];
243 + if (++dictionaryPos == dictionarySize)
247 + if (dictionaryPos == 0)
248 + previousByte = dictionary[dictionarySize - 1];
250 + previousByte = dictionary[dictionaryPos - 1];
252 + #else /* if !_LZMA_OUT_READ */
255 + UInt32 rep0 = 1, rep1 = 1, rep2 = 1, rep3 = 1;
257 + const Byte *Buffer;
258 + const Byte *BufferLim;
262 + #ifndef _LZMA_IN_CB
263 + *inSizeProcessed = 0;
265 + *outSizeProcessed = 0;
269 + UInt32 numProbs = Literal + ((UInt32)LZMA_LIT_SIZE << (lc + vs->Properties.lp));
270 + for (i = 0; i < numProbs; i++)
271 + p[i] = kBitModelTotal >> 1;
277 + RC_INIT(inStream, inSize);
280 + #endif /* _LZMA_OUT_READ */
282 + while(nowPos < outSize)
286 + int posState = (int)(
288 + #ifdef _LZMA_OUT_READ
294 + prob = p + IsMatch + (state << kNumPosBitsMax) + posState;
299 + prob = p + Literal + (LZMA_LIT_SIZE *
302 + #ifdef _LZMA_OUT_READ
306 + & literalPosMask) << lc) + (previousByte >> (8 - lc))));
308 + if (state >= kNumLitStates)
311 + #ifdef _LZMA_OUT_READ
312 + UInt32 pos = dictionaryPos - rep0;
313 + if (pos >= dictionarySize)
314 + pos += dictionarySize;
315 + matchByte = dictionary[pos];
317 + matchByte = outStream[nowPos - rep0];
324 + bit = (matchByte & 0x100);
325 + probLit = prob + 0x100 + bit + symbol;
326 + RC_GET_BIT2(probLit, symbol, if (bit != 0) break, if (bit == 0) break)
328 + while (symbol < 0x100);
330 + while (symbol < 0x100)
332 + CProb *probLit = prob + symbol;
333 + RC_GET_BIT(probLit, symbol)
335 + previousByte = (Byte)symbol;
337 + outStream[nowPos++] = previousByte;
338 + #ifdef _LZMA_OUT_READ
339 + if (distanceLimit < dictionarySize)
342 + dictionary[dictionaryPos] = previousByte;
343 + if (++dictionaryPos == dictionarySize)
346 + if (state < 4) state = 0;
347 + else if (state < 10) state -= 3;
353 + prob = p + IsRep + state;
360 + state = state < kNumLitStates ? 0 : 3;
361 + prob = p + LenCoder;
366 + prob = p + IsRepG0 + state;
370 + prob = p + IsRep0Long + (state << kNumPosBitsMax) + posState;
373 + #ifdef _LZMA_OUT_READ
378 + #ifdef _LZMA_OUT_READ
379 + if (distanceLimit == 0)
383 + return LZMA_RESULT_DATA_ERROR;
385 + state = state < kNumLitStates ? 9 : 11;
386 + #ifdef _LZMA_OUT_READ
387 + pos = dictionaryPos - rep0;
388 + if (pos >= dictionarySize)
389 + pos += dictionarySize;
390 + previousByte = dictionary[pos];
391 + dictionary[dictionaryPos] = previousByte;
392 + if (++dictionaryPos == dictionarySize)
395 + previousByte = outStream[nowPos - rep0];
397 + outStream[nowPos++] = previousByte;
398 + #ifdef _LZMA_OUT_READ
399 + if (distanceLimit < dictionarySize)
414 + prob = p + IsRepG1 + state;
423 + prob = p + IsRepG2 + state;
440 + state = state < kNumLitStates ? 8 : 11;
441 + prob = p + RepLenCoder;
444 + int numBits, offset;
445 + CProb *probLen = prob + LenChoice;
448 + UpdateBit0(probLen);
449 + probLen = prob + LenLow + (posState << kLenNumLowBits);
451 + numBits = kLenNumLowBits;
455 + UpdateBit1(probLen);
456 + probLen = prob + LenChoice2;
459 + UpdateBit0(probLen);
460 + probLen = prob + LenMid + (posState << kLenNumMidBits);
461 + offset = kLenNumLowSymbols;
462 + numBits = kLenNumMidBits;
466 + UpdateBit1(probLen);
467 + probLen = prob + LenHigh;
468 + offset = kLenNumLowSymbols + kLenNumMidSymbols;
469 + numBits = kLenNumHighBits;
472 + RangeDecoderBitTreeDecode(probLen, numBits, len);
479 + state += kNumLitStates;
480 + prob = p + PosSlot +
481 + ((len < kNumLenToPosStates ? len : kNumLenToPosStates - 1) <<
483 + RangeDecoderBitTreeDecode(prob, kNumPosSlotBits, posSlot);
484 + if (posSlot >= kStartPosModelIndex)
486 + int numDirectBits = ((posSlot >> 1) - 1);
487 + rep0 = (2 | ((UInt32)posSlot & 1));
488 + if (posSlot < kEndPosModelIndex)
490 + rep0 <<= numDirectBits;
491 + prob = p + SpecPos + rep0 - posSlot - 1;
495 + numDirectBits -= kNumAlignBits;
507 + while (--numDirectBits != 0);
509 + rep0 <<= kNumAlignBits;
510 + numDirectBits = kNumAlignBits;
517 + CProb *prob3 = prob + mi;
518 + RC_GET_BIT2(prob3, mi, ; , rep0 |= i);
521 + while(--numDirectBits != 0);
526 + if (++rep0 == (UInt32)(0))
528 + /* it's for stream version */
529 + len = kLzmaStreamWasFinishedId;
534 + len += kMatchMinLen;
535 + #ifdef _LZMA_OUT_READ
536 + if (rep0 > distanceLimit)
540 + return LZMA_RESULT_DATA_ERROR;
542 + #ifdef _LZMA_OUT_READ
543 + if (dictionarySize - distanceLimit > (UInt32)len)
544 + distanceLimit += len;
546 + distanceLimit = dictionarySize;
551 + #ifdef _LZMA_OUT_READ
552 + UInt32 pos = dictionaryPos - rep0;
553 + if (pos >= dictionarySize)
554 + pos += dictionarySize;
555 + previousByte = dictionary[pos];
556 + dictionary[dictionaryPos] = previousByte;
557 + if (++dictionaryPos == dictionarySize)
560 + previousByte = outStream[nowPos - rep0];
563 + outStream[nowPos++] = previousByte;
565 + while(len != 0 && nowPos < outSize);
570 + #ifdef _LZMA_OUT_READ
573 + vs->DictionaryPos = dictionaryPos;
574 + vs->GlobalPos = globalPos + (UInt32)nowPos;
575 + vs->DistanceLimit = distanceLimit;
576 + vs->Reps[0] = rep0;
577 + vs->Reps[1] = rep1;
578 + vs->Reps[2] = rep2;
579 + vs->Reps[3] = rep3;
581 + vs->RemainLen = len;
582 + vs->TempDictionary[0] = tempDictionary[0];
586 + vs->Buffer = Buffer;
587 + vs->BufferLim = BufferLim;
589 + *inSizeProcessed = (SizeT)(Buffer - inStream);
591 + *outSizeProcessed = nowPos;
592 + return LZMA_RESULT_OK;
595 +++ b/arch/arm/boot/compressed/LzmaDecode.h
599 + LZMA Decoder interface
601 + LZMA SDK 4.21 Copyright (c) 1999-2005 Igor Pavlov (2005-06-08)
602 + http://www.7-zip.org/
604 + LZMA SDK is licensed under two licenses:
605 + 1) GNU Lesser General Public License (GNU LGPL)
606 + 2) Common Public License (CPL)
607 + It means that you can select one of these two licenses and
608 + follow rules of that license.
611 + Igor Pavlov, as the author of this code, expressly permits you to
612 + statically or dynamically link your code (or bind by name) to the
613 + interfaces of this file without subjecting your linked code to the
614 + terms of the CPL or GNU LGPL. Any modifications or additions
615 + to this file, however, are subject to the LGPL or CPL terms.
618 +#ifndef __LZMADECODE_H
619 +#define __LZMADECODE_H
621 +/* #define _LZMA_IN_CB */
622 +/* Use callback for input data */
624 +/* #define _LZMA_OUT_READ */
625 +/* Use read function for output data */
627 +/* #define _LZMA_PROB32 */
628 +/* It can increase speed on some 32-bit CPUs,
629 + but memory usage will be doubled in that case */
631 +/* #define _LZMA_LOC_OPT */
632 +/* Enable local speed optimizations inside code */
634 +/* #define _LZMA_SYSTEM_SIZE_T */
635 +/* Use system's size_t. You can use it to enable 64-bit sizes supporting*/
638 +#ifdef _LZMA_UINT32_IS_ULONG
639 +#define UInt32 unsigned long
641 +#define UInt32 unsigned int
646 +#ifdef _LZMA_SYSTEM_SIZE_T
648 +#define SizeT size_t
650 +#define SizeT UInt32
655 +#define CProb UInt32
657 +#define CProb unsigned short
660 +#define LZMA_RESULT_OK 0
661 +#define LZMA_RESULT_DATA_ERROR 1
664 +typedef struct _ILzmaInCallback
666 + int (*Read)(void *object, const unsigned char **buffer, SizeT *bufferSize);
670 +#define LZMA_BASE_SIZE 1846
671 +#define LZMA_LIT_SIZE 768
673 +#define LZMA_PROPERTIES_SIZE 5
675 +typedef struct _CLzmaProperties
680 + #ifdef _LZMA_OUT_READ
681 + UInt32 DictionarySize;
685 +int LzmaDecodeProperties(CLzmaProperties *propsRes, const unsigned char *propsData, int size);
687 +#define LzmaGetNumProbs(Properties) (LZMA_BASE_SIZE + (LZMA_LIT_SIZE << ((Properties)->lc + (Properties)->lp)))
689 +#define kLzmaNeedInitId (-2)
691 +typedef struct _CLzmaDecoderState
693 + CLzmaProperties Properties;
697 + const unsigned char *Buffer;
698 + const unsigned char *BufferLim;
701 + #ifdef _LZMA_OUT_READ
702 + unsigned char *Dictionary;
705 + UInt32 DictionaryPos;
707 + UInt32 DistanceLimit;
711 + unsigned char TempDictionary[4];
713 +} CLzmaDecoderState;
715 +#ifdef _LZMA_OUT_READ
716 +#define LzmaDecoderInit(vs) { (vs)->RemainLen = kLzmaNeedInitId; }
719 +int LzmaDecode(CLzmaDecoderState *vs,
721 + ILzmaInCallback *inCallback,
723 + const unsigned char *inStream, SizeT inSize, SizeT *inSizeProcessed,
725 + unsigned char *outStream, SizeT outSize, SizeT *outSizeProcessed);
728 --- a/arch/arm/boot/compressed/Makefile
729 +++ b/arch/arm/boot/compressed/Makefile
735 +OBJS = misc.o ../../lib/lib1funcs.o
736 FONTC = $(srctree)/drivers/video/console/font_acorn_8x8.c
739 @@ -63,7 +63,7 @@ endif
741 SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/
743 -targets := vmlinux vmlinux.lds piggy.gz piggy.o font.o font.c \
744 +targets := vmlinux vmlinux.lds piggy.lzma piggy.o font.o font.c \
745 head.o misc.o $(OBJS)
747 ifeq ($(CONFIG_FUNCTION_TRACER),y)
748 @@ -96,10 +96,10 @@ $(obj)/vmlinux: $(obj)/vmlinux.lds $(obj
749 $(call if_changed,ld)
752 -$(obj)/piggy.gz: $(obj)/../Image FORCE
753 - $(call if_changed,gzip)
754 +$(obj)/piggy.lzma: $(obj)/../Image FORCE
755 + $(call if_changed,lzma)
757 -$(obj)/piggy.o: $(obj)/piggy.gz FORCE
758 +$(obj)/piggy.o: $(obj)/piggy.lzma FORCE
760 CFLAGS_font.o := -Dstatic=
762 --- a/arch/arm/boot/compressed/misc.c
763 +++ b/arch/arm/boot/compressed/misc.c
764 @@ -202,8 +202,8 @@ typedef unsigned long ulg;
765 static uch *inbuf; /* input buffer */
766 static uch window[WSIZE]; /* Sliding window buffer */
768 -static unsigned insize; /* valid bytes in inbuf */
769 -static unsigned inptr; /* index of next byte to be processed in inbuf */
770 +static unsigned insize = 0; /* valid bytes in inbuf */
771 +static unsigned inptr = 0; /* index of next byte to be processed in inbuf */
772 static unsigned outcnt; /* bytes in output buffer */
775 @@ -242,7 +242,7 @@ extern char input_data[];
776 extern char input_data_end[];
778 static uch *output_data;
779 -static ulg output_ptr;
780 +static ulg output_ptr = 0;
781 static ulg bytes_out;
783 static void error(char *m);
784 @@ -259,7 +259,7 @@ static ulg free_mem_end_ptr;
786 #define ARCH_HAS_DECOMP_WDOG
788 -#include "../../../../lib/inflate.c"
789 +/* #include "../../../../lib/inflate.c" */
791 /* ===========================================================================
792 * Fill the input buffer. This is called only when the buffer is empty
793 @@ -277,6 +277,76 @@ int fill_inbuf(void)
798 +#include "LzmaDecode.h"
799 +#include "LzmaDecode.c"
805 +static int read_byte(void *object, const unsigned char **buffer, SizeT *bufferSize);
808 + * Do the lzma decompression
810 +static int unlzma(void)
814 + CLzmaDecoderState state;
815 + unsigned int uncompressedSize = 0;
817 + ILzmaInCallback callback;
818 + callback.Read = read_byte;
822 + state.Properties.lc = i % 9, i = i / 9;
823 + state.Properties.lp = i % 5, state.Properties.pb = i / 5;
825 + /* skip dictionary size */
826 + for (i = 0; i < 4; i++)
828 + /* get uncompressed size */
829 + uncompressedSize = (get_byte()) +
830 + (get_byte() << 8) +
831 + (get_byte() << 16) +
832 + (get_byte() << 24);
834 + /* skip high order bytes */
835 + for (i = 0; i < 4; i++)
837 + /* point it beyond uncompresedSize */
838 + state.Probs = (CProb *) (output_data + uncompressedSize);
840 + /* decompress kernel */
841 + if (LzmaDecode(&state, &callback,
842 + (unsigned char *)output_data, uncompressedSize, &i) == LZMA_RESULT_OK) {
843 + if (i != uncompressedSize)
844 + error("kernel corrupted!\n");
845 + /* copy it back to low_buffer */
853 +static unsigned int icnt = 0;
855 +static int read_byte(void *object, const unsigned char **buffer, SizeT *bufferSize)
857 + static unsigned char val;
861 + if (icnt++ % (1024 * 10) == 0)
863 + return LZMA_RESULT_OK;
867 /* ===========================================================================
868 * Write the output window window[0..outcnt-1] and update crc and bytes_out.
869 * (Used for the decompressed data only.)
870 @@ -299,6 +369,7 @@ void flush_window(void)
877 #define arch_error(x)
878 @@ -328,9 +399,9 @@ decompress_kernel(ulg output_start, ulg
884 putstr("Uncompressing Linux...");
887 putstr(" done, booting the kernel.\n");
890 @@ -342,9 +413,9 @@ int main()
892 output_data = output_buffer;
896 putstr("Uncompressing Linux...");
902 --- a/arch/arm/boot/compressed/piggy.S
903 +++ b/arch/arm/boot/compressed/piggy.S
905 .section .piggydata,#alloc
908 - .incbin "arch/arm/boot/compressed/piggy.gz"
909 + .incbin "arch/arm/boot/compressed/piggy.lzma"
910 .globl input_data_end