<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/tools/firmware-utils/src/trx.c, branch v17.01.1</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>firmware-utils/trx: remove trailing whitespaces</title>
<updated>2013-11-30T18:30:57+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2013-11-30T18:30:57+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=fd8e5b04b45b06a27835aee72f774d958967b6c1'/>
<id>fd8e5b04b45b06a27835aee72f774d958967b6c1</id>
<content type='text'>
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;

SVN-Revision: 38963
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;

SVN-Revision: 38963
</pre>
</div>
</content>
</entry>
<entry>
<title>firmware-utils/trx: fix two bugs</title>
<updated>2013-11-30T18:30:56+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2013-11-30T18:30:56+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=b61b447472b6a0a05feeb53f3953c3e8c93105c8'/>
<id>b61b447472b6a0a05feeb53f3953c3e8c93105c8</id>
<content type='text'>
 - fix crc32 calculation if -F was enabled.

 - don't convert the crc32 to little endian twice.

Signed-off-by: Christian Lamparter &lt;chunkeey@googlemail.com&gt;

SVN-Revision: 38962
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - fix crc32 calculation if -F was enabled.

 - don't convert the crc32 to little endian twice.

Signed-off-by: Christian Lamparter &lt;chunkeey@googlemail.com&gt;

SVN-Revision: 38962
</pre>
</div>
</content>
</entry>
<entry>
<title>mostly revert commit r22396</title>
<updated>2010-07-30T21:19:49+00:00</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2010-07-30T21:19:49+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=da7493d8f92be7f0eb0ec69252119ec93527fe08'/>
<id>da7493d8f92be7f0eb0ec69252119ec93527fe08</id>
<content type='text'>
CFE does not boot images generated with these checksums because of
wrong checksum.

After flashing then with tftp to my Asus wl500-GPv1 the following messages
are show:
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)

SVN-Revision: 22418
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CFE does not boot images generated with these checksums because of
wrong checksum.

After flashing then with tftp to my Asus wl500-GPv1 the following messages
are show:
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)

SVN-Revision: 22418
</pre>
</div>
</content>
</entry>
<entry>
<title>firmware-utils/trx: Endianness fixes</title>
<updated>2010-07-29T18:14:10+00:00</updated>
<author>
<name>Michael Büsch</name>
<email>mb@bu3sch.de</email>
</author>
<published>2010-07-29T18:14:10+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=02549b044817d7baae4981991b82e91e2794c860'/>
<id>02549b044817d7baae4981991b82e91e2794c860</id>
<content type='text'>
SVN-Revision: 22414
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SVN-Revision: 22414
</pre>
</div>
</content>
</entry>
<entry>
<title>firmware-utils: The option -F was not detected. This was missing in r22396</title>
<updated>2010-07-27T18:16:32+00:00</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2010-07-27T18:16:32+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=233294722c15a96866557755e4a93dfa59b23080'/>
<id>233294722c15a96866557755e4a93dfa59b23080</id>
<content type='text'>
This fixes build of brcm47xx

SVN-Revision: 22398
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes build of brcm47xx

SVN-Revision: 22398
</pre>
</div>
</content>
</entry>
<entry>
<title>fix CRC32 calculation for sysupgrade</title>
<updated>2010-07-27T15:37:37+00:00</updated>
<author>
<name>Markus Wigge</name>
<email>mwigge@marcant.net</email>
</author>
<published>2010-07-27T15:37:37+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=7a052dc79957fd5bc719e64b124afa0449b89171'/>
<id>7a052dc79957fd5bc719e64b124afa0449b89171</id>
<content type='text'>
* reduce image size for CRC calculation by fs_mark size

sysupgrade sometimes failed for me and I noticed that it was due
to incorrect CRC values in trx-header after performing it.
It seems that the fs_mark was completely included in the calculation
and that it was nevertheless modified by sysupgrade while appending
the jffs data.
This only occurs for the first boot after sysupgrade as the flashmap
driver recalculates the CRC to an even smaller area when it boots.

SVN-Revision: 22396
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* reduce image size for CRC calculation by fs_mark size

sysupgrade sometimes failed for me and I noticed that it was due
to incorrect CRC values in trx-header after performing it.
It seems that the fs_mark was completely included in the calculation
and that it was nevertheless modified by sysupgrade while appending
the jffs data.
This only occurs for the first boot after sysupgrade as the flashmap
driver recalculates the CRC to an even smaller area when it boots.

SVN-Revision: 22396
</pre>
</div>
</content>
</entry>
<entry>
<title>preset stable and try* flags for TRX2 headers</title>
<updated>2010-07-01T10:40:22+00:00</updated>
<author>
<name>Markus Wigge</name>
<email>mwigge@marcant.net</email>
</author>
<published>2010-07-01T10:40:22+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=642a6e1a5186e1e5aff49075d0a5de51b60c77fe'/>
<id>642a6e1a5186e1e5aff49075d0a5de51b60c77fe</id>
<content type='text'>
* changed addpattern.c to preset the stable and try flags used in TRXv2 images
to dupe CFE and pretend a stable image.
* changed trx.c to calculate TRXv2 CRC with stable and try flags set to 0xFF
like CFE does on startup
* fixed compile warnings in trx.c by explicit casting

SVN-Revision: 22012
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* changed addpattern.c to preset the stable and try flags used in TRXv2 images
to dupe CFE and pretend a stable image.
* changed trx.c to calculate TRXv2 CRC with stable and try flags set to 0xFF
like CFE does on startup
* fixed compile warnings in trx.c by explicit casting

SVN-Revision: 22012
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed trx version to handling</title>
<updated>2010-06-28T17:35:20+00:00</updated>
<author>
<name>Markus Wigge</name>
<email>mwigge@marcant.net</email>
</author>
<published>2010-06-28T17:35:20+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=67416b62d76feab3ffef4b09bd152c45a54072cc'/>
<id>67416b62d76feab3ffef4b09bd152c45a54072cc</id>
<content type='text'>
I forgot to write the right trx version to the actual header...

SVN-Revision: 21986
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I forgot to write the right trx version to the actual header...

SVN-Revision: 21986
</pre>
</div>
</content>
</entry>
<entry>
<title>firmware-utils/trx: add relative offset parameter</title>
<updated>2010-03-27T17:38:26+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2010-03-27T17:38:26+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=585198518e13b44120dcc30ac6f7707d6ddb2d7a'/>
<id>585198518e13b44120dcc30ac6f7707d6ddb2d7a</id>
<content type='text'>
 * will be used for the WRT160NL board
 * patch by Bernhard Loos
 * note: rejected parts has been fixed

SVN-Revision: 20522
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 * will be used for the WRT160NL board
 * patch by Bernhard Loos
 * note: rejected parts has been fixed

SVN-Revision: 20522
</pre>
</div>
</content>
</entry>
<entry>
<title>added support for wrt54g3gv2-vf and new trx header format</title>
<updated>2010-03-25T19:34:49+00:00</updated>
<author>
<name>Markus Wigge</name>
<email>mwigge@marcant.net</email>
</author>
<published>2010-03-25T19:34:49+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=d9a698e77c827f67e5fc9a4595168af19b0aa097'/>
<id>d9a698e77c827f67e5fc9a4595168af19b0aa097</id>
<content type='text'>
 - hacked addpattern due to changes in header format
 - added "-5" to addpattern, some 0xFF are needed for trx2 header
   "-4" broke CRC checking in CFE
 - hacked trx.c due to new header format version
 - added target to create trx-V2 images

the flashmap driver possibly needs to be customized.

SVN-Revision: 20433
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 - hacked addpattern due to changes in header format
 - added "-5" to addpattern, some 0xFF are needed for trx2 header
   "-4" broke CRC checking in CFE
 - hacked trx.c due to new header format version
 - added target to create trx-V2 images

the flashmap driver possibly needs to be customized.

SVN-Revision: 20433
</pre>
</div>
</content>
</entry>
</feed>
