summaryrefslogtreecommitdiff
path: root/firmware/target (follow)
Commit message (Collapse)AuthorAge
...
* no need to prefill the i2s fifoMarcoen Hirschberg2006-12-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11856 a1c6a512-1295-4272-9138-f99709370657
* don't ignore remote when hold is onMarcoen Hirschberg2006-12-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11855 a1c6a512-1295-4272-9138-f99709370657
* merge a big part of the unofficial gigabeat cvs back. Includes working ↵Marcoen Hirschberg2006-12-29
| | | | | | bootloader and rockbox with audio. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
* Fix bug accessing data above 4Gb in SansaDaniel Ankers2006-12-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11828 a1c6a512-1295-4272-9138-f99709370657
* Combine USB code for all PortalPlayer targets since they most likely all use ↵Barry Wardell2006-12-20
| | | | | | the same USB hardware. Add register defines for the USB hardware addresses, based off the Freescale i.MX31 datasheet. Use usb_init() from the iPod code, but modified to use the new register defines rather than oul/inl on the hardware addresses. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11823 a1c6a512-1295-4272-9138-f99709370657
* Convert queues to use intptr_t for event data and return values as most of ↵Michael Sevakis2006-12-19
| | | | | | the time pointer are not passed and it should make some things a bit cleaner. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11818 a1c6a512-1295-4272-9138-f99709370657
* Add working dual-boot bootloaders for H10 and Sansa, which allow booting the ↵Barry Wardell2006-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OF and Rockbox. Rolo also works. Changes made: Combine bootloader/h10.c and bootloader/e200.c into a common bootloader file (bootloader/main-pp.c) to be used by all mi4 based PortalPlayer targets. The file bootloader/main-pp.c is based off the old bootloader/h10.c with some minor changes to allow it to work on the Sansa too. This effectively adds a Sansa bootloader. Define MODEL_NAME string in config-*.h for use in bootloader. Split crt0-pp.S into separate files for bootloader and normal builds. Bootloader code is now in crt0-pp-bl.S while normal build code stays in crt0-pp.S. Improvements to crt0-pp.S and crt0-pp-bl.S (mostly to make it more multiprocessor safe): * Leave space in bootloader at 0xe0-0xeb since scramble writes over there when it creates the mi4 file (don't leave space for iPods since it's not needed and all code in crt0-pp-bl.S needs to fit before the boot_table at 0x100). * Remove unused DEBUG and STUB code from crt0-pp.S. * Make CPU wait for COP to be sleeping when we put the COP to sleep. * Invalidate COP cache when COP wakes * Flush CPU cache before waking COP * Make sure only the CPU clears the BSS (not the COP) * Make sure only the CPU sets up its own stack (not the COP) Rolo works on H10, so enable it. Make Sansa e200 use rockbox.e200 rather than PP5022.mi4 for 'Normal' builds. This makes updating rockbox simpler as we don't need to go through the firmware update procedure, but rather just put a new rockbox.e200 on the device. rockbox.e200 uses a simple 'add' checksum. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11815 a1c6a512-1295-4272-9138-f99709370657
* Forgot to remove the ata_address_detect() declaration.Jens Arnold2006-12-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11813 a1c6a512-1295-4272-9138-f99709370657
* Archos: Moved the ata_address_detect() code into ata_device_init(), removing ↵Jens Arnold2006-12-19
| | | | | | the associated #ifdef and some public #defines. Saves a tiny bit of code as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11812 a1c6a512-1295-4272-9138-f99709370657
* Add support for Sansa scrollwheel backlight. Turn light on when scrollwheel ↵Barry Wardell2006-12-18
| | | | | | is in use, then back off again after a 5 second timeout. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11807 a1c6a512-1295-4272-9138-f99709370657
* Hardcode a value for the battery level until we figure out the power ↵Barry Wardell2006-12-18
| | | | | | management on the Sansa. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11806 a1c6a512-1295-4272-9138-f99709370657
* Fix more warnings. Don't compile PortalPlayer pcm code in bootloader builds.Barry Wardell2006-12-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11799 a1c6a512-1295-4272-9138-f99709370657
* Fix more compile errors/warnings.Barry Wardell2006-12-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11798 a1c6a512-1295-4272-9138-f99709370657
* Fix some warnings from previous commit.Barry Wardell2006-12-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11795 a1c6a512-1295-4272-9138-f99709370657
* FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod ↵Barry Wardell2006-12-18
| | | | | | | | | | | | | | | | | | | | Color, iPod Nano). * Fix failed compile of enc_config.c when HAVE_MPEG2_SAMPR is not defined. * Fix bug in AIFF encoder header creation on little endian targets. * Add recording screen keymaps for H10 and iPod. * Move pcm_playback PP specific code to target tree. * Add recording code to wmcodec drivers. * Add pcm_record code. Some problems still remain: * Playback doesn't work after recording until Rockbox is restarted. * Gain control not implemented. * Only 16-bit/44KHz for now. The hardware should be capable of up to 24-bit/96KHz. * Line-in recording not tested on H10. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11794 a1c6a512-1295-4272-9138-f99709370657
* I2S_MASTER is bit 25, not 0x25Barry Wardell2006-12-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11787 a1c6a512-1295-4272-9138-f99709370657
* Coldfire: More efficient and compact peaking code. Hope the build doesn't ↵Michael Sevakis2006-12-17
| | | | | | whine about strange asm constraints. GCC's ok with it here. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11786 a1c6a512-1295-4272-9138-f99709370657
* SWCODEC recording: More cleanup of stuff after queue additions and audio ↵Michael Sevakis2006-12-17
| | | | | | driver unification. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11783 a1c6a512-1295-4272-9138-f99709370657
* Add support for scroll wheel to Sansa button driver. Should be replaced with ↵Barry Wardell2006-12-16
| | | | | | an interrupt based driver to improve responsiveness (once we figure out how). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11772 a1c6a512-1295-4272-9138-f99709370657
* Coldfire: Put DMA1 priority back at level 7 as that seems to be the cause of ↵Michael Sevakis2006-12-12
| | | | | | the stopping during record. Make DMA1 start as it did previously. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11729 a1c6a512-1295-4272-9138-f99709370657
* Improved charger detection for SansaDaniel Ankers2006-12-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11713 a1c6a512-1295-4272-9138-f99709370657
* Charger detection for SansaDaniel Ankers2006-12-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11710 a1c6a512-1295-4272-9138-f99709370657
* Move I2S initialisation out of the Wolfson codec driverDaniel Ankers2006-12-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11701 a1c6a512-1295-4272-9138-f99709370657
* Move I2S initialisation out of the Wolfson codec driverDaniel Ankers2006-12-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11700 a1c6a512-1295-4272-9138-f99709370657
* Fix some comments, and make code consistent with comments (CSMR2 was set to ↵Jens Arnold2006-12-09
| | | | | | 1M instead of 64K). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11698 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Clearing CRSEL bit when using default CPU frequency caused audio ↵Michael Sevakis2006-12-08
| | | | | | chip to run at half frequency when radio screen called cpu_idle_mode(true) and corresponding high end loss after kepress timeout. CRSEL was originally preserved when bypassing PLL. CRSEL shouldn't have any bearing on PSTCLK or SCLK when PLL is bypassed since the dividers are bypassed as well (except for the divX2 for SCLK). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11695 a1c6a512-1295-4272-9138-f99709370657
* Coldfire targets: Fixed performance-hitting bug for unaligned transfers. Now ↵Jens Arnold2006-12-06
| | | | | | unaligned transfers are less than 10% slower than aligned transfers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11679 a1c6a512-1295-4272-9138-f99709370657
* Removed extraneous #ifdef.Jens Arnold2006-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11678 a1c6a512-1295-4272-9138-f99709370657
* first step in audio driver unification: renaming the functions to audio_* ↵Marcoen Hirschberg2006-12-06
| | | | | | (missed this one) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11672 a1c6a512-1295-4272-9138-f99709370657
* first step in audio driver unification: renaming the functions to audio_*Marcoen Hirschberg2006-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11670 a1c6a512-1295-4272-9138-f99709370657
* PLL was incorrectly initialized causing system to crash when ran fromMiika Pekkarinen2006-12-06
| | | | | | | ROM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11669 a1c6a512-1295-4272-9138-f99709370657
* Small change to PCM recording API for low latency effects. Latency can be as ↵Michael Sevakis2006-12-06
| | | | | | low as 14 samples from input to output including the FIFOs (ColdFire) but 16 is more reasonable an expectation if only tranferring one sample per interrupt (\!). May convert PCM playback to use the same method as it can still be used in the old manner with some slight mods but has the potential to enable new features since it is more flexible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11668 a1c6a512-1295-4272-9138-f99709370657
* H1x0: Enable optical output to be switched on or off during playback and ↵Michael Sevakis2006-12-05
| | | | | | recording. Fixes FS#6414 - H120 opto out toggle freezes codec. Really DMA just needed a kickstart after setting the optical TXSRC if the peripheral requests were currently enabled (the method of detection). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11661 a1c6a512-1295-4272-9138-f99709370657
* Recent fix "Prevent the click of death when connecting an ipod to usb." is ↵Barry Wardell2006-12-05
| | | | | | useful for the H10 also. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11660 a1c6a512-1295-4272-9138-f99709370657
* Completed target tree move of the ata driver code. Some code cleanup.Jens Arnold2006-12-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11655 a1c6a512-1295-4272-9138-f99709370657
* PCM: A few tiny changes. 1) Recording a) Flush all pending files if filename ↵Michael Sevakis2006-11-29
| | | | | | queue is full or else perpetual flushing of 1 will occur at low bitrates and short split times. b) #ifdef out currently unused bits and save little less than 1/2K 2) Cleanup some declarations. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11623 a1c6a512-1295-4272-9138-f99709370657
* Prevent the click of death when connecting an ipod to usb.Miika Pekkarinen2006-11-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11622 a1c6a512-1295-4272-9138-f99709370657
* iRiver: Channel 2 shouldn't be monitored except for radio playback.Michael Sevakis2006-11-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11616 a1c6a512-1295-4272-9138-f99709370657
* Moved archos button reading to target tree. * Cleanup of button.[ch]. * ↵Jens Arnold2006-11-27
| | | | | | Deactivated serial remote code for recorder FM/V2 as there is no remote pin, saving ~500 bytes of code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11612 a1c6a512-1295-4272-9138-f99709370657
* X5: Slightly lower threshold value to reliably disable constant adc reading ↵Jens Arnold2006-11-26
| | | | | | when no button is pressed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11604 a1c6a512-1295-4272-9138-f99709370657
* Allow GPIO debug screen on Sansa. Also remove a warning from the NAND driverDaniel Ankers2006-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11593 a1c6a512-1295-4272-9138-f99709370657
* Remove some development codeDaniel Ankers2006-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11591 a1c6a512-1295-4272-9138-f99709370657
* ATA callback support for SansaDaniel Ankers2006-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11590 a1c6a512-1295-4272-9138-f99709370657
* Detect USB inserted on SansaDaniel Ankers2006-11-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11585 a1c6a512-1295-4272-9138-f99709370657
* The ADC GPIO init code for the H100 was accidentally put in the H300 driver ↵Linus Nielsen Feltzing2006-11-24
| | | | | | when moving to the target tree git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11582 a1c6a512-1295-4272-9138-f99709370657
* Just correct a comment and see if the build goes differently.Michael Sevakis2006-11-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11578 a1c6a512-1295-4272-9138-f99709370657
* iRiver/iAudio: Added audio_set_recording gain and sound_default to plugin ↵Michael Sevakis2006-11-23
| | | | | | API. Simplified plugin recording by target/-ing some audio functions. UDA1380 records with WSPLL as a result. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11577 a1c6a512-1295-4272-9138-f99709370657
* Audio bugfixes. Should wait for voice codec to reload before returning ↵Michael Sevakis2006-11-22
| | | | | | buffer when stealing voice. Certain variables that get or may get used during an IRQ should be declared 'volatile'. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11572 a1c6a512-1295-4272-9138-f99709370657
* Sansa doesn't use a Wolfson codec. Various other changes to allow Sansa to ↵Daniel Ankers2006-11-22
| | | | | | compile correctly with a normal build. Based on FS#6336 by Pavel Gnelitsa git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11570 a1c6a512-1295-4272-9138-f99709370657
* Add several dummy functions to allow Sansa to build correctlyDaniel Ankers2006-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11568 a1c6a512-1295-4272-9138-f99709370657