Commit graph

583 commits

Author SHA1 Message Date
Jens Arnold
0464c36bdc Fix red bootloader build.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15015 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 12:57:07 +00:00
Jens Arnold
4efd9c4eef c200: Make the backlight react on unlocking hold as intended.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15014 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 12:22:19 +00:00
Jens Arnold
29473fe877 c200: Switch the 'menu' button light as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15012 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 12:04:26 +00:00
Michael Sevakis
856ca78110 Use halfword IIS FIFO mode for H10. Won't save interrupts but seems it should be the DMA compatible mode. Setup pcm-pp.c to ease evaluating setting up PortalPlayer targets for DMA audio and for building an inventory of proper I2S settings and transfer sizes for all.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15009 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 06:10:08 +00:00
Michael Sevakis
51967f4856 Remove a setting of a register during H10 reset that shouldn't have been included in my previous commit. Not evaluated properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15007 a1c6a512-1295-4272-9138-f99709370657
2007-10-07 05:52:06 +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
Dave Chapman
8383bff582 TAB policing - no code changes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15000 a1c6a512-1295-4272-9138-f99709370657
2007-10-06 08:38:25 +00:00
Michael Sevakis
18e87ff1c0 Stabilize PP5020 targets - tested on H10 5/20GB and iPod Color. Use no interrupts on COP but pulse it through the control interface. Don't mess with LCD clocking during clock changes. Give a reset register a name (DEV_OFF_MASK).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14998 a1c6a512-1295-4272-9138-f99709370657
2007-10-05 23:24:46 +00:00
Michael Sevakis
cc5b50b231 Change a couple udelay() in e200 lcd driver to sleep() since sleep() was the intent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14982 a1c6a512-1295-4272-9138-f99709370657
2007-10-04 16:22:00 +00:00
Michael Sevakis
17b19939e6 The UNCACHED_ADDR macro should not adjust addresses in the bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14981 a1c6a512-1295-4272-9138-f99709370657
2007-10-04 16:10:20 +00:00
Michael Sevakis
84d28e8f78 Fix up the recording monitoring for e200 and I expect for c200 as well whenever recording is enabled there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14980 a1c6a512-1295-4272-9138-f99709370657
2007-10-04 12:55:46 +00:00
Michael Sevakis
940e8990b5 PP502x: Make RAM physical addresses uncached. Cache the flash ROM on targets with one. Kill all the now unneeded cache flushing and i2s tweaking on e200 so clicking is no worry. Write the driver framebuffer at uncached addresses. Recording monitoring may be a little noisy in the left channel for the moment when not boosted and will be addressed. All seems to work as advertised including flash ROM dump.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14976 a1c6a512-1295-4272-9138-f99709370657
2007-10-04 04:53:01 +00:00
Jens Arnold
6dd3f449b3 I2S buffer level adjustment is not necessary on c200 as there is no memory mapped framebuffer that requires constant cache flushing like on e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14974 a1c6a512-1295-4272-9138-f99709370657
2007-10-03 22:31:51 +00:00
Karl Kurbjun
efb103f044 Missing keymap commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14965 a1c6a512-1295-4272-9138-f99709370657
2007-10-03 00:42:14 +00:00
Marianne Arnold
af97e9369a Commit FS #7881 by Mark Arigo - enable radio on the Sansa c200. It seems that many (if not all) c200s have the radio hardware even if you can't use it with the original firmware...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14963 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 21:04:10 +00:00
Michael Sevakis
4748dc305e Fix a little bug I introduced earier than can cause i2s to fail to start with voice running on pp5020.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14961 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 20:23:42 +00:00
Steve Bavin
c90c18ea67 Thanks to LinusN, fix Coldfire bootloaders not booting - FS#7533
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14949 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 07:54:50 +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
Mark Arigo
f463a44adf Enable lcd contrast adjustment on Sansa c200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14945 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 02:00:40 +00:00
Jonathan Gordon
274c2b8d69 touchpad calibration (very simple calibration screen is in mrobe500.c
but will not actually be used in the bootloader once rockbox main is running)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14937 a1c6a512-1295-4272-9138-f99709370657
2007-10-01 07:52:39 +00:00
Jonathan Gordon
f8ada4b9c1 minor style/comment policing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14936 a1c6a512-1295-4272-9138-f99709370657
2007-10-01 05:42:12 +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
e108964ec0 IRQ driven touchpad driver, crude but working
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14914 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 11:15:14 +00:00
Michael Sevakis
ef1c52fa43 Oops. Don't use outl with the defined register.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14913 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 11:14:03 +00:00
Michael Sevakis
e760ba5a04 Add some defines for pp502x. No guarantee as to full accuracy yet but that's not really too important. Use them in the code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14912 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 10:53:31 +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
Jonathan Gordon
a5e788fe85 slow - but working - IRQ based uart/button driver.
change some of the uart function names from CamelCase


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14908 a1c6a512-1295-4272-9138-f99709370657
2007-09-30 08:18:46 +00:00
Nicolas Pennequin
f548336e27 Fix the LCD line remaining active after shutdown on grayscale ipods (FS#5199). Original patch by Tomasz Mon, modified by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14907 a1c6a512-1295-4272-9138-f99709370657
2007-09-29 20:56:07 +00:00
Karl Kurbjun
04188968f6 ATA works - dumb mistake
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14905 a1c6a512-1295-4272-9138-f99709370657
2007-09-29 16:52:45 +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
Thom Johansen
d6ad3fbeb5 FS #7763 by Andree Buschmann. Speed up video rendering for Ipod Video.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14882 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 11:25:02 +00:00
Michael Sevakis
a13a1d5492 Anti-red: No need for COP initialization in the bootloaders nor idle stacks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14880 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 10:54:27 +00:00
Michael Sevakis
7914e90738 Commit a subset of the dual core changes that have to do with cache handling, stacks, firmware startup and thread startup. Tested on e200, H10-20GB, iPod Color and 5.5G. Thread function return implemented for all targets. Some changes to plugins to follow shortly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14879 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 10:20:02 +00:00
Björn Stenberg
edbf5d81f5 Fixed a warning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14878 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 09:00:04 +00:00
Björn Stenberg
b452fb6dfe Skip spindown and delay on flash targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14877 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 07:56:46 +00:00
Björn Stenberg
0a231de536 Improved magic by Mark Arigo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14876 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 07:56:20 +00:00
Mark Arigo
61a83c02a3 Sansa c200: fix system_reboot with some magic from the OF. Reboot to the OF when usb is inserted.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14862 a1c6a512-1295-4272-9138-f99709370657
2007-09-27 02:50:50 +00:00
Catalin Patulea
7790fded36 m:robe 500i port: Fix tab style (tab -> 4 spaces) in system-mr500.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14854 a1c6a512-1295-4272-9138-f99709370657
2007-09-25 04:46:23 +00:00
Catalin Patulea
2a0ae89c26 m:robe 500i port: Get interrupts firing and the timer ticking
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14853 a1c6a512-1295-4272-9138-f99709370657
2007-09-25 04:45:49 +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
Karl Kurbjun
968ba0a277 More ATA work (that doesn't work)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14848 a1c6a512-1295-4272-9138-f99709370657
2007-09-25 01:44:57 +00:00
Catalin Patulea
0432157455 m:robe 500i port: Fix the way GIOs are cleared
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14845 a1c6a512-1295-4272-9138-f99709370657
2007-09-24 21:39:42 +00:00
Jens Arnold
361cdac365 The C200 LCD controller is a Samsung S6B33B2. Define appropriate register names, and implement display flip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14838 a1c6a512-1295-4272-9138-f99709370657
2007-09-24 00:18:09 +00:00
Karl Kurbjun
9ac9cc6024 Working DM320 interrupts, changed the way registers are accessed in spi and uart drivers. Uart might be broken with interrupts - buttons on remote don't seem to respond when interrupts are enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14836 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 23:08:39 +00:00
Jens Arnold
bf169ed7db Speed up C200 lcd_update() by ~7%.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14834 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 19:15:01 +00:00
Karl Kurbjun
1b9026a86d Fix a change that shouldn't have been committed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14831 a1c6a512-1295-4272-9138-f99709370657
2007-09-23 15:39:48 +00:00
Karl Kurbjun
67ef4500e3 More interupt/timer work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14823 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 23:17:52 +00:00
Karl Kurbjun
bebbac8888 Make sure that SVN keywords are set properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14817 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 15:43:38 +00:00