<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/utils/imxtools/sbtools/sb1.h, branch wolf3d</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>imxtools/sbtools: rework cryptography</title>
<updated>2017-01-16T18:58:24+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-01T19:48:05+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=2b20026dd755706934f8f8e1a192bffdfc3d717c'/>
<id>2b20026dd755706934f8f8e1a192bffdfc3d717c</id>
<content type='text'>
It was a mess, a mix of crypto_* and cbc_mac calls. I made everything call crypto
functions, and also separate key setup from cryptographic operations, this will
be useful to speed up the code in the upcoming commits. Drop support for "usbotp"
key, since the crypto code for that was never mainlined and we can always get the
keys from a device as long as we have code execution (using the DCP debug registers).

Change-Id: I7aa24d12207ffb744225d1b9cc7cb1dc7281dd22
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It was a mess, a mix of crypto_* and cbc_mac calls. I made everything call crypto
functions, and also separate key setup from cryptographic operations, this will
be useful to speed up the code in the upcoming commits. Drop support for "usbotp"
key, since the crypto code for that was never mainlined and we can always get the
keys from a device as long as we have code execution (using the DCP debug registers).

Change-Id: I7aa24d12207ffb744225d1b9cc7cb1dc7281dd22
</pre>
</div>
</content>
</entry>
<entry>
<title>sbtools: more code refactoring</title>
<updated>2013-08-21T20:20:53+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-08-21T20:20:53+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=99f3ca174e3e6a3e6a55931b012208be64d8be39'/>
<id>99f3ca174e3e6a3e6a55931b012208be64d8be39</id>
<content type='text'>
Factor all printf method with a unique one defined in misc.h

Change-Id: I58fbf8916b76e873a2e6678506d2c8aece7834ec
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Factor all printf method with a unique one defined in misc.h

Change-Id: I58fbf8916b76e873a2e6678506d2c8aece7834ec
</pre>
</div>
</content>
</entry>
<entry>
<title>sbtools: various little fixes, mostly cosmetics</title>
<updated>2013-06-17T11:58:59+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-06-17T11:58:59+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=505f37e1b89402c76cc18bc2d13dc63707a0bff5'/>
<id>505f37e1b89402c76cc18bc2d13dc63707a0bff5</id>
<content type='text'>
Change-Id: Ic53ef0283bdaee8d3272f648b71eff567b25059b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ic53ef0283bdaee8d3272f648b71eff567b25059b
</pre>
</div>
</content>
</entry>
<entry>
<title>sbtools,mkximboot: fix whitespace</title>
<updated>2013-06-15T20:27:34+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-06-15T20:19:52+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=7c7fa369186536adaf9ff35ec356525b5c5a8379'/>
<id>7c7fa369186536adaf9ff35ec356525b5c5a8379</id>
<content type='text'>
Change-Id: I8d8adb783707172d1aaef302366c240310350ed8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8d8adb783707172d1aaef302366c240310350ed8
</pre>
</div>
</content>
</entry>
<entry>
<title>sbtools: add brute force option for sb1 in sbtoelf</title>
<updated>2013-02-16T19:49:07+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-02-16T19:47:07+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=b05b762ed45c6c8967fce098c598ec1a6ed7a533'/>
<id>b05b762ed45c6c8967fce098c598ec1a6ed7a533</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>imxtools/sbtools: fix some instruction handling &amp; crypto</title>
<updated>2012-12-16T20:28:41+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2012-12-16T20:07:31+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=212cfdf771dc0059804cf817caaf2e43ef2b3f50'/>
<id>212cfdf771dc0059804cf817caaf2e43ef2b3f50</id>
<content type='text'>
Change-Id: I6530bdf27896d8325dec4e2ba31c7e6a0131a286
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I6530bdf27896d8325dec4e2ba31c7e6a0131a286
</pre>
</div>
</content>
</entry>
<entry>
<title>imxtools/sbtools: implement sb1 write</title>
<updated>2012-12-16T00:52:19+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2012-12-16T00:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=4fc3397c5b79811dff1205a5d42ac1e573f990ab'/>
<id>4fc3397c5b79811dff1205a5d42ac1e573f990ab</id>
<content type='text'>
Change-Id: Ic36d3a8fcf09350dff5988eb860d76eb11608cc2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ic36d3a8fcf09350dff5988eb860d76eb11608cc2
</pre>
</div>
</content>
</entry>
<entry>
<title>sbtoelf: implement sb1 loading and dumping</title>
<updated>2012-11-27T21:16:56+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2012-11-27T21:16:56+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=7dc3e939d2cd0a39035587f211587167eb6671de'/>
<id>7dc3e939d2cd0a39035587f211587167eb6671de</id>
<content type='text'>
Implement actual loading of a sb1 file to a structure in full
generality. Also implement dumping for debug purpose

Change-Id: I320035ea628719480a79aaccb05dce9a83256927
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement actual loading of a sb1 file to a structure in full
generality. Also implement dumping for debug purpose

Change-Id: I320035ea628719480a79aaccb05dce9a83256927
</pre>
</div>
</content>
</entry>
<entry>
<title>sbtools: add support for the stmp36xx format</title>
<updated>2012-11-26T22:58:30+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2012-11-26T22:54:44+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=4e95b72ecbd972b9e1eb162c40a559b94eebac69'/>
<id>4e95b72ecbd972b9e1eb162c40a559b94eebac69</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
</feed>
