Steve Gotthardt
93b047fffe
Updated buttonlights for the Gigabeat port. Added LCD controller off and on for extra power savings - thanks to Greg White. Incorporated feedback from Gary Allen. Added 'battery charging' mode: shows leds during charging. Added 'follow' mode that turns off leds when backlight goes off. Flicker mode and new solid mode only show during disk access. Access settings from Info/debug menu for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11945 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 08:53:36 +00:00
Greg White
5693622cd4
Make lcd_enable more tolerant of multiple calls
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11943 a1c6a512-1295-4272-9138-f99709370657
2007-01-08 02:31:12 +00:00
Dominik Riebeling
8cce37f161
"Trash Metal" should be "Thrash Metal". Reported as FS#6503, checked against Winamp.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11942 a1c6a512-1295-4272-9138-f99709370657
2007-01-07 23:10:21 +00:00
Jens Arnold
2f428871ea
Allow one more thread on swcodec to make mpegplayer work on targets with remote LCD and voice file present.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11937 a1c6a512-1295-4272-9138-f99709370657
2007-01-07 11:59:59 +00:00
Steve Gotthardt
a0c3f81d10
Added header include to suppress compiler warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11936 a1c6a512-1295-4272-9138-f99709370657
2007-01-07 06:56:24 +00:00
Steve Gotthardt
c07814fce1
Revamped the backlight state machine and added buttonlight controls. Go to the Info/debug menu and test out the new modes for buttonlights on the Gigabeat - ON, OFF, Faint, and flicker - flickers on touchpad and disk reads.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11935 a1c6a512-1295-4272-9138-f99709370657
2007-01-07 06:38:57 +00:00
Greg White
45bef7d914
Fix range for cache cleans
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11928 a1c6a512-1295-4272-9138-f99709370657
2007-01-06 02:48:26 +00:00
Greg White
ebcd762fb2
Read byte by byte rather than DMA for unaligned transfer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11927 a1c6a512-1295-4272-9138-f99709370657
2007-01-06 01:26:36 +00:00
Steve Gotthardt
ccfa883d78
The i2c driver did not conform with i2c spec and was missing the restart. Some of the commands worked, but not every time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11915 a1c6a512-1295-4272-9138-f99709370657
2007-01-05 08:50:09 +00:00
Greg White
5668505d6b
Switch DMA wait loop to idle CPU
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11914 a1c6a512-1295-4272-9138-f99709370657
2007-01-05 04:17:25 +00:00
Greg White
922c0d6d33
Fix simulator build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11910 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 12:13:56 +00:00
Greg White
ae5cf68e48
Created
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11909 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:56:49 +00:00
Greg White
fbc1612a51
Move invalidate_icache macro to function in GB target tree, GB only
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11908 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:45:06 +00:00
Greg White
9d0faed29c
Use DMA for Blit to screen/clear
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11906 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:43:33 +00:00
Greg White
dd7b75bd2c
Flush DMA buffers for DMA
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11905 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:36:25 +00:00
Greg White
6eb81e2dc8
ATA reads now use DMA
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11904 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:35:09 +00:00
Greg White
0b4f3d9cfa
Move system specific reboot
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11903 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:33:13 +00:00
Greg White
6c62f2f32a
Add cache control
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11902 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:26:45 +00:00
Greg White
85d5451f3b
Add clean_dcache
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11901 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 11:10:46 +00:00
Greg White
d45da93f27
Created
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11900 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 10:16:40 +00:00
Steve Gotthardt
775c901f76
Implementing backlight fade for the Gigabeat. Note that fading is the normal behaviour. Settings for LCD off and fade settings will be coming.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11899 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 09:32:49 +00:00
Steve Gotthardt
6d101042c6
Added HAVE_BACKLIGHT_SET_FADING because the Gigabeat backlight works that way.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11898 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 09:30:14 +00:00
Steve Gotthardt
b3a0bcd6f3
Added minimal changes to allow Gigabeat and other ports with settable backlights to fade. Use define: HAVE_BACKLIGHT_SET_FADING (as opposed to the PWM).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11897 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 09:28:43 +00:00
Steve Gotthardt
26496ce72f
Optimized the timing for the delay and changed the startup delay.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11896 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 09:26:32 +00:00
Steve Gotthardt
e4e42707fe
Moved the HAVE_USB_POWER into the !Simulator section so that the simulator build would work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11895 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 05:00:51 +00:00
Steve Gotthardt
2aa3e3f63c
Changed the delay loop to run faster and more accurate. Made the internal functions 'static'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11894 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 03:31:03 +00:00
Greg White
23b722d4a9
Created
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11893 a1c6a512-1295-4272-9138-f99709370657
2007-01-04 02:50:45 +00:00
Barry Wardell
4f8e7250f4
iPod USB code has already been moved to the target tree so it's not used here any more.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11884 a1c6a512-1295-4272-9138-f99709370657
2007-01-02 15:46:37 +00:00
Dave Chapman
147693819d
Split the enable_fiq(fiq_handler) function into separate set_fiq_handler(fiq_handler) and enable_fiq(void) functions. This allows temporary disabling of the FIQ without knowing which fiq handler is in use.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11875 a1c6a512-1295-4272-9138-f99709370657
2007-01-01 12:09:45 +00:00
Jens Arnold
9d9b8c08de
Another modified-build simplification: Just uncomment the #define for an ATA power-off enabled player build. Read the warning though, and test before flashing such a build for the first time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11874 a1c6a512-1295-4272-9138-f99709370657
2006-12-31 10:48:53 +00:00
Jens Arnold
68ae800d2d
Made building for backlight-modded Ondios a bit easier: Just uncomment the #defines
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11868 a1c6a512-1295-4272-9138-f99709370657
2006-12-30 22:01:21 +00:00
Marcoen Hirschberg
6d15996e6d
add missing variable declaration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11862 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 23:42:43 +00:00
Marcoen Hirschberg
c0c97e5d3d
remove debug code and unsused variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11861 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 23:35:31 +00:00
Marcoen Hirschberg
6a6c2dcb17
fix idle mode for the gigabeat
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11860 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 23:29:04 +00:00
Marcoen Hirschberg
5dc0abda11
no need to prefill the i2s fifo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11856 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 15:45:51 +00:00
Marcoen Hirschberg
23a0823b84
don't ignore remote when hold is on
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11855 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 15:44:43 +00:00
Marcoen Hirschberg
295367686e
merge a big part of the unofficial gigabeat cvs back. Includes working bootloader and rockbox with audio.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
2006-12-29 02:49:12 +00:00
Brandon Low
b47bc8abb9
Make recording compile without priority scheduling
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11837 a1c6a512-1295-4272-9138-f99709370657
2006-12-25 15:38:27 +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
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
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
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
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
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