Commit graph

11797 commits

Author SHA1 Message Date
Daniel Stenberg
37aeb12cc9 If the environment variable 'POOL' is set to a directory, this script will
then check if there's a previously generated mp3 file in it and if so, use
that instead of regenerating a new one. This should greately enhance
processing speed when many phrases are similar between targets and over time.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11835 a1c6a512-1295-4272-9138-f99709370657
2006-12-23 22:03:49 +00:00
Daniel Stenberg
cab7c46091 corrected two URLs for H10 bootloaders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11834 a1c6a512-1295-4272-9138-f99709370657
2006-12-22 13:30:03 +00:00
Miika Pekkarinen
c8a9ca748d Try to make sure dircache state file on flashed H1xx targets is
handled correctly and no old state is never used.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11833 a1c6a512-1295-4272-9138-f99709370657
2006-12-22 09:11:09 +00:00
Jonathan Gordon
7258b5e51a Make AB mode uable on the ipods. In AB mode select is used to set/reset
the markers in he WPS. AB mode must be disblaed ot get into the browser.
This can allow the Ondio's to have AB mode but it makes rombox too
large.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11832 a1c6a512-1295-4272-9138-f99709370657
2006-12-22 05:19:56 +00:00
Dave Chapman
26b02415cb Add the --add-bootloader-bin (-ab) option to add a binary bootloader (a raw .bin file with no kind of header). This can be used to install the ipodlinux loader2 bootloader without needing to convert it to the Rockbox ".ipod" format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11831 a1c6a512-1295-4272-9138-f99709370657
2006-12-21 21:34:46 +00:00
Michael DiFebbo
5d61c0b46c Corrected links in the ipod installation instructions and some other small corrections.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11830 a1c6a512-1295-4272-9138-f99709370657
2006-12-21 21:19:41 +00:00
Michael DiFebbo
19e30840b3 First draft of updates to manual to include the installation instructions for the new ipod bootloader. Still needs a lot of clean-up. Also flipped the installation instructions for the bootloader and the firmware build for all SWCODEC platforms. Instructions for installing the build now come before instructions for installing the bootloader. This should eliminate some confusion from those who tried to boot Rockbox after installing the bootloader but before installing a build, and received the -1 error.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11829 a1c6a512-1295-4272-9138-f99709370657
2006-12-21 20:54:20 +00:00
Daniel Ankers
a26519680a Fix bug accessing data above 4Gb in Sansa
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11828 a1c6a512-1295-4272-9138-f99709370657
2006-12-21 18:32:47 +00:00
Marcoen Hirschberg
d359193bd8 playlists should now be saved as m3u8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11827 a1c6a512-1295-4272-9138-f99709370657
2006-12-21 09:07:23 +00:00
Michael Sevakis
d19ca324fc Lil' tweak to plugins using remove_thread. Just use remove_thread(NULL) to have a thread remove itself. No subsequent yield() is needed either. Small Note: in current scheduler implementation it safe to call remove_thread IFF 1) thread removes itself 2) its state is known to be running (1 implies 2) as any objects with the waiting removed thread will be corrupted (m->thread, q->thread no longer valid or no longer same object if recycled, etc.).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11826 a1c6a512-1295-4272-9138-f99709370657
2006-12-21 02:33:01 +00:00
Jörg Hohensohn
bb0358647d renamed biglba to lba48, plus a slight optimization
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11825 a1c6a512-1295-4272-9138-f99709370657
2006-12-20 22:08:29 +00:00
Barry Wardell
977c69f819 iPod 3G is also PortalPlayer so should use the common USB driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11824 a1c6a512-1295-4272-9138-f99709370657
2006-12-20 18:03:40 +00:00
Barry Wardell
4b54302b07 Combine USB code for all PortalPlayer targets since they most likely all use 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
2006-12-20 15:28:32 +00:00
Marcoen Hirschberg
57228769a2 fix typo, noticed by Steve Gotthardt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11822 a1c6a512-1295-4272-9138-f99709370657
2006-12-20 10:05:27 +00:00
Dave Chapman
ef95697146 Remove stray CR characters introduced by the previous BIGLBA commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11821 a1c6a512-1295-4272-9138-f99709370657
2006-12-20 08:52:35 +00:00
Jörg Hohensohn
f5bb7660aa Preparation for disks >137 GB, use BigLBA 48 bit addressing if necessary. Only activated with compile flag HAVE_BIGLBA.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11820 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 22:40:23 +00:00
Michael Sevakis
26c514673d Woops. Missed a file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11819 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 17:05:20 +00:00
Michael Sevakis
4b902679cc Convert queues to use intptr_t for event data and return values as most of 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
2006-12-19 16:50:07 +00:00
Jonathan Gordon
d152b6492a update the runtime screen and move it to the inf menu instead of debug
menu


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11817 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 12:26:03 +00:00
Jonathan Gordon
6efad93713 revert my previous commit, Save your settings manually to a .cfg if you
are worried about settings not taking effect.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11816 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 12:03:20 +00:00
Barry Wardell
2f16d4f1b3 Add working dual-boot bootloaders for H10 and Sansa, which allow booting the 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-19 11:33:53 +00:00
Jonathan Gordon
6f4f589164 Force saving settings to disk on shutdown. Better an extra disk write
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-19 11:05:07 +00:00
Jens Arnold
5833f05acb Forgot to remove the ata_address_detect() declaration.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11813 a1c6a512-1295-4272-9138-f99709370657
2006-12-19 09:30:14 +00:00
Jens Arnold
28fd4b7228 Archos: Moved the ata_address_detect() code into ata_device_init(), removing 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-19 09:27:41 +00:00
Jonathan Gordon
3bceded793 Accept FS#5344 by Mike Schmitt. Add a "shuffle and track skip" option to
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-19 01:26:37 +00:00
Dave Chapman
89990b0ca8 Clarify the text concerning the link to IpodInstallationBeta
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11810 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 23:28:45 +00:00
Dave Chapman
dd3a9198ac Add a temporary warning that the manual version of the ipod install 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-18 23:02:17 +00:00
Nils Wallménius
49385671a9 Correct key combo to enter Morse mode in the virtual keyboard for iriver 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-18 20:01:36 +00:00
Barry Wardell
a69b53dc89 Add support for Sansa scrollwheel backlight. Turn light on when scrollwheel 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-18 19:08:41 +00:00
Barry Wardell
e90006133b Hardcode a value for the battery level until we figure out the power management on the Sansa.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11806 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 18:56:45 +00:00
Michael Sevakis
110ae31e2f Oops. Forgot rockmacros.h.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11805 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 17:49:04 +00:00
Michael Sevakis
bb7d7eca8c Doom plugin: Enable reading of DEH files. Please test for real though. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11804 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 17:38:21 +00:00
Martin Scarratt
8ab6ac7739 Enable morse mode in the virtual keyboard for Ipods. Keymap changes in VK: 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-18 16:57:48 +00:00
Nils Wallménius
342c50f26b Add a bit more info to the working with playlists chapter, made the description of Insert clearer, thanks to Falco98
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11802 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 14:10:09 +00:00
Barry Wardell
82db32ee17 Fix last build warning from PP recording changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11801 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 13:20:27 +00:00
Dave Chapman
af15c6b266 Add ipodpatcher to the source tarballs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11800 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 13:07:55 +00:00
Barry Wardell
1cf6cdf6ac Fix more warnings. Don't compile PortalPlayer pcm code in bootloader builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11799 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 02:58:23 +00:00
Barry Wardell
f2c03e827e Fix more compile errors/warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11798 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 02:37:35 +00:00
Jonathan Gordon
cf887d6e68 force sane colours on sudoku so the board is viewable on light-on-dark themes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11797 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 02:33:39 +00:00
Barry Wardell
ca7a264a82 Fix compile errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11796 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 02:18:56 +00:00
Barry Wardell
decef18a94 Fix some warnings from previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11795 a1c6a512-1295-4272-9138-f99709370657
2006-12-18 02:09:10 +00:00
Barry Wardell
df0dc2262e FS#6096. Recording on PortalPlayer targets (H10, iPod Video, iPod 4g, iPod 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-18 01:52:21 +00:00
Dave Chapman
440353a9aa Oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11793 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 23:04:40 +00:00
Dave Chapman
57b84b69e9 Add a simple --scan option which tests all disks from 0 to 25 to see if they look like an ipod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11792 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 23:00:15 +00:00
Nils Wallménius
5774709d15 One #if less :-D
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11791 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 22:53:25 +00:00
Nils Wallménius
b757b50d0a Add colon and semicolon to the default virtual keyboard, clean up some 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-17 19:51:30 +00:00
Magnus Holmgren
c0b2862956 Fix freeze/crash problems when scrolling very long strings (like filenames or tags).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11789 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 15:40:13 +00:00
Michael Sevakis
84a013ea41 Attempt at fixing 64-bit sim warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11788 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 14:47:12 +00:00
Barry Wardell
d4a46cba30 I2S_MASTER is bit 25, not 0x25
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11787 a1c6a512-1295-4272-9138-f99709370657
2006-12-17 14:00:29 +00:00
Michael Sevakis
c02e15fe26 Coldfire: More efficient and compact peaking code. Hope the build doesn't 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-17 11:56:30 +00:00