summaryrefslogtreecommitdiff
path: root/firmware/target
AgeCommit message (Collapse)Author
2020-05-23Sansa AMS add Minimum Clocks for I2c IDE SDSLOT SSPWilliam Wilgus
This patch doesn't implement them just defines them Change-Id: I1762152c3c683cc68bcedac5923c536316441613
2020-05-23Sansa AMS set I2C properlyWilliam Wilgus
Change-Id: I95c93933487c4260a7aa43ebed273ab2c05e55c1
2020-05-23Sansa Clip+ set lcd SSP properlyWilliam Wilgus
Change-Id: I152f038954ac1649b30dd17c3e6332e4d756502c
2020-05-23Sansa ClipZip set lcd SSP properlyWilliam Wilgus
Change-Id: Ice62dfa7f266ee4369793777a39e675bceae1831
2020-05-03filesystem: don't PIVOT_ROOT for checkps and simulator builds for hiby targetsSolomon Peachy
Change-Id: I297cbfb60aa18c0895b27ffa787ef6fb9440e03c
2020-04-17ClipZip LCD Corruption Backlight fixWilliam Wilgus
User reported LCD screen corruption via forum in 3.14 and 3.15 turning backlight off and back on seems to fix the issue http://forums.rockbox.org/index.php/topic,53192.0.html Change-Id: Id0b34d2f9b77e79ab0ecabace331f0b203184724
2020-04-14Fix checkwps build for dx50 & dx90 targetsSolomon Peachy
Their codec headers weren't in the right place. Change-Id: Iae16c10defc937cc227afd8992ff45cd6d664898
2020-04-13obsolete: Nuke the very-incomplete Archos AV300 targetSolomon Peachy
It's even missing a config header file. Just shoot it in the head. Change-Id: I4c5cdb4fb63361a4e4fc893e93d73d3890fe17df
2020-04-11RTC: Add support RTC alarms on hosted targetsSolomon Peachy
Only AGPTeck Rocker is enabled for now, and it doesn't work properly: * No generic way to determine wakeup reason under Linux * No generic way to be asynchronously notified if the alarm is triggered when we're already awake * Shutting down may clobber RTC wakeup (driver/etc dependent) And finally: * AGPTek kernel's RTC driver has some 24h clock and some timezone-related issues. So, the infrastructure is arguably useful, but the only applicable hardware I have is pathologically brain-dead. Change-Id: Iac6a26a9b6e4efec5d0b3030b87f456eb23fc01d
2020-04-08hiby: Use HAVE_LCD_ENABLE instead of HAVE_LCD_SLEEPSolomon Peachy
Change-Id: I93819f5ecaad9101a711a0cca626570c7aef0e57
2020-04-08hiby: Refactor X3ii/X20 and Rocker LCD codeSolomon Peachy
Once some missing power optimization stuff was added to the X3ii code, they were completely identical. Change-Id: I68e4db5e270e8ff22f91e521616a054bd7baa95d
2020-04-06xDuoo X3II and X20 portMarcin Bukat
Provided by Roman Stolyarov Integration, Refactoring, and Upstreaming by Solomon Peachy X3II confirmed working by forum tester, X20 is nearly identical. This includes bootloader, main firmware, and the flash image patcher. Eventual Todo: * Further refactor AGPTek Rocker & xduoo hiby bootloaders * Further refactor AGPTek Rocker & xduoo hosted platform code Change-Id: I34a674051d368efcc75d1d18c725971fe46c3eee
2020-04-05simulator: Fix sim build for sdl/hosted targetsSolomon Peachy
Change-Id: I39a7be7cf0ace47cd4aba2a01d9450e1ba41cb7b
2020-04-04pp502x: Don't fill the cache starting from address 0x0Solomon Peachy
The pp502x cache init code tries to flush the cache by reading a block of DRAM. Change the starting point from 0x0 to 0x1000 so the compiler doesn't helpfully insert an undefined instruction to deliberately crash the target. (This behavior is intentional on the part of GCC, and was triggered by using -Os with my experimental 4.9.4 toolchain) Change-Id: I2d2719615a1164a035f3dac8a56dd3737bbab1d5
2020-01-29sonynwz/scsitools: add NWZ-S610 seriesAmaury Pouly
Change-Id: I8977e1bcc805df463f7b08f11be889368db4eab2
2020-01-12sonynwz/scsitools: add support for NW-A56Amaury Pouly
Change-Id: I07e57218638ef62c0e4bf92833add6c3ba7bdcd8
2019-12-30Fix As3525 SD unused parameter warningWilliam Wilgus
Change-Id: I0a4bbcf94e9cadf43a822c1cb2f2dad3bd4f7588
2019-12-31Sansa AS3525V1 Sd Interface implement powersave modeWilliam Wilgus
This patch cleans up the sd driver for the V1 sansas powersave implemented for the sd interface Change-Id: I3d864f7aa304cf792cc65fa4ff06c1e52fbed329
2019-10-17Fix timer Agptek Rocker (other hosted players)William Wilgus
on timer_unregister callbacks are not removed It seems (at least on the Rocker) timers continue to fire (for a bit??) Now we store the registered callback in the sigev structure and check that the callback matches the one registered when the timer is created. This should stop the possible case of a new timer getting spurious callbacks We also now NULL the callbacks on un-register which should stop the segfaults Added some notes to timer.c and timer.h Change-Id: Ia155c3a4e4af89f474d55ed845560ccc1fab85aa
2019-10-13iPod Classic: enable IRAM1 in bootloaderFranklin Wei
7442742 ("iPod Classic: disable IRAM1") was causing subsequent ipod6g bootloader builds to result in a completely black screen upon installation, with recovery only possible with a reflash through DFU mode. IRAM1 is re-enabled for bootloader only. Change-Id: I92d489c91f81cad55d66a8647c1e61a45f468770
2019-07-29XduooX3: Uncomment code that prevented hotswap from working.Solomon Peachy
Change-Id: I5efec00e60aacf05166407ad43b9d63340e18967
2019-07-26Fix issue with building the UI Simulator for WindowsLiveboxAndy
Addition of rtc support for AGPtEK ROCKER broke building the UI Simulator for Windows. This patch removes the rtc support if building UI Simulator for Windows.
2019-07-10Fix Truncation warning cpufreq-linux.c->cpufreq_available_governorsWilliam Wilgus
limit cpu identifer to 0xFFFF Change-Id: I6fb170aa7ce32b7b5c0366bbd689878bb5069be8
2019-06-02jz7460: Disable IRQ-driven DMA transfers.Solomon Peachy
This greatly increases the stability of SD card write operations. (I suspect the underlying problem is not IRQ operation itself, instead being exacerbated by it..) Change-Id: Ia00f0656abd4b3cb0b1b5fc9db7c1b6a02847956
2019-05-31Agptek rocker: do not update display when not activeMarcin Bukat
Change-Id: I963a9098b82a09aed8050123932a128f2d08dee0
2019-04-22nwztools: add DMP-Z1 to the databaseAmaury Pouly
This is one of those fancy gold-plated devices. Of course it breaks my scripts that were nicely expecting every device to start with NW. Change-Id: I161320f620f65f4f92c2650d192b26a9831eeb9d
2019-02-08Fix the fixSebastian Leonhardt
Change-Id: I54b97fd0c208f775e4ee22cf8499f1da423ebc39
2019-02-08Fix red and remove duplicated function declarationSebastian Leonhardt
Change-Id: I5fed7fdad077eedfc1e36fbd9e1669f11b90288d
2019-02-07Simulator: improve simulation of transflective screensSebastian Leonhardt
This patch simulates the three possible states of a transflective LCD: backlight on (bright screen as usual), backlight off (dimmed screen) and LCD off (black screen). Makes use of already defined 'BACKLIGHT_OFF_ALPHA'. Change-Id: I9b0fc79b8d50c29e024ba1e6d9c2501119a7e0e0
2019-02-07YH820: implement LCD sleepSebastian Leonhardt
use sleep setting to keep transflective LCD active without backlight Change-Id: Iccd97e956d5e4a2a22abc90d15e9123782126ecb
2019-01-04Add HAVE_LINEOUT_DETECTION and associated logicSolomon Peachy
This allows targets to automatically switch audio settings when the line out is plugged/unplugged. Only hooked up on the xDuoo X3, but there are other potential users. Change-Id: Ic46a329bc955cca2e2ad0335ca16295eab24ad59
2019-01-02mips: Adjust main & irq stack sizes to fit in IRAM on all targetsSolomon Peachy
New amounts: 7.50K main stack 0.75K irq stack Prior values of 8K+1K overflowed IRAM by ~660 bytes on Onda 7x7 targets, but worked on the xDuoo X3. (The discrepancy is due to the Onda targets having more LCD code shoved into IRAM.) Change-Id: I16fcfae3c5f3e36db688dfa9167b620584e79df8
2019-01-02mips: Use a separate IRQ stack & optimize IRQ handling a littleSolomon Peachy
Should prevent the IRQ-related stack overflows seen on MIPS targets. Change-Id: I447336ef3fe37e11b3276a78ba220ce64c2f87f5
2019-01-02Add Xuelin iHIFI 770/770C/800 supportSolomon Peachy
Taken from the xvortex fork (Roman Stolyarov) Ported, rebased, and cleaned up by myself. Change-Id: I7b2bca2d29502f2e4544e42f3d122786dd4b7978
2019-01-01Coldfire: Don't clobber alwarm wakeup signal in dualboot modeSolomon Peachy
(See FS#7814 for details) Change-Id: I6a09a8dfe1abc3a396ca8afe1dbbf1d203c7e3e2
2019-01-02Fix Xduoo X3 bootloader build, and silence all warnings.Solomon Peachy
Also enable USB bootloader mode Change-Id: I73224c2e694b9941993c89a114b48d2a907e0dfb
2018-11-30sonynwz: add NW-A57 and NW-ZX300G to the databaseAmaury Pouly
Change-Id: I9bbfa56c5b2d79568de5443f1098d724c4beda6a
2018-11-30Add the NWZ-A844 to the databaseAmaury Pouly
For some reason even Sony didn't have it in its list... Change-Id: I26de6071e5887cc7c6ebb695ea333c7b3d1b50db
2018-10-29sonynwz: add nvp map for NW-A50 seriesAmaury Pouly
Change-Id: I49f3399552721e515cc01021c2e0aa28c781ec28
2018-10-29sonynwz: add NW-A55 to databaseAmaury Pouly
Change-Id: I59861119c59490f586b3c6ed32a1c41df8b3d365
2018-10-09mips: fix some compile warnings.Solomon Peachy
Change-Id: Ia5e83702313c1c184480290d3b0e6a66f01b7277
2018-10-09mips: jz4740: JZ4740 does not have a MSC clock source select.Solomon Peachy
Change-Id: Ic2af37d92bcb8b6b35684f113eb8e392fc2eb609
2018-09-20jz4760: Lots of stability fixes to the USB driver.Solomon Peachy
It actually works for transferring data now! Igor Poretsky gets full credit for this patch. Change-Id: I247c70fdf45e590b4699b9b8668bbdab7bc3ef03
2018-09-20xduoo_x3: Disable keypress IRQ since we poll for keypresses.Solomon Peachy
Change-Id: Ieab5f864751cf798b62c4e89e670acf7ade756ab
2018-09-20jz4760: Enhancements and fixes to SD driver.Solomon Peachy
* Fully Interrupt-driven, with proper task yielding * Much more robust error handling * Eliminate duplicate code * Pile of bugfixes (Much of this adapted from Igor Poretsky's tree) Change-Id: I46006412323cba2088b70094635d62a241be1d7e
2018-09-20jz7460: Silence codec when changing playback frequency/modeSolomon Peachy
Silences some annoying clicks. Change-Id: I3d32d4b33c0ccc61877e10f5af97fe05084d66e5
2018-09-20jz7640: SD driver improvements:Solomon Peachy
* Better multidrive support * Common slot1/slot2 handling code Change-Id: Id0aed90cbba4246fdc71b42e03f016f8060d258a
2018-09-20jz74x0: MSC clock needs to be divided from PLL clock.Solomon Peachy
Change-Id: I0cf2f0d55e0859f896afef289e833935d7c5a599
2018-09-20jz4760: Greatly enhance debug code and silence some compilation warnings.Solomon Peachy
Change-Id: I1746d67c818ad099edea83e6242ffd5c79be0000
2018-07-30iPod Classic: disable IRAM1Cástor Muñoz
On Classic, IRAM1 (second 128Kb of a total of 256KB available IRAM) is slower than DRAM. Codecs that actually are using regions of IRAM1 runs faster when DRAM is used, so IRAM1 is disabled and only IRAM0 remains enabled: 48KB for core and 80KB for codecs/plugins. The next test_codec results shows how decode time is decreased: file boosted unboosted *.ra ~1.5% ~0.5% *.mpc ~21% ~4.5% *.ogg ~0.5% ~0% nero_he*.m4a ~8% ~1% nero*.m4a ~25% ~7% wmapro*.wma ~4.5% ~0% wma*.wma ~25% ~7% In addition there is a small power save when IRAM1 HW is disabled. Change-Id: I102adee11458e82037f23076d5d5956e23235de8