summaryrefslogtreecommitdiff
path: root/utils/imxtools/sbtools/sb1.c (follow)
Commit message (Collapse)AuthorAge
* sb1: fix buggy comparisonAmaury Pouly2014-12-20
| | | | | | | | | cppcheck reported: [rockbox/utils/imxtools/sbtools/sb1.c:440]: (warning) Comparison of a boolean expression with an integer other than 0 or 1. Thanks to Thomas Jarosch Change-Id: I0078232706d4014a1f2acea310a7a0d0edf7788b
* imxtools/sbtools/sb1: fix parsing/debug bug about jump/call argumentsAmaury Pouly2013-12-06
| | | | Change-Id: Ib406cfc03ced6c8689ed467c154d6a7447a34e5c
* sbtools: fix buffer overflowAmaury Pouly2013-08-22
| | | | Change-Id: I7b1c963e58eec88da215722ec219569a0a5a9cea
* sbtools: more code refactoringAmaury Pouly2013-08-21
| | | | | | Factor all printf method with a unique one defined in misc.h Change-Id: I58fbf8916b76e873a2e6678506d2c8aece7834ec
* sbtools: refactor and cleanupAmaury Pouly2013-07-18
| | | | | | | Factor common elf/sb read/write/printf routines. Factor sb zero key, move sb version guess. Change-Id: I5ae1885587456736e782e623610281bbee545039
* sbtools: various little fixes, mostly cosmeticsAmaury Pouly2013-06-17
| | | | Change-Id: Ic53ef0283bdaee8d3272f648b71eff567b25059b
* sbtools,mkximboot: fix whitespaceAmaury Pouly2013-06-15
| | | | Change-Id: I8d8adb783707172d1aaef302366c240310350ed8
* sbtools: add brute force option for sb1 in sbtoelfAmaury Pouly2013-02-16
| | | | | | | | | | After some reverse engineering, it appears that the keys of the sb1 format are very weak: the 128 bytes are generated from the laserfuse words 4,5 and 6 but in a weird manner: 4 and 5 are simply ORed and 6 is only half used (somehow), making it "only" a 48 bit word to find. Change-Id: I40702e19d0924ef51c01894efce3cb65bd664456
* imxtools/sbtools: improve sb1 key handlingAmaury Pouly2012-12-26
| | | | Change-Id: Ib014a102fe44a67dd256e45e804bca9b5812eb61
* imxtools/sbtools: fix sb1 product/component version writingAmaury Pouly2012-12-16
| | | | Change-Id: I0153192f41ccc5fb98e7e9f6f110d97bd76dbc47
* imxtools/sbtools: fix some instruction handling & cryptoAmaury Pouly2012-12-16
| | | | Change-Id: I6530bdf27896d8325dec4e2ba31c7e6a0131a286
* imxtools/sbtools: implement sb1 writeAmaury Pouly2012-12-16
| | | | Change-Id: Ic36d3a8fcf09350dff5988eb860d76eb11608cc2
* sbtoelf: implement sb1 loading and dumpingAmaury Pouly2012-11-27
| | | | | | | Implement actual loading of a sb1 file to a structure in full generality. Also implement dumping for debug purpose Change-Id: I320035ea628719480a79aaccb05dce9a83256927
* sbtools: add support for the stmp36xx formatAmaury Pouly2012-11-26
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