<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/utils/atj2137/atjboottool/atjboottool.c, branch wolf3d</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>atjboottool: put afi and fw code in its own files</title>
<updated>2017-09-29T16:22:30+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-09-29T16:22:30+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=ea679de8371e4e74fe4e78fb8df8e5df19efffdc'/>
<id>ea679de8371e4e74fe4e78fb8df8e5df19efffdc</id>
<content type='text'>
Change-Id: I16347ebee0f82d5fdf32f5aa8f955c07fe148eba
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I16347ebee0f82d5fdf32f5aa8f955c07fe148eba
</pre>
</div>
</content>
</entry>
<entry>
<title>atjboottool: split fwu code into its own file</title>
<updated>2017-09-29T15:56:04+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-09-29T15:53:06+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=95c32a505a7bfef2dcac2a975b1f5875f490c405'/>
<id>95c32a505a7bfef2dcac2a975b1f5875f490c405</id>
<content type='text'>
Slightly cleanup the code by removing the old and dangerous --force option.

Change-Id: I776633a9924797fcd509b8b80623bcd64b391672
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Slightly cleanup the code by removing the old and dangerous --force option.

Change-Id: I776633a9924797fcd509b8b80623bcd64b391672
</pre>
</div>
</content>
</entry>
<entry>
<title>atjboottool: cleanup and add support for atj2127</title>
<updated>2017-07-30T12:32:12+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-07-30T12:22:39+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=d1ca2e45e9ebab9f9e254317e625c0a40f377315'/>
<id>d1ca2e45e9ebab9f9e254317e625c0a40f377315</id>
<content type='text'>
Several people asked me recently how to decrypt atj2127 firmware. Someone
posted on github (https://github.com/nfd/atj2127decrypt) a decrypt utility
clearly reverse engineered from some unknown source. The code is an absolute
horror but I concluded that ATJ changed very little between ATJ213x and ATJ2127
so I added support for the ATJ2127, credit to this github code that I stole
and rewrite (code was under MIT licence). At the same time do some small code
cleanups.
Note that there is not 100% sure way that I know to distinguish between the
two firmware types, so the code tries to do an educated guess to detect
ATJ2127. If this does not work, use --atj21217 option. Also note that contrary
to the github tool that decrypts and unpack in one go, this tool only does one
step at once. So first decrypt: HEX -&gt; AFI, then unpack AFI -&gt; files.
I also added for a different version of AFI. Based on AFI files I have, there
are, I think, two versions: the "old" ones (pre-ATJ213x) and "new" ones. The
tool only supported the new one but for some reason the ATJ2127 uses the old
ones without a mostly empty header. Strangely, even this mostly empty header
does not seem to follow the old layout as reverse engineered by the s1mp3
project (https://sourceforge.net/p/s1mp3/code/HEAD/tree/trunk/s1fwx/heads.h),
so in fact there might be three versions. In any case, only the header is
different, the rest of the file is identical so at the moment I just don't
print any header info for "old" files.

Change-Id: I1de61e64f433f6cacd239cd3c1ba469b9bb12442
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several people asked me recently how to decrypt atj2127 firmware. Someone
posted on github (https://github.com/nfd/atj2127decrypt) a decrypt utility
clearly reverse engineered from some unknown source. The code is an absolute
horror but I concluded that ATJ changed very little between ATJ213x and ATJ2127
so I added support for the ATJ2127, credit to this github code that I stole
and rewrite (code was under MIT licence). At the same time do some small code
cleanups.
Note that there is not 100% sure way that I know to distinguish between the
two firmware types, so the code tries to do an educated guess to detect
ATJ2127. If this does not work, use --atj21217 option. Also note that contrary
to the github tool that decrypts and unpack in one go, this tool only does one
step at once. So first decrypt: HEX -&gt; AFI, then unpack AFI -&gt; files.
I also added for a different version of AFI. Based on AFI files I have, there
are, I think, two versions: the "old" ones (pre-ATJ213x) and "new" ones. The
tool only supported the new one but for some reason the ATJ2127 uses the old
ones without a mostly empty header. Strangely, even this mostly empty header
does not seem to follow the old layout as reverse engineered by the s1mp3
project (https://sourceforge.net/p/s1mp3/code/HEAD/tree/trunk/s1fwx/heads.h),
so in fact there might be three versions. In any case, only the header is
different, the rest of the file is identical so at the moment I just don't
print any header info for "old" files.

Change-Id: I1de61e64f433f6cacd239cd3c1ba469b9bb12442
</pre>
</div>
</content>
</entry>
<entry>
<title>atjbootool: fix date printing</title>
<updated>2014-10-31T17:02:41+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-10-31T17:02:41+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=791be56cff14a7a41774ce80ce401384291985d9'/>
<id>791be56cff14a7a41774ce80ce401384291985d9</id>
<content type='text'>
Change-Id: If5cd0d79e4afb12224932b24c63b016636c7a56e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: If5cd0d79e4afb12224932b24c63b016636c7a56e
</pre>
</div>
</content>
</entry>
<entry>
<title>atjboottool: add missing copyright headers</title>
<updated>2012-10-30T12:14:52+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2012-10-30T12:13:30+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=08ca0b59c8c7cf5944480b366db2a9219ef0bb59'/>
<id>08ca0b59c8c7cf5944480b366db2a9219ef0bb59</id>
<content type='text'>
Change-Id: Idb2f5e4b0bd6a84bc3eaff088fb4706f46ed1535
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Idb2f5e4b0bd6a84bc3eaff088fb4706f46ed1535
</pre>
</div>
</content>
</entry>
<entry>
<title>atj: provide default output prefix/filenames on unpacking</title>
<updated>2012-10-04T10:27:17+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2012-10-04T10:25:22+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=283277e5ab95b3c74a9bee0bef25cb55d55e016b'/>
<id>283277e5ab95b3c74a9bee0bef25cb55d55e016b</id>
<content type='text'>
If no output prefix is specified, a default is picked:
- filename with extension replaced by .afi for FWU files
- filename with extension replaced by .fw/ for AFI files
- filename without extension and with / for FW files

Change-Id: I6497b8f4a49f1238e5db738429f687cad3ae8a5a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If no output prefix is specified, a default is picked:
- filename with extension replaced by .afi for FWU files
- filename with extension replaced by .fw/ for AFI files
- filename without extension and with / for FW files

Change-Id: I6497b8f4a49f1238e5db738429f687cad3ae8a5a
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce atjboottool for ATJ213x firmwares</title>
<updated>2012-10-03T12:27:19+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2012-10-03T12:27:19+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=821efc46ec9392a58df95b396fd51972cf5fd3e7'/>
<id>821efc46ec9392a58df95b396fd51972cf5fd3e7</id>
<content type='text'>
Change-Id: Ie857b82e25de235c8549defab7e75995efefb3f6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ie857b82e25de235c8549defab7e75995efefb3f6
</pre>
</div>
</content>
</entry>
</feed>
