Thomas Martitz
12a0ed3b8d
Commit FS#9724, which reworks the preprocessor defines related to backlight fading to a CONFIG_BACKLIGHT_FADING style. The apps/ code will only see which setting is supposed to be used, specific backlight fading handling is kept in firmware, slightly reword the manual text about software fading too with regards to the Gigabeat S
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19860 a1c6a512-1295-4272-9138-f99709370657
2009-01-26 23:21:49 +00:00
Michael Sevakis
753b7a90e1
Gigabeat S: Add remote control reading and proper headphone insert detection. We need keymaps! A few were copied straight from Gigabeat F/X just to get things worked out.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19830 a1c6a512-1295-4272-9138-f99709370657
2009-01-23 20:55:17 +00:00
Thomas Martitz
81df953da5
Rename software backlight fading files, as we don't call it thread fading. Correct a copyright info too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19818 a1c6a512-1295-4272-9138-f99709370657
2009-01-22 10:50:11 +00:00
Maurus Cuelenaere
29b136b82d
Onda VX747:
...
* Get USB working (it isn't good at writing support though)
* Clean up NAND & SD a bit
* Other comments/fixes
Ingenic Jz4740/MIPS:
* Split MMU from system
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19815 a1c6a512-1295-4272-9138-f99709370657
2009-01-21 20:58:33 +00:00
Michael Sevakis
7d7969114d
c200v1/e200v1: Add battery charging. This should be usable on v2 players but those should be evaluated for current, endpoint voltage and whether or not accurate battery readings may always be obtained (which determines algorithm setup and behavior).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19748 a1c6a512-1295-4272-9138-f99709370657
2009-01-11 10:07:22 +00:00
Michael Sevakis
4ed78f5c72
Clean up panicf and introduce system_exception_wait to do further target tasks and wait for a button when an unrecoverable error has occurred (panic, UIE, etc.). Returning from that function should reboot or don't return from it. Move UIE and __div0 for ARM to its own file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19716 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 10:15:32 +00:00
Michael Sevakis
e2876ee4e2
Gigabeat S: Get timer API working. metronome will work now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19676 a1c6a512-1295-4272-9138-f99709370657
2009-01-05 00:00:29 +00:00
Bertrik Sikken
4c00b666a7
Group source files common to all current as3525 targets under '#if CONFIG_CPU == AS3525'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19668 a1c6a512-1295-4272-9138-f99709370657
2009-01-04 15:48:33 +00:00
Michael Giacomelli
c97f640060
Commit FS#9679 by Thomas Martitz. Adds c200v2 to the target tree. Has some buttons defined, a bootloader, and stubs for most drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19574 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 04:10:18 +00:00
Vitja Makarov
19413fc806
iaudio7: add battery voltage monitoring
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19549 a1c6a512-1295-4272-9138-f99709370657
2008-12-21 19:16:54 +00:00
Maurus Cuelenaere
9da2456c26
Fix SVN properties
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19482 a1c6a512-1295-4272-9138-f99709370657
2008-12-19 11:29:18 +00:00
Maurus Cuelenaere
40ec543052
* Add support for Onda VX747+ (FS#9674 by Olivier Barbut)
...
* Fix Onda VX767 support
* Small cleanup
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19481 a1c6a512-1295-4272-9138-f99709370657
2008-12-19 11:13:58 +00:00
Mark Arigo
9bf93ba007
Working touchpad for the Philips HDD1630 using the Synaptics driver. Like the m:robe 100, the strip is divided into up, select, and down button regions. You can't swipe like in the OF. The keymap still needs some work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19480 a1c6a512-1295-4272-9138-f99709370657
2008-12-19 03:31:26 +00:00
Bertrik Sikken
a6c62a218a
Renamed as3525-codec.c to ascodec-as3525.c to bring it in line with the naming convention of the other driver
...
files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19469 a1c6a512-1295-4272-9138-f99709370657
2008-12-17 20:16:20 +00:00
Mark Arigo
f2b66918e6
Move the Synaptics touchpad driver for the m:robe 100 to a common place. It will (soon) be used for the Philips HDD1630.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19465 a1c6a512-1295-4272-9138-f99709370657
2008-12-17 04:38:53 +00:00
Bertrik Sikken
c7c546cf59
AMS Sansa: add fmradio i2c support for e200v2 and the fuze, by Thomas Martitz and Michael Chicoine
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19463 a1c6a512-1295-4272-9138-f99709370657
2008-12-16 22:58:47 +00:00
Bertrik Sikken
ebf316f39d
Sansa Clip: add sources for radio i2c communication.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19437 a1c6a512-1295-4272-9138-f99709370657
2008-12-14 17:36:35 +00:00
Dominik Wenger
a654946622
correct battery readout for m200v4. Percentage is still uncalibrated.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19420 a1c6a512-1295-4272-9138-f99709370657
2008-12-13 15:57:41 +00:00
Nils Wallménius
65f61d6cce
FS#9609 FM radio support for the Gigabeat S, seeking/scanning is not yet
...
implemented but manual tuning works nicely. Thanks to Rafaël Carré,
Bertrik Sikken and Robert Menes for suggestions and debugging help.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19372 a1c6a512-1295-4272-9138-f99709370657
2008-12-09 20:48:04 +00:00
Dominik Wenger
02184a242e
make fmradio-i2c code from clip more generic, so it works for m200v4 and hopefully all other as3525 targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19370 a1c6a512-1295-4272-9138-f99709370657
2008-12-09 17:21:16 +00:00
Michael Sevakis
ea929a3e45
Have drivers merged for WM8711/21/31 since they are so similar but respect all register differences between codecs. Change minis to #define the actual codec type. If anything breaks check if OSCPD and CLKOUTPD need to be clear for the target- H10 is fine. A nice naming convention suggestion for WM codec multidrivers would be welcome rather than naming for a specific chip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19367 a1c6a512-1295-4272-9138-f99709370657
2008-12-08 21:09:56 +00:00
Bertrik Sikken
d9116da5de
Move Clip specific power management stuff (specifically the battery discarge curve) to powermgmt-clip.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19303 a1c6a512-1295-4272-9138-f99709370657
2008-12-02 19:50:31 +00:00
Frank Gevaerts
caaf3c0b97
Move tcc77x/usb-tcc77x.c to usb-tcc.c as it is more general than just tcc77x (even usb-tcc is too specific, but I don't know anything better)
...
Add #if0ed USB defines to config-cowond2.h, so experimenting with USB is easy
Add dummy set_serial_descriptor() implementation to usb_core.c. This one doesn't generate a unique serial, so it must never be used for non-testing purposes. When usaed, a compiler warning will be generated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19273 a1c6a512-1295-4272-9138-f99709370657
2008-11-30 15:43:15 +00:00
Rafaël Carré
81fe625a62
Sansa Clip: grey lib support (not calibrated yet)
...
Declare HAVE_LCD_INVERT
Put the framebuffer into IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19249 a1c6a512-1295-4272-9138-f99709370657
2008-11-27 21:07:54 +00:00
Steve Bavin
f684726580
Add software backlight fading for E100/H300/X5/D2, by Thomas Martitz and others - see FS#6800 for credits.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19221 a1c6a512-1295-4272-9138-f99709370657
2008-11-26 08:26:13 +00:00
Rafaël Carré
c1f90b1881
Sansa AMS: Use DMA for SD transfers (read and write)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19211 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 13:38:32 +00:00
Dave Chapman
e25c1c6e43
Add more driver stubs to make the Fuze and e200v2 main builds compile; Correct the memory definition for the Fuze (8MB)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19090 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 14:46:13 +00:00
Frank Gevaerts
e86d651647
make the meizu bootloaders compile again with the new storage infrastructure
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19088 a1c6a512-1295-4272-9138-f99709370657
2008-11-11 14:11:49 +00:00
Rafaël Carré
02dfae031a
Sansa AMS: use the AS3514 ADC driver
...
Move the ADC defines to as3514.h, and make adc-target.h only include as3514.h
Implement the missing API (ascodec_readbytes, ascodec_(un)lock)
Revert the changes to the PP-specific arm/ascodec-target.h in r19073,
use a AS3525 specific ascodec-target.h while moving the AS3514 specific
code in export/as3514.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19076 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 20:55:56 +00:00
Rafaël Carré
81b2ffb63e
AMS Sansa (formerly 'V2') use the as3514 RTC
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19072 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 18:18:27 +00:00
Rafaël Carré
6b566568eb
Fix Clip firmware building by adding missing symbols
...
Implement some of the new functions
Use as3514 rtc
Add AS3525 case in rolo.c
Copy card_get_info_target() from ata-sd-pp.c , and use the correct 32bits words order
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19064 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 11:04:43 +00:00
Daniel Stenberg
044ba22b93
"mv m200v2 m200v4"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19060 a1c6a512-1295-4272-9138-f99709370657
2008-11-10 09:27:40 +00:00
Rafaël Carré
baecdb632c
AS3525: use kernel_init() in bootloader
...
This way creation of scrolling thread doesn't risk crashing the system
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19026 a1c6a512-1295-4272-9138-f99709370657
2008-11-06 02:31:40 +00:00
Maurus Cuelenaere
4af26e7e98
Onda VX747:
...
* Commit (premature) SD, USB & audio drivers
* Fix ramdisk.c mistake
* Add battery readout
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19011 a1c6a512-1295-4272-9138-f99709370657
2008-11-05 00:24:46 +00:00
Frank Gevaerts
214cd81f08
Add ramdisk storage driver. It will be useful for developing multi-driver storage
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18993 a1c6a512-1295-4272-9138-f99709370657
2008-11-03 20:52:27 +00:00
Frank Gevaerts
99d39f5c3a
put stubs in the proper place
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18978 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 02:19:39 +00:00
Frank Gevaerts
8d68a567e4
add proper dummy storage implementation for sims
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18977 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 02:01:57 +00:00
Frank Gevaerts
430343bca7
implement single-driver storage layer with macros instead of inlines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18975 a1c6a512-1295-4272-9138-f99709370657
2008-11-02 01:14:46 +00:00
Dave Chapman
2a5d491480
Unify the e200v2 and Fuze backlight/buttonlight code - it is identical.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18966 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 22:05:35 +00:00
Frank Gevaerts
2f8a0081c6
Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do that, it also introduces sd_*, nand_*, and mmc_*.
...
This should be a good first step to allow multi-driver targets, like the Elio (ATA/SD), or the D2 (NAND/SD).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18960 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 16:14:28 +00:00
Dave Chapman
74c75e5c04
Add Sansa Fuze to the build system, including a first (untested) attempt at an LCD driver. Lots of things are just copied from the e200v2, so this code needs testing, and then drivers properly merged if they prove to be the same.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18957 a1c6a512-1295-4272-9138-f99709370657
2008-11-01 10:29:23 +00:00
Rafaël Carré
603a9c7c7d
Clip: add backlight and buttonlight code
...
Revive lcd_enable() as well, and use it in _backlight_on/off()
Don't update the lcd framebuffer if the display is off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18952 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 22:02:41 +00:00
Frank Gevaerts
19d1cacb1a
cleanup storage defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18950 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 21:25:04 +00:00
Dave Chapman
42f77d4eb0
Abstract the PortalPlayer AS3514 handling with an "ascodec" API - inspired by the wmcodec API used with the Wolfson codecs. The intention is to implement this API for the AS3525 and then share code with the Sansa V2 ports.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18940 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 00:16:42 +00:00
Rafaël Carré
e1b4838481
Embryo of a SD driver for Sansav2
...
Debug code included, needed until the bootloader is ready
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18926 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 20:21:59 +00:00
Michael Sevakis
48544f070b
Move kernel tick initialization and handling to the target tree for ones remaining in kernel.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18919 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 10:26:46 +00:00
Dave Chapman
8df1a7e29a
e200v2: implement the backlight handling (copy/paste from the c200v1/e200v1 code - this should probably be unified, along with other upcoming v2 code), plus clean up the lcd init by calling lcd_init() directly in the bootloader, instead of lcd_init_device().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18910 a1c6a512-1295-4272-9138-f99709370657
2008-10-29 01:42:03 +00:00
Bertrik Sikken
95726a5c23
FS#9503 - Sansa v2 audio/PMU communication driver (for the AS3525 SoC)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18886 a1c6a512-1295-4272-9138-f99709370657
2008-10-26 13:28:52 +00:00
Dave Chapman
08c41d42bb
Add e200v2 and m200v2 targets. Move the telechips lcd-ssd1815.c (currently used by Logik DAX and m200v1 ports) driver up in the target tree and share with the m200v2 - as2525 parts contributed by Rafael Carre. Includes the start (but is still very incomplete) of an LCD driver for the e200v2. m200v2 is not yet fully supported by mkamsboot - that will come soon. Also some minor cleanups for the Clip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18836 a1c6a512-1295-4272-9138-f99709370657
2008-10-19 14:11:01 +00:00
Frank Gevaerts
49ec9ea190
Make the meizu m3 load from flash, so interrupts work. More work is needed to get the m6sl "working" again
...
(patch by Denes Balatoni, FS#9499)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18827 a1c6a512-1295-4272-9138-f99709370657
2008-10-18 22:28:59 +00:00
Björn Stenberg
51b45d5602
Split id3.c/h into metadata.c/h and metadata/mp3.c. Updated all references. Moved mp3data.c/h from firmware to apps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18814 a1c6a512-1295-4272-9138-f99709370657
2008-10-15 06:38:51 +00:00
Björn Stenberg
9558c4956d
Moved pcm_record from firmware to apps. Cleaned up some. Now all code using struct mp3entry is in apps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18807 a1c6a512-1295-4272-9138-f99709370657
2008-10-14 11:12:20 +00:00
Dave Chapman
80cdc34a54
Rename the clip directory to sansa-clip to be consistent with the first (PortalPlayer) Sansa ports
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18786 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 18:07:23 +00:00
Dave Chapman
da8bff107e
Commit FS#9467 - initial work on port to Sansa Clip by Rafaël Carré and François Dinel. A few cosmetic changes were made by me prior to committing: 1) TAB policing in button-clip.c; 2) Add François Dinel to CREDITS; 3) Add François Dinel as (C) holder in button-target.h (it was previously blank); 4) Add Rockbox header to bootloader/sansa_as3525.c with Rafaël Carré as (C) holder; 5) Change target_id to 50 (next available number) in tools/configure and fixed indentation; 6) Change MODEL_NUMBER in config-clip.h to 50 (next available number); 7) Remove unused in/out macros from system-target.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18782 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 16:46:01 +00:00
Dave Chapman
e0f8c31216
Move the S5L8700 (Meizu) crt0.S file up one level - it can be used as a generic ARM crt0.S (the uncommitted patch for the Sansa V2s uses it).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18775 a1c6a512-1295-4272-9138-f99709370657
2008-10-11 18:15:42 +00:00
Björn Stenberg
e76c69f3e4
Moved id3.c, mpeg.c and replaygain.c from firmware/ to apps/. This is the first step in separating the generic metadata code and the id3-specific code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18760 a1c6a512-1295-4272-9138-f99709370657
2008-10-10 13:12:28 +00:00
Dave Chapman
85807cd44e
Trivial changes to make the main Rockbox builds for the Sansa m200 and Logik DAX ports compile. Note that some codecs are currently disabled (due to lowmem on these targets), but that needs more work and analysis to decide how much RAM we want to allocate to codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18566 a1c6a512-1295-4272-9138-f99709370657
2008-09-22 19:15:18 +00:00
Marcoen Hirschberg
48e45f5751
add Meizu M6SP and M3 ports
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18544 a1c6a512-1295-4272-9138-f99709370657
2008-09-17 23:22:11 +00:00
Jens Arnold
3a2bc2a617
Make Ondio builds without multivolume and hotswap support compile again (only relevant for testing purposes).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18533 a1c6a512-1295-4272-9138-f99709370657
2008-09-16 17:42:36 +00:00
Frank Gevaerts
1898ff753f
* move qt1106 specific things to their own files
...
* use CHANGE pin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18496 a1c6a512-1295-4272-9138-f99709370657
2008-09-11 18:18:40 +00:00
Dave Chapman
d462a64a91
Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18435 a1c6a512-1295-4272-9138-f99709370657
2008-09-06 17:50:59 +00:00
Maurus Cuelenaere
e144638167
Add Onda VX767 target
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18422 a1c6a512-1295-4272-9138-f99709370657
2008-09-05 15:09:40 +00:00
Maurus Cuelenaere
62c4a2838e
Onda VX747:
...
* Overall cleanup (still needs work)
* Add preliminary USB support
* Add power off support
* Add preliminary MMU handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18348 a1c6a512-1295-4272-9138-f99709370657
2008-08-26 21:48:49 +00:00
Maurus Cuelenaere
4bf4d2bb55
* Get interrupts working (but crashes after 10-30secs)
...
* Make current_tick increase
* Convert button driver into SADC driver
* Make touchscreen handling work better (still needs good calibration routine)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18240 a1c6a512-1295-4272-9138-f99709370657
2008-08-10 21:44:48 +00:00
Maurus Cuelenaere
447ffc8bf8
* Add interrupt handling (but still not working)
...
* Clean up linker script and bootup routines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18229 a1c6a512-1295-4272-9138-f99709370657
2008-08-09 23:31:38 +00:00
Rob Purchase
3352b265e6
Update the Telechips NAND driver to use the nand_identify() function introduced in r18052.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18063 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 21:32:20 +00:00
Maurus Cuelenaere
ebb612fbcc
Onda VX747:
...
1) Improve touchscreen handling
2) Add RTC driver
4) Add NAND Flash ID scanning
3) Other minor fixes
Nand_ID:
Add a generic NAND ID database (currently only containg Samsung chips)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18052 a1c6a512-1295-4272-9138-f99709370657
2008-07-15 17:17:01 +00:00
Maurus Cuelenaere
0709f0a5c6
Add preliminary support for the Onda VX747 (MIPS target)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18032 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 15:03:10 +00:00
Rob Purchase
ee72b3bbc6
Make the TCC780x NAND driver also build for 77x targets. This is work-in-progress stuff and does not yet work fully on 77x, but it's a step in the right direction. Also replace some magic numbers with #defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18019 a1c6a512-1295-4272-9138-f99709370657
2008-07-12 23:01:49 +00:00
Marcoen Hirschberg
7b10ef9a7c
initial Meizu M6SL port (take 2)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17819 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 23:24:34 +00:00
Mark Arigo
22e7bf32b8
My Devcon 2008 contribution: port for Philips GoGear HDD1630 (PP5022-based). Current status is that the bootloader works to load Rockbox, but dual boot does not work: it freezes after decrypting the OF. When Rockbox boots, it freezes somewhere between showing the logo and the main menu. And there's no driver for the touchpad. So lots of work left.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17809 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 18:40:25 +00:00
Rob Purchase
d6159ea7d7
Initial D2 sound playback support (known issues to follow on the CowonD2Info wiki page).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17753 a1c6a512-1295-4272-9138-f99709370657
2008-06-22 18:48:22 +00:00
Marc Guay
b93667b306
Add the Sansa c100 as a build target with basic drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17742 a1c6a512-1295-4272-9138-f99709370657
2008-06-21 15:18:36 +00:00
Michael Sevakis
a9c20f5789
Gigabeat S:
...
1) Rework event handling and static registration mechanism. No target-
specific code in mc13783 driver. GPIO event driver interfaces more
cleanly.
2) Somewhat related - enable thread priority for bootloader which is
desireable here (ffs is used for GPIO event enabling anyway and that
goes along with priority).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17593 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 08:42:11 +00:00
Mark Arigo
b4275d4941
Philips GoGear SA9200 port. Working bootloader and normal builds, including sound. No touchpad now, buttons limited to using vol+/vol-/power for up/down/select. Rockbox USB is enabled since the OF is MTP only...read the warnings on the PortalPlayerUsb wiki page.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17591 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:55:17 +00:00
Maurus Cuelenaere
e031db4b87
1) Use a separate config-<target>.h for Zen Vision(:M) (60GB)
...
2) Other unrelated cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17503 a1c6a512-1295-4272-9138-f99709370657
2008-05-14 18:55:19 +00:00
Mark Arigo
7656748221
Preparing for the Philips SA9200 part 1. Move the Sansa ADC & ATA drivers up one level.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17487 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 01:53:19 +00:00
Michael Sevakis
6dd6ea74af
Gigabeat S RoLo: Properly execute firmware copy from an IRAM stub because the currently running image was being overwritten in place. Minor tweak to rolo.c based on imx31 errata sheet about not masking FIQ without masking IRQ which is fine to use on all ARM anyway.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17414 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 12:09:14 +00:00
Maurus Cuelenaere
e025cb1c38
Split up DMA and ATA, but don't enable it (yet).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17386 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 15:47:26 +00:00
Maurus Cuelenaere
a6b31f18c8
1) add support for ata-as-arm
...
2) remove obsolete audio-creativezvm.c
3) fix registers in i2c-dm320.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17316 a1c6a512-1295-4272-9138-f99709370657
2008-05-03 13:43:26 +00:00
Dave Chapman
f2042983f0
Add the Sansa M200 (v1) as a target - it's extremely similar to the Logik DAX (the LCD driver worked unchanged). Plus various tcc77x work, including a working tick interrupt (enabled in the bootloader). Rockbox itself builds for the M200 (there are no keymaps yet for the DAX), but doesn't progress very far due to the lack of an ATA (NAND flash) driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17306 a1c6a512-1295-4272-9138-f99709370657
2008-05-02 19:12:09 +00:00
Jonathan Gordon
17f7adb90d
get rid of the last mr500 yellow (again :p )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17273 a1c6a512-1295-4272-9138-f99709370657
2008-04-28 02:19:23 +00:00
Jonathan Gordon
d20d9dd6e4
add more registers for the tsc2100
...
hopefully working volume control, mute definatly works.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17259 a1c6a512-1295-4272-9138-f99709370657
2008-04-27 13:43:05 +00:00
Michael Sevakis
27fac88548
Gigabeat S: Implement i2c driver - transmit works but no testing of receiving which will get a chance later. Add some seeds for codec driver. Correct a few #defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17254 a1c6a512-1295-4272-9138-f99709370657
2008-04-27 10:30:54 +00:00
Dave Chapman
fec6af659f
Move the Telechips TCC77x SSD1815 LCD driver up a level in the target tree - it isn't specific to the DAX.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17253 a1c6a512-1295-4272-9138-f99709370657
2008-04-27 08:30:14 +00:00
Frank Gevaerts
bec6aa3176
- change the usb class driver framework to allow for device classes with more than one interface or more than one endpoint pair
...
- move the charging-only dummy driver out of usb_core
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17252 a1c6a512-1295-4272-9138-f99709370657
2008-04-26 19:02:16 +00:00
Maurus Cuelenaere
95167e0177
Commit whole Creative Zen Vision:M target tree + all related firmware/
...
changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17241 a1c6a512-1295-4272-9138-f99709370657
2008-04-24 20:08:28 +00:00
Michael Sevakis
ac387d4d5c
Add a PMIC-based RTC driver for Gigabeat S.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17236 a1c6a512-1295-4272-9138-f99709370657
2008-04-24 09:22:39 +00:00
Rob Purchase
fd773cbda6
A few preparations for the D2 PCM driver: move driver up to TCC780x level, move FIQ handler into PCM driver, add some new register defines, and remove those goddamn warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17209 a1c6a512-1295-4272-9138-f99709370657
2008-04-21 20:16:18 +00:00
Michael Sevakis
94f7d0f290
UMS for the Gigabeat S. Bootloader USB mode. Has a couple quirks 1) First plug has problems if cold. Replug if it doesn't connect or not at high speed 2) Linux doesn't like the odd bootable flag value used in the partitions so it won't mount but Windows works. Fix minor OTG driver bugs and clean up device memory handling. Generic name for ARC controller driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17154 a1c6a512-1295-4272-9138-f99709370657
2008-04-18 16:42:50 +00:00
Michael Sevakis
a7af9e4a7f
Add GPIO manager. Get the PMIC interrupt handling working (along with power button and HP detect). Add some reg field defined instead of using raw numbers. Add PMIC info to debug ports screen. Refine PMIC driver ops a little bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17086 a1c6a512-1295-4272-9138-f99709370657
2008-04-12 16:56:45 +00:00
Michael Sevakis
57742e0ef7
Add a "View I/O Ports" screen for imx31. Show all GPIO contents.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17072 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 15:49:48 +00:00
Michael Sevakis
0b1d7e76d7
Serial driver for imx31. Perhaps not 100% but maybe 80-90% (future developments will tell). Factor-out the mc13783 stuff and make that driver a layer above the SPI. TODO: start processing PMIC interrupts. Start a clkctl API for imx31 (we'll see if this sticks around but it seems reasonable here). Misc. stuff for convenience/neatness.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17070 a1c6a512-1295-4272-9138-f99709370657
2008-04-11 08:51:27 +00:00
Jens Arnold
ece03129b6
Make the greyscale library work on the m:robe 100. Testing on target done by Robert Kukla & Dominik Riebeling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17028 a1c6a512-1295-4272-9138-f99709370657
2008-04-07 21:14:29 +00:00
Jens Arnold
9737fc7c26
Iriver remote LCD driver: * Split out assembler parts. * Reintroduced the 2 transfer routine variants (low/high CPU clock), and made the version for high CPU clock a little slower because there were problems reported. The function can be slowed down more if there are still problems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17006 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 23:57:37 +00:00
Rob Purchase
91202e1804
D2: Adjustable backlight brightness (sometimes fails when boosted, suggests I2C timing needs adjustment). Tweak lcd_enable() to behave more like other targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16967 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 20:55:58 +00:00
Rob Purchase
9b691d335a
Split out the PCF5060x register defines into a common header and create a generic pcf50606.c using standard i2c read/writes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16966 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 20:24:08 +00:00
Michael Sevakis
52527a4d1d
Fix red and clean up meg-fx firmware sources. Remove an unused file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16887 a1c6a512-1295-4272-9138-f99709370657
2008-03-30 06:06:43 +00:00
Marcoen Hirschberg
b2ec13d8f1
Revert "initial Meizu M6SL port"
...
This reverts commit b7bd17ce1715c3a8acbf74a63694c28b6075da5b.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16846 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 11:53:51 +00:00
Marcoen Hirschberg
f8690231bf
cleanup some ifdefs
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16845 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 11:29:27 +00:00
Marcoen Hirschberg
c7e5d78241
initial Meizu M6SL port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16844 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 11:29:24 +00:00
Marcoen Hirschberg
be40427bae
use HAVE_ATA to decide if ata.c should be compiled
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16842 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 10:58:36 +00:00
Jens Arnold
74d678fdbc
Back-ported the iAudio remote LCD driver optimisations to X5 and M5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16810 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 00:38:40 +00:00
Jens Arnold
40919d7db2
iAudio M3: Optimised LCD driver, with more/better assembly code. Speedup is ~80% when boosted, ~15% when unboosted. Also implemented grey phase blitting. * Adapted the greyscale library, and the plugins using it. * Fixed a bug in greyscale scroll down for vertically packed pixels.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16809 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 23:21:36 +00:00
Jens Arnold
1f4bcc86da
Revert accidental tree commit. /me needs a smaller enter key...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:57:23 +00:00
Jens Arnold
9a7978aeab
Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as 24 bit BMP instead of unnecessary 32 bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:43:08 +00:00
Michael Sevakis
27cf677339
Add a complete priority inheritance implementation to the scheduler (all mutex ownership and queue_send calls are inheritable). Priorities are differential so that dispatch depends on the runnable range of priorities. Codec priority can therefore be raised in small steps (pcmbuf updated to enable). Simplify the kernel functions to ease implementation and use the same kernel.c for both sim and target (I'm tired of maintaining two ;_). 1) Not sure if a minor audio break at first buffering issue will exist on large-sector disks (the main mutex speed issue was genuinely resolved earlier). At this point it's best dealt with at the buffering level. It seems a larger filechunk could be used again. 2) Perhaps 64-bit sims will have some minor issues (finicky) but a backroll of the code of concern there is a 5-minute job. All kernel objects become incompatible so a full rebuild and update is needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16791 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 02:34:12 +00:00
Rob Purchase
b8b03370e4
D2: Implement LCD driver framebuffer as per E200/Gigabeat F. Kill a few warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16763 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 19:56:11 +00:00
Jens Arnold
c6b6bad18f
iAudio M3: ADC driver, making buttons and battery voltage reading work. * Disable the multi-colour LED for now to save power. Proper handling will be added later. * Make reboot on button press work on iAudio X5, M5, M3 in panicf(), and on M3 in UIE().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16684 a1c6a512-1295-4272-9138-f99709370657
2008-03-17 00:19:23 +00:00
Miika Pekkarinen
19c6e66c13
Implement the playback event handling as a system-wide multi-purpose event system. Unified mpeg.c and playback.c audio event handling. Converted ata_idle_notify to use the new event handling system also.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16682 a1c6a512-1295-4272-9138-f99709370657
2008-03-16 13:55:16 +00:00
Jens Arnold
8a6291dd63
More iAudio M3 work. Target build compiles, but same problem regarding plugins as the simulator. Boots to the menu, but it can't be used yet because only main & remote Play button work. USB works.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16660 a1c6a512-1295-4272-9138-f99709370657
2008-03-14 08:54:54 +00:00
Jens Arnold
2b5f9aec64
Make ATA work on M3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16650 a1c6a512-1295-4272-9138-f99709370657
2008-03-12 23:36:05 +00:00
Jens Arnold
769fcbd4d9
More iAudio M3 work. Bootloader compiles, but doesn't work yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16645 a1c6a512-1295-4272-9138-f99709370657
2008-03-12 20:35:42 +00:00
Nils Wallménius
d1fadb28f8
Move some sh specific assembler files into the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16516 a1c6a512-1295-4272-9138-f99709370657
2008-03-04 16:02:19 +00:00
Frank Gevaerts
f8a5a40301
remove usb_benchmark. Its usefulness is extremely limited, and the usb stack around it is moving fast, so it's likely to suffer from bit rot very soon.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16500 a1c6a512-1295-4272-9138-f99709370657
2008-03-03 17:59:58 +00:00
Frank Gevaerts
411b92948a
move the ifp7xx usb serial driver files to more specific names, to make the "usb_serial" name available for more general usb class driver use
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16484 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 18:16:24 +00:00
Christian Gmeiner
8140705e99
revert done
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16329 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 18:13:58 +00:00
Christian Gmeiner
78fa347c6b
FS#8611: move hw_info for pp targets into target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16324 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 12:43:23 +00:00
Michael Sevakis
1f021af60c
Gigabeat S mixer: Make some progress. Get the tick and core sleep working using the AVIC. Redo the startup code to remap from IRAM and not include the lcd driver frambuffer in the remapping (until it can be moved). Clean up LCD driver. For other misc. changes, see the diffs. Now it progresses to ATA init and fails with -11 but without crashing or hanging. Replace all bootloaders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16216 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 04:43:19 +00:00
Robert Kukla
9dc67828a9
mrobe 100: real time clock (if anybody recognises the RTC chip let me know)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16208 a1c6a512-1295-4272-9138-f99709370657
2008-02-03 18:15:39 +00:00
Michael Sevakis
f8709ac7e2
H10 20GB: Assembly YUV blitting and dithering.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16171 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 14:24:09 +00:00
Rob Purchase
47ea030e2e
Initial Cowon D2 commit:
...
* bootloader test program (basic LCD & button drivers, reads touchscreen)
* work-in-progress stubs for main build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16090 a1c6a512-1295-4272-9138-f99709370657
2008-01-14 22:04:48 +00:00
Robert Kukla
a615aabc33
- share adc reading code between h10 and mrobe100
...
- battery voltage calibrated and used for mrobe100
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16064 a1c6a512-1295-4272-9138-f99709370657
2008-01-12 20:36:45 +00:00
Jens Arnold
41cd44caa7
Greyscale ipod lcd driver: * Assembler optimised low level functions. PP5002 targets benefit most (lcd_update() speedup >50%, and the greyscale overlay no longer makes mp3 playback skip). * Consistent brace placement style.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16060 a1c6a512-1295-4272-9138-f99709370657
2008-01-12 00:59:18 +00:00
Mark Arigo
e66ddd754f
Initial commit for the Olympus m:robe 100 port (PP5020). The LCD driver works. The ADC driver was copied from the H10 port (they can probably be combined later), but the battery readings aren't right and it shuts down. The touch pad buttons do not work. Install the bootloader and rockbox the H10 way. Still lots of work to do.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16030 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 07:24:43 +00:00
Will Robertson
32f6109fb1
Gigabeat S memory management stuff.
...
* Moved crt0.S to imx31 subdirectory, as it was the last target using the unified file.
* DRAM is now remapped to 0x0, facilitating interrupts (which aren't done yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15965 a1c6a512-1295-4272-9138-f99709370657
2007-12-23 12:19:40 +00:00
Will Robertson
383a32a7ae
Gigabeat S now uses the shared ARM MMU code rather than the (mostly duplicated) private code. No functional change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15961 a1c6a512-1295-4272-9138-f99709370657
2007-12-23 03:47:28 +00:00
Christian Gmeiner
94be71eab5
Add a working serial driver to usb stack. At the moment it simply echos back what it gets. You can test it on linux by
...
0) change relevant defines in usb_core.c
1) modprobe usbserial vendor=0x0781 product=0x7421 debug=1
2) picocom /dev/ttyUSB0
3) look at your logf screen if you build with logf support and enabled LOGF_ENABLE define in usb_serial.c
I also modified usb_core so that storage and serial both can make use the the 'usb_core'-thread. More will come :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15850 a1c6a512-1295-4272-9138-f99709370657
2007-11-30 00:13:00 +00:00
Björn Stenberg
f2815ff32f
Removed a little too much.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15760 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 21:57:17 +00:00
Björn Stenberg
b4e5123e5d
New USB stack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15758 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 20:51:00 +00:00
Christian Gmeiner
21ac3110f1
* dont compile audio codec drivers for bootloader, as we dont need them -> saves time
...
* dont include uda1380 in bootloaders
* fix to get rid of a nasty humming sound during is not uda1380 specific but iriver
specific and so put the fix into the bootloader. An other option was to
put audiohw_reset() into target tree... but i want to get rid of audiohw_reset
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15721 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 12:09:59 +00:00
Catalin Patulea
eacf5a500e
m:robe 500i: Add DSP code to SOURCES
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15714 a1c6a512-1295-4272-9138-f99709370657
2007-11-20 05:13:00 +00:00
Michael Sevakis
99617d71ba
Make speex the new voice format for SWCODEC targets (non-Archos). Remove codec swapping and build speex voice decoding directly into the core binary.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15668 a1c6a512-1295-4272-9138-f99709370657
2007-11-18 17:12:19 +00:00
Karl Kurbjun
31ea780ee0
Seperate the Gigabeat F/X crt0.s, cleanup some #ifdefs in app.lds, add an extra reg to the debug menu.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15579 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 17:58:13 +00:00
Barry Wardell
c495cdae59
FS#8046: H10 FM tuner support. Thanks to Przemyslaw Holubowski for doing the hard work in figuring out how to communicate with the tuner.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15578 a1c6a512-1295-4272-9138-f99709370657
2007-11-11 16:00:33 +00:00
Karl Kurbjun
d185f9eba8
Fix the Gigabeat red and move it's hw specific code into the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15562 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 23:13:27 +00:00
Karl Kurbjun
d3c0a7f169
Change the way the UART recieves data and how buttons pressed are processed. Also move some of the debug menu into the target tree and allow rockblox to build when the screen is rotated.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15560 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 22:12:54 +00:00
Barry Wardell
0d8111cb39
Split radio i2c drivers into target tree where they belong. No changes to binaries produced.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15558 a1c6a512-1295-4272-9138-f99709370657
2007-11-10 19:14:01 +00:00
Dave Chapman
a4d48d0c0d
Button driver for Logik DAX, plus some changes to the debug info displayed in the bootloader build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15396 a1c6a512-1295-4272-9138-f99709370657
2007-11-01 23:38:57 +00:00
Dave Chapman
28f6ae49ec
Initial work on a port to the Logik DAX 1GB MP3/DAB player. The bootloader build compiles and runs (but only displays some debugging info), and the LCD and ADC drivers are working. Two different bootloader builds are possible: 1) The default build is just a test application for uploading to the device via tcctool; 2) Adding -DTCCBOOT to EXTRA_DEFINES in the build directory Makefile will compile the bootloader so that it can be appended to the end of the original firmware and installed on the device, dual-booting. This commit also includes some work by Hein-Pieter van Braam on a port to the iAudio 7, but that doesn't build yet. A large part of these ports will be generic to all TCC77x devices - see the TelechipsInfo wiki page for some other devices with this CPU. NOTE: Compiling these builds requires an arm-elf-gcc with armv5 support - the current version of rockboxdev.sh compiles such a gcc.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15339 a1c6a512-1295-4272-9138-f99709370657
2007-10-28 11:08:10 +00:00
Karl Kurbjun
5a9a2b7bc4
Unify the Gigabeat F/X and M:Robe MMU code while enabling it for the M:Robe
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15275 a1c6a512-1295-4272-9138-f99709370657
2007-10-23 03:29:15 +00:00
Jens Arnold
3c1b9d9d70
Assembler optimised lcd_yuv_blit() for iPod Video (Fs #7951 by Andree Buschmann, adapted and separated into an .S file by me).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15257 a1c6a512-1295-4272-9138-f99709370657
2007-10-22 00:37:50 +00:00
Karl Kurbjun
fdbc01c6e2
More M:Robe work including a fix to lcd-as-memframe for larger screens thanks to Michael Sevakis. Also fixes simulator builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15254 a1c6a512-1295-4272-9138-f99709370657
2007-10-21 23:12:17 +00:00
Jens Arnold
d1e2f5240c
c200: First implemention of lcd_yuv_blit(). mpegplayer works now, but speed can be optimized more and dithering is not yet implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15020 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 17:54:49 +00:00
Michael Sevakis
6077e5b7c8
Unify PCM interface just above the hardware driver level for all targets including the sims. Perform lockout of audio callback when changing states. Weird new playback or recording trouble? Check before and after this revision first though things seem quite sound.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15006 a1c6a512-1295-4272-9138-f99709370657
2007-10-06 22:27:27 +00:00
Michael Sevakis
15b7321fe1
Split wm8731 and wm8721 drivers. wm8721 can be much simpler since it has no recording. Provide reg bit definitions for those. Add some temporary hacks pcm-pp to prevent crashing when playing after recording. Make playback start after recording on pp5020. Get wm8731 to monitor recording but plans are to do that digitally.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14948 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 07:48:50 +00:00
Jonathan Gordon
03f45d3aff
spi is shared between the rtc and tsc2100
...
adds the very begining of the rtc driver (only reads the time currently
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14935 a1c6a512-1295-4272-9138-f99709370657
2007-10-01 05:27:43 +00:00
Karl Kurbjun
c4d0a0ed8f
Move some more files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14920 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 16:36:25 +00:00
Karl Kurbjun
a56b65342f
Move some more files around and get the main build compiling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14919 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 16:29:21 +00:00
Jonathan Gordon
80f1688423
I got bullied in IRC by linuxstb and markun...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14909 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 08:57:49 +00:00
Michael Sevakis
3e7d4f0d14
Anti-red?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14899 a1c6a512-1295-4272-9138-f99709370657
2007-09-29 06:56:21 +00:00
Michael Sevakis
da55251a35
Compile Portal Player bootloaders as single core. Cleanup the startup code for bootloaders. Remove cop stack entirely and keep IRAM use down on all relevant targets - just use the 128-byte idle stack. Use the inline asm version of current_core for pp5002 as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14898 a1c6a512-1295-4272-9138-f99709370657
2007-09-29 06:17:33 +00:00
Michael Sevakis
287d6223d3
Dithering option for mpegplayer on gigabeat-f/x and e200. Assembly IDCT for ARm just to make it all work more nicely. Move UI simulator YUV code to its core to adapt it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14851 a1c6a512-1295-4272-9138-f99709370657
2007-09-25 02:59:42 +00:00
Jonathan Gordon
d331d00a2d
start of the tsc2100 driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14816 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 14:21:07 +00:00
Karl Kurbjun
4a42723c33
Seperate M:Robe crt0.S, fix the vector tables for the bootloader, and show touchscreen values on single line.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14814 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 06:04:14 +00:00
Will Robertson
26a05afe10
A few minor cleanups for the Gigabeat S
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14812 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 02:17:08 +00:00
Will Robertson
590501cfe4
Merge the Gigabeat S branch back into trunk. Fingers crossed nothing breaks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14805 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 15:51:53 +00:00
Catalin Patulea
c3126e0f3c
m:robe 500i port: Add primitives for the SPI bus and start moving toward new-style register definitions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14798 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 09:06:02 +00:00
Jonathan Gordon
300f64c99a
uart driver (which the buttons need) and button test code in the bootloader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14768 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 09:08:40 +00:00
Karl Kurbjun
7b97fe21c0
Beginning of an M:Robe 500i port. Currently only in the bootloader stage. Needs another piece of code to start the boot process - will be in the wiki.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14763 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 04:46:41 +00:00
Christian Gmeiner
2077cebca0
* implement strstr
...
* clean up usb_arcotg_dcd_enable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14740 a1c6a512-1295-4272-9138-f99709370657
2007-09-17 23:06:23 +00:00
Nils Wallménius
cab33b64a0
Accept patch in FS#7751 by Catalin Patulea, move ifp port specific pcm code to a new file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14670 a1c6a512-1295-4272-9138-f99709370657
2007-09-11 15:34:54 +00:00
Mark Arigo
dbc6b4e39a
Sansa c200 port. Rockbox works with sound. Several features are disabled including some lcd options, FM radio, recording, and all plugins. Loading the OF from the Rockbox bootloader does not work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14625 a1c6a512-1295-4272-9138-f99709370657
2007-09-06 03:28:58 +00:00
Mark Arigo
4f3bcbbb11
Move files that will be common to the Sansa e200 and c200
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14624 a1c6a512-1295-4272-9138-f99709370657
2007-09-06 03:01:41 +00:00
Dave Chapman
9551ae92a5
Repair the USB detection on ipods and H10s which was broken by commit 14470. The intention is that when the experimental HAVE_USBSTACK is not defined, the old (pre-14470) code is run.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14481 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 18:21:05 +00:00
Christian Gmeiner
8181a0c905
Usb Stack: only setup packet handling, and not enabled by default as there is a lot to do.
...
* settings code is not fully ready -> changing device driver has no effect
* clean ups
* check copyriths
* find a way to detect IN transfers
* support for full and highspeed
* ...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14470 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 16:04:32 +00:00
Jens Arnold
0fac492c3d
First step of powermanagement rework: * Move target specific stuff into target tree, starting with battery voltage tables and voltage reading. (This revealed some incorrect percent_to_voltage_charging mappings). * Voltage reading on 1st gen ipods is now correct. * Clean up obsolete config #defines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14375 a1c6a512-1295-4272-9138-f99709370657
2007-08-17 06:45:18 +00:00
Jens Arnold
cacd382963
The target power handling code isn't meant to be compiled for the sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14346 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 22:23:15 +00:00
Jens Arnold
8a177345ce
Moved archos power handling into target tree. * Tuner power handling cleaned up a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14345 a1c6a512-1295-4272-9138-f99709370657
2007-08-14 22:06:23 +00:00
Nils Wallménius
f28da1a35a
Enable a lot more features for simulators and add stubs where necessary, simulators should now work with identical lng and voice files as the respective target
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14299 a1c6a512-1295-4272-9138-f99709370657
2007-08-12 19:49:03 +00:00
Jens Arnold
cb896cdd04
Firewire detection with reboot into diskmode for all iPods that support it (all but Nano and Video). * Hack for compiling iPod G3 removed. * Code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14131 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 22:44:02 +00:00
Jens Arnold
a4a3cd9d52
First version of a 1st/2nd gen ADC driver. 1st gen is untested yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14082 a1c6a512-1295-4272-9138-f99709370657
2007-07-30 20:12:03 +00:00
Michael Sevakis
58fc279d26
Scroll on main and remote with a single thread. Change the way system messages are defined before running out is an issue (which requires a full update of rockbox on the player).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14035 a1c6a512-1295-4272-9138-f99709370657
2007-07-28 08:12:05 +00:00
Jens Arnold
021c0868dd
iPod 2nd gen: * Fake battery voltage of 4.00V so rockbox doesn't shutdown (ADC is not yet implemented). * Fix button hold polarity for main rockbox. * Implement backlight inversion (the 1st/2nd gen backlight works in a way that makes the LCD look inverted when active). * Fix default contrast and clean up target tree.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14022 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 12:05:54 +00:00
Jens Arnold
b7ea98f0ea
Further G1/G2 work. Bootloader compiles now, but probably won't work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14017 a1c6a512-1295-4272-9138-f99709370657
2007-07-26 23:02:37 +00:00
Kevin Ferrare
011a325e32
Makes apps and plugins interract with directories using a posix-like api instead of calling dircache / simulator functions (no additionnal layer added, only a cosmetic change)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13943 a1c6a512-1295-4272-9138-f99709370657
2007-07-20 17:06:55 +00:00
Michael Sevakis
680afafc23
Fix all the red this time?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13884 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 13:41:59 +00:00
Michael Sevakis
7d759f6b9c
Do some planned radio interface cleanup since adding in the LV24020LP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13880 a1c6a512-1295-4272-9138-f99709370657
2007-07-14 11:20:31 +00:00
Michael Sevakis
4ae87c8b8a
Gigabeat: Add timer functionality. Rework tick timer setup to be exactly 100Hz. Metronome should work now but some pcm changes are needed to have faster tocks work correctly (in the works).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13806 a1c6a512-1295-4272-9138-f99709370657
2007-07-06 21:36:32 +00:00
Jens Arnold
473c1914aa
Ooops.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13764 a1c6a512-1295-4272-9138-f99709370657
2007-07-02 05:33:06 +00:00
Michael Sevakis
1167e3c72f
Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with some tweaks. All testers have given the green light. (Now for the RED ?? ;).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13741 a1c6a512-1295-4272-9138-f99709370657
2007-06-30 02:08:27 +00:00
Michael Sevakis
7fb0f71668
Gigabeat: Replace generic i2c driver with one that uses the CPU's builtin controller. Add some clocking registers to 'View I/O ports'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13720 a1c6a512-1295-4272-9138-f99709370657
2007-06-26 02:11:30 +00:00
Nils Wallménius
07b7877809
Simple coldfire assembly strlen() function, 20-25% faster than the c
...
version. Move function out of iram as it turns out that makes it
slightly faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13713 a1c6a512-1295-4272-9138-f99709370657
2007-06-25 20:21:37 +00:00
Michael Sevakis
21a4a87ca2
Accept FS#7178 - Sansa e200 FM tuner support by Ivan Zupan. Do the needed integration work into recording and the AS3514 audio driver. Do a little AS3514 fiq_record tweak to have it all work nicely from the start.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13573 a1c6a512-1295-4272-9138-f99709370657
2007-06-06 19:23:48 +00:00
Michael Sevakis
bcb8a884ee
e200: Add recording. Just from MIC right now and FM integration will happen soon. Most every bit of weirdness is nescessary and no problems seem to exist that the retailos doesn't exhibit too (namely noise when LCD is on when recording from MIC).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13557 a1c6a512-1295-4272-9138-f99709370657
2007-06-05 07:03:30 +00:00
Barry Wardell
54c73a24b6
Bring back rolo for mi4-based targets (H10 and Sansa).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13550 a1c6a512-1295-4272-9138-f99709370657
2007-06-04 13:48:21 +00:00
Christian Gmeiner
cdbf33adf7
* move audio settings into audio codec drivers
...
* add mas35xx driver for all mas35xx targets. Later
mas35xx code from sound.c will move to this new driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13464 a1c6a512-1295-4272-9138-f99709370657
2007-05-22 15:56:05 +00:00
Michael Sevakis
af272592f5
Change i2c config on e200. Seems to speed things up somewhat.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13403 a1c6a512-1295-4272-9138-f99709370657
2007-05-17 22:49:27 +00:00
Michael Sevakis
3c38fe4204
Gigabeat: Separate driver for audio codec. Tweak pcm driver to comply with intended interface.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13307 a1c6a512-1295-4272-9138-f99709370657
2007-05-02 22:33:24 +00:00
Daniel Stenberg
441d80318b
removed unnecessary #if
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13276 a1c6a512-1295-4272-9138-f99709370657
2007-04-27 07:16:31 +00:00
Barry Wardell
f43e50dc53
Move PortalPlayer system.c code into the target tree.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13239 a1c6a512-1295-4272-9138-f99709370657
2007-04-22 12:03:17 +00:00
Marcoen Hirschberg
15dfe87f96
move audio drivers together into a subdir
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13209 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 10:46:50 +00:00
Marcoen Hirschberg
f725ef1256
move to target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13208 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 10:20:54 +00:00
Marcoen Hirschberg
6ffbe3896b
move the iriver ifp7xx and other pnx0101 related files together in the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13207 a1c6a512-1295-4272-9138-f99709370657
2007-04-19 10:14:55 +00:00
Marcoen Hirschberg
f44f961812
move the Gigabeat from gigabeat/meg-fx to s3c2440/gigabeat-fx to avoid problems with possible ports in the future: Gigabeat S/V (i.mx31 based) and Kenwood HD20GA7/HD20GA9 (s3c2440 based)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13200 a1c6a512-1295-4272-9138-f99709370657
2007-04-18 12:22:27 +00:00
Jens Arnold
7a5d4011f5
Moved SH1 ADC to target tree.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13174 a1c6a512-1295-4272-9138-f99709370657
2007-04-15 23:35:56 +00:00
Jens Arnold
8636e6949e
Moved SH1 system code to target tree. * First shot at hwcompat cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 23:51:00 +00:00
Jens Arnold
fad79dc636
Moved archos USB handling to target tree. Minor simplification for coldfire (only one usb-target.h).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13110 a1c6a512-1295-4272-9138-f99709370657
2007-04-11 20:44:32 +00:00
Dave Chapman
4303ab02a3
Optimized lcd_yuv_blit() (used by mpegplayer) for the Sansa E200. This is just a copy-and-paste of the Gigabeat version by Michael Sevakis with no attempt to adapt to the different CPU in the E200 - so there could be room for further improvement. Reported to increase the FPS for the 224x128 version of Elephants Dream from 21fps to 27fps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13042 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 09:34:13 +00:00
Michael Sevakis
6f56607212
Gigabeat: Add an assembly lcd_yuv_blit. Seems to be good for a modest speedup. ;)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12998 a1c6a512-1295-4272-9138-f99709370657
2007-04-02 09:27:12 +00:00