Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #70065
| Newsgroups | comp.lang.python |
|---|---|
| Subject | Re: Unpacking U-Boot image file |
| References | <mailman.9083.1397060494.18130.python-list@python.org> <6ed343e7-fa02-426a-a75f-3e1d164a6a61@googlegroups.com> |
| From | "Rhodri James" <rhodri@wildebst.org.uk> |
| Organization | The Wildebestiary |
| Message-ID | <op.xd4fhcfm5079vu@gnudebeest> (permalink) |
| Date | 2014-04-10 23:01 +0100 |
On Wed, 09 Apr 2014 18:18:56 +0100, Rustom Mody <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? The Fine Manual (http://www.denx.de/wiki/view/DULG/UBootImages) isn't very forthcoming, sadly; "U-Boot operates on "image" files which can be basically anything, preceeded by a special header; see the definitions in include/image.h for details; basically, the header defines the following image properties * Target Operating System * Target CPU Architecture * Compression Type * Load Address * Entry Point * Image Name * Image Timestamp" I suspect taking this apart may be a little involved. -- Rhodri James *-* Wildebeest Herder to the Masses
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Unpacking U-Boot image file "trewio" <laguna-mc@mail.com> - 2014-04-09 12:06 -0400
Re: Unpacking U-Boot image file Rustom Mody <rustompmody@gmail.com> - 2014-04-09 10:18 -0700
Re: Unpacking U-Boot image file Adnan Sadzak <sadzak@gmail.com> - 2014-04-09 19:33 +0200
Re: Unpacking U-Boot image file "Rhodri James" <rhodri@wildebst.org.uk> - 2014-04-10 23:01 +0100
Re: Unpacking U-Boot image file Rustom Mody <rustompmody@gmail.com> - 2014-04-10 20:27 -0700
Re: Unpacking U-Boot image file Grant Edwards <invalid@invalid.invalid> - 2014-04-11 16:02 +0000
csiph-web