forked from len0rd/rockbox
sbtools: add support for the stmp36xx format
The STMP36xx series also uses .sb files but with a different format. The main differences are the encryption and the lack of sections, making it basically a list of commands: fill, load, call, jump, switch mode, set sdram settings. Currently only the sbtoelf has support for the sb1 and can only dump the list of commands. Actual support for elf creation will come later. Change-Id: I1f2e0230c91ac64efd0e8430e0c5212098c599fd
This commit is contained in:
parent
33b7ade67f
commit
4e95b72ecb
6 changed files with 565 additions and 30 deletions
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
static enum crypto_method_t cur_method = CRYPTO_NONE;
|
||||
static byte key[16];
|
||||
static union xorcrypt_key_t xor_key[2];
|
||||
static uint16_t usb_vid, usb_pid;
|
||||
|
||||
void crypto_setup(enum crypto_method_t method, void *param)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue