Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:file': 0.07; 'wednesday,': 0.07; 'python': 0.11; 'command-line': 0.16; 'format?': 0.16; 'subject:image': 0.16; 'wrote:': 0.18; 'library': 0.18; 'wed,': 0.18; 'trying': 0.19; 'file,': 0.19; 'email addr:gmail.com>': 0.22; 'url:dev': 0.24; 'script': 0.25; '>': 0.26; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'extract': 0.31; 'url:python': 0.33; 'to:name:python-list': 0.33; 'maybe': 0.34; 'etc': 0.35; 'point.': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'starting': 0.37; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'theres': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WESx0QKNHdyzzcIv05ct/4O1JIxOgamnAMFbWEdoQgI=; b=CzCqK5wvsDnwaRG28Bd6vb9o9ThTFhD3zyVeOSh73LJLfb7Y5ihXDlp3xyJSvXqiWX udcMFSbrj5gjEQeZPQPzBD+w8uYq0BAq2bemfeOeaFvtc6Nn0b7IDQcM86D72QmtTto6 bbNA1XyEM1EbhdUnpC9J+mNLznNx02NM8dSA8j4HH3prHIJZnd2bikcSPbQwTFQosnHw Qr/s5R3XzCWPPJYvvPUmc8n45UFfeSm4eHD4GYLLFj4X/vRKjqkOW7ZJt2QEeVNtr4jX V8iwc2K0qJwJP2ISztYXBOHu6HJna/9dTGCWeD/77j3fJcN6LFl6JnTduwhjsjP9NTZV BwAw== MIME-Version: 1.0 X-Received: by 10.182.219.167 with SMTP id pp7mr1101202obc.85.1397064800844; Wed, 09 Apr 2014 10:33:20 -0700 (PDT) In-Reply-To: <6ed343e7-fa02-426a-a75f-3e1d164a6a61@googlegroups.com> References: <6ed343e7-fa02-426a-a75f-3e1d164a6a61@googlegroups.com> Date: Wed, 9 Apr 2014 19:33:20 +0200 Subject: Re: Unpacking U-Boot image file From: Adnan Sadzak To: python-list Content-Type: multipart/alternative; boundary=089e0141ab822ec2e904f69f7fac X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 59 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1397064809 news.xs4all.nl 2859 [2001:888:2000:d::a6]:56184 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:69969 --089e0141ab822ec2e904f69f7fac Content-Type: text/plain; charset=UTF-8 I belive you are trying to decompress some router images or router backup/config files? Check if maybe LZS. Rustom gave You starting point. On Wed, Apr 9, 2014 at 7:18 PM, Rustom Mody wrote: > On Wednesday, April 9, 2014 9:36:40 PM UTC+5:30, trewio wrote: > > How to extract files from U-Boot image file, LZMA-compressed? > > > > Is there a Python script that can do this properly? > > For lzma theres this (recent) python library > https://docs.python.org/dev/library/lzma.html > > Though you might just be better off with the command-line xz unxz etc > > After that.. whats the U-boot format? > -- > https://mail.python.org/mailman/listinfo/python-list > --089e0141ab822ec2e904f69f7fac Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I belive you are trying to decompress some router images o= r router backup/config files?
Check if maybe LZS.

<= div>Rustom gave You starting point.



On Wed, Apr 9, 2014 at 7:18 PM, Rustom M= ody <rustompmody@gmail.com> wrote:
On Wednesday, April 9, 2014 9:36:40 PM UTC+5:30, trewio wrote:
> How to extract files from U-Boot image file, LZMA-compressed?
>
> Is there a Python script that can do this properly?

For lzma theres this (recent) python library
https://docs.python.org/dev/library/lzma.html

Though you might just be better off with the command-line xz unxz etc

After that.. whats the U-boot format?
--
https://mail.python.org/mailman/listinfo/python-list

--089e0141ab822ec2e904f69f7fac--