Unpacking U-Boot image file
Rustom Mody
rustompmody at gmail.com
Thu Apr 10 23:27:14 EDT 2014
More information about the Python-list mailing list
Thu Apr 10 23:27:14 EDT 2014
- Previous message (by thread): Unpacking U-Boot image file
- Next message (by thread): Unpacking U-Boot image file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Friday, April 11, 2014 3:31:50 AM UTC+5:30, Rhodri James wrote: > On Wed, 09 Apr 2014 18:18:56 +0100, Rustom Mody > > 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. If its a binary format, you (OP) may want to look at https://pypi.python.org/pypi/construct/2.5.1 Of course you will have to read/get the C struct and write the corresponding "Construct" You may want to ask on a U-boot forum for more details.
- Previous message (by thread): Unpacking U-Boot image file
- Next message (by thread): Unpacking U-Boot image file
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list