summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Red AlertMihail Zenkov2016-04-06
| | | | Change-Id: I5ddb6e6b4f84e036a7464b142fa9496446708beb
* fix red againMihail Zenkov2016-04-06
| | | | Change-Id: I8e7ccbcf8a856bc3e08145a795695fb675794495
* fix redMihail Zenkov2016-04-06
| | | | Change-Id: Iaec43120ef213d9a3c77201bdf50ebbedd1c5b76
* as3525: reverting I2C2 to non-interrupts versionMihail Zenkov2016-04-05
| | | | | | | Interrupts version is cause of freeze on USB extraction. Also non-interrupts version much simpler and faster. Change-Id: I30a2993cdcaa85abfba77ca06bfacd5b6b4353e2
* Fix checking for CONFIG_CHARGINGMihail Zenkov2016-04-04
| | | | Change-Id: I53b9a129679fd7b322770025106ef92033226d2a
* Don't add new message to logf when we dump it to fileMihail Zenkov2016-04-04
| | | | | | | | 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
* Save bookmark and settings on shutdown at low battery level on players ↵Mihail Zenkov2016-04-04
| | | | | | without HD Change-Id: I9b9bbf0568de9a82107b0be3b42c3fdba0a0a27d
* Cleanup unused functionMihail Zenkov2016-04-04
| | | | Change-Id: I10aac94906607a74f05a687cb3d0029cb6faea6e
* Fix reset runtimeMihail Zenkov2016-04-04
| | | | Change-Id: Ic1ba0c7c7883aae43100c67235dbc2db83056fe7
* Align test_disk buffer for DMA.Boris Gjenero2016-04-01
| | | | | | | | | Some targets can only use storage DMA if the memory location is storage aligned. The required alignment can be more strict than word alignment, which was used previously. This change ensures that aligned transfers in test_disk can use DMA. Change-Id: I605b4d57f9e9c04920587017032f14449645693a
* Fix FS#12981 JPEG decoding problem when entropy data starts with FFBoris Gjenero2016-04-01
| | | | | | | | | | This changes JPEG fill and invalid byte handling to be like mozjpeg, and bases entropy data start on SOS marker location. Thanks to Stefan Waldmann and Dean Tersigni for reporting. Change-Id: I3c79cc6ac8d714fdc75c12b57ba427d611c99519 Chaange-Id: Ibc7c17d38d5be63642bdaf6adfd6acc2a6cf4450
* Fix broken logfMihail Zenkov2016-03-30
|
* Disable voltage scaling.Michael Giacomelli2016-03-27
| | | | | | Crashes immediately. Something was wrong with the last commit. Change-Id: Ie8a05095369a6312dc151e0a393e97d3a3fc7a09
* Enable voltage scaling on AMSv2.Michael Giacomelli2016-03-27
| | | | | | | | | 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
* AMSv2: additional delay for voltage scalingMihail Zenkov2016-03-27
| | | | | | | We need additional delay since ascodec_write_pmu() working faster in non-interrupts version of I2C2. Change-Id: If4af3e42b3c8e8214baa36e54353b8adb527552d
* AMSv2: DBOP frequency divided by 2Mihail Zenkov2016-03-27
| | | | | | | 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
* Fix wrong typecast in test.Dominik Riebeling2016-03-27
| | | | Change-Id: I01acae450bcbb9c9e2b45d3ee62817b9256540c3
* Improve handling of Qt5 subversions on OS X.Dominik Riebeling2016-03-27
| | | | | | | | Qt 5.6 on OS X requires targeting at least OS X 10.7, while for earlier versions we can still target 10.6. Handle this case and inform the user about the used target version. Change-Id: I78e426037e2966241ab9a63105e04e7366b469ed
* Use Gestalt to get number of CPUs on OS X.Dominik Riebeling2016-03-27
| | | | | | | | | MPProcessors has been deprecated with 10.7. When targeting 10.7 (required when building with Qt 5.6 on OS X) this causes a warning. Use Gestalt instead (Gestalt has been deprecated with 10.8, but when targeting 10.7 this doesn't cause a warning, and Gestalt is used for other values as well). Change-Id: Iaf82147ad47115e228f5c08f8198a6a7e92102a3
* Fix compile warning on OS X.Dominik Riebeling2016-03-27
| | | | | | | Current clang on OS X suggests placing parens so add them (-Wbitwise-op-parentheses enabled by default). Change-Id: I31b49386aa184fe27f72f7f58909b97524d96f44
* Fix C++11 compile error with version strings.Dominik Riebeling2016-03-27
| | | | | | | | C++11 requires a space between literal and identifier. When compiling with Qt 5.6 on OS X C++11 support is automatically enabled, causing an error due to this. Change-Id: Ifbedc894a3cef23fc67ed1da75558e92e44d1077
* Slightly increase VDD2 on AMSv2.Michael Giacomelli2016-03-24
| | | | | | The old value was unstable on some devices. Change-Id: I016906ec076384589bef9ece6156e0ee7b31609a
* GUI boost for any buttonMihail Zenkov2016-03-18
| | | | | | It improve responsiveness for all targets with frequency scaling. Change-Id: I72c94daf58cee10c1772decbd0443856c111cc47
* _BSD_SOURCE is deprecated, and we're supposed to use _DEFAULT_SOURCE now.Frank Gevaerts2016-03-18
| | | | Change-Id: Ia051bc758c8fe4002e222511fdc6be613cdd39e7
* sd-as3525v2: prevent DTO error and DMA problemsMihail Zenkov2016-03-18
| | | | | | | | | | 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
* Fix NUM_ADC_CHANNELS for AS3525v2Mihail Zenkov2016-03-18
| | | | Change-Id: If523d9fe24711ffe571623aae54f141f00b0ee41
* lua: don't include rockbox-specific libc headers for the button helper tool.Frank Gevaerts2016-03-18
| | | | | | This fixes the "implicit declaration of function 'printf'" warning Change-Id: I97d247bcab26ddba4d22e0fd19af45fdb47b8cce
* sd-as3525v2: exit with error if transfer failureMihail Zenkov2016-03-18
| | | | Change-Id: Ic94cf7d3e058a876bbafdb5a35f26f240e1384fd
* sd-as3525v2: Limit number of retryMihail Zenkov2016-03-18
| | | | | | | 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
* usb-s3c6400x: prevent calling usb_enable(enable) twice on USB insertMihail Zenkov2016-03-18
| | | | | | First time we call usb_enable(enable) on USB_INSERTED event from usb_stack_enable() Change-Id: I76f66517e1d571ee02553972a7de8414e6f340ba
* usb-s3c6400x: prevent lockup if usb extracted during data sendingMihail Zenkov2016-03-18
| | | | Change-Id: I5e87a9c47defa90e15800666e8ab4608ef5de299
* regtools: Convert rk27xx register description file to v2 formatMarcin Bukat2016-03-14
| | | | Change-Id: I60a764567d2fc73ed87fca2a8b0eaf643d4984bc
* hwstub: fix warning: no newline at end of file with newer gccMarcin Bukat2016-03-14
| | | | Change-Id: Icb4233fb9b2b0d5b6f8c4a35dff300f38c8d3025
* hwstub: rework usb driver for atj213xMarcin Bukat2016-03-14
| | | | Change-Id: I7b175103e567ae4375ff94e74ed1a06215f640c3
* A better fix than b58b9c2.Frank Gevaerts2016-03-13
| | | | | | | I misunderstood the code a bit when I committed b58b9c2. The read_char_no_whitespace() probably have to be done. Change-Id: I024420149a04dbeed4d714795282bb7f88a8e1da
* Remove clearly broken error checking, as pointed out by newer gcc.Frank Gevaerts2016-03-13
| | | | | | | | | Note that the error checking is probably useful if done correctly, but I have no way to test this, so just removing the offending code is the only way forward. Thanks to the fairly creative bug, the code did nothing at all anyway. Change-Id: Ifeef57202f31e842ca1befa331f8b34e1c76757c
* HDD16X0: remove unnecessary define.Szymon Dziok2016-03-13
| | | | Change-Id: If0e8174044b71765190cca89f2e37104b9e673e4
* HDD63X0: add a note about poweroff while charging to the config file.Szymon Dziok2016-03-13
| | | | Change-Id: I1e523dd3ddc5ddf198302cdb69cc90ad79df0563
* HDD16X0: disable poweroff while charging, add a note to the config file why.Szymon Dziok2016-03-13
| | | | Change-Id: I90511b019f45d06e3154c986e1abf87a91d79570
* HDD16X0: fix voltage values and simplify voltage calculation.Szymon Dziok2016-03-13
| | | | Change-Id: If3156c3d86145c66bc81e7cd371709ad91b8ee3c
* HDD63X0: fix values for charging (based on OF).Szymon Dziok2016-03-13
| | | | Change-Id: I382b7a037bf9648f993a38d247725ec8c966147f
* usb-s3c6400x: fix broken build for LOGF_ENABLECástor Muñoz2016-02-16
| | | | Change-Id: I4513425b887a0a79b03420ef82fd82bd90e7bafa
* iPod Classic: size optmizations for HAVE_ATA_SMARTCástor Muñoz2016-02-16
| | | | | | | | After commit e9497db the switch() in ata_smart_get_attr_name() is no longer optimized by the compiler, ata_smart_get_attr_rawfmt() is also updated to prevent that future additions will cause the same problem. Change-Id: Ib0d6482331f567896720589a5a2d93628f2d8f3d
* iPod Nano 2G and Classic: Fix power and charging detection.Michael Sparmann2016-02-14
| | | | | | | | | | | | | | | | 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>
* iPod Classic: fix buffer alignment on HDD driverCástor Muñoz2016-02-14
| | | | | | | | | | | | 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
* iPod Classic: fix build when ATA_HAVE_BBT is not definedCástor Muñoz2016-02-14
| | | | Change-Id: I186c24259cc28941ef21c54ae9ba23c1ba77133e
* iPod Classic: ATA SMART updatesCástor Muñoz2016-02-14
| | | | | | | | - Add description for attributes supported by Samsung HS081HA (80Gb) and HS161JQ (CEATA 160Gb). - Show error code when ata_read_smart() fails. Change-Id: I618cc4f37d139fc90f596e2cf3a751346b27deb6
* iPod Classic: fix USB_DEVBSS_ATTR alignmentCástor Muñoz2016-02-14
| | | | | | | | 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
* usb-s3c6400x: set alignment for ep0_setup_pktCástor Muñoz2016-02-14
| | | | | | | 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
* as3514: fix bug in volume management on AS3543 targets which are not AS3525v2Amaury Pouly2016-02-12
| | | | | | | | | 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