Amaury Pouly
f85c04469e
sbinfo: fix a few typos (thanks to Kane Xie), correct coding style, now generate segments along with program sections to make elf files appear more valid (this allows to rebuild an .sb file using elftosb2)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29510 a1c6a512-1295-4272-9138-f99709370657
2011-03-03 09:22:32 +00:00
Amaury Pouly
6367b19c7b
sbinfo: fix crazy condition to avoid empty elf file generation (it is reversed)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28731 a1c6a512-1295-4272-9138-f99709370657
2010-12-03 20:41:56 +00:00
Amaury Pouly
1583b1cd53
sbinfo: first try at creating an elf file out of the .sb mess
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28717 a1c6a512-1295-4272-9138-f99709370657
2010-12-01 16:17:11 +00:00
Amaury Pouly
761255928e
sbinfo: add full support for various kind of cryptographic checks
...
- now have a AES128, SHA1 and CRC implementation
- now crc check the boot section chunks as well as the instruction headers
- now sha1 check the sb header and the whole file
- nearly all fields of the sb format are now documented
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28708 a1c6a512-1295-4272-9138-f99709370657
2010-11-29 14:15:06 +00:00
Amaury Pouly
084c6905db
sbinfo: add decryption support and pretty print boot section structure
...
The encryption/decryption uses a public domain source code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28696 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 20:56:09 +00:00
Bertrik Sikken
c412c2dcad
Initial version of sbinfo, a utility to analyse .sb files (used for the fuze+ for example)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28691 a1c6a512-1295-4272-9138-f99709370657
2010-11-28 10:53:01 +00:00