Catalin Patulea
8664a4d425
m:robe 500i port: Less warnings = good.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14799 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 09:09:59 +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
c5d22bce6e
minor fix for remote button code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14795 a1c6a512-1295-4272-9138-f99709370657
2007-09-21 02:05:02 +00:00
Tomasz Malesinski
026032f06d
PNX0101: new register names and polishing support for Clock Generation Unit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14792 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 22:13:48 +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
Jonathan Gordon
376429dc9d
mr-500 button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14766 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 08:42:06 +00:00
Jonathan Gordon
bdf4d3927c
Hopefully fix all the errors/warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14764 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 08:01:56 +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
Mark Arigo
a80c0e8b83
Fix the sound on the c200 by resetting all devices as done on the e200. Make the reset sequence like the c200 OF with hopefully no ill effects to the e200.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14762 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 02:46:11 +00:00
Mark Arigo
547cffb90b
Add some magic to the Sansa c200 bootloader to boot the OF.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14749 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 03:02:34 +00:00
Peter D'Hoye
137ce71709
Kick the idle poweroff timer on wheel activity. Should fix FS #7786
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14747 a1c6a512-1295-4272-9138-f99709370657
2007-09-18 21:44:47 +00:00
Nils Wallménius
141e663768
Accept FS#7765 by Catalin Patulea, fixes an incorrect struct definition
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14682 a1c6a512-1295-4272-9138-f99709370657
2007-09-13 17:56:08 +00:00
Jens Arnold
f265ee9cd5
* Don't touch the backlight(s) (and buttonlight) at backlight init in order to avoid a short flash when the lights are both disabled in the bootloader and in rockbox settings. * Properly reflect the backlight state set by the 1st/2nd gen bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14679 a1c6a512-1295-4272-9138-f99709370657
2007-09-12 22:24:58 +00:00
Michael Sevakis
e6511d8eaa
Faster video rendering for e200 and Gigabeat.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14675 a1c6a512-1295-4272-9138-f99709370657
2007-09-12 09:02:31 +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
Jonathan Gordon
9db22efd1f
Firmware "hacker" code for the e200r install so the full bootloader rom doesnt need to be written.
...
Requires a custom version of e200tool which isnt available yet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14654 a1c6a512-1295-4272-9138-f99709370657
2007-09-09 11:20:20 +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
Christian Gmeiner
2c30bd9245
try #2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14622 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 16:16:49 +00:00
Christian Gmeiner
1a8f7c51b3
fix usb detection for usb stack
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14621 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 15:52:49 +00:00
Michael Sevakis
bc35acffd9
Commit FS#7692 - LCD garbled top two lines by Jesse Lockwood and Jonathan Backer. Works on mine and others' older models without trouble and provides a genuine fix for the garbled display lines issue troubling newer ones.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14620 a1c6a512-1295-4272-9138-f99709370657
2007-09-05 07:58:42 +00:00
Christian Gmeiner
e267bc722d
get experimental usb stack compiling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14613 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 23:29:42 +00:00
Dave Chapman
1672350378
FS #7691 - improved USB detection on PP devices. This patch modifies the target-tree function usb_detect() on all targets from bool to int, returning USB_INSERTED or USB_EXTRACTED instead of true or false. This was done to enable the PP usb_detect() to check for USB_POWER (either a connection to a USB wall charger, or the user holding "charge mode" button) and return that as a third value.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14600 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 08:03:07 +00:00
Peter D'Hoye
f2bf042edf
Remove a warning when building the stack and add some comment in the ifdef hell
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14494 a1c6a512-1295-4272-9138-f99709370657
2007-08-28 21:32:28 +00:00
Dave Chapman
03745f4ed3
Cosmetic changes only - tab, whitespace and brace policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14484 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 22:07:36 +00:00
Dave Chapman
a6d52a8305
Oops, arcotg_udc.h is also needed when HAVE_USBSTACK is enabled
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14483 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 21:59:57 +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
863ce442ec
green now?
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14474 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 16:30:23 +00:00
Christian Gmeiner
f286bdec63
fix red and yellow - i hope and double content in some files.. dont ask how this could happen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14473 a1c6a512-1295-4272-9138-f99709370657
2007-08-27 16:26:56 +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
Barry Wardell
ec6ca5ae94
FS#7634: Add support for high capacity microSD cards (SDHC). We now support SD specification Version 2.00 which covers cards up to 32GB in size.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14424 a1c6a512-1295-4272-9138-f99709370657
2007-08-22 00:32:45 +00:00
Peter D'Hoye
0d5451e7bd
H10: add more time between enabling touch-pad and reading ADC. Greatly improves touchpad stability. Add (and disable) checking for ADC done bit. Disabled because not yet working.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14419 a1c6a512-1295-4272-9138-f99709370657
2007-08-21 23:37:26 +00:00
Jens Arnold
7c37c54ce5
iPod 1st Gen: Dynamic wheel enable. This reduces wheel power consumption to about 0.5% when hold is not enabled and there is no activity, and keeps it disabled on hold.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14386 a1c6a512-1295-4272-9138-f99709370657
2007-08-18 09:47:19 +00:00
Jens Arnold
347b351e8a
iPod 1st Gen: Electronically disable the wheel when hold is enabled, saving quite some power.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14383 a1c6a512-1295-4272-9138-f99709370657
2007-08-18 08:14:07 +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
c68e3cc3d6
Make the wheel work on 1st gen iPod.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14359 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 17:53:23 +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
Jens Arnold
97bdfce5b6
iPod greyscale LCD driver: * Further speedup (timeout check turned out to be unnecessary, as well as setting the LCD control register every time on Mini G2. Put lcd_write_data() in IRAM on PP5002). * Better blacklevel stability on 1st...3rd gen. * lcd_enable() function in preparation for suspend on 1st/2nd gen, and shutdown without a black line remaining.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14264 a1c6a512-1295-4272-9138-f99709370657
2007-08-10 08:09:53 +00:00
Jens Arnold
92abed78cc
iPod greyscale LCD driver: Slight speedup and correct greylevels for other targets than 1st/2nd gen. * Code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14240 a1c6a512-1295-4272-9138-f99709370657
2007-08-08 07:57:34 +00:00
Jens Arnold
0ee44031f0
Use correct 1/3 and 2/3 greylevels.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14223 a1c6a512-1295-4272-9138-f99709370657
2007-08-06 20:17:30 +00:00
Jens Arnold
1fbcead9b3
Reduced battery consumption on PP5002 targets (iPod 1st/2nd gen and 3rd gen). Now rockbox battery runtime is better than OF, verified on 2nd gen :-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14218 a1c6a512-1295-4272-9138-f99709370657
2007-08-06 17:26:28 +00:00
Michael Sevakis
0149264bf1
Hrmph. That was just weird to do that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14211 a1c6a512-1295-4272-9138-f99709370657
2007-08-06 13:01:40 +00:00
Michael Sevakis
89b53bfdaa
e200: Make sure backlight will never get stuck off for long periods from the wheel.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14210 a1c6a512-1295-4272-9138-f99709370657
2007-08-06 12:58:38 +00:00
Michael Sevakis
d25dc33453
Oops. mvn is one's-complement, not two's. Correct the YUV calculation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14184 a1c6a512-1295-4272-9138-f99709370657
2007-08-04 20:36:22 +00:00
Jens Arnold
7f85b5b907
Disk poweroff for 3rd gen iPods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14171 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 22:54:33 +00:00
Jens Arnold
ccf51927b9
Disk poweroff for 1st/2nd gen iPods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14157 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 12:05:47 +00:00
Jens Arnold
1fbf847eed
PP5002 ATA driver needs to wait for the controller to be ready again before writing the next control register value. Makes check_registers() not fail in the bootloader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14153 a1c6a512-1295-4272-9138-f99709370657
2007-08-03 09:34:42 +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
Michael Sevakis
4aaded5c76
PP50xx: COP was left in undefined mode after init. Switch it to supervisor mode before entering cop_main.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14124 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 20:59:27 +00:00
Michael Sevakis
e1c52e7fbe
PP50xx: Allow FIQ during IRQ to always be able to service FIFOs. I've got a diff handy for quick revert if there's a problem.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14123 a1c6a512-1295-4272-9138-f99709370657
2007-08-01 20:26:04 +00:00