rockbox/utils
Aidan MacDonald 7a5130a277 x1000: fix broken OST2 timer prescaler
It turns out the prescaler fields in OST_CTRL are 2 bits wide,
not 3. The programming manual (as usual) is ambiguous and its
diagram shows 2-bit wide fields, but the bit positions in the
text give a 3-bit wide field. Ingenic's Linux code and my own
testing shows that they are, in fact, 2 bits wide.

This caused the OST2 divisor to be 16 instead of 4; the OST1
divisor was correct. This means that all udelay/mdelay calls
took 4x longer than they should've. After this change the OST2
prescaler will be 4, as intended, and udelay/mdelay calls will
wait for the intended duration.

Change-Id: I2ac0a9190f49b59a840c649bf586131f5f9fde82
2021-10-16 16:58:19 -04:00
..
AMS/hacking amsinfo: save files with .bin extension 2011-12-13 03:01:16 +00:00
MTP mknkboot: optimize verifyfirm 2021-06-17 15:30:51 +00:00
analysis Python3-related fixes in some of our scripts 2020-07-09 14:39:27 +00:00
atj2137 Bugfix Backlight_init should be called after lcd_init 2020-11-13 13:57:39 -05:00
bootchart Add simple bootchart -> gnuplot shell script 2010-04-05 19:58:51 +00:00
common rbutil: Add option to langstat to pass git hash. 2021-01-02 21:31:20 +01:00
disassembler/arm Make sure files which aren't windows-specific use \n line endings only 2010-06-17 16:59:51 +00:00
e200tool Add new tool to upload code on e200/c200/view in manufacturer mode 2014-04-07 22:25:06 +02:00
editors Move sample.emacs to utils/editors 2010-02-18 23:32:08 +00:00
hwpatcher hwpatcher: add generic RKW file patching script 2014-09-02 22:35:26 +02:00
hwstub usb: implement macro for initializing USB strings 2021-03-25 13:26:03 -05:00
imxtools sbtools: Change crypto wrapper implementation to C. 2020-10-18 19:08:32 +02:00
ingenic_tools Add ingenic_tools/usbboot utility 2021-02-28 02:52:56 +00:00
ipod Add some notes describing how the bin2note exploit works 2009-07-16 17:40:55 +00:00
jz4740_tools Fix crash on uninitialized variable 2015-01-13 21:57:24 +01:00
jz4760_tools jz4760b_tools: improve usbboot tool 2017-01-24 15:23:21 +01:00
meizu_dfu meizu_dfu: supports a single argument to run some code from RAM 2010-06-08 23:04:17 +00:00
nwztools nwzstools: add NW-A820 nvp nodes 2020-10-18 22:34:16 +02:00
reggen-ng x1000: fix broken OST2 timer prescaler 2021-10-16 16:58:19 -04:00
regtools Make headergen_v2's output include what it uses 2021-02-27 22:02:31 +00:00
rk27utils Fix uninitialized variable (should fix libusb retry handling) 2015-01-04 13:35:47 +01:00
rknanoutils rknanoutils: fix boot tool 2013-03-21 19:02:03 +01:00
rockbox_api misc: Remove all 'twiki' references in favor of up-to-date 'wiki' links. 2020-06-07 01:38:55 +00:00
samsungtools samsungtool: allow firmware creation 2012-12-06 12:17:50 +01:00
scsi scsi: add support for listing devices on Windows 2020-01-29 13:27:18 +01:00
skinupdater SKIN BREAK: %pb, %bl and %pv (bar types) changed so the image is the last param instead of the first. skin updater, skins and manual all updated. 2010-06-09 16:15:01 +00:00
tcctool tcctool: fix Makefile 2013-09-18 13:14:20 +02:00
themeeditor Remove the (very) incomplete port for the Tatung TPJ-1102 2021-08-14 16:29:39 -04:00
time-sync time-sync: allow passing an arbitrary time. 2013-06-09 19:51:08 +02:00
tomcrypt tomcrypt: Set target macOS version. 2020-10-31 19:20:36 +01:00
ypr0tools Samsung YP-R1: fix OF boot shortcut 2020-07-07 17:52:17 +00:00
zenutils Clean up bogus 'make compiler happy' code 2015-01-12 21:13:00 +01:00
parse_testcodec.rb utils/parse_testcodec.rb: add support for Opus files 2015-07-17 00:51:22 +02:00