summaryrefslogtreecommitdiff
path: root/firmware/target/arm/system-pp502x.c (follow)
Commit message (Collapse)AuthorAge
* move PP specific files to pp/Rafaël Carré2012-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31533 a1c6a512-1295-4272-9138-f99709370657
* usb-target.h: removeRafaël Carré2011-12-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31498 a1c6a512-1295-4272-9138-f99709370657
* Commit to certain names for cache coherency APIs and discard the aliases.Michael Sevakis2011-12-17
| | | | | | | Wouldn't surprise me a bit to get some non-green. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31339 a1c6a512-1295-4272-9138-f99709370657
* Add a higher level USB detection that prevents fraudulent bus resets from ↵Michael Sevakis2011-01-17
| | | | | | 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
* Convert PortalPlayer iRivers to use USB-mode enabled bootloader. The H10 ↵Michael Sevakis2011-01-17
| | | | | | 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
* Bootloader USB mode for PP502x. Enable only on GoGear SA9200 for the time ↵Michael Sevakis2011-01-15
| | | | | | 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
* Forgot to rename cpucache_flush/_invalidate for PP502x.Thomas Martitz2010-09-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28053 a1c6a512-1295-4272-9138-f99709370657
* ipodvideo: detect ram size at boot (doesn't actually get USED yet)Torne Wuff2010-08-29
| | | | | | | | | This is the first step to allowing a single build which will work on any ipodvideo. A global variable, probed_ramsize, is initialised to either 32 or 64 early in boot. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27937 a1c6a512-1295-4272-9138-f99709370657
* Packard Bell Vibe 500: reset all allowed devices like in the OF.Szymon Dziok2010-03-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25089 a1c6a512-1295-4272-9138-f99709370657
* Add initial Packard Bell Vibe 500 port, by Szymon Dziok Frank Gevaerts2010-01-18
| | | | | | | | Author: Szymon Dziok Flyspray: FS#10912 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24276 a1c6a512-1295-4272-9138-f99709370657
* Merry Christmas Gogear HDD6330 owners! This is the start of the HDD6330 ↵Mark Arigo2009-12-25
| | | | | | port. At the moment, it's essentially a copy of the HDD1630 port with a minimal LCD driver. The touchpad doesn't work as expected, but you can still kind of navigate and listen to music/radio. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24112 a1c6a512-1295-4272-9138-f99709370657
* make tpj1022 bootloader compile again Robert Kukla2009-12-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23892 a1c6a512-1295-4272-9138-f99709370657
* initial commit of remote support for m:robe 100 courtesy of lowlight; ↵Robert Kukla2009-07-26
| | | | | | simulator support including small fixes for the m:robe 500 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22053 a1c6a512-1295-4272-9138-f99709370657
* Merge tCardInfo struct (MMC) and tSDCardInfo struct (SD)Rafaël Carré2009-07-01
| | | | | | | | | | | | | | | | | Put specific members under #ifdef (CONFIG_STORAGE & STORAGE_xx) (2 members for SD and 1 for MMC) Fix a typo: tsac doesn't exist and must be read taac Move card_get_info functions declaration inside hotswap.h to remove mutual inclusion of ata_mmc.h and hotswap.h Move static const data structures from SD drivers into sd.h (sd_exponent and sd_mantissa) Fix sd_command prototypes in SD drivers (card registers are unsigned long) Fix speed calculation in Sansa AMS driver (PP SD driver needs to be checked) Move ata-sd-target.h to sd-pp-target.h to reflect the PP specifity. Now it only contains declaration of microsd_int() Remove unused ata-sd-target.h for injenic TODO: - check if CSD register bits are extracted correctly in PP driver - correctly define read_timeout and write_timeout unit for MMC & SD, and use timeouts in Sansa AMS driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21586 a1c6a512-1295-4272-9138-f99709370657
* Philips SA9200: 1) reset all devices in system_init, 2) revert an earlier ↵Mark Arigo2009-06-19
| | | | | | change in the sd driver, 3) properly detect the charger, 4) add lcd register defines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21347 a1c6a512-1295-4272-9138-f99709370657
* 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio ↵Mark Arigo2009-05-25
| | | | | | working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
* Remove some unused declarationsBertrik Sikken2009-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21010 a1c6a512-1295-4272-9138-f99709370657
* Fixes and improvements for FS#9890 - iPod 5G: LCD sleep, BCM shutdown and ↵Boris Gjenero2009-04-12
| | | | | | | | | | | bootstrap * Ensure LCD is updated if lcd_update() is called while the LCD is initializing * Turn on BCM and LCD in lcd_init_device() if it is off * Speed up lcd_awake() * Shorten minimum length of time BCM must stay off and fix related code git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20695 a1c6a512-1295-4272-9138-f99709370657
* Philips SA9200 fixes: (1) boost in the bootloader like the e200 and c200, ↵Mark Arigo2009-03-14
| | | | | | (2) use the right GPIOs and inits in the SD driver, and (3) add charger detection. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20323 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#9749 by Boris Gjenero for missing PP-targets. Do not reset IDE0 on ↵Andree Buschmann2009-02-21
| | | | | | startup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20075 a1c6a512-1295-4272-9138-f99709370657
* Use DMA for audio playback on PP502x (FS#9910 + some further mods). I can't ↵Michael Sevakis2009-02-19
| | | | | | say at this point about any change in battery life but it frees up a percent or two of CPU cycles as measured in the buffering screen. No change in recording transfers yet. Testing seemed to check out so put it out for general use and see what happens. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20052 a1c6a512-1295-4272-9138-f99709370657
* Make basic cache functions into calls, and get rid of ↵Michael Sevakis2009-02-11
| | | | | | CACHE_FUNCTION_WRAPPERS and CACHE_FUNCTIONS_AS_CALL macros. Rename flush/invalidate_icache to cpucache_flush/invalidate. They're inlined only if an implementation isn't provided by defining HAVE_CPUCACHE_FLUSH/INVALIDATE. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19971 a1c6a512-1295-4272-9138-f99709370657
* Remove struct spinlock to cleanup some mess and simplify. It's only used in ↵Michael Sevakis2009-02-03
| | | | | | boosting for multiprocesors and a pure two-corelock heirarchy will do just fine. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19910 a1c6a512-1295-4272-9138-f99709370657
* Use bus reset detection for all ARC OTG devices. Remove conflict from ↵Michael Sevakis2009-01-22
| | | | | | LV24020LP driver with some GPIO-by-number macros for PP502x. Start monitoring for USB stack once all core threads and queues are created otherwise queues will likely be registered after USB acks. Putting PP502x system_reboot in IRAM (unmapped, uncached) memory seems to help it work more consistently. Hopefully I got all the PP USB connect handlers in the right spot in irq_handler. If device seems unresponsive to cable, check there first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19819 a1c6a512-1295-4272-9138-f99709370657
* PortalPlayer: Implement irq_handler() directly in C code rather than ↵Michael Sevakis2009-01-20
| | | | | | dispatching to irq() from crt0-pp.S. Remove unneeded STUB macros. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19801 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#9749 by Boris Gjenero. Do not reset IDE0 on startup for iPod Video ↵Andree Buschmann2009-01-18
| | | | | | and iPod 4G. Could also be done for H10 and iPod Color, if tested with positive result. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19789 a1c6a512-1295-4272-9138-f99709370657
* Clean up panicf and introduce system_exception_wait to do further target ↵Michael Sevakis2009-01-08
| | | | | | tasks and wait for a button when an unrecoverable error has occurred (panic, UIE, etc.). Returning from that function should reboot or don't return from it. Move UIE and __div0 for ARM to its own file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19716 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes ↵Michael Giacomelli2008-12-25
| | | | | | Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19585 a1c6a512-1295-4272-9138-f99709370657
* Working touchpad for the Philips HDD1630 using the Synaptics driver. Like ↵Mark Arigo2008-12-19
| | | | | | the m:robe 100, the strip is divided into up, select, and down button regions. You can't swipe like in the OF. The keymap still needs some work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19480 a1c6a512-1295-4272-9138-f99709370657
* Move declaration of button_int and clickwheel_int to the proper header file ↵Bertrik Sikken2008-06-29
| | | | | | instead of declaring it locally in the .c file git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17874 a1c6a512-1295-4272-9138-f99709370657
* Moved microsd_int declaration from system-pp502x.c to ata-sd-target.hBertrik Sikken2008-06-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17855 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Rename CPU/COP_INT_CLR to CPU/COP_INT_DIS since it's really a 'write one to ↵Michael Sevakis2008-06-03
| | | | | | disable' register and hasn't anything to do with acknowledging interrupts-- that's handled at the module level. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17683 a1c6a512-1295-4272-9138-f99709370657
* Philips GoGear SA9200 port. Working bootloader and normal builds, including ↵Mark Arigo2008-05-21
| | | | | | sound. No touchpad now, buttons limited to using vol+/vol-/power for up/down/select. Rockbox USB is enabled since the OF is MTP only...read the warnings on the PortalPlayerUsb wiki page. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17591 a1c6a512-1295-4272-9138-f99709370657
* Preparing for the Philips SA9200 part 2. Since the SA9200 doesn't have a ↵Mark Arigo2008-05-13
| | | | | | microsd card (no hotswap), use HAVE_ATA_SD for the Sansa flash driver so we don't rely on HAVE_HOTSWAP in some places. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17488 a1c6a512-1295-4272-9138-f99709370657
* Fix warning.Barry Wardell2008-04-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17173 a1c6a512-1295-4272-9138-f99709370657
* FS#8642: Improve boot time on Sansa bootloaders by boosting the CPU. This ↵Barry Wardell2008-04-19
| | | | | | only has any noticable effect if the OF bootloader is fully replaced with the RB BL. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17172 a1c6a512-1295-4272-9138-f99709370657
* Change the remaining set_interrupt_status usage to the more parsimonious ↵Michael Sevakis2008-03-31
| | | | | | disable/enable/restore. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16897 a1c6a512-1295-4272-9138-f99709370657
* Modification to scale_suspend_core to prevent a potential permanent freezing ↵Michael Sevakis2008-03-21
| | | | | | of the other core. Just unfreeze it unconditionally after freezing it since it really makes no difference to do so right now. Don't bother with freezing/unfreezing if compiling as single. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16731 a1c6a512-1295-4272-9138-f99709370657
* Correct DEV_TIMING for CPUFREQ_DEFAULT. Was changed by fault in former power ↵Andree Buschmann2008-03-19
| | | | | | management commit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16716 a1c6a512-1295-4272-9138-f99709370657
* Revert accidental tree commit. Sorry for that.Jens Arnold2008-03-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16574 a1c6a512-1295-4272-9138-f99709370657
* No need to have \n here. panicf() won't output it anyway.Jens Arnold2008-03-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16570 a1c6a512-1295-4272-9138-f99709370657
* FS#8272 - Erratic reboot behaviour on sansa e200. Makes reboot on USB ↵Barry Wardell2008-03-04
| | | | | | connect work consistently. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16512 a1c6a512-1295-4272-9138-f99709370657
* Driver for the Synaptics touchpad on the m:robe 100 based on the 3-wire ↵Mark Arigo2008-02-24
| | | | | | interface spec. Needs some tweaking as it's too sensitive with the default hardware settings. For now, the vertical strip is divided into up/select/down buttons. Also, redo the keymap (using the Gigabeat as a starting point), but it still needs a good bit of work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16400 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#8379 by Andree Buschmann. Disables much of the remaining unneeded ↵Michael Giacomelli2008-02-10
| | | | | | hardware on PP50xx targets (Ipods, Sansa, H10s, etc) resulting in a large savings in power and consequent increase in battery life. Results vary from target to target and from codec to codec, but we now approach the OF runtime on several PP devices. For now, leave base CPU clock at 30MHz, although further savings is possible with some codecs if clock is reduced. Additionally, fix battery capacity on c200 and use my measurements to improve runtime estimation for Sandisk targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16259 a1c6a512-1295-4272-9138-f99709370657
* mrobe 100: (1) device reset in system_init is same as H10. (2) make ↵Mark Arigo2008-02-03
| | | | | | power_off actually work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16203 a1c6a512-1295-4272-9138-f99709370657
* Enable reboot on USB-insert for e200, as it works when done c200-styleDaniel Stenberg2007-11-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15818 a1c6a512-1295-4272-9138-f99709370657
* New USB stackBjörn Stenberg2007-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15758 a1c6a512-1295-4272-9138-f99709370657
* Fix for Nano timing issues, should resolve crashes, data aborts, and Paul Louden2007-11-20
| | | | | | | | general glitchiness in playback. Based on the patch in FS#7510 by Jordan Anderson. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15705 a1c6a512-1295-4272-9138-f99709370657
* Mini 2nd Gen: Almost doubled LCD update speed when not boosted (68.5->129fps ↵Jens Arnold2007-11-08
| | | | | | @30MHz) by handling the serial LCD clock divider. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15524 a1c6a512-1295-4272-9138-f99709370657