Rafaël Carré
7e99ef8027
rolo is only needed in SH bootloaders, not other bootloaders
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26924 a1c6a512-1295-4272-9138-f99709370657
2010-06-18 14:59:20 +00:00
Bertrik Sikken
ff8e76e9e5
The mystery FM chip in some Sansa Clip+ players has been identified as a RDA5802, so rename files and functions. Also fix several bugs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26871 a1c6a512-1295-4272-9138-f99709370657
2010-06-16 20:29:08 +00:00
Bertrik Sikken
fcea117d21
Support for mystery FM chip in some Sansa Clip+, FS #11403 by me
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26864 a1c6a512-1295-4272-9138-f99709370657
2010-06-15 20:57:48 +00:00
Frank Gevaerts
a1a9084160
Don't initialise disk_* for the sim, and make sure disk.c isn't built at all
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26630 a1c6a512-1295-4272-9138-f99709370657
2010-06-06 13:40:40 +00:00
Frank Gevaerts
a0557b23f0
remane hotswap.* to sdmmc.*. The contents have nothing at all to do with hotswapping things
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26598 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 21:12:16 +00:00
Bertrik Sikken
a5248a2995
Update Samsung YP-S3 bootloader demo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26417 a1c6a512-1295-4272-9138-f99709370657
2010-05-30 21:43:14 +00:00
Rafaël Carré
6921a2b6b9
Merge common LCD code between fuzev1 & fuzev2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26344 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 23:32:38 +00:00
Rafaël Carré
7d8c02d105
Clip+: add charging curve
...
Charge using 150mA current like the OF to charge faster
Edit clipv2 charging curve with 150mA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26227 a1c6a512-1295-4272-9138-f99709370657
2010-05-21 12:48:15 +00:00
Rafaël Carré
59462a8bf8
Clipv1: move buttonlight functions to header
...
GPIO direction needs only to be set at init
both functions are now one liners so make them static inline
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26218 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 23:15:48 +00:00
Rafaël Carré
f8f3fab62c
as3525 usb: build as3525v2 file based on CONFIG_USBOTG, and fix warnings
...
build it on fuzev2 and clipv2 too, it should be the same controller
as3525v1 file is only build for CONFIG_USBOTG == USBOTG_AS3525, no need
to check for it in the .c file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26142 a1c6a512-1295-4272-9138-f99709370657
2010-05-18 12:56:14 +00:00
Amaury Pouly
22cfbee274
as3525v2: add usb driver stub, enable usb phy&core init
...
clip+: add USBOTG_ define and enable usb stack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26132 a1c6a512-1295-4272-9138-f99709370657
2010-05-18 09:58:52 +00:00
Marcin Bukat
db59e671cc
HD200 - use optimised read&write routines from ata-as-coldfire.S and drop hd200 specyfic ata-as-hd200.S
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26106 a1c6a512-1295-4272-9138-f99709370657
2010-05-17 13:08:50 +00:00
Thomas Martitz
3d0cee8abb
- Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c.
...
- Refactor the program startup. main() is now in main.c like on target, and the implicit application thread will now act as our main thread (previously a separate one was created for this in thread initialization).
This is part of Rockbox as an application and is the first step to make an application port from the uisimulator. In a further step the sim bits from the sdl build will be separated out.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26065 a1c6a512-1295-4272-9138-f99709370657
2010-05-15 21:02:47 +00:00
Frank Gevaerts
530c25130f
Make the sim buildable with mingw again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26037 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 22:57:52 +00:00
Thomas Martitz
59d827f7a6
Fix wrong #ifdefs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26022 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 12:52:15 +00:00
Thomas Martitz
3cca7e8650
Include host system's header files and don't compile our c library replacements in the sim.
...
This makes it possible to move the simulator code into the target tree (for Rockbox as an application).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26019 a1c6a512-1295-4272-9138-f99709370657
2010-05-14 12:37:05 +00:00
Thomas Martitz
565e647ead
Undo a change of r25850 which broke SDL audio on some (older kernels?) systems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25920 a1c6a512-1295-4272-9138-f99709370657
2010-05-09 20:07:15 +00:00
Rafaël Carré
a1b26db98f
Sansa Cliv2: calibrated discharge curve
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25901 a1c6a512-1295-4272-9138-f99709370657
2010-05-08 14:53:41 +00:00
Thomas Martitz
50a6ca39ad
Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes).
...
This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-05-06 21:04:40 +00:00
Marcin Bukat
5bcdd92626
HD200 - remove fm glue code from bootloader build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25803 a1c6a512-1295-4272-9138-f99709370657
2010-05-04 11:14:03 +00:00
Thomas Martitz
249aae587a
FS#11172 - Fuzev2: Read the scrollwheel scrollwheel via IRQ
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25736 a1c6a512-1295-4272-9138-f99709370657
2010-04-27 10:11:52 +00:00
Marcin Bukat
b09d3aec39
Add MPIO HD200 port - changed files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
2010-04-26 21:40:00 +00:00
Michael Sevakis
11cca264ff
i.MX31/Gigabeat S: Implement frequency and voltage scaling-- 1.6V for 528MHz, and 1.35V for 264MHz and 132MHz. Keep DPTC overdrive ( > 400MHz) voltage scaling off for now because of uncertainties. Simplify the (working) mess later.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25699 a1c6a512-1295-4272-9138-f99709370657
2010-04-23 15:32:50 +00:00
Michael Sevakis
6cee7579db
i.MX31: Add some enums and a couple helper functions to make dealing with pin muxing and pad configuration a bit more sane. Convert any existing code which changes mux/pad settings to use helpers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25698 a1c6a512-1295-4272-9138-f99709370657
2010-04-23 13:46:04 +00:00
Rafaël Carré
f6ae574ac6
s5l870x : use mmu-arm.S
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25634 a1c6a512-1295-4272-9138-f99709370657
2010-04-13 15:59:49 +00:00
Michael Sevakis
7abf2b53a4
Gigabeat S/i.MX31: Sort files in the /target tree into things that are SoC-generic (into /imx31) and player-specific (into /gigabeat-s, based upon current appearances). Move i2s clock init into the appropriate file. Housekeeping only-- no functional changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25547 a1c6a512-1295-4272-9138-f99709370657
2010-04-09 01:21:53 +00:00
Tomer Shalev
56058c7213
FS#11187 - diacritic.c is in 'drivers' but it does not belong there
...
- Move diacritic.c to firmware/common
- The function is_diacritic returns bool now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25526 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 20:41:18 +00:00
Michael Sevakis
87eea33def
Gigabeat S (imx31): Begin voltage and frequency scaling code. For now, to avoid overdrive voltage, just lower core voltage to 1.35V since voltage scaling shouldn't be required for frequencies lower than 399 MHz (according to Freescale BSP, which set all working points to 1.35V for those frequencies). Perhaps battery life will improve as well (cross fingers :).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25506 a1c6a512-1295-4272-9138-f99709370657
2010-04-07 03:43:48 +00:00
Thomas Martitz
ae69e92008
as2525(v2): We don't need yuv blitting/greylib support in the bootloader so don't compile it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25483 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 12:17:11 +00:00
Thomas Martitz
446a67698f
Fuzev2: Reduce code duplication by reusing Fuzev1 code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25481 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 12:01:44 +00:00
Rafaël Carré
eefdd430f1
Fuzev2: YUV output adapted from Fuzev1
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25479 a1c6a512-1295-4272-9138-f99709370657
2010-04-05 07:47:31 +00:00
Frank Gevaerts
376d8d577f
Add IO priority handling. Currently all IO has equal priority, except the dircache scanning thread which is lower. This fixes the slow boot problem for me, with the added benefit that actual audio playback also starts faster.
...
Lots of the changes are due to changing storage_(read|write)sectors() from macros to wrapper functions. This means that they have to be called with IF_MD2(drive,) again.
Flyspray: FS#11167
Author: Frank Gevaerts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25459 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 22:02:09 +00:00
Rafaël Carré
e1a1df69fc
Clipv2: fix grey lcd output
...
We can write to DBOP_DOUT in 8 bits mode : bits 7..0 are mapped to the
LCD, not bits 15..12 and 3..0 like on Clipv1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25455 a1c6a512-1295-4272-9138-f99709370657
2010-04-03 17:10:44 +00:00
Thomas Martitz
f376fd2f4a
Fuzev2: Scrollwheel works like a charm :)
...
Move scrollwheel parsing function into separate file as it's reused.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25425 a1c6a512-1295-4272-9138-f99709370657
2010-04-01 16:07:56 +00:00
Rafaël Carré
cc1f6033de
Clipv2/Clip+ : turn off backlight in 0x1b register
...
Rename clipv2 file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25378 a1c6a512-1295-4272-9138-f99709370657
2010-03-29 12:43:50 +00:00
Rafaël Carré
91647264f8
lcd-ssd1303 (all Clips) : move model specific code in their own files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25248 a1c6a512-1295-4272-9138-f99709370657
2010-03-19 15:13:29 +00:00
Thomas Martitz
b5b2a03ee2
A tiny bit more Sansa Fuze v2 work.
...
- buttonlight works
- backlight turns on (quite weak though and no brightness adjustment/backlight off functional)
- don't share drivers with e200v2/fuzev1 for now as it's not entirely clear how dbop plays into this
- deactivte scrollwheel as it's messing up the timer setup in kernel-as3525.c indicating the dbop input reading doesn't work well
- still no working bootloader/no lcd or buttons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25225 a1c6a512-1295-4272-9138-f99709370657
2010-03-16 22:38:57 +00:00
Michael Sparmann
462bdfe612
Implement (unused) ADC wrapper for Nano2G to fix the red
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25114 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 14:02:59 +00:00
Michael Sparmann
52b4a1ef38
Remove a bunch of superfluous stuff from the Nano2G bootloader and fix __dbg_hw_info for Nano2G yet again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25113 a1c6a512-1295-4272-9138-f99709370657
2010-03-11 13:51:24 +00:00
Thomas Martitz
0094b0500c
Add Sansa Fuzev2 to the target tree. Bootloader builds, but is completely untested.
...
Compilation shows a warning for the first argument of the lcd_bitmap() call in show_logo().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24911 a1c6a512-1295-4272-9138-f99709370657
2010-02-25 13:26:46 +00:00
Rafaël Carré
9c0847fc27
fix a typo in comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24885 a1c6a512-1295-4272-9138-f99709370657
2010-02-24 17:06:39 +00:00
Rafaël Carré
adf5bbdc46
Clip+: greylib
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24860 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 10:35:51 +00:00
Rafaël Carré
31eda59720
as3525v2: build normal firmware properly (Clipv2/+)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24840 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 02:42:58 +00:00
Rafaël Carré
12af2926e5
Make Clip+ bootloader build
...
Now making the Fuzev2 bootloader build should be pretty easy
TODO:
- write button driver (FlynDice found all buttons already)
- find button light
- decide if lcd-ssd1303.c must be modified for Clip+ using SSP or forked
- check if backlight code works (I copied Clipv2 code)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24520 a1c6a512-1295-4272-9138-f99709370657
2010-02-05 12:40:25 +00:00
Szymon Dziok
a09606123f
Packard Bell Vibe 500: add the simulator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24439 a1c6a512-1295-4272-9138-f99709370657
2010-02-01 16:41:03 +00:00
Andrew Mahone
bff5a35c3c
FS#10943, optimized division and clz routines to replace libgcc routines for ARM. Replaces libgcc support functions for unsigned and signed 32-bit division on ARMv4 and up, and leading-zero count on ARMv4.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24432 a1c6a512-1295-4272-9138-f99709370657
2010-02-01 01:36:46 +00:00
Frank Gevaerts
553626a958
Add initial Packard Bell Vibe 500 port, by Szymon Dziok
...
Author: Szymon Dziok
Flyspray: FS#10912
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24276 a1c6a512-1295-4272-9138-f99709370657
2010-01-18 19:05:20 +00:00
Bertrik Sikken
51cb7eb5f2
Sansa c200v2: enable battery charging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24257 a1c6a512-1295-4272-9138-f99709370657
2010-01-17 14:19:31 +00:00
Rafaël Carré
6c93570b90
Sansa AMS: remove "ata" from SD drivers filenames
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24237 a1c6a512-1295-4272-9138-f99709370657
2010-01-15 14:03:41 +00:00
Bertrik Sikken
b3cba9021f
Meizu M6SP: add stubs so the meizu m6sp binary compiles and links
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24228 a1c6a512-1295-4272-9138-f99709370657
2010-01-14 20:16:03 +00:00
Rafaël Carré
7478cfcbf7
Sansa as3525v2: move SD embryo code to a common dir
...
Select it based on as3535/as3525v2 so Clip+/Fuzev2 will be able to use
it too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24222 a1c6a512-1295-4272-9138-f99709370657
2010-01-13 06:44:45 +00:00
Rafaël Carré
57667c51cf
Sansa AMS: refactor DBOP button reading (e200v2/Fuze/c200v2)
...
This gets rid of LCD glitches on Sansa Fuze, and now LCD transfers can
get interrupted by button reading
Flyspray: FS #10603
Author: Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24192 a1c6a512-1295-4272-9138-f99709370657
2010-01-06 23:41:36 +00:00
Torne Wuff
6e9af8bd44
Add strlcat to core to match strlcpy (also add to plugin api). Some uses of strcat could probably do with being changed to this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24141 a1c6a512-1295-4272-9138-f99709370657
2010-01-02 13:31:46 +00:00
Rafaël Carré
2392bb4199
FS#10047 : Clipv2
...
Reuse some code from Clip (LCD) and a lot of code from AS3525
Add a new CPU type : AS3525v2, identical to AS3525 except it's an ARMv5 (arm926-ejs)
SD code still not working
For an unknown reason LCD doesn't work anymore (to be investigated)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24131 a1c6a512-1295-4272-9138-f99709370657
2009-12-31 19:15:20 +00:00
Mark Arigo
6908cc5235
Merry Christmas Gogear HDD6330 owners! This is the start of the HDD6330 port. At the moment, it's essentially a copy of the HDD1630 port with a minimal LCD driver. The touchpad doesn't work as expected, but you can still kind of navigate and listen to music/radio.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24112 a1c6a512-1295-4272-9138-f99709370657
2009-12-25 04:05:01 +00:00
Robert Kukla
2d722a17ec
make tpj1022 bootloader compile again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23892 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 16:12:49 +00:00
Laurent Gautier
0260852771
Add support for the ipod FM remote to the 4G, Color, 5G, nano 1G with RDS
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23805 a1c6a512-1295-4272-9138-f99709370657
2009-12-01 17:54:40 +00:00
Maurus Cuelenaere
d7d3bc248f
Move strip_volume() to filefuncs.c and set properties.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23767 a1c6a512-1295-4272-9138-f99709370657
2009-11-26 22:34:08 +00:00
Maurus Cuelenaere
eab70ca28c
- Split off strip_volume() to a separate file
...
- fix some yellows
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23762 a1c6a512-1295-4272-9138-f99709370657
2009-11-26 17:39:30 +00:00
Tomer Shalev
7682cb5ca8
FS#10720 - Support for displaying diacritic characters
...
This commit corrects the display of diacritic characters, which exist in many
languages. Hopefully, it will make Rockbox much more usable for users of these
languages.
Diacritic information (which used to decide whether a given character is
diacritic or not) is taken from the Unicode Standard, Version 5.2.
This feature does not affect drawing performance much, as the diacritic
database is cached (simple MRU mechanism).
There may be room for further performance, footprint, and
code-reuse wise improvements, that could be worked on in the future.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23742 a1c6a512-1295-4272-9138-f99709370657
2009-11-24 20:41:42 +00:00
Karl Kurbjun
2a93cee8e2
M:Robe 500 - Enable ASM optimized ATA interface improving disk access speed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23572 a1c6a512-1295-4272-9138-f99709370657
2009-11-09 00:38:10 +00:00
Dominik Wenger
04ebf48fe4
Initial touchscreen support for mini2440. Based on D2 touchscreen driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23370 a1c6a512-1295-4272-9138-f99709370657
2009-10-27 20:25:40 +00:00
Dominik Wenger
90b576f55e
Many more drivers for mini2440. Now the main binary compiles and runs.
...
Flyspray: FS#10725
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23362 a1c6a512-1295-4272-9138-f99709370657
2009-10-26 18:16:58 +00:00
Dominik Wenger
5b4938a8ca
Working Bootloader for mini2440.
...
Flyspray: FS#10701
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23316 a1c6a512-1295-4272-9138-f99709370657
2009-10-22 17:45:02 +00:00
Michael Sparmann
d03fe64dcf
iPod Nano 2G USB support based on the S3C6400X datasheet. Disabled by default for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23285 a1c6a512-1295-4272-9138-f99709370657
2009-10-20 06:37:07 +00:00
Dominik Wenger
41c497025f
Initial mini2440 port.
...
Flyspray: FS#10627
Author: Bob Cousins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23265 a1c6a512-1295-4272-9138-f99709370657
2009-10-19 18:14:27 +00:00
Rafaël Carré
735b522929
Split ARMv6 code from mmu-arm.S
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23244 a1c6a512-1295-4272-9138-f99709370657
2009-10-18 13:07:14 +00:00
Michael Sparmann
3ac50ca9ff
Fix S5L870x cache coherency functions. They were split into a different file, as changes were needed all over the place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23239 a1c6a512-1295-4272-9138-f99709370657
2009-10-17 23:06:45 +00:00
Rob Purchase
d29114c671
Touchscreen support for newer Cowon D2+ hardware revisions (using TSC200x touchscreen controller).
...
Flyspray: FS#10671
Author: Jonas Aaberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23194 a1c6a512-1295-4272-9138-f99709370657
2009-10-15 20:13:29 +00:00
Dave Chapman
81ef39bd8d
Changes to make the Nano2G sim build. It is still missing a UI-ipodnano2g.bmp
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23163 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:51:28 +00:00
Rob Purchase
4ecc5a1e9b
Fix D2 red, I missed a file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23113 a1c6a512-1295-4272-9138-f99709370657
2009-10-11 17:56:00 +00:00
Rob Purchase
16ada4cb81
Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23078 a1c6a512-1295-4272-9138-f99709370657
2009-10-10 17:35:02 +00:00
Michael Sparmann
a931acd3ab
Added S5L870X cache coherency support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23058 a1c6a512-1295-4272-9138-f99709370657
2009-10-09 21:41:57 +00:00
Michael Sparmann
be25469b9b
Reworked iPod Nano 2G PMU code, added RTC and battery ADC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22967 a1c6a512-1295-4272-9138-f99709370657
2009-10-05 20:21:33 +00:00
Dave Chapman
a7ea270e9c
Read/write Nano2G FTL/NAND driver by Michael Sparmann (FS#10633).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22918 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 15:02:40 +00:00
Dave Chapman
8d5acd64c9
Final changes to get a Nano 2G main build compiling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22879 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 23:45:53 +00:00
Dave Chapman
f5feb13cc5
Unify the button driver for the Nano 2G with the driver for earlier clickwheel ipods. The clickwheel hardware appears to be the same - the differences are just related to the hardware init and how the data is read.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22878 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 23:04:30 +00:00
Rafaël Carré
c46b44f20b
Samsung YH920 : greylib support based on ipod/lcd-as-gray.S
...
Demo plugins run fine, mpegplayer data aborts for yet unknown reasons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22876 a1c6a512-1295-4272-9138-f99709370657
2009-10-02 17:51:05 +00:00
Rob Purchase
19a5dfea28
D2: Enable ARM cache coherency functions (eg. during codec load), which should eliminate data aborts/freezes on track changes. NOTE: The linker script reserves space at the end of DRAM for the TTB, but this is not currently used.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22595 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 21:35:37 +00:00
Karl Kurbjun
e4345365f1
Add in BMP loader for vertical stride and include lcd-16bit-vert.c in SOURCES
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22580 a1c6a512-1295-4272-9138-f99709370657
2009-09-01 00:57:47 +00:00
Rob Purchase
4c5ae4b068
D2: Re-enable SD(HC) driver as there have been no further reports of damaged cards.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22283 a1c6a512-1295-4272-9138-f99709370657
2009-08-12 19:14:46 +00:00
Bertrik Sikken
5aeaa84cab
Samsung YP-S3: add beginning of a low-level NAND driver and update bootloader demo program to display the NAND ids.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22221 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 16:12:36 +00:00
Bertrik Sikken
0dc5cc8002
Samsung YP-S3: update bootloader demo app with test code for the wmcodec (volume control of fm radio)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22138 a1c6a512-1295-4272-9138-f99709370657
2009-08-03 14:24:28 +00:00
Bertrik Sikken
bcd510db66
Samsung YP-S3: implement button driver for the touch keys (and the hold/power switch)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22093 a1c6a512-1295-4272-9138-f99709370657
2009-08-01 14:58:52 +00:00
Bertrik Sikken
2fb73842a9
Start of a Rockbox port to the Samsung YP-S3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22085 a1c6a512-1295-4272-9138-f99709370657
2009-07-29 20:42:02 +00:00
Robert Kukla
275a30092e
initial commit of remote support for m:robe 100 courtesy of lowlight; simulator support including small fixes for the m:robe 500
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22053 a1c6a512-1295-4272-9138-f99709370657
2009-07-26 14:26:14 +00:00
Rob Purchase
457eb6b2e9
Disable the D2 SD driver for the time being since there are reports of damaged SD cards.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21999 a1c6a512-1295-4272-9138-f99709370657
2009-07-22 21:15:39 +00:00
Rob Purchase
3a88746780
D2: A working read/write SD(HC) driver, based on the PP equivalent. See CowonD2Info wiki for usage notes/restrictions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21967 a1c6a512-1295-4272-9138-f99709370657
2009-07-19 17:31:56 +00:00
Dave Chapman
386503502b
Various Nano2g changes - enable the rest of crt0.S (including clock setup) and make the nano2g bootloader do something useful (displaying gpio ports). Also add checks for the fifo-full condition in the LCD driver - required after enabling all the crt0.S inits
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21948 a1c6a512-1295-4272-9138-f99709370657
2009-07-18 11:31:19 +00:00
Dave Chapman
6432941f10
Basic backlight driver for Nano 2G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21935 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:40:36 +00:00
Frank Gevaerts
c0a5a67387
Commit FS#9545, storage cleanup and multi-driver support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21933 a1c6a512-1295-4272-9138-f99709370657
2009-07-17 22:28:49 +00:00
Dave Chapman
0d484bad5e
Introduce S5L8701 CONFIG_CPU definition for Nano2G and a new CPU_S5L870X "family" define - the 8700 and 8701 are proving to be different. Also move all the cpu-specific defines earlier in config.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21886 a1c6a512-1295-4272-9138-f99709370657
2009-07-15 21:34:31 +00:00
Nils Wallménius
3d4701a6e4
FS#10080
...
* Move strncpy() from core to the pluginlib
* Introduce strlcpy() and use that instead in most places (use memcpy in a few) in core and some plugins
* Drop strncpy() from the codec api as no codec used it
* Bump codec and plugin api versions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21863 a1c6a512-1295-4272-9138-f99709370657
2009-07-14 13:57:45 +00:00
Robert Keevil
eea149bd13
FS#10436 - add the Sansa View to the build system. The bootloader builds but doesn't do anything useful yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21848 a1c6a512-1295-4272-9138-f99709370657
2009-07-13 21:09:39 +00:00
Dave Chapman
afe43d3fcb
Basic changes to add nano 2g to the build system, based on the Meizu M3 port. The bootloader builds, but does nothing due to lack of any drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21828 a1c6a512-1295-4272-9138-f99709370657
2009-07-12 22:16:51 +00:00
Rafaël Carré
c1780af9fc
Samsa AMS: start of an USB driver (nothing working atm)
...
Work based on AMD 5536 linux driver and AMD Geode CS5536 datasheet
Rockbox still doesn't reboot on USB insert
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21689 a1c6a512-1295-4272-9138-f99709370657
2009-07-06 13:54:51 +00:00
Bertrik Sikken
9926c933c7
S5L8700: implement kernel timer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21672 a1c6a512-1295-4272-9138-f99709370657
2009-07-05 19:09:14 +00:00
Rafaël Carré
c0eb9aeb9e
add firmware/driver/sd.c which contains common code between SD drivers
...
ingenic SD driver needs more cleanup so it still doesn't use the common code
correct a comment in hotswap.c: card_extract_bits assume most significant word of register first (so, use this order)
fix debug menu which used MMC specific commands / bits positions in csd/cid
move the default block size of 512 into sd.h
move the mantissa & exponent table into a single file (sd.c) to reduce binsize. we don't need to export it anymore anyway
TODO : ingenic cleanup (will happen soon so building sd.c is not conditional)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21601 a1c6a512-1295-4272-9138-f99709370657
2009-07-01 21:49:13 +00:00
Rafaël Carré
fb79ae4603
Build archos timer code for ONDIO (fix red)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21562 a1c6a512-1295-4272-9138-f99709370657
2009-06-29 14:52:51 +00:00
Rafaël Carré
b955dff268
Move PP (last target) timer code in target tree
...
Put warnings in timer.h for incomplete targets (TIMER_FREQ not defined and/or timer-target.h inexistant)
Correct TIMER_STOP & TIMER_START macros arguments for target without timers
TIMER_START takes an extra argument in multicore builds (macro in macro doesn't work fine..)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21557 a1c6a512-1295-4272-9138-f99709370657
2009-06-29 14:29:35 +00:00
Rafaël Carré
b3ed33d04a
Move SH7034 timer code in the target tree
...
Add an argument int_prio to TIMER_START() macro because SH7034 needs it
Leaves a target specific code in timer_register (could be given to target code through timer_set and __timer_set() )
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21556 a1c6a512-1295-4272-9138-f99709370657
2009-06-29 14:29:14 +00:00
Rafaël Carré
c34ca87b64
Move coldfire timer code in the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21555 a1c6a512-1295-4272-9138-f99709370657
2009-06-29 14:29:06 +00:00
Rafaël Carré
15a7f5e5e9
Move PNX0101 timer code in the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21554 a1c6a512-1295-4272-9138-f99709370657
2009-06-29 14:29:02 +00:00
Rafaël Carré
15e40dd3a6
Move Sansa AMS timer code in the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21552 a1c6a512-1295-4272-9138-f99709370657
2009-06-29 14:28:49 +00:00
Bertrik Sikken
7df759c951
Create an udacodec interface (similar to ascodec and wmcoded) and adapt/implement it for the iriver h1xx/h3xx and the meizus.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21546 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 17:43:04 +00:00
Bertrik Sikken
ce5dc3ab96
Add RTC driver for Seiko S35390A (used in the Meizu M3 and possibly other Meizus)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21539 a1c6a512-1295-4272-9138-f99709370657
2009-06-28 09:58:05 +00:00
Bertrik Sikken
c33373e163
S5L8700: implement i2c driver (used for communicating with the RTC and the codec in the meizus)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21533 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 20:11:11 +00:00
Rob Purchase
f62388f82c
TCC78x: Enable interrupts/threading in the bootloader (required now that the storage driver yields).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21486 a1c6a512-1295-4272-9138-f99709370657
2009-06-24 07:37:11 +00:00
Bertrik Sikken
743dcf7f69
Implement PWM backlight driver for the Meizus. Update Meizu M3 bootloader to control brightness with the touch strip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21478 a1c6a512-1295-4272-9138-f99709370657
2009-06-23 18:11:03 +00:00
Thomas Martitz
670ce68229
Actually adapt SOURCES too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21475 a1c6a512-1295-4272-9138-f99709370657
2009-06-22 22:41:21 +00:00
Bertrik Sikken
f81ce592e5
Enable charging on the Sansa Fuze (charging/discharging curves are still uncalibrated)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21394 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 14:29:21 +00:00
Maurus Cuelenaere
582942016b
* Commit a modified FS#10354 (thanks to Davide Quarta) - add support the VX747+ in scramble and configure
...
* Add support for the VX777
* Remove the touchscreen mode switching combo from the button driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21379 a1c6a512-1295-4272-9138-f99709370657
2009-06-20 10:54:13 +00:00
Mark Arigo
a61196fd3a
Philips SA9200: Working touchpad and button lights! Also, improvements to the keymap (still needs work).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21346 a1c6a512-1295-4272-9138-f99709370657
2009-06-19 03:23:38 +00:00
Rafaël Carré
3520d8e90e
Sansa c200v2 : lcd & backlight support, using the c200v1 lcd driver
...
The LCD driver is unified and lcd_send_command now takes 2 arguments : the command and its argument.
If there is no argument, it's set to 0 and a NOP command is issued
If there is more than one argument (set X/Y address), the 2nd argument is sent as a 2nd command, and a NOP command is issued after it.
Benefit : c200v2 transfers the command and the argument in one 16 bits transfer
Performance should not be affected since commands without argument are only used in lcd_init() and lcd_enable()
lcd_send_data() now transfers whole lines (or columns) instead of single pixels
yuv is disabled for c200v2 for now
Some buttons can be read, including left button (bit 6 of DBOP_DIN), but for some reason they have no effect in rockbox: to be investigated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21321 a1c6a512-1295-4272-9138-f99709370657
2009-06-17 19:55:27 +00:00
Jens Arnold
81b87fe13d
Add iAudio M5 FM radio mod to the advanced build options. * Unify iAudio audio driver, fmradio i2c driver, and power driver (M5 + X5 only).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21264 a1c6a512-1295-4272-9138-f99709370657
2009-06-12 18:53:44 +00:00
Rafaël Carré
f504153857
FS#10048 : enable MMU and data cache on Sansa AMS to give a major speed up
...
- cache IRAM and DRAM
- map IRAM just next to DRAM to remove the need for -mlong-calls and reduce binsize
- tweak delays in Fuze button code
- tweak delays in Clip button code (down button sometimes doesn't respond anyway : an alternate driver is being worked on)
Before reporting any problem, please check your filesystem or format your player from the OF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21228 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 23:05:33 +00:00
Karl Kurbjun
4a483bb1bf
M:Robe 500: Mostly complete USB driver, supports BULK mode currently and gets about 2 MB/s writes vs 1.1 MB/s on the OF. Mostly tested against Linux, preliminary testing in Windows appears to work. There is currently a bug in the attach process where it only works once per boot that needs to be fixed. There are a few other minor M:Robe 500 changes as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21208 a1c6a512-1295-4272-9138-f99709370657
2009-06-08 00:19:16 +00:00
Maurus Cuelenaere
fd11471a3f
Onda VX747: try at implementing FM tuner support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21160 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 21:00:31 +00:00
Marc Guay
86ce407803
c100: Get a regular build compiling. Very little functionality.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21153 a1c6a512-1295-4272-9138-f99709370657
2009-06-01 12:37:25 +00:00
Mark Arigo
758bb3bc62
3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
2009-05-25 21:10:45 +00:00
Frank Gevaerts
c61a75173b
Reorganise USB stack defines. Now config.h decides which class drivers get enabled instead of usb_core.h
...
Also enable HID, and use that as the dummy class instead of charging-only for controllers that have working interrupt transfers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21053 a1c6a512-1295-4272-9138-f99709370657
2009-05-23 14:30:20 +00:00
Rafaël Carré
b1d03ccee7
FS#10118 & FS#10165 : lcd_blit_yuv() for Sansa Fuze & Sansa e200v2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20919 a1c6a512-1295-4272-9138-f99709370657
2009-05-12 13:22:39 +00:00
Frank Gevaerts
2a085f4477
Add preliminary HID driver. It doesn't do anything yet, but that should change soon (FS#10116 by Tomer Shalev)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20750 a1c6a512-1295-4272-9138-f99709370657
2009-04-19 21:17:18 +00:00
Bertrik Sikken
070ee525ac
Patch by Rafaël Carré - Sansa AMS i2c :
...
* remove peripheral reset (already made in system_init).
* Move empty i2c_init() from i2c-as3525.c (and remove that file)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20645 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:20:31 +00:00
Daniel Stenberg
8983fcb5f2
Initial commit for the "Lyre prototype 1" port by Jorge Pinto from FS#10045.
...
Bootloader builds, normal does not.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20574 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 12:20:47 +00:00
Bertrik Sikken
9ee68cbfd3
FS#9968: Charging on e200v2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20465 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 19:06:54 +00:00
Michael Sevakis
ba71cc540c
imx31: Rename clkctl-imx31.* to ccm-imx31.* and move up from ...imx31/gigabeat-s to .../imx31. A bunch more should probably go up a level too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20443 a1c6a512-1295-4272-9138-f99709370657
2009-03-22 02:13:27 +00:00
Maurus Cuelenaere
280df99c90
Actually kill them..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20418 a1c6a512-1295-4272-9138-f99709370657
2009-03-20 23:15:38 +00:00
Michael Sevakis
a1a332e04b
Gigabeat S: Implement MDMA and UDMA disk access for bootloader and main binary. Add a needed SDMA API to check channel errors. Increase audio DMA channels' priority as required. Reads and writes measure faster accross all test_disk tests and especially at 4KB and 1MB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20299 a1c6a512-1295-4272-9138-f99709370657
2009-03-12 06:31:40 +00:00
Maurus Cuelenaere
01c390d5c5
Make Onda VX767 compile + restructure firmware/SOURCES a bit (wrt Jz4740 specific files)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20297 a1c6a512-1295-4272-9138-f99709370657
2009-03-11 22:12:23 +00:00
Maurus Cuelenaere
935780e426
Add support for Onda VX747 simulator (and yes, it needs a better picture)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20273 a1c6a512-1295-4272-9138-f99709370657
2009-03-09 23:32:37 +00:00
Maurus Cuelenaere
98a53f0287
* Onda VX767: fix some redundant files + add some missing functions for apps/ compilation (still needs keymap though).
...
* Add Onda VX767 SADC driver
* Unify Onda VX747(+) and Onda VX767 backlight driver
* Also be more consistent wrt file naming.
* Add speaker-onda_vx747.c to SOURCES (forgot to commit this)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20259 a1c6a512-1295-4272-9138-f99709370657
2009-03-09 21:26:39 +00:00
Mark Arigo
da1ca5177f
Make Philips SA9200 build again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20226 a1c6a512-1295-4272-9138-f99709370657
2009-03-07 04:41:37 +00:00
Thomas Martitz
d13f1a485f
Commit FS#8314. This adds strnat[case]cmp written by Martin Pool, which respects numbers within strings, and gives a more intuitive
...
sorting. This also adds a setting, so that the sorting can be used in the file browser. The implementation is very generic, and can possibly
be used in other places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20155 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 17:55:59 +00:00
Maurus Cuelenaere
e6c023cb64
Fix Onda VX747 bootloader build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20154 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 16:52:57 +00:00
Maurus Cuelenaere
4d32457410
Hopefully finally fix red .. (/me needs to cleanup his tree)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20057 a1c6a512-1295-4272-9138-f99709370657
2009-02-19 22:33:55 +00:00
Bertrik Sikken
01d4b4c997
Sansa Clip: enable battery charging.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20006 a1c6a512-1295-4272-9138-f99709370657
2009-02-14 16:19:21 +00:00
Mark Arigo
8e5c4ce097
Philips HDD1630 - add LCD YUV functions so mpegplayer works.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19997 a1c6a512-1295-4272-9138-f99709370657
2009-02-13 04:10:57 +00:00
Mark Arigo
802b57ccd7
FM radio for Philips HDD1630. Volume was very faint unless recording was enabled, so do that too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19996 a1c6a512-1295-4272-9138-f99709370657
2009-02-13 03:49:17 +00:00
Michael Sevakis
63e709c7c8
Refine the routines in mmu-arm.c and move them to mmu-arm.S since the code is now 100% assembly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19980 a1c6a512-1295-4272-9138-f99709370657
2009-02-11 23:56:00 +00:00
Jens Arnold
11ad7b4bc8
Move screendump from apps to firmware, solving two nasty firmware-to-apps calls. This required to move the filename creation functions as well. * Fix bug in the BMP header of Clip screendumps. * Add remote screendump for targets with an LCD remote. * Simplify some ifdefs and rename a macro in the sim.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19967 a1c6a512-1295-4272-9138-f99709370657
2009-02-10 23:43:37 +00:00
Maurus Cuelenaere
04c7379ac5
Onda VX747: commit some parts to get apps/ to compile (more will follow)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19954 a1c6a512-1295-4272-9138-f99709370657
2009-02-09 10:02:38 +00:00
Michael Sevakis
94537f954e
Gigabeat S: Implement an SDMA API and use it in the PCM driver. Some other miscellaneous adjustments to recording and PCM buffer to accomodate use of physical addresses and cache coherency.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19949 a1c6a512-1295-4272-9138-f99709370657
2009-02-08 22:32:41 +00:00
Bertrik Sikken
3c7e299cf3
Simplify conditions for including serial port support (it's now HAVE_SERIAL). This should save a little binsize and RAM for target that don't have/use a serial port.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19936 a1c6a512-1295-4272-9138-f99709370657
2009-02-07 11:15:30 +00:00
Maurus Cuelenaere
9b13a5d151
MIPS:
...
* Add assembly optimised variants for memcpy, memset and find_first_set_bit
* Add option to map_address in MMU to set caching algorithm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19920 a1c6a512-1295-4272-9138-f99709370657
2009-02-04 17:33:19 +00:00
Thomas Martitz
067ef10c56
I wonder how that got it...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19868 a1c6a512-1295-4272-9138-f99709370657
2009-01-27 11:35:39 +00:00
Thomas Martitz
a43b0db3d1
Sansa AMS: Debug screen, shows GPIO and (on the fuze) DBOP input for now, to be extended
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19866 a1c6a512-1295-4272-9138-f99709370657
2009-01-27 11:05:38 +00:00
Mark Arigo
04992ef050
Move the PP5020 ADC defines to the c-file instead of repeating them across the header files. Also, the Tatung TPJ1022 should use the common PP5020 ADC driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19864 a1c6a512-1295-4272-9138-f99709370657
2009-01-27 03:19:57 +00:00
Maurus Cuelenaere
a4e7bc383e
Onda VX747:
...
* Implement lcd_flip()
* Add support for multiple banks in NAND driver
* Add basic I²C driver (untested)
* Get audio back working
* Add power driver
* Other minor fixes and cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19863 a1c6a512-1295-4272-9138-f99709370657
2009-01-27 00:38:58 +00:00
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