summaryrefslogtreecommitdiffstats
path: root/firmware/export/config/ipod6g.h
AgeCommit message (Collapse)AuthorFilesLines
2022-07-12ipod6g: increase plugin buffer size from 512 KiB to 2 MiBChristian Soffke1-5/+3
The iPod classic/6G comes with 64MB of RAM. This brings it in line with the plugin buffer size of some other targets that have the same amount of RAM, such as the Fiio M3K, and enables the use of PictureFlow for users with very large databases. Change-Id: I1ccae1cacda7a243139f4887f54bd35cc8e501cf
2021-12-05powermgmt: Refactor battery current estimationAidan MacDonald1-0/+1
Create a new battery_current() function to report the the battery's charging/discharging current. Move the old runcurrent() implementation into it and clean up some of the related defines. Change-Id: I7dbe5b6532d291fa72add1cb23b30e3cbac8c3ca
2021-03-12ipod6g: increase max battery capacityCaleb Connolly1-2/+6
It's possible to get up to 3000mAh batteries for this device, although it requires that you use an iFlash adapter to make enough space. Signed-off-by: Caleb Connolly <caleb@connolly.tech> Change-Id: I0d0d02aa30caffcae4a7e8c805516a1266eef359
2020-07-24[4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice.Solomon Peachy1-2/+2
Note: I left behind lcd_bitmap in features.txt, because removing it would require considerable work in the manual and the translations. Change-Id: Ia8ca7761f610d9332a0d22a7d189775fb15ec88a
2020-07-24[3/4] Completely remove HWCODEC supportSolomon Peachy1-2/+2
'swcodec' is now always set (and recording_swcodec for recording-capable units) in feature.txt so the manual and language strings don't need to all be fixed up. Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
2019-08-01Remove "HAVE_TRANSFLECTIVE_LCD" from iPod 6G configSebastian Leonhardt1-3/+0
The screen content is only poorly visible without backlight, it's not really usable this way. Removing HAVE_TRANSFLECTIVE_LCD also fixes the "flashing screen" issue that appeared on some models when "lcd_awake()" is called. Change-Id: I3ba954c944077a32016820462f782dc27a31f8d8
2017-09-20Remove STORAGE_NEEDS_ALIGN from config headersMichael Sevakis1-2/+0
It's no longer required or used in the file code. Change-Id: I11c1bc166c91b99addca8c8d151c5eaace7a61c3
2017-02-11Improve radio RDS driver and frameworkMichael Sevakis1-0/+1
* Remove unused bits like the radio event and simplify basic radio interface. It can be more self-contained with rds.h only required by radio and tuner code. * Add post-processing to text a-la Silicon Labs AN243. The chip's error correction can only do so much; additional checks are highly recommended. Simply testing for two identical messages in a row is extremely effective and I've never seen corrupted text since doing that, even with mediocre reception. Groups segments must arrive in order, not randomly; logic change only accepts them in order, starting at 0. Time readout was made a bit better but really we'd need to use verbose mode and ensure that no errors were seen during receiving of time and more checks would be need to have a stable PI. The text is the important bit anyway. * Time out of stale text. * Text is no longer updated until a complete group has been received, as is specified in the standard. Perhaps go back to scrolling text lines in the radio screen? * Add proper character conversion to UTF-8. Only the default G0 table for the moment. The other two could be added in. * Add variants "RDS_CFG_PROCESS" and "RDS_CFG_PUSH" to allow the option for processed RDS data to be pushed to the driver and still do proper post-processing (only text conversion for now for the latter). Change-Id: I4d83f8b2e89a209a5096d15ec266477318c66925
2017-02-09ipod6g: bootloader v1bootloader_ipod6g_v1Cástor Muñoz1-0/+13
- dual boot - USB mode - battery trap Change-Id: I8586cfeb21ee63f45ab965430725225fdfc4212d
2016-08-02iPod Classic: use the new USB DesignWare driverCástor Muñoz1-2/+5
Change-Id: I36aabb5cb9cfe2d8c4f8fbcea944efec58ef9671
2016-05-15iPod Classic: modify USB storage read/write buffers sizeCástor Muñoz1-2/+2
The write buffer size is undefined to use the default 24Kb. size defined (and recomended) in usb_storage.c, the read buffer size is also decremented to 24 Kb. USB sequential read and write benchmarks using diskdump are now 8-9% faster. Change-Id: Ia7c9f77b57c8ca5b566b508efffbd713d1587acf
2016-05-15iPod Classic: remove ATA_HAVE_BBTCástor Muñoz1-3/+0
Change-Id: I45e26a413c13e401164a01996b0b4c6788096a7f
2016-05-15iPod Classic: remove emCORE HDD endianess warningCástor Muñoz1-4/+0
Change-Id: I91aa2dca7e748fe043c16014661985c42ab84b1a
2016-05-15iPOd Classic: skip emCORE HDD endianness warning for bootloaderCástor Muñoz1-0/+4
Change-Id: I274511cc1061c396a0642e8496d46a3b9c1228d3
2016-02-14iPod Classic: fix USB_DEVBSS_ATTR alignmentCástor Muñoz1-1/+1
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
2015-10-17iPod Classic: enable AB repeatCástor Muñoz1-2/+2
Change-Id: I58f3b0a3e4d8a1649d5549c312e6a259bce697a4
2015-10-07iPod Classic: reads HDD S.M.A.R.T. dataCástor Muñoz1-0/+2
Adds ata_read_smart() function to storage ATA driver, current SMART data can be displayed and optionally written to hard disk using System->Debug menu. Change-Id: Ie8817bb311d5d956df2f0fbfaf554e2d53e89a93
2015-10-07iPod Classic: implement IPOD_ACCESSORY_PROTOCOLCástor Muñoz1-2/+6
Change-Id: I0f0950c42ae5bf5c5b4c2c2f097f8c68a92ba4dd
2015-10-07iPod Classic: implement HAVE_SERIALCástor Muñoz1-1/+1
Change-Id: I24a861cd45095d858d1a7db39969f6eda17cc563
2015-10-07ipod Classic: implement HAVE_RECORDINGCástor Muñoz1-2/+4
This patch has been tested on iPod 80 and 160slim, actually it works but some updates must be done to the final version: - unlimitted input buffer - decrease CHUNK_SIZE - use non-cached addresses instead of discard d-cache ??? Capture hardware versions: Ver iPod models capture support --- ----------- --------------- 0 80/160fat dock line-in 1 120/160slim dock line-in + jack mic HW version 1 includes an amplifier for the jack plug mic. Capture HW detection only tested on iPod 80 and 160slim. CODEC power: AFAIK, OF powers CS42L55 at VA=2.4V for capture (1.8V for playback) and turns on the ADC charge pump. CODEC datasheet recommmends to disable the charge pump for VA>2.1V. CS42L55 DS, s4.13 (Required Initialization Settings): for VA>2.1V, some adjustments "must" be done using undocummented "control port compensation" registers. OF does not modifies these registers when VA=2.4V. This patch configures capture HW in the same way as OF does. TODO: - ADC full scale voltage depends on VA, perform tests to find clipping levels for VA=1.8V and VA=2.4V Change-Id: I7e20fd3ecaa83b1c58d5c746f5153fe5c3891d75
2015-01-08Get rid of USE_ROCKBOX_USBAmaury Pouly1-1/+0
Except for unfinished or experimental ports, it isthe case that USE_ROCKBOX_USB and HAVE_USBSTACK are both defined or both undefined. Furthermore, it is a leftover of some early developments on the USB stack and doesn't make sense anymore. Change-Id: Ic87a865b6bb4c7c9a8d45d1f0bb0f2fb536b8cad Reviewed-on: http://gerrit.rockbox.org/1091 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-03-03Implement lcd_get_dpi() for all bitmap targets.Thomas Martitz1-0/+2
DPI values are autogenerated from the resolution and collected display size values. These values are inserted as comments as well. Change-Id: Id03aedf9af18348f773dfce002805e480f6751e8
2012-12-29iPod6G (Classic) - enable HAVE_DISK_STORAGEHayden Pearce1-0/+4
Fixes missing Settings - General Settings - System - Disk - Spindown setting. Change-Id: Iae686598dfd7ad4ca1faf8db9f1271e7808de752 Reviewed-on: http://gerrit.rockbox.org/376 Reviewed-by: Michael Giacomelli <giac2000@hotmail.com> Tested-by: Michael Giacomelli <giac2000@hotmail.com>
2012-11-25Include runtime current measurements for the ipod classic.Michael Giacomelli1-2/+2
Numbers taken from the battery benchmark wiki page. Change-Id: Id66d3a2b76d025ef688a12f11e9274afd9bdfe58
2012-05-09Rename HAVE_PITCHSCREEN to HAVE_PITCHCONTROLNils Wallménius1-3/+0
Also move the definition to config.h Change-Id: I36bb5020c5e06b2344292bc05e8c13ccc7a6a1ff Reviewed-on: http://gerrit.rockbox.org/234 Reviewed-by: Nils Wallménius <nils@rockbox.org>
2012-04-28usb-s3c6400: merge the 2 driversRafaël Carré1-1/+1
Player-specific code remaining: usb_drv_(init,exit) The iPods lack a MMU, so: - physical, virtual, and uncached addresses are identical - since we can't access uncached memory we discard caches when receiving data Still not quite reliable on nano2g Change-Id: Iebb79df64818b9ae3b68eccb8be8975ebd6c21ea
2012-03-31Classic/6G: CPU frequency/voltage scalingCástor Muñoz1-1/+1
This patch implements HAVE_ADJUSTABLE_CPU_FREQ, it modifies the following parameters when CPU is unboosted: - s5l8702 voltage is decreased: 1.200V -> 1.050V - CPU frequency is divided by 4: 216MHz -> 54MHz - AHB frequency is divided by 2: 108MHz -> 54MHz Change-Id: I2285b83efb7e1567864ac288f2d4ba55f058f7c5
2012-02-25IPod Classic/6G: LCD sleep (FS#12523) by Cástor MuñozCástor Muñoz1-2/+2
Change-Id: I7bea9f61fa315339c1f41efb27d13a4aa30cb4c3 Signed-off-by: Nils Wallménius <nils@rockbox.org>
2012-02-13FS#12569 - iPod Classic - battery capacity updateAlbert Barca1-3/+3
Change-Id: Ibc4d873fb142954e274f7fc0f2782f4e022e2f81 Signed-off-by: Nils Wallménius <nils@rockbox.org>
2012-02-11FS#12524 - iPod Classic/6G: hardware click supportCástor Muñoz1-0/+2
Based on the piezo driver for the nano2g. Signed-off-by: Nils Wallménius <nils@rockbox.org>
2012-01-07TARGET_TREE is not needed anymoreRafaël Carré1-1/+0
spotted by jhMikeS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31597 a1c6a512-1295-4272-9138-f99709370657
2012-01-03Rework powermgmt to enable code re-use on appliation and sims.Thomas Martitz1-0/+2
* Introduce CONFIG_BATTERY_MEASURE define, to allow targets (application) to break powermgmt.c's assumption about the ability to read battery voltage. There's now additionally percentage (android) and remaining time measure (maemo). No measure at all also works (sdl app). If voltage can't be measured, then battery_level() is king and it'll be used for power_history and runtime estimation. * Implement target's API in the simulator, i.e. _battery_voltage(), so it doesn't need to implement it's own powermgmt.c and other stubs. Now the sim behaves much more like a native target, although it still changes the simulated battery voltage quickly, * Other changes include include renaming battery_adc_voltage() to _battery_voltage(), for consistency with the new target functions and making some of the apps code aware that voltage and runtime estimation is not always available. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31548 a1c6a512-1295-4272-9138-f99709370657
2012-01-01Make USB work again on iPod Nano 2G and iPod Classic. Still not 100% stable ↵Michael Sparmann1-2/+2
on Nano 2G, and HID is still broken. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31516 a1c6a512-1295-4272-9138-f99709370657
2011-11-11Finally submit GUI boost (FS#8668). With this change the CPU is boosted ↵Andree Buschmann1-0/+3
(with a 1 second timeout) on scrollwheel activity in the list, main menu, tree and std context. For now GUI boost is only enabled on scrollwheel targets. The code can easily be enhanced to work with other targets as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30967 a1c6a512-1295-4272-9138-f99709370657
2011-11-06Commit FS#12209 by Vencislav Atanasov: iPod 6g/classic usb product id Michael Sparmann1-252/+251
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30911 a1c6a512-1295-4272-9138-f99709370657
2011-03-01iPod Classic: Disable boosting, it seems to cause random lockupsMichael Sparmann1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29473 a1c6a512-1295-4272-9138-f99709370657
2011-02-27Fix misspelled define that was commented out anywayMichael Sparmann1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29450 a1c6a512-1295-4272-9138-f99709370657
2011-02-27iPod Classic CE-ATA Support (Part 4 of 4: S5L8702 ATA driver)Michael Sparmann1-2/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29448 a1c6a512-1295-4272-9138-f99709370657
2011-02-09iPod Classic: Enable boosting by switching the CPU between 1x and 2x AHB clockMichael Sparmann1-3/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29265 a1c6a512-1295-4272-9138-f99709370657
2011-01-02New port: iPod Classic (also known as iPod 6G/6.5G/7G)Michael Sparmann1-0/+246
Major known issues: - No bootloader yet - No support for the first-generation 160GB CE-ATA hard disk drive yet - Audio playback is slow, only FLAC seems to reach realtime git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28953 a1c6a512-1295-4272-9138-f99709370657