Re: [edk2] Win32 Compress and UEFI Decompress Question

2014-11-06 Thread Jim_Dailey
hat I append to the app. Regards, Jim From: Andrew Fish [mailto:af...@apple.com] Sent: Wednesday, November 05, 2014 1:23 PM To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] Win32 Compress and UEFI Decompress Question On Nov 5, 2014, at 8:08 AM, jim_dai...@dell.com<mailto:jim_dai...@

Re: [edk2] Win32 Compress and UEFI Decompress Question

2014-11-05 Thread Andrew Fish
> On Nov 5, 2014, at 8:08 AM, jim_dai...@dell.com wrote: > > I'm building an EFI utility under Windows. I want to compress some data and > append > it to the utility. Later, when the utility is executed in the EFI shell, I > want to > have the utility decompress the data. > > I tried using Ba

Re: [edk2] Win32 Compress and UEFI Decompress Question

2014-11-05 Thread Sergey Isakov
See DuetPkg. It uses LzmaCompress —— @echo Compressing DxeMain.efi ... @%BASETOOLS_DIR%\LzmaCompress -e -o %BUILD_DIR%\FV\DxeMain.z %BUILD_DIR%\%PROCESSOR%\DxeCore.efi —— and UefiDecompressLib —— UefiDecompressLib|MdePkg/Library/BaseUefiDecompressLib/BaseUefiDecompressLib.inf —— It is working….

[edk2] Win32 Compress and UEFI Decompress Question

2014-11-05 Thread Jim_Dailey
I'm building an EFI utility under Windows. I want to compress some data and append it to the utility. Later, when the utility is executed in the EFI shell, I want to have the utility decompress the data. I tried using BaseTools\Bin\Win32\LzmaCompress.exe to compress the data and found that it d