summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2006-12-19Add working dual-boot bootloaders for H10 and Sansa, which allow booting the ↵Barry Wardell13-321/+239
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
2006-12-19Force saving settings to disk on shutdown. Better an extra disk writeJonathan Gordon1-0/+2
than losing settings (this shouldnt be needed, so a better fix is being looked into) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11814 a1c6a512-1295-4272-9138-f99709370657
2006-12-19Forgot to remove the ata_address_detect() declaration.Jens Arnold1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11813 a1c6a512-1295-4272-9138-f99709370657
2006-12-19Archos: Moved the ata_address_detect() code into ata_device_init(), removing ↵Jens Arnold3-22/+17
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
2006-12-19Accept FS#5344 by Mike Schmitt. Add a "shuffle and track skip" option toJonathan Gordon6-9/+45
crossfade. Bumps config versino, so SAVE SETTINGS before updating. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11811 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Clarify the text concerning the link to IpodInstallationBetaDave Chapman1-3/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11810 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Add a temporary warning that the manual version of the ipod install ↵Dave Chapman1-6/+5
instructions are out of date and a link to the IpodInstallationBeta wiki page. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11809 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Correct key combo to enter Morse mode in the virtual keyboard for iriver ↵Nils Wallménius9-10/+24
h100 and h300 players. Add key to enter Morse mode for ipods and update other keys that has changed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11808 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Add support for Sansa scrollwheel backlight. Turn light on when scrollwheel ↵Barry Wardell1-1/+32
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
2006-12-18Hardcode a value for the battery level until we figure out the power ↵Barry Wardell1-1/+5
management on the Sansa. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11806 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Oops. Forgot rockmacros.h.Michael Sevakis1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11805 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Doom plugin: Enable reading of DEH files. Please test for real though. :)Michael Sevakis1-73/+93
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11804 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Enable morse mode in the virtual keyboard for Ipods. Keymap changes in VK: ↵Martin Scarratt2-4/+6
Play(instead of long select) - accept & exit, Long menu - toggle morse mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11803 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Add a bit more info to the working with playlists chapter, made the ↵Nils Wallménius1-9/+28
description of Insert clearer, thanks to Falco98 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11802 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Fix last build warning from PP recording changes.Barry Wardell1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11801 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Add ipodpatcher to the source tarballsDave Chapman1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11800 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Fix more warnings. Don't compile PortalPlayer pcm code in bootloader builds.Barry Wardell2-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11799 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Fix more compile errors/warnings.Barry Wardell2-1/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11798 a1c6a512-1295-4272-9138-f99709370657
2006-12-18force sane colours on sudoku so the board is viewable on light-on-dark themesJonathan Gordon1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11797 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Fix compile errors.Barry Wardell2-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11796 a1c6a512-1295-4272-9138-f99709370657
2006-12-18Fix some warnings from previous commit.Barry Wardell2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11795 a1c6a512-1295-4272-9138-f99709370657
2006-12-18FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod ↵Barry Wardell24-367/+959
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
2006-12-17OopsDave Chapman1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11793 a1c6a512-1295-4272-9138-f99709370657
2006-12-17Add a simple --scan option which tests all disks from 0 to 25 to see if they ↵Dave Chapman4-62/+149
look like an ipod. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11792 a1c6a512-1295-4272-9138-f99709370657
2006-12-17One #if less :-DNils Wallménius1-3/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11791 a1c6a512-1295-4272-9138-f99709370657
2006-12-17Add colon and semicolon to the default virtual keyboard, clean up some ↵Nils Wallménius1-10/+8
unneccesary includes and exclude vkeyboard for larger displays from builds where it was never used -- saves approx 300 bytes on achos builds git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11790 a1c6a512-1295-4272-9138-f99709370657
2006-12-17Fix freeze/crash problems when scrolling very long strings (like filenames ↵Magnus Holmgren2-3/+4
or tags). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11789 a1c6a512-1295-4272-9138-f99709370657
2006-12-17Attempt at fixing 64-bit sim warning.Michael Sevakis3-9/+14
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11788 a1c6a512-1295-4272-9138-f99709370657
2006-12-17I2S_MASTER is bit 25, not 0x25Barry Wardell1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11787 a1c6a512-1295-4272-9138-f99709370657
2006-12-17Coldfire: More efficient and compact peaking code. Hope the build doesn't ↵Michael Sevakis1-138/+89
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
2006-12-17Manual license is GFDL, add it to the docs folder.Dominik Riebeling1-0/+397
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11785 a1c6a512-1295-4272-9138-f99709370657
2006-12-17Sims hate me again (or is that the other way). Fixup the stubs.Michael Sevakis1-13/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11784 a1c6a512-1295-4272-9138-f99709370657
2006-12-17SWCODEC recording: More cleanup of stuff after queue additions and audio ↵Michael Sevakis4-60/+33
driver unification. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11783 a1c6a512-1295-4272-9138-f99709370657
2006-12-17Restrict the width of some displayed messages (fixes display on Minis and Nano).Dave Chapman1-0/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11782 a1c6a512-1295-4272-9138-f99709370657
2006-12-17SWCODEC: More recording simplifications and less UI hanging in some cases ↵Michael Sevakis1-37/+16
using queue_send. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11781 a1c6a512-1295-4272-9138-f99709370657
2006-12-17Changes to ipod bootloader to bring in line with the capabilities of ↵Dave Chapman1-41/+124
ipodpatcher: Detect if the bootloader has been installed without the Apple firmware; load the Apple firmware from an apple_os.ipod file on the FAT32 partition. Also change to use hold switch to decide when to boot into the Apple firmware (turning hold on whilst booting will start the Apple firmware). Plus a cosmetic change to white text on a black background. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11780 a1c6a512-1295-4272-9138-f99709370657
2006-12-16Fix to make the gigabeat manual build properly.Martin Arver1-3/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11779 a1c6a512-1295-4272-9138-f99709370657
2006-12-16Commit the kinds of changes that queue_send is mean for.Michael Sevakis2-121/+101
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11778 a1c6a512-1295-4272-9138-f99709370657
2006-12-16Goofed some preprocessor stuff finalizing things.Michael Sevakis1-2/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11777 a1c6a512-1295-4272-9138-f99709370657
2006-12-16Add queue_send synchronous message sending. Right now only for SWCODEC. ↵Michael Sevakis6-31/+440
Actual usage to be added to playback and recording shortly in upcoming commits. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11776 a1c6a512-1295-4272-9138-f99709370657
2006-12-16Initial commit of the sansa platform file. Still lots of errors when ↵Martin Arver1-0/+95
building the manual for the sansa. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11775 a1c6a512-1295-4272-9138-f99709370657
2006-12-16Default to 512-byte sectors on POSIX platforms - this allows testing of ↵Dave Chapman1-1/+2
ipodpatcher with a file instead of a real device git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11774 a1c6a512-1295-4272-9138-f99709370657
2006-12-16Images for the Gigabeat. Graphics by Marianne Arnold.Martin Arver3-0/+1328
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11773 a1c6a512-1295-4272-9138-f99709370657
2006-12-16Add support for scroll wheel to Sansa button driver. Should be replaced with ↵Barry Wardell1-1/+61
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
2006-12-15Initial commit of the gigabeat platform file. Note that the there are lot's ↵Martin Arver1-0/+93
of errors when building the gigabeat manual. This is mainly caused by the plugin key tables. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11771 a1c6a512-1295-4272-9138-f99709370657
2006-12-15Windows appears to require sector-aligned reads, which wasn't happening ↵Dave Chapman1-23/+47
everywhere for ipods with 2048-byte sectors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11770 a1c6a512-1295-4272-9138-f99709370657
2006-12-15Attempt #2 at moving the images to make space for the bootloader. The ↵Dave Chapman1-15/+14
previous attempt was completely broken. This should hopefully fix the --add-bootloader functionality. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11769 a1c6a512-1295-4272-9138-f99709370657
2006-12-15Reorganise the ioctl() #ifdefs - this should fix ipodpatcher for BSDDave Chapman1-7/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11768 a1c6a512-1295-4272-9138-f99709370657
2006-12-14Directory delete: 1) show which directory is being removed when going ↵Peter D'Hoye1-0/+11
through a tree recursively. 2) allow the user to abort while deleting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11767 a1c6a512-1295-4272-9138-f99709370657
2006-12-14Fix a problem when compiling with Dev-C++ - thanks to Paul LoudenDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11766 a1c6a512-1295-4272-9138-f99709370657