Björn Stenberg
2f7cffa204
Major USB fixes by Frank Gevaerts. Still disabled in builds, #define USE_ROCKBOX_USB to test.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16279 a1c6a512-1295-4272-9138-f99709370657
2008-02-11 14:26:25 +00:00
Michael Sevakis
9811fc9abf
Some misc. ATA stuff: Increase threads' priority (important for idle callbacks to get done faster). Use a simpler loop for ata thread. Add a balancing mutex_lock call to ata_init (oops).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16278 a1c6a512-1295-4272-9138-f99709370657
2008-02-11 07:42:11 +00:00
Robert Kukla
c7559753ce
make mrobe100 work again
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16270 a1c6a512-1295-4272-9138-f99709370657
2008-02-10 16:06:01 +00:00
Michael Giacomelli
054447f9e6
Commit FS#8379 by Andree Buschmann. Disables much of the remaining unneeded hardware on PP50xx targets (Ipods, Sansa, H10s, etc) resulting in a large savings in power and consequent increase in battery life. Results vary from target to target and from codec to codec, but we now approach the OF runtime on several PP devices. For now, leave base CPU clock at 30MHz, although further savings is possible with some codecs if clock is reduced. Additionally, fix battery capacity on c200 and use my measurements to improve runtime estimation for Sandisk targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16259 a1c6a512-1295-4272-9138-f99709370657
2008-02-10 05:39:20 +00:00
Jonas Häggqvist
f6f1127219
Use a fixed multiplier of 2^10 as required when calculating number of blocks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16256 a1c6a512-1295-4272-9138-f99709370657
2008-02-09 21:07:44 +00:00
Michael Sevakis
952347decb
Oops. Tiny goof.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16248 a1c6a512-1295-4272-9138-f99709370657
2008-02-09 08:05:01 +00:00
Michael Sevakis
02de55cc85
Gigabeat S: Get button driver at 100%. Disable SPI because it hangs and will be changed to interrupt-based. Add some more iMX.31 register definitions and flags.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16247 a1c6a512-1295-4272-9138-f99709370657
2008-02-09 07:59:53 +00:00
Michael Sevakis
bc057f91b5
Gigabeat S: Get boot to go a little father.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16245 a1c6a512-1295-4272-9138-f99709370657
2008-02-08 06:34:11 +00:00
Michael Sevakis
a07c034de7
Gigabeat S: Interrupt enabled bootloader. Miscellaneous integration changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16243 a1c6a512-1295-4272-9138-f99709370657
2008-02-08 02:20:05 +00:00
Michael Sevakis
ca62cc082b
Oops. On a roll...that shouldn't have been committed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16227 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 18:09:02 +00:00
Michael Sevakis
73de812cb6
gigabeatS: Fix the timer startup oddness. Seems it likes the interrupt clear at the module level after enabling the vector.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16226 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 18:07:57 +00:00
Michael Sevakis
c3e73a5f9e
Do better job with UIE_VECTOR.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16221 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 07:17:56 +00:00
Michael Sevakis
47412cbc35
Code police tabs and spaces
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16219 a1c6a512-1295-4272-9138-f99709370657
2008-02-05 05:17:33 +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
Mark Arigo
06daa03630
mrobe 100: (1) device reset in system_init is same as H10. (2) make power_off actually work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16203 a1c6a512-1295-4272-9138-f99709370657
2008-02-03 00:04:02 +00:00
Michael Sevakis
7e402d8202
H10-20GB: Commit the first patch in FS#8533 to fix the mpegplayer display problem where only half the data was reaching the display on some players. Two individuals report that it corrects it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16193 a1c6a512-1295-4272-9138-f99709370657
2008-02-01 02:02:38 +00:00
Michael Sevakis
0efdd7a5f7
Use the timeout API as a oneshot for headphone plug debouncing. Set at 1s for now which seems comfortable and was good for meg-fx but target-specific adjustment is easy enough (my 3G hp jack is dead so I can't check that one :( ). Do some minor rearrangements for init safety and consistency.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16178 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 21:13:04 +00:00
Rob Purchase
637e26e8e4
D2: Add auto-detection of the SAMSUNG flash chips used in the 2/4/8Gb
...
models.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16177 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 18:50:09 +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
5991478628
Read ID codes & raw page data from D2 NAND flash (work in progress;
...
no logical->physical address translation yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16167 a1c6a512-1295-4272-9138-f99709370657
2008-01-25 21:37:59 +00:00
Michael Sevakis
506d18b0e6
H10 20GB: Hopefully fix the issue on FM not operating at 80MHz CPU frequency for everyone. Works for me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16165 a1c6a512-1295-4272-9138-f99709370657
2008-01-25 19:17:48 +00:00
Marcoen Hirschberg
7dff491a72
- make the booloader compile again
...
- make the brightness table static
- also use the logarithmic scale for the button lights
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16162 a1c6a512-1295-4272-9138-f99709370657
2008-01-25 18:05:21 +00:00
Marcoen Hirschberg
fe99a8e3da
make the brightness setting logarithmic, which looks linear to the eye
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16161 a1c6a512-1295-4272-9138-f99709370657
2008-01-25 17:51:05 +00:00
Rob Purchase
8a91c19f70
Fix typo (and update the build table...)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16147 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 23:19:12 +00:00
Michael Giacomelli
31b6eb57b0
Commit FS#8387 by Adam Gashlin. Enables detection of firewire devices for charging on various Ipods. Note that charging itself is not yet implemented on these devices.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16124 a1c6a512-1295-4272-9138-f99709370657
2008-01-20 23:03:23 +00:00
Michael Giacomelli
b5acab1bcf
Commit FS#8480 by Andree Buschmann. Updates battery calibration for the Sansa E series.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16122 a1c6a512-1295-4272-9138-f99709370657
2008-01-20 22:47:05 +00:00
Robert Kukla
47cfed1f1b
audio on the m:robe 100
...
- using the existing wm8751 driver (from gigabeat port) integrated into the portal player environment
- only 44.1kHz at the moment
- for some reason the output is very quiet
- due to the lack of usable buttons the easiest (?) way to start an audio file is to copy the .playlist_control, config.cfg and nvram.bin files from another target, where auto resume is enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16117 a1c6a512-1295-4272-9138-f99709370657
2008-01-20 12:59:23 +00:00
Michael Sevakis
6a8379674c
Finally, out goes struct spinlock for anything but mutiprocessor targets where it becomes a reenterable corelock.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16105 a1c6a512-1295-4272-9138-f99709370657
2008-01-18 13:12:33 +00:00
Michael Sevakis
3b36b98ff8
Properly serialize ata_init with other threads. Fix a bug that always initialized the lock on every call to ata_init - that should be a one time init or else the lock could be corrupted on connect.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16104 a1c6a512-1295-4272-9138-f99709370657
2008-01-18 12:32:03 +00:00
Michael Sevakis
905d80619c
meg-fx: remove superfluous i2c_init call
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16102 a1c6a512-1295-4272-9138-f99709370657
2008-01-18 09:35:03 +00:00
Michael Sevakis
53e79cacc6
meg-fx: correct an oops in the interrupt vector table
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16100 a1c6a512-1295-4272-9138-f99709370657
2008-01-18 09:17:47 +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
Jens Arnold
28cd26c471
Some cleanup for readability. No code change.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16076 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 13:58:18 +00:00
Robert Kukla
bf6d5cce68
m:robe 100: tweaks for more reliable shutdown
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16074 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 12:35:10 +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
Robert Kukla
7d961d390a
m:robe 100:
...
- adjust lcd_grey_phase_blit() parameter to recent change
- detection of external power
- compilation of plugins - need to be enabled individually in SOURCES/SUBDIRS
(use autostart.rock as test plugin with limited interaction via BUTTON_POWER)
also
- move autostart.rock to apps dir where it is expected
- set missing svn:keywords for various files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16056 a1c6a512-1295-4272-9138-f99709370657
2008-01-11 21:48:01 +00:00
Robert Kukla
12cc3cc47c
mrobe 100:
...
- temporarily disable shutdown on low power
- enable power button for minimal interaction (not shutdown yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16049 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 21:51:44 +00:00
Jonathan Gordon
81ba146706
Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 08:08:31 +00:00
Jens Arnold
6a56c14e17
Greyscale library: Changed the internal data format once more (separated pixel values and phases), allowing for further optimisation of drawing, scrolling etc. * Optimised grey phase blitting in the core reduces CPU load on all architectures, most significantly on coldfire. Previous version was too slow to keep up at 45MHz, leading to unwanted graininess (update frequency was halved). Also fixed screendump on 2bpp targets with vertical pixel packing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16043 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 23:48:26 +00:00
Mark Arigo
66cd9ef385
Don't clear this bit. Helps c200 radios that have trouble tuning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16038 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 20:26:23 +00:00
Mark Arigo
2e69ec6aa7
m:robe 100 fixes: (1) add missing keymap (copied from H10), (2) rename lcd_yuv_blit to lcd_grey_phase_blit (since lcd is mono), and (3) update firmware/FILES for the new target. The bootloader and target builds should compile now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16037 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 20:07:42 +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
Dave Chapman
945c8a221a
Add viewport capabilities to all the LCD drivers, and adapt scrolling code. This is the firmware/ part of FS#8385 - the changes to the WPS code still need more work and will be committed at a later date. NOTE: There are no user-visible changes with this commit - just the infrastructure.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16018 a1c6a512-1295-4272-9138-f99709370657
2008-01-07 20:34:11 +00:00
Jens Arnold
feb5b15e9b
All-new greyscale library, replacing the old one. Features: (1) Drawing/updating is faster than the old grayscale lib at full depth. (2) Always 129 shades instead of 2..33 shades. (3) No graininess caused by frequent updates (mpegplayer, doom, ...). (4) Needs less memory than the old grayscale lib at full depth. * The tradeoff is slightly higher CPU load in the ISR (frames are calculated 'live') and an extra function in the core. * Ported all plugins which used the graylib to use the new one. * Some slight optimisations for archos and H1x0 LCD update.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15998 a1c6a512-1295-4272-9138-f99709370657
2008-01-04 23:42:38 +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
Jens Arnold
05784b52ab
H10 button driver: Use atomic GPIO bit manipulation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15839 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 20:23:12 +00:00
Nicolas Pennequin
c2ca8c710c
* Make the Gigabeat S bootloader a bit more interesting: it looks for the first firmware file it finds on the second partition and attempts to load it. Loading fails to get past the splash screen though.
...
* Make the main binary compile.
To send a firmware file, use mtp-sendfile. To update you'll need to delete the previous firmware file, as files are named sequentially and the first one is loaded.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15836 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 15:40:29 +00:00
Björn Stenberg
a0224590d4
Added some error returns
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15834 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 13:42:47 +00:00