Products > Test Equipment

Rigol DSXXXX .GEL firmware file format

<< < (18/38) > >>

FrozenHaxor:

--- Quote from: Dwaine on July 24, 2016, 11:30:49 pm ---I always wondered why BMP files.   Would it not be more efficient to use png files?  Smaller and less processing intensive?

--- End quote ---
Actually both formats are lossless while PNG is compressed and BMP not. So technically BMP is less demanding on computing side of things. It's sort of, closer to the roots of the machine itself so to speak.

Dwaine:

--- Quote from: smithnerd on July 24, 2016, 11:56:52 pm ---
--- Quote from: Dwaine on July 24, 2016, 11:30:49 pm ---
I was kinda disappointed to see that really they are just throwing up bmp files to make up the screen.  No GUI rendering for the UI.   

I always wondered why BMP files.   Would it not be more efficient to use png files?  Smaller and less processing intensive?

--- End quote ---

They're not using BMP files, they're using raw 16bpp data. I'm slapping a BMP header on them, because BMP supports that bitmap data type without a lot of extra hassle. PNG for example, does not really support 16bpp, only 8 or 24/32.

--- End quote ---

Thanks for answering.   All this is interesting stuff.

technogeeky:

--- Quote from: smithnerd on July 23, 2016, 04:33:05 pm ---I've been looking at SparrowBootloader.sb with this:

https://github.com/eewiki/elftosb


--- Code: ---$ ./sbtool SparrowBootloader.sb
---- Boot image header ----
Signature 1:           STMP
Signature 2:           sgtl
Format version:        1.1
Flags:                 0x0000
Image blocks:          19764
First boot tag block:  9
First boot section ID: 0x00000000
Key count:             1
Key dictionary block:  7
Header blocks:         6
Section count:         1
Section header size:   1
Timestamp:             446216079000000
Product version:       999.999.999
Component version:     999.999.999
Drive tag:             0x0000
SHA-1 digest of header:
    0x00000000: 2d 5c 14 b8 10 81 fe 5f ee e2 09 ee 75 55 fe 80
    0x00000010: bb 35 50 44
Header digest is correct.

---- Section table ----
Section 0:
    Identifier: 0x0
    Offset:     10 blocks (160 bytes)
    Length:     19752 blocks (316032 bytes)
    Flags:      0x00000001
                0x1 = ROM_SECTION_BOOTABLE

---- Key dictionary ----
error: the image is encrypted but no key was provided
--- End code ---

It should be encrypted with AES-128, the key for which is burned into the OTP area of the i.MX28. Hopefully though, it might only be using 'encrypted boot' mode and not the 'high assurance boot' mode.

--- End quote ---


--- Quote from: janekivi on July 23, 2016, 04:03:26 pm ---...
--- End quote ---

Can we get a (somewhat comprehensive) list of the software you guys are using to do these searches? Or, if the software won't necessarily be available to us, a list of the techniques you're using so we can learn to do the same?

Thanks,
-tg

MarkF:
I have generated several bmp and png files containing fonts for both Windows Direct X and OpenGL.  Not a problem if we can id the font data and format.

Fungus:

--- Quote from: Dwaine on July 24, 2016, 11:22:24 pm ---I noticed some bmp that were fonts/characters.  Like the input keyboard.  I guess you would have to redo the bmp file with larger fonts.

--- End quote ---
You'll also have to change all the character sizes and offsets.

They might be stored separately or they might even be hard-coded in the program (in which case you'll have a hard time changing them).


--- Quote from: Dwaine on July 24, 2016, 11:30:49 pm ---I always wondered why BMP files.   Would it not be more efficient to use png files?  Smaller and less processing intensive?

--- End quote ---
Completely the opposite. PNG uses ZLIB compression so it needs a lot more RAM and resources to decompress.

Plus: BMP can use indexed colors, PNG cannot. BMP might be smaller than PNG for fonts.


--- Quote from: FrozenHaxor on July 24, 2016, 11:58:49 pm ---Actually both formats are lossless while PNG is compressed and BMP not.

--- End quote ---

BMP has compression: https://en.wikipedia.org/wiki/BMP_file_format#Compression

Navigation

[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Thanking...
Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod