<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/rbutil/mkimxboot/dualboot, branch master</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>imx233: add capability to boot OF or updater instead of Rockbox</title>
<updated>2016-12-12T11:03:08+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-09-26T20:22:21+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=a983859291e29e2cfe26df8e00814b546d865b5c'/>
<id>a983859291e29e2cfe26df8e00814b546d865b5c</id>
<content type='text'>
This commit adds the necessary code in the dualboot stub (bootloader) to
let rockbox control the boot process. In particular, rockbox can now choose
if the next boot will be normal (boot rockbox or OF on magic key), to OF
or to updater.

The intents (to be added in follow-up commits) are:
1) Let the user more easily reboot to the OF. On some targets it is not trivial,
especially in USB mode.
2) Automatically reboot to updater when the user drop firmware.sb at the root
of the drive (currently, the user needs to do that in OF USB mode)
3) Document this OF magic

Change-Id: I86df651dec048c318c6a22de74abb8c6b41aa9ad
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds the necessary code in the dualboot stub (bootloader) to
let rockbox control the boot process. In particular, rockbox can now choose
if the next boot will be normal (boot rockbox or OF on magic key), to OF
or to updater.

The intents (to be added in follow-up commits) are:
1) Let the user more easily reboot to the OF. On some targets it is not trivial,
especially in USB mode.
2) Automatically reboot to updater when the user drop firmware.sb at the root
of the drive (currently, the user needs to do that in OF USB mode)
3) Document this OF magic

Change-Id: I86df651dec048c318c6a22de74abb8c6b41aa9ad
</pre>
</div>
</content>
</entry>
<entry>
<title>imx233: fix dualboot, forgot a file</title>
<updated>2016-09-22T20:31:29+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-09-22T20:31:29+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=1c4373fd1f9efbaf69a1a78118c50ba30eca2856'/>
<id>1c4373fd1f9efbaf69a1a78118c50ba30eca2856</id>
<content type='text'>
Change-Id: I8d5817d75f76a201c3a8b76db0d1e11f71548179
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8d5817d75f76a201c3a8b76db0d1e11f71548179
</pre>
</div>
</content>
</entry>
<entry>
<title>imx233: fix dualboot stubs</title>
<updated>2016-09-22T20:03:31+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-09-22T20:02:44+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=673ee486758504c25dd794e460a58d86181be133'/>
<id>673ee486758504c25dd794e460a58d86181be133</id>
<content type='text'>
They did not compile anymore after the register hearder rework. This change
only fixes the syntax, the generated binaries are exactly identical.

Change-Id: Iec2347aa3deb1ddfe2ca36f0db1e481c4e2d329c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They did not compile anymore after the register hearder rework. This change
only fixes the syntax, the generated binaries are exactly identical.

Change-Id: Iec2347aa3deb1ddfe2ca36f0db1e481c4e2d329c
</pre>
</div>
</content>
</entry>
<entry>
<title>mkimxboot: remove code for NWZ-370/380</title>
<updated>2016-05-25T22:29:04+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-05-02T20:29:13+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=a6b4bf3a338799ad6266f99ec0475142f120f863'/>
<id>a6b4bf3a338799ad6266f99ec0475142f120f863</id>
<content type='text'>
Since the stub code is shared with NWZ-360, it enables the pullup for the
hold button, but the NWZ-370/380 doesn't have a hold button so don't compile
this code in, it could potentially have unexpected effets or increase consumption

Change-Id: I28c8aa40fc7f9373593ff105fb6df557a6f57ccd
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the stub code is shared with NWZ-360, it enables the pullup for the
hold button, but the NWZ-370/380 doesn't have a hold button so don't compile
this code in, it could potentially have unexpected effets or increase consumption

Change-Id: I28c8aa40fc7f9373593ff105fb6df557a6f57ccd
</pre>
</div>
</content>
</entry>
<entry>
<title>mkimxboot: make cross compiler for dualboot stubs overridable</title>
<updated>2016-05-25T22:28:25+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-05-02T20:27:24+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=b40ad7d269d131b153e6e97011c41ffdde68aaed'/>
<id>b40ad7d269d131b153e6e97011c41ffdde68aaed</id>
<content type='text'>
Change-Id: I90d2048f622b355eae7091e536b940b2ac828583
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I90d2048f622b355eae7091e536b940b2ac828583
</pre>
</div>
</content>
</entry>
<entry>
<title>mkimxboot: don't forget to select LRADC source before reading</title>
<updated>2014-02-10T22:14:25+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-02-03T23:27:35+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=61dbeb60b73d771abb86270579e8669fe08586cf'/>
<id>61dbeb60b73d771abb86270579e8669fe08586cf</id>
<content type='text'>
Change-Id: I3435857f48580d7b3bf9363a2eed96738fbda69a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I3435857f48580d7b3bf9363a2eed96738fbda69a
</pre>
</div>
</content>
</entry>
<entry>
<title>mkimxboot: tool can now recreate a stub to recover from very low battery</title>
<updated>2014-01-21T18:01:34+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-01-21T18:01:34+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=6022d3100a31266d48d89c4eaa562ed58a1f1909'/>
<id>6022d3100a31266d48d89c4eaa562ed58a1f1909</id>
<content type='text'>
Several devices, including the Fuze+ have great trouble recovering from
very low battery states, even in the presence of USB power. This is partly
due to buggy Sigmatel boot stubs and Rockbox bootloader doing unsafe power
operations on boot (should be fixed soon).  In such a state, it is impossible
to boot either the OF and Rockbox, so only the recovery mode is available.
With this commit, mkimxboot can now create a very small stub which only
does one thing but does it well: setup charging to recover from any situation.
It does not provide a fancy charging screen or whatever, screen will just
stay black and the device will slowly charge at ~100mA. When the battery is
back to a normal level, just unplug and boot normally.

Change-Id: Ib50880af85ed1f4f64a7eed0f2221e73c889c351
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several devices, including the Fuze+ have great trouble recovering from
very low battery states, even in the presence of USB power. This is partly
due to buggy Sigmatel boot stubs and Rockbox bootloader doing unsafe power
operations on boot (should be fixed soon).  In such a state, it is impossible
to boot either the OF and Rockbox, so only the recovery mode is available.
With this commit, mkimxboot can now create a very small stub which only
does one thing but does it well: setup charging to recover from any situation.
It does not provide a fancy charging screen or whatever, screen will just
stay black and the device will slowly charge at ~100mA. When the battery is
back to a normal level, just unplug and boot normally.

Change-Id: Ib50880af85ed1f4f64a7eed0f2221e73c889c351
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial commit for the ZEN X-Fi Style</title>
<updated>2014-01-21T17:52:28+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-01-05T14:20:41+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=69d0dae55bf3da2f356dbd03dba299c708133902'/>
<id>69d0dae55bf3da2f356dbd03dba299c708133902</id>
<content type='text'>
Change-Id: Ib25a357a7bafd2ef25f273cadff70fafbd8d4661
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ib25a357a7bafd2ef25f273cadff70fafbd8d4661
</pre>
</div>
</content>
</entry>
<entry>
<title>sonynwz: rework dualboot mechanism</title>
<updated>2013-09-26T18:19:30+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-09-26T18:19:30+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=b60712deb674ee6809966538176f4bb182b8c50b'/>
<id>b60712deb674ee6809966538176f4bb182b8c50b</id>
<content type='text'>
Now boot to RB if play/pause is pressed during 1 second, and to OF if
back is pressed 1 second. Otherwise power off. If hold is on, also power
off. In USB and alarm context, always boot and back determines OF vs RB.

Change-Id: Ie1d6c971901d6473255461cc7d71a5ee3177ecad
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now boot to RB if play/pause is pressed during 1 second, and to OF if
back is pressed 1 second. Otherwise power off. If hold is on, also power
off. In USB and alarm context, always boot and back determines OF vs RB.

Change-Id: Ie1d6c971901d6473255461cc7d71a5ee3177ecad
</pre>
</div>
</content>
</entry>
<entry>
<title>mkimxboot: always clean up dualboot elf files</title>
<updated>2013-09-26T18:14:09+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-09-26T18:14:09+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=d527c5595c92dafbba223afae0ed472c62d2728a'/>
<id>d527c5595c92dafbba223afae0ed472c62d2728a</id>
<content type='text'>
Change-Id: I80ed1af784aa80bec9fa0b1e9322f25e69672510
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I80ed1af784aa80bec9fa0b1e9322f25e69672510
</pre>
</div>
</content>
</entry>
</feed>
