summaryrefslogtreecommitdiff
path: root/firmware/common (follow)
Commit message (Collapse)AuthorAge
...
* implement single-driver storage layer with macros instead of inlinesFrank Gevaerts2008-11-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18975 a1c6a512-1295-4272-9138-f99709370657
* Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do ↵Frank Gevaerts2008-11-01
| | | | | | | | | that, it also introduces sd_*, nand_*, and mmc_*. This should be a good first step to allow multi-driver targets, like the Elio (ATA/SD), or the D2 (NAND/SD). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18960 a1c6a512-1295-4272-9138-f99709370657
* ZVM:Maurus Cuelenaere2008-09-07
| | | | | | | | | * Optimize MiniFS handling * Add basic CFS handling (doesn't work yet) * Remove hacky stuff in disk.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18438 a1c6a512-1295-4272-9138-f99709370657
* ok, that was bigger than expected... reduce the max to 12 open dirs as a ↵Jonathan Gordon2008-08-10
| | | | | | happy compromise.., If you still have errors rethink your directory layout git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18235 a1c6a512-1295-4272-9138-f99709370657
* "waste" a bit more RAM on targets with more than 8MB so more directories can ↵Jonathan Gordon2008-08-10
| | | | | | | | | be opened at the same time (most obvious when you have really deep directory trees) closes FS#6410, FS#6512, FS#6514 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18234 a1c6a512-1295-4272-9138-f99709370657
* Onda VX747:Maurus Cuelenaere2008-07-15
| | | | | | | | | | | | | 1) Improve touchscreen handling 2) Add RTC driver 4) Add NAND Flash ID scanning 3) Other minor fixes Nand_ID: Add a generic NAND ID database (currently only containg Samsung chips) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18052 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
* Check for a supported partition type before trying to mount a partition. ↵Jens Arnold2008-05-15
| | | | | | This will reduce the risk of irregular mounts, e.g. due to stray FAT boot sectors when probing the logical sector size on iPod Video. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17530 a1c6a512-1295-4272-9138-f99709370657
* 1) Use a separate config-<target>.h for Zen Vision(:M) (60GB)Maurus Cuelenaere2008-05-14
| | | | | | | 2) Other unrelated cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17503 a1c6a512-1295-4272-9138-f99709370657
* Convert the whole codebase to UTF-8, except docs/COMMITTERS and ↵Nicolas Pennequin2008-05-05
| | | | | | tools/creative.c, which need checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
* Made source files #include the header file that they implement to make sure ↵Bertrik Sikken2008-05-03
| | | | | | they are in sync. Made some local functions static. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17312 a1c6a512-1295-4272-9138-f99709370657
* Added #include <string.h> to memmove.c, memcpy.c and strcat.cBertrik Sikken2008-04-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17285 a1c6a512-1295-4272-9138-f99709370657
* Forgot to #include stdlib.h for atoi implementation.Bertrik Sikken2008-04-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17283 a1c6a512-1295-4272-9138-f99709370657
* Moved atoi declaration to stdlib.h. Deleted atoi.hBertrik Sikken2008-04-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17280 a1c6a512-1295-4272-9138-f99709370657
* Commit whole Creative Zen Vision:M target tree + all related firmware/ Maurus Cuelenaere2008-04-24
| | | | | | | changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17241 a1c6a512-1295-4272-9138-f99709370657
* Killed unnecessary global variables by making them static.Bertrik Sikken2008-04-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17184 a1c6a512-1295-4272-9138-f99709370657
* Fixed FS#7849Bertrik Sikken2008-04-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17123 a1c6a512-1295-4272-9138-f99709370657
* Add a complete priority inheritance implementation to the scheduler (all ↵Michael Sevakis2008-03-25
| | | | | | mutex ownership and queue_send calls are inheritable). Priorities are differential so that dispatch depends on the runnable range of priorities. Codec priority can therefore be raised in small steps (pcmbuf updated to enable). Simplify the kernel functions to ease implementation and use the same kernel.c for both sim and target (I'm tired of maintaining two ;_). 1) Not sure if a minor audio break at first buffering issue will exist on large-sector disks (the main mutex speed issue was genuinely resolved earlier). At this point it's best dealt with at the buffering level. It seems a larger filechunk could be used again. 2) Perhaps 64-bit sims will have some minor issues (finicky) but a backroll of the code of concern there is a 5-minute job. All kernel objects become incompatible so a full rebuild and update is needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16791 a1c6a512-1295-4272-9138-f99709370657
* Hotswap code shuffling: Fix yellow. Simplify some target function access. ↵Michael Sevakis2008-03-12
| | | | | | Keep fat lock access from compiling for Ondios - think of a nicer way later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16637 a1c6a512-1295-4272-9138-f99709370657
* Do some crackdown on kernel object reinitialization after they could be in ↵Michael Sevakis2008-03-12
| | | | | | use and use before initialization. For c200/e200: Be sure fat cache and ata locks are acquired in the proper order during hot swapping. Delay hotswap monitoring until after initial file mounting (address 2nd kobj concern + possible call of fat driver before init). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16636 a1c6a512-1295-4272-9138-f99709370657
* Committed the missing file to r16632.Miika Pekkarinen2008-03-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16634 a1c6a512-1295-4272-9138-f99709370657
* FS#7598 - Dircache support for multivolume targets (by Phil Light).Miika Pekkarinen2008-03-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16632 a1c6a512-1295-4272-9138-f99709370657
* enable partition probing for superfloppy targets; hanging was caused by ↵Robert Kukla2008-03-09
| | | | | | out-of-bounds sector access git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16583 a1c6a512-1295-4272-9138-f99709370657
* Major USB fixes by Frank Gevaerts. Still disabled in builds, #define ↵Björn Stenberg2008-02-11
| | | | | | USE_ROCKBOX_USB to test. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16279 a1c6a512-1295-4272-9138-f99709370657
* Let the FAT namecheck also look for trailing spaces, fixes FS #8560.Peter D'Hoye2008-02-07
| | | | | | Only call the dircache rename function if the actual rename was ok. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16241 a1c6a512-1295-4272-9138-f99709370657
* Dircache state should be checked too to make appflags work in every situation.Miika Pekkarinen2008-01-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16082 a1c6a512-1295-4272-9138-f99709370657
* Always check for deleted files, no matter how slow it might be when DB ↵Miika Pekkarinen2008-01-13
| | | | | | autoupdate is enabled. Also simplified code a bit. Fixed a crash when search is performaed and dircache has been vanished and DB is still exists ram. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16081 a1c6a512-1295-4272-9138-f99709370657
* Initial commit for the Olympus m:robe 100 port (PP5020). The LCD driver ↵Mark Arigo2008-01-09
| | | | | | works. The ADC driver was copied from the H10 port (they can probably be combined later), but the battery readings aren't right and it shuts down. The touch pad buttons do not work. Install the bootloader and rockbox the H10 way. Still lots of work to do. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16030 a1c6a512-1295-4272-9138-f99709370657
* Another fix for file system issues when encountering disk full (like when ↵Peter D'Hoye2007-12-13
| | | | | | recording) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15920 a1c6a512-1295-4272-9138-f99709370657
* Oops. Fix yellow.Nicolas Pennequin2007-11-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15837 a1c6a512-1295-4272-9138-f99709370657
* * Make the Gigabeat S bootloader a bit more interesting: it looks for the ↵Nicolas Pennequin2007-11-27
| | | | | | | | | | first firmware file it finds on the second partition and attempts to load it. Loading fails to get past the splash screen though. * Make the main binary compile. To send a firmware file, use mtp-sendfile. To update you'll need to delete the previous firmware file, as files are named sequentially and the first one is loaded. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15836 a1c6a512-1295-4272-9138-f99709370657
* Make speex the new voice format for SWCODEC targets (non-Archos). Remove ↵Michael Sevakis2007-11-18
| | | | | | codec swapping and build speex voice decoding directly into the core binary. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15668 a1c6a512-1295-4272-9138-f99709370657
* More code police...Peter D'Hoye2007-10-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15353 a1c6a512-1295-4272-9138-f99709370657
* Take out some NOCACHEBSS_ATTR's that were accidentally left. Put some ↵Michael Sevakis2007-10-16
| | | | | | threading code in IRAM that should be there on PP502x. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15155 a1c6a512-1295-4272-9138-f99709370657
* Finally full multicore support for PortalPlayer 502x targets with an eye ↵Michael Sevakis2007-10-16
| | | | | | towards the possibility of other types. All SVN targets the low-lag code to speed up blocking operations. Most files are modified here simple due to a name change to actually support a real event object and a param change to create_thread. Add some use of new features but just sit on things for a bit and leave full integration for later. Work will continue on to address size on sensitive targets and simplify things if possible. Any PP target having problems with SWP can easily be changed to sw corelocks with one #define change in config.h though only PP5020 has shown an issue and seems to work without any difficulties. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15134 a1c6a512-1295-4272-9138-f99709370657
* Fix FS #5852 by trying to properly close and update the recorded file, and ↵Peter D'Hoye2007-10-10
| | | | | | give the FAT the correct file info. Add filehandle checks to some file functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15072 a1c6a512-1295-4272-9138-f99709370657
* Correct a dodgy logf call.Nicolas Pennequin2007-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14955 a1c6a512-1295-4272-9138-f99709370657
* Make codepage Win-1250 actually work on charcell.Jens Arnold2007-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14946 a1c6a512-1295-4272-9138-f99709370657
* FS#7712 by Przemysław Hołubowski: New codepage (CP1250 - WIN1250) addedMarcoen Hirschberg2007-10-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14942 a1c6a512-1295-4272-9138-f99709370657
* import and use the Linux one instead, bound to be fasterDaniel Stenberg2007-09-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14741 a1c6a512-1295-4272-9138-f99709370657
* * implement strstrChristian Gmeiner2007-09-17
| | | | | | | * clean up usb_arcotg_dcd_enable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14740 a1c6a512-1295-4272-9138-f99709370657
* Remove redundant remove call, which caused problems in the simulator.Magnus Holmgren2007-09-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14728 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#7679 - modifying files with dircahce enabled doesnt change the access ↵Jonathan Gordon2007-09-02
| | | | | | time/date in dircache git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14580 a1c6a512-1295-4272-9138-f99709370657
* Makes apps and plugins interract with directories using a posix-like api ↵Kevin Ferrare2007-07-20
| | | | | | instead of calling dircache / simulator functions (no additionnal layer added, only a cosmetic change) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13943 a1c6a512-1295-4272-9138-f99709370657
* FS#7353 - mktime() is only used by targets that have an RTCRobert Keevil2007-07-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13883 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#7134 - Sansa: external sd card support by Antonius Hellmann with ↵Michael Sevakis2007-06-30
| | | | | | some tweaks. All testers have given the green light. (Now for the RED ?? ;). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13741 a1c6a512-1295-4272-9138-f99709370657
* Bring back rolo for mi4-based targets (H10 and Sansa).Barry Wardell2007-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13550 a1c6a512-1295-4272-9138-f99709370657
* Some fixes to doom dehacked loading - make embedded dehacked files actually ↵Karl Kurbjun2007-06-03
| | | | | | load, fix end of file detection in the string loader, fix ammo changes, fix bex code pointers. Also added the * flag to sscanf - still only tested against rockdoom sscanf calls. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13547 a1c6a512-1295-4272-9138-f99709370657
* Tiny fix for an unlikely error path.Steve Bavin2007-06-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13533 a1c6a512-1295-4272-9138-f99709370657
* ATA driver: * Support for drives with large physical sectors and no support ↵Jens Arnold2007-05-23
| | | | | | for partial access in the firmware (i.e. Toshiba MK8010GAH - iPod G5.5/80GB). Sequential writes with a single 512-byte buffer to that disk are really slow, so this is an intermediate solution that allows to adjust the FAT driver and the file system gradually. * Assume multisectors = 16 if the value reported by the drive is invalid (also MK8010GAH). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13480 a1c6a512-1295-4272-9138-f99709370657