Age | Commit message (Collapse) | Author |
|
With this changes rockbox can be loaded from SD card when internal storage
can't be mount (due to hardware or software problem).
Change-Id: I32b20d3f341566364def747a708a54ba6b4a7f8b
|
|
Change-Id: I8d64b8578d28884e326f8b43100b3b4691f95acf
|
|
Change-Id: I5cb6d9ec3d14389b03ae43edb15b9c6199df322b
|
|
Change-Id: Icddf1ea0a03f0426e0cf9b99f05ea065f532fed5
|
|
Change-Id: I5ddb6e6b4f84e036a7464b142fa9496446708beb
|
|
Change-Id: I8e7ccbcf8a856bc3e08145a795695fb675794495
|
|
Change-Id: Iaec43120ef213d9a3c77201bdf50ebbedd1c5b76
|
|
Interrupts version is cause of freeze on USB extraction.
Also non-interrupts version much simpler and faster.
Change-Id: I30a2993cdcaa85abfba77ca06bfacd5b6b4353e2
|
|
Change-Id: I53b9a129679fd7b322770025106ef92033226d2a
|
|
Fix log file corruption if we have new messages at dumping log to file. Comment
removed as it incorrect. We store all messages in direct order (last message at
end of file).
Change-Id: I4acfa8a0935cc41a889e08f6bc42974fefd1ade2
|
|
Crashes immediately. Something was wrong with the last commit.
Change-Id: Ie8a05095369a6312dc151e0a393e97d3a3fc7a09
|
|
Voltage is reduced when the CPU is unboosted, resulting in a large
reduction in power consumption. In analogy with the AMSv1 voltage
scaling code (currently disabled due to problems with SD cards),
I have defined a config file option to enable/disable it.
Change-Id: Ia89c31ec06dd012354b4d53435e7b5b36243b206
|
|
We need additional delay since ascodec_write_pmu() working faster in
non-interrupts version of I2C2.
Change-Id: If4af3e42b3c8e8214baa36e54353b8adb527552d
|
|
After setting new PCLK (96 Mhz) we have too high DBOP (96 / 16 = 6 MHz).
According to datasheet DBOP should be maximum 4 MHz.
Change-Id: I1cbec054f41a76a6f18eadccb902c5b174ad6e3a
|
|
The old value was unstable on some devices.
Change-Id: I016906ec076384589bef9ece6156e0ee7b31609a
|
|
It improve responsiveness for all targets with frequency scaling.
Change-Id: I72c94daf58cee10c1772decbd0443856c111cc47
|
|
We should check sd_wait_for_tran_state() after transfering to prevent data
timeout error. Also we should disable DMA channel manually.
Should be used with g#1270, without it freezes still can occur on data
transfering.
Change-Id: If8c6e5547ab14d66237bccf65f83affc7a346e5e
|
|
Change-Id: If523d9fe24711ffe571623aae54f141f00b0ee41
|
|
Change-Id: Ic94cf7d3e058a876bbafdb5a35f26f240e1384fd
|
|
With current setting we spend few minutes for reading one sector if we have
data timeout error. With new setting system (linux) show error after ~10 seconds.
Change-Id: Id3922acb2ea146c6ea2f89f26206df9488e6ee4e
|
|
First time we call usb_enable(enable) on USB_INSERTED event from usb_stack_enable()
Change-Id: I76f66517e1d571ee02553972a7de8414e6f340ba
|
|
Change-Id: I5e87a9c47defa90e15800666e8ab4608ef5de299
|
|
Change-Id: If0e8174044b71765190cca89f2e37104b9e673e4
|
|
Change-Id: I1e523dd3ddc5ddf198302cdb69cc90ad79df0563
|
|
Change-Id: I90511b019f45d06e3154c986e1abf87a91d79570
|
|
Change-Id: If3156c3d86145c66bc81e7cd371709ad91b8ee3c
|
|
Change-Id: I382b7a037bf9648f993a38d247725ec8c966147f
|
|
Change-Id: I4513425b887a0a79b03420ef82fd82bd90e7bafa
|
|
This should allow FireWire charging to work on these devices.
It also adds charging state detection on the iPod Classic.
(cherry picked from commit fa86fec4fb089b47f5c2c3b1f2f3dbc97551895b)
On Classic (and probably Nano 2G), it seems that the 100/500mA limit
applies only to USB chargers, when FW is connected it supplies all the
power (even if USB is also connected) and USB current limit does not
affect to FW charging, therefore the limit is only set when USB is
connected.
Change-Id: I7c6bab1b6a0f295367999c45faeda6085c3fb091
Signed-off-by: Cástor Muñoz <cmvidal@gmail.com>
|
|
Read/write buffers who are aligned to 16 were not re-aligned to 32 as
it should be. Althrough USB storage and buffering are always passing
buffers aligned to 32, a few unaligned buffers are being received from
other tasks, so this patch could solve some rare random issues.
Also fixes DMA configuration for HDDs that support any MDMA mode but
only UDMA0 (probably will never happen).
Change-Id: I00219ae434205681c69293fc563e0526224c9adf
|
|
Change-Id: I186c24259cc28941ef21c54ae9ba23c1ba77133e
|
|
- Add description for attributes supported by Samsung HS081HA (80Gb)
and HS161JQ (CEATA 160Gb).
- Show error code when ata_read_smart() fails.
Change-Id: I618cc4f37d139fc90f596e2cf3a751346b27deb6
|
|
After previous commit 0b6647f2e9e5d21e80736eab7af33acecba28f38
this alignment should not be needed, but not sure at all, so it
is aligned to cache line length for safety.
Change-Id: I5b2b9a30c913d2a609acc1bdf30bdec6811a2551
|
|
Align USB_DEVBSS buffers to 32 (as other USB drivers are doing), this
could solve rare random memory corruption issues on iPod Classic.
Change-Id: I86a28e10415eabedab7bf4a534530900284f81e5
|
|
Some old code made the assumption that CONFIG_CPU == AS3525v2 if and only if
HAVE_AS3543, which is not true on targets like the Samsung YP-R0. This fixes
several issues on such targets like a huge volume gap between -39dB and -40dB
and a volume artificially capped at -72dB instead of -82dB.
Change-Id: Ib1c883ac593c0c3ce5e2bf4eb408924ce5f5ad93
|
|
Change-Id: I99fe6d09b15689e5dd0179714bbe363aed922d10
|
|
Reverts commit ead38dbc9df3f63bd4f870ff2365ba48876d5b46
It was introduced as a temporal workaround to avoid the endless restart
loop when battery is low, but really it is useless. The bootloader should
ensure that there is enough power to launch Rockbox even in the worst
scenario.
Change-Id: Iabebed40c9241af915c16c3c6c4d3c6deef7680e
|
|
CPU type and frequency of the PLLs are fixed and have no interest
at this moment.
Change-Id: I9524127add872908c062a5cfa2fca348a03e846e
|
|
seems more logical to me, and is more consistent, since
"SAMSUNG_YH92X_PAD" is already used in the tex files.
Change-Id: Ie9a9d850ea86155a7dcf86c88a22a420a10a3837
|
|
Change-Id: Idb902f44a6aa2648e5cbd0e19ee2d14394479de8
|
|
Voltage scaling is not yet enabled, but will follow once we are sure
these changes are stable. Preliminary testing suggests a large
increase in battery life, which will be further improved by voltage
scaling. Patch by Mihail Zenkov with help from myself and others on
the forums.
Change-Id: I171d20bbee19a48c13cd14efb0d023883cc8c687
|
|
Change-Id: Ib44d29384f359dff24f0ce012667d9ce93328dc2
|
|
When run at lower clock speeds, delays seem to need to be a little
longer in absolute time.
Change-Id: I5373f43094302e6fa3f0a79126e54cfccd90f5a4
|
|
cycle counting.
Also introduce a new delay needed for frequency scaling.
Change-Id: I575a503a8ca44358fcd5512fd951fe9c7bbde31c
|
|
Change-Id: Icc2618391e831af7bc1998f7627176315443bcdb
|
|
Change-Id: I57897aa1bb98b652bc6c953680bf548648f5915b
|
|
Change-Id: I936889872f83521731e81a972657086a357bb5eb
|
|
Change-Id: I0e72b4a452a17ec894c975dfee4baee878113ff8
|
|
Configures uncached memory region and adds some defines for misc HW,
for compability with the bootloader and other future use, current
functionality should not be affected.
Change-Id: I390e79bea1aef5b10dfbc72ad327d7fe438ec6f5
|
|
Uses GPIO.E2 (Request To Send) to detect the holdswitch status,
it is a temporal workaround that seems to work on all models.
Holdswitch status must be detected to drive low GPIO.E2 (RTS)
and GPIO.E4 (Data Out) when the holdswitch is locked, otherwise
battery life decreases about 25%.
Holdswitch unlock action is detected by reading the HELLO message
that the external wheel controller sends when it is powered on,
this allows to quickly capture clickwheel activity after unlock.
GPIO.E2 is also used in case the HELLO message is missed because
the holdswitch was unlocked before Rockbox/bootloader starts.
These 2 lines (RTS and DOUT) can not be used to transmit messages
to the external clickwheel controller, not a problem, actually no
messages are sent while normal operation, only at initialization
stage.
Change-Id: I415fe54bfcbc2086d0f56d7affe6f789ce81a6db
|