summaryrefslogtreecommitdiff
path: root/firmware/target
AgeCommit message (Collapse)Author
2007-10-22Assembler optimised lcd_yuv_blit() for iPod Video (Fs #7951 by Andree ↵Jens Arnold
Buschmann, adapted and separated into an .S file by me). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15257 a1c6a512-1295-4272-9138-f99709370657
2007-10-21More M:Robe work including a fix to lcd-as-memframe for larger screens ↵Karl Kurbjun
thanks to Michael Sevakis. Also fixes simulator builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15254 a1c6a512-1295-4272-9138-f99709370657
2007-10-21Implement YUV dithering for c200, and enable the option in mpegplayer.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15246 a1c6a512-1295-4272-9138-f99709370657
2007-10-19init spi and uart in the main buildJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15195 a1c6a512-1295-4272-9138-f99709370657
2007-10-18slightly better touchpad driver. Still not brilliant, but the ↵Jonathan Gordon
bootloader/debugger can follow a stylus with a cursor, so we can start work on getting apps/ working git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15187 a1c6a512-1295-4272-9138-f99709370657
2007-10-18Make rockbox think we have a full battery untill this actually works, ↵Jonathan Gordon
otherwise apps/ doesnt like it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15186 a1c6a512-1295-4272-9138-f99709370657
2007-10-18Some changes to the UART/button driver - reduce the number of interrupts - ↵Karl Kurbjun
more work is needed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15180 a1c6a512-1295-4272-9138-f99709370657
2007-10-17Coldfire: Partially revert buffered writes, and enable them explicitly for ↵Jens Arnold
the LCD only. Turned out that with buffered writes enabled, reads after writes are not always serialized, which is a bad thing for I/O. Buffered writes to the LCD are safe because that's write-only. Fixes FS #7985. How come I didn't notice this earlier? :> git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15173 a1c6a512-1295-4272-9138-f99709370657
2007-10-17Turns out you can boot the main build by copying apps/rockbox.bin to ↵Karl Kurbjun
/rockbox.mrboot. Something is wrong with the rockbox bootloader, but at least now we can work with the main build. Added in a warning for the core_sleep function git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15162 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Parts of FS #7951 by Andree Buschmann. Faster YUV BLIT (means faster ↵Thom Johansen
mpegplayer) for Ipods Nano and Video while we're waiting for the assembler ones. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15147 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Improved H10 ADC driver. We now do things exactly as the OF does. This ↵Barry Wardell
includes shifting the readings by 0x14 when PLL is enabled. Battery voltages and remote/scrollpad values adjusted accordingly. We also now wait for the ADC to indicate the conversion is complete before reading the data, so hopefully we will get more reliably steady readings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15141 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Finish the conversion to packed i2s for PP502x. Karl Kurbjun-approved for ↵Michael Sevakis
Mini-1G. Simplify the pcm format selection #ifdefs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15137 a1c6a512-1295-4272-9138-f99709370657
2007-10-16Finally full multicore support for PortalPlayer 502x targets with an eye ↵Michael Sevakis
towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
2007-10-15Coldfire targets: enable buffered writes by default. Speeds up all sorts of ↵Jens Arnold
I/O that writes to ports: LCD update (except the functions using DMA on H300), ATA writes, .... Some timings had to be adjusted for the new configuration. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15129 a1c6a512-1295-4272-9138-f99709370657
2007-10-15Fix coldfire PCF50606 I2C driver, and iriver FM radio I2C driver. Both ↵Jens Arnold
drivers had wrong timing, discovered while experimenting with buffered writes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15122 a1c6a512-1295-4272-9138-f99709370657
2007-10-14H300, X5: Optimised lcd_yuv_blit(), using line-pair zig-zag writing to the ↵Jens Arnold
LCD controller. ~7% speedup on H300, ~5% speedup on X5. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15111 a1c6a512-1295-4272-9138-f99709370657
2007-10-13M:Robe - Fix compilation and remove some warningsKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15095 a1c6a512-1295-4272-9138-f99709370657
2007-10-12H10 LCD driver size reductions: Un-inline a function for H10 20GB, and ↵Jens Arnold
introduce lcd_write_reg() for H10 5/6GB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15090 a1c6a512-1295-4272-9138-f99709370657
2007-10-12PP LCD drivers: * Optimised and cleaned up PP colour LCD drivers. ↵Jens Arnold
Immeasurable speedup on iPod Color, huge speedup on small H10 (a factor of 3). Should be a bit faster on big H10 too. * Big H10 changed bitmap format, so needs reconfiguring + full rebuild. * Better register naming for the mono LCD bridge. Register names for the colour LCD bridge. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15082 a1c6a512-1295-4272-9138-f99709370657
2007-10-11These functions haven't been implemented yet - remove their content to get ↵Will Robertson
Gigabeat S builds compiling again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15074 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Increase step size of stereo width to 5% to avoid tediously long list in ↵Thom Johansen
settings. Reduce max limit from 255% to 250% for cosmetic reasons, value of 255% was chosen because of (very) old restrictions in settings system anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15057 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Packed I2S for ipod Color (tested) and ipod 4G (untested, but assumed to be ↵Dave Chapman
the same as the Color - everything else is). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15053 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Change c200 and e200 to use the same IIS FIFO format as seems to be working ↵Michael Sevakis
for others. Samples there have been packed for a long time though so no change to that. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15051 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Packed I2S for iPod Mini G2.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15050 a1c6a512-1295-4272-9138-f99709370657
2007-10-09FS #7917 by Andree Buschmann. Packed I2S also for Ipod Video.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15049 a1c6a512-1295-4272-9138-f99709370657
2007-10-09Unbloat the PCM changes on PortalPlayerMichael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15041 a1c6a512-1295-4272-9138-f99709370657
2007-10-08Make Ipod Nano use packed 16 bit IIS FIFO transfers as well.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15040 a1c6a512-1295-4272-9138-f99709370657
2007-10-08Hopefully take care of FS#7806 - Current Sansapatcher fails to boot OF by ↵Michael Sevakis
removing all hotswap support from the bootloader. It won't fully be closed until Sansapatcher is updated of course. There's still a report of the partition dump not working unless 20 bytes of padding are inserted at the start of main() but that's only a developer-enabled feature. Seems weird though. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15038 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Finally get packed samples to work in a nice way on H10 in IIS mode. Add ↵Michael Sevakis
some more register defs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15026 a1c6a512-1295-4272-9138-f99709370657
2007-10-07c200: First implemention of lcd_yuv_blit(). mpegplayer works now, but speed ↵Jens Arnold
can be optimized more and dithering is not yet implemented. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15020 a1c6a512-1295-4272-9138-f99709370657
2007-10-07* Use proper definitions for the PP (mono) LCD bridge. * Clean up pp5002.h a ↵Jens Arnold
bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15018 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Name all button light functions and variables consistently starting with ↵Jens Arnold
buttonlight_ . git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15016 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Fix red bootloader build.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15015 a1c6a512-1295-4272-9138-f99709370657
2007-10-07c200: Make the backlight react on unlocking hold as intended.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15014 a1c6a512-1295-4272-9138-f99709370657
2007-10-07c200: Switch the 'menu' button light as well.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15012 a1c6a512-1295-4272-9138-f99709370657
2007-10-07Use halfword IIS FIFO mode for H10. Won't save interrupts but seems it ↵Michael Sevakis
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-07Remove a setting of a register during H10 reset that shouldn't have been ↵Michael Sevakis
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-06Unify PCM interface just above the hardware driver level for all targets ↵Michael Sevakis
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-06TAB policing - no code changesDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15000 a1c6a512-1295-4272-9138-f99709370657
2007-10-05Stabilize PP5020 targets - tested on H10 5/20GB and iPod Color. Use no ↵Michael Sevakis
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-04Change a couple udelay() in e200 lcd driver to sleep() since sleep() was the ↵Michael Sevakis
intent. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14982 a1c6a512-1295-4272-9138-f99709370657
2007-10-04The UNCACHED_ADDR macro should not adjust addresses in the bootloader.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14981 a1c6a512-1295-4272-9138-f99709370657
2007-10-04Fix up the recording monitoring for e200 and I expect for c200 as well ↵Michael Sevakis
whenever recording is enabled there. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14980 a1c6a512-1295-4272-9138-f99709370657
2007-10-04PP502x: Make RAM physical addresses uncached. Cache the flash ROM on targets ↵Michael Sevakis
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-03I2S buffer level adjustment is not necessary on c200 as there is no memory ↵Jens Arnold
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-03Missing keymap commitKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14965 a1c6a512-1295-4272-9138-f99709370657
2007-10-02Commit FS #7881 by Mark Arigo - enable radio on the Sansa c200. It seems ↵Marianne Arnold
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-02Fix a little bug I introduced earier than can cause i2s to fail to start ↵Michael Sevakis
with voice running on pp5020. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14961 a1c6a512-1295-4272-9138-f99709370657
2007-10-02Thanks to LinusN, fix Coldfire bootloaders not booting - FS#7533Steve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14949 a1c6a512-1295-4272-9138-f99709370657
2007-10-02Split wm8731 and wm8721 drivers. wm8721 can be much simpler since it has no ↵Michael Sevakis
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