Commit graph

8375 commits

Author SHA1 Message Date
Maurus Cuelenaere
980225c3e2 Fix Onda VX777 LCD not working on boot
This fixes an issue with some Onda VX777's where the LCD doesn't seem to be
correctly inited by the OF SPL.

Based on FS#11888 by Purling Nayuki.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29083 a1c6a512-1295-4272-9138-f99709370657
2011-01-18 12:10:09 +00:00
Mustapha Senhaji
ccad6d0daf Few whitespace fixes by Michael Hohmuth FS#11885
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29082 a1c6a512-1295-4272-9138-f99709370657
2011-01-18 00:37:17 +00:00
Michael Sevakis
0ecb0fe6b1 One change in r29068 wasn't right. Clarify comments on why it's the way it is. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29070 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 13:12:22 +00:00
Michael Sevakis
05f6f3419a Add a higher level USB detection that prevents fraudulent bus resets from causing USB mode to be entered. Enable for SA9200 only at this time. Also, for SA9200, use the bus power GPIO rather than the 'connector inserted' GPIO to detect the cable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29068 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 12:24:41 +00:00
Michael Sevakis
bcc0f88372 Convert PortalPlayer iRivers to use USB-mode enabled bootloader. The H10 5/6GB already has a pre-boot USB mode (so it's a little redundant there) but building them the same way is simpler.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29067 a1c6a512-1295-4272-9138-f99709370657
2011-01-17 06:50:27 +00:00
Michael Sevakis
cc0800a200 Fix r29062 warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29063 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 01:48:15 +00:00
Michael Sevakis
76083359e0 e200v1 seems to be ok using USB-enabled bootloader. Also, include the bootloader USB .lds into the boot.lds instead of pasting into every one to keep things sane for now-- commented upon inside.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29062 a1c6a512-1295-4272-9138-f99709370657
2011-01-16 01:40:15 +00:00
Michael Sevakis
bb54c8f315 Fix problem with AMS PCM driver that caused mpegplayer lockup. It pre-decremented the size remaining where it is supposed to be post-decremented by the last transfer size in the callback. Pending callbacks also must be cleared when stopping or pausing a channel if they happened before the lock flag was set.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29059 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 12:13:56 +00:00
Michael Sevakis
f74806e8bc Oops...have to mind the boot.lds variation in /firmware/target/arm/philips by bootloader USB mode or not.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29057 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 09:38:23 +00:00
Michael Sevakis
0647c9e1e7 Get the last warning for vibe 500 bootloader.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29056 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 09:11:38 +00:00
Michael Sevakis
71651cacb6 Fix r29053 red and a leftover use of 'usb' variable as a bool rather than int in main-pp.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29054 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 08:52:59 +00:00
Michael Sevakis
3a1127785b Bootloader USB mode for PP502x. Enable only on GoGear SA9200 for the time being. Add HAVE_BOOTLOADER_USB_MODE to config if BOOTLOADER is defined to enable it. Clean up some kernel stuff a little to support it. Mess up a bunch of other stuff (hopefully not too badly).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29053 a1c6a512-1295-4272-9138-f99709370657
2011-01-15 08:19:30 +00:00
Nils Wallménius
54424fa616 Fix warning when linking booltoaders with the new toolchain by marking .bss section NOLOAD, thanks for gevaerts for testing on his x5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29037 a1c6a512-1295-4272-9138-f99709370657
2011-01-12 21:24:44 +00:00
Andree Buschmann
13435127b7 Fix FS#11820. Implement LCD shutdown for iPod Photo/Color and iPod nano 1G. The code was taken from FS#10034 and slightly changed to avoid white flashing when shutting off the display.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29033 a1c6a512-1295-4272-9138-f99709370657
2011-01-12 07:36:02 +00:00
Michael Sevakis
267ac4b79b SA9200: Adjust touchpad sensitivities so that actual contact with the player is needed to cause button presses and hopefully those settings will work nicely. Add a parameter read function to the MEP driver for debugging and RE purposes; enable compilation of it if you want to use it. Make a note in power-sa9200.c about button inits.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29032 a1c6a512-1295-4272-9138-f99709370657
2011-01-11 23:48:29 +00:00
Michael Sevakis
6a73367ee6 SA9200: Implement the backlight hold handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29030 a1c6a512-1295-4272-9138-f99709370657
2011-01-11 04:51:24 +00:00
Michael Sevakis
ce703c85d9 SA9200: Give LCD about an 8% speedup. Sync optional LCD settings to defaults in lcd_init_device.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29029 a1c6a512-1295-4272-9138-f99709370657
2011-01-11 04:33:57 +00:00
Michael Sevakis
0dd74ca722 SA9200: Add YUV blitting, do full-screen updates more efficiently and properly clip partial updates. Plugin struct becomes incompatible for this target but leave version alone since it's still dev-only.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29028 a1c6a512-1295-4272-9138-f99709370657
2011-01-11 01:21:31 +00:00
Andree Buschmann
2e686eca63 Revert unneeded change from r29026.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29027 a1c6a512-1295-4272-9138-f99709370657
2011-01-10 21:04:10 +00:00
Andree Buschmann
9c5ce4d42e iPod Video LCD: Avoid white flash when entering sleep mode or shutting off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29026 a1c6a512-1295-4272-9138-f99709370657
2011-01-10 20:56:19 +00:00
Marcin Bukat
91d8fe0848 HD300 - adjust default battery capacity (based on battery benches)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29021 a1c6a512-1295-4272-9138-f99709370657
2011-01-10 14:19:05 +00:00
Michael Sparmann
dd6990d698 Fix iPod Classic LCD problems
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29009 a1c6a512-1295-4272-9138-f99709370657
2011-01-08 21:01:06 +00:00
Michael Sevakis
1b275d8ddb Some static data is only used by .init functions. Add .initdata to declare such data (otherwise section conflicts arise). For i.MX31, use INITDATA_ATTR in the appropriate places.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29008 a1c6a512-1295-4272-9138-f99709370657
2011-01-08 20:42:51 +00:00
Michael Sparmann
44f924f8b4 Adjust iPod Classic CPU clock speed constants to at least roughly correct values
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29005 a1c6a512-1295-4272-9138-f99709370657
2011-01-08 01:05:27 +00:00
Michael Sparmann
e1eb3abee4 Oops, that didn't belong in there.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29003 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 23:35:29 +00:00
Michael Sparmann
9b5c95f557 Fix CS42L55 (iPod Classic) tone control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29002 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 23:09:09 +00:00
Michael Sparmann
0e773ad92c Implement hold switch and headphone detection on iPod Classic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29001 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 23:08:01 +00:00
Marcin Bukat
906d2f08ed HD300 - calibrate discharge curve
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28998 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 21:33:06 +00:00
Michael Sevakis
9d97ee1b54 Gigabeat S/i.MX31: Take care of an interrupt priority inversion that can happen during PCM callback lockout when DVFS switches frequecies during the lockout, preventing a thread from unlocking the callback until DVFS finishes, causing an SSI FIFO underrun. Hadn't thought of an acceptable way to deal with it before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28996 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 20:40:36 +00:00
Michael Sparmann
e8e6a3c873 Add LCD type to iPod Classic HW debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28992 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 15:30:30 +00:00
Michael Sparmann
46945eff06 iPod Classic: Fix remaining PCM issues and add DMA information to the HW debug screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28991 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 15:16:17 +00:00
Michael Sparmann
67a85912c8 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28990 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 14:00:37 +00:00
Michael Sparmann
c7b8d07181 Fix iPod Classic playback slowness
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28989 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 13:55:33 +00:00
Michael Sparmann
03da54bde2 Fix iPod Classic tick timer (still not 100% calibrated, but close enough for now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28988 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 12:26:25 +00:00
Michael Sparmann
d5758731bf Fix iPod Classic USEC_TIMER
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28987 a1c6a512-1295-4272-9138-f99709370657
2011-01-07 12:09:54 +00:00
Michael Sparmann
249d628ab8 iPod Classic: Unmute amplifiers when setting volume (fixes resuming paused playback)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28982 a1c6a512-1295-4272-9138-f99709370657
2011-01-06 23:59:32 +00:00
Michael Sparmann
ff4749b4b3 Fix volume control on iPod Classic
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28980 a1c6a512-1295-4272-9138-f99709370657
2011-01-06 23:26:43 +00:00
Michael Sevakis
89a7a8138e Gigabeat S: Make it a removable mass-storage device. Windows will assign a drive to only the main data partition by default. To access the bootloader partition instead, press 'Vol -' while it connects (in bootloader and firmware). Hopefully doesn't break anything for anyone.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28972 a1c6a512-1295-4272-9138-f99709370657
2011-01-05 19:35:51 +00:00
Michael Sevakis
18f4889d63 Fix USB storage driver. ata_get_info was no longer filling-in num_sectors after recent ATA changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28962 a1c6a512-1295-4272-9138-f99709370657
2011-01-04 17:17:38 +00:00
Michael Sparmann
f8fde296a6 Remove files accidentally commited in 28953
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28959 a1c6a512-1295-4272-9138-f99709370657
2011-01-03 13:24:27 +00:00
Michael Sparmann
80b50e7587 Fix regression from r28950: ATA broken on MPIO and possibly other targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28957 a1c6a512-1295-4272-9138-f99709370657
2011-01-03 13:09:42 +00:00
Andree Buschmann
b23e51050f Remove unneeded check for swapping in iPod nano1G/color LCD driver. For nano1G and color yo/y1 this swap never happened, for color x0/x1 it was always swapped.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28956 a1c6a512-1295-4272-9138-f99709370657
2011-01-03 07:03:07 +00:00
Michael Sparmann
152847977a New port: iPod Classic (also known as iPod 6G/6.5G/7G)
Major known issues:
- No bootloader yet
- No support for the first-generation 160GB CE-ATA hard disk drive yet
- Audio playback is slow, only FLAC seems to reach realtime


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28953 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 23:16:27 +00:00
Michael Sparmann
6f40387e74 Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28952 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 23:09:01 +00:00
Michael Sparmann
1a1fc09863 Fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28951 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 23:02:55 +00:00
Michael Sparmann
9339be1279 Rework ATA driver to get rid of lots of target-specific constants and allow for non-memory-mapped task file registers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28950 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 22:51:47 +00:00
Michael Sparmann
7fea136903 Autodetect sector size on superfloppy volumes based on the FAT32 BPB (kudos to Frank Gevaerts)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28946 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 22:28:22 +00:00
Andree Buschmann
9f78d38097 Submit FS#11843 v17. Integrate YUV-blitting of nano 2G to nano1G/color LCD driver. Additionally refactor RGB and YUV screen updates to use same code fragments and save some binsize. YUV speedup is +3-4%, RGB 1/4 screen +2%.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28944 a1c6a512-1295-4272-9138-f99709370657
2011-01-02 21:43:14 +00:00
Michael Sevakis
4048cf27a2 Gigeabeat S: Reset DMA size info when stopping audio playback and recording transfers so that size remaing/peak buffer calls return 0/NULL when stopped.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28941 a1c6a512-1295-4272-9138-f99709370657
2011-01-01 22:35:00 +00:00
Andree Buschmann
5f43d0db5c Fix comment.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28940 a1c6a512-1295-4272-9138-f99709370657
2011-01-01 20:10:19 +00:00