Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #69984

Re: Unpacking U-Boot image file

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!newsreader4.netcologne.de!news.netcologne.de!novso.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <laguna-mc@mail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.010
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:file': 0.07; 'wednesday,': 0.07; '[0]': 0.09; 'explanation': 0.09; 'received:gmx.net': 0.09; 'sure,': 0.09; 'email addr:python.org&gt;': 0.11; 'python': 0.11; 'cheers': 0.12; 'windows': 0.15; '&gt;&gt;': 0.16; '--\xc2\xa0': 0.16; 'command- line': 0.16; 'format:': 0.16; 'format?': 0.16; 'modem': 0.16; 'received:gmx.com': 0.16; 'subject:image': 0.16; 'unpacking': 0.16; 'wrote:': 0.18; 'library': 0.18; 'wed,': 0.18; 'file,': 0.19; 'specify': 0.24; 'url:dev': 0.24; 'script': 0.25; '&gt;': 0.26; "i'm": 0.30; 'url:mailman': 0.30; 'too.': 0.31; 'extract': 0.31; 'url:05': 0.31; 'file': 0.32; 'run': 0.32; 'linux': 0.33; 'url:python': 0.33; '-----': 0.33; 'etc': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'email addr:python.org': 0.37; 'thank': 0.38; 'received:172.19': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'subject:': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'how': 0.40; 'read': 0.60; 'from:no real name:2**0': 0.61; 'first': 0.61; 'you.': 0.62; 're:': 0.63; 'kind': 0.63; 'email name:python-list': 0.65; 'note:': 0.66; '8bit%:40': 0.68; 'received:74.208': 0.68; 'url:2011': 0.75; 'theres': 0.84; 'from:addr:mail.com': 0.93; 'mount': 0.93
Content-Type multipart/alternative; boundary="========GMXBoundary50161397076576675622"
Date Wed, 09 Apr 2014 16:49:36 -0400
From laguna-mc@mail.com
MIME-Version 1.0
Subject Re: Unpacking U-Boot image file
To python-list@python.org
X-Flags 0001
X-Mailer GMX.com Web Mailer
x-registered 0
X-GMX-UID N9c3c/xy3zOl2srVX3ghI0x+IGRvbwA+
X-Mailman-Approved-At Wed, 09 Apr 2014 23:06:20 +0200
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.9097.1397077582.18130.python-list@python.org> (permalink)
Lines 104
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1397077582 news.xs4all.nl 2891 [2001:888:2000:d::a6]:46148
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:69984

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

I know about Binwalk, it can run on Linux OS only. I am looking for Python script that can run on Windows too.

Thank you.
----- Original Message -----
From: Adnan Sadzak
Sent: 04/09/14 11:37 PM
To: trewio
Subject: Re: Unpacking U-Boot image file

Oh then see Craig's page [0]. You can find in deepth explanation about some tools (Linux) that is used to desompress and mount filesystems/images. From my experience you should find first read modem tehnical documentation. Find out what kind of firmware is using. You won't find just script to decompress those images.

[0] http://www.devttys0.com/2011/05/reverse-engineering-firmware-linksys-wag120n/ 

Cheers

On Wed, Apr 9, 2014 at 7:53 PM, trewio < laguna-mc@mail.com > wrote:U-Boot format: hmm, I'm not sure, can someone specify Python script that will help me deterermine U-boot format used? [for Python for Windows OS]

Note: I need Python script for Python under Windows OS.

> ----- Original Message -----
> From: Rustom Mody
> Sent: 04/09/14 08:18 PM
> To:  python-list@python.org 
> Subject: Re: Unpacking U-Boot image file
>

> 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 

--
https://mail.python.org/mailman/listinfo/python-list

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Unpacking U-Boot image file laguna-mc@mail.com - 2014-04-09 16:49 -0400

csiph-web