summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* test_disk: Add an additional dirscan test that calls dir_get_info() also.Thomas Martitz2014-02-25
| | | | | | | | Especially on hosted dir_get_info() can be relatively. It is commonly called after every readdir() for further information about the dir entry. So it's peformance compared to readdir()-only is interesting. Change-Id: I03ab41fb190acf738e04a5d3b2a4fe29276094f6
* application: Remove trailing slashes from the input in opendir().Thomas Martitz2014-02-25
| | | | | | | This is needed for readdir() and dir_get_info() to work properly because they depend on hash/path matching. Change-Id: Ibd23def10eebabd76cdddac2739a5274159e88a9
* application: Speed up dir_get_info() further.Thomas Martitz2014-02-24
| | | | | | | | It's quite rare that it is called for a symlink to a directory. But it only needs a second syscall to stat() if that happened. Therefore speed up the common case by avoiding an unecessary second syscall. Change-Id: I911105f76631ebccc7696a1540e9cf069a706000
* hosted/multidrive: Speed up readdir()/get_dir_info().Thomas Martitz2014-02-24
| | | | | | | | | | The two functions need to check whether they are called for a specific path to implement the virtual mount point for the external storage. This is statistically rare and a hit on the common case. Therefore speed up the common case by performing integer comparision first, and only expensive string construction and comparision if that succeeds. Change-Id: I3c41fe073e1f4f8eb62d2b8556a36937c9cb8290
* ypr0: Make it build without HAVE_MULTIDRIVE again.Thomas Martitz2014-02-24
| | | | Change-Id: I973f1b23497ba9c0ddb24cd36c24d0ce3ca06d06
* hosted: Rename a bit in functions to avoid name clashes with unix headers.Thomas Martitz2014-02-23
| | | | Change-Id: I2baa5532ddcbca8a839c31434309013f02173ed8
* Second try at undefing STORAGE_GET_INFO, the previous one was too hasty, sorry.Thomas Martitz2014-02-23
| | | | Change-Id: If938c132d46efcb531227d9fde8cce91104566e0
* undef HAVE_STORAGE_GET_INFO for the sim, there is no useful implementation ↵Thomas Martitz2014-02-23
| | | | | | right now. Change-Id: I3050b97d10d9b4705321d8e37faf4d5a6c58485b
* Fix redsThomas Martitz2014-02-23
| | | | Change-Id: Ib2036d0786bd6fa39c5dadeeed83d74c7bd5c273
* Add forgotten file.Thomas Martitz2014-02-23
| | | | Change-Id: Ibd17bba201427b4bc0e45f29b246c20bd493c7d6
* samsungypr0: Support or mounting the microsdThomas Martitz2014-02-23
| | | | | | | A thread polls the appropriate GPIO pin for sd card presence and mounts using the mount system call. Change-Id: I31ab41c4120f4af64eb6998b7e7b6f9051585efb
* simulator: Fully simulate external storage.Thomas Martitz2014-02-23
| | | | | | | | | The external storage will be created during make install, as simext folder in the build directory. Upon pressing the e key the sim will mount (virtually ) this into the root directory. It can be accessed in the same way as an sd/mmc card on real targets. This requires quite some path trickery in io.c. Change-Id: I2fa9070a3146101ec5655b5b4115ca349d1d4bf4
* RaaA: Move directory related stuff from filesystem-unix.c into rbpaths.c.Thomas Martitz2014-02-23
| | | | | | | | Part of this change is to align sdlapp builds to other application targets in that the sim_* wrappers are not used anymore (except for sim_read/write). Path mangling is now done in rbpaths.c as well. Change-Id: I9726da73b50a83d9e1a1840288de16ec01ea029d
* Fix for HAVE_MULTIDRIVE on application builds.Thomas Martitz2014-02-23
| | | | Change-Id: I089ea4756e0c824993c65062290c40b3e67f9181
* logdiskf: enable for application and simulator builds.Thomas Martitz2014-02-23
| | | | Change-Id: I93afc8e7a989e3e5a85ff7df70b839fb64c0cdef
* codepages: Translate to linux codepage names for use on APPLICATION.Thomas Martitz2014-02-23
| | | | | | | The iocharset mount option names the codepages slightly differently and must be translated properly. Change-Id: I147a256e3453136282244201c27225a30cdfdca0
* simulator: Simulate external storage for HAVE_MULTIDRIVE.Thomas Martitz2014-02-23
| | | | | | | | | The virtual external storage can be inserted/extracted with the e key. This has little effect because there is no way to access the storage (yet, a later commit will change this). Except on ondio where the mmc needs to be extracted before entering USB (like on real target). Change-Id: I523402832f3b4ae71e0603b281aba4fb8592a897
* storage: Add STORAGE_HOSTFSThomas Martitz2014-02-23
| | | | | | | | | | | | CONFIG_STORAGE & STORAGE_HOSTFS allows to use parts of the storage_* API to be compiled for application targets without compiling storage.c or performing actually raw storage access. This is primarily to enable application targets to implement HAVE_MULTIVOMULE/HAVE_HOTSWAP (in a later commit). SIMULATOR uses the same mechanism without explicitely defining STORAGE_HOSTFS (how to add a bit to an existing preprocessor token?). Change-Id: Ib3f8ee0d5231e2ed21ff00842d51e32bc4fc7292
* Move VOL_NAMES definition to mv.hThomas Martitz2014-02-23
| | | | | | Fits better and including dir.h is more messy for some places. Change-Id: I3ec30dcc1ac2734ad3844c903238b6cc2f4e134c
* zenxfi3: fix yellowAmaury Pouly2014-02-22
| | | | Change-Id: Id7eca51aa1c19cbb1798a0c8eeb5105ee4dc4769
* zenxfi3: enable headphone detectionAmaury Pouly2014-02-22
| | | | Change-Id: If45e71248c1572afc0be43f49fb9c78736ee0dae
* zenmozaic: enable speaker supportAmaury Pouly2014-02-22
| | | | Change-Id: I5f90a9816e9b7ca817fcb3195b63891fda5236f5
* stmp3700: implement speaker support by mean of lineoutAmaury Pouly2014-02-22
| | | | Change-Id: Ic4c8b536fde7a840d3f3f295531cc1253de6320d
* imx233: remove nested irq check from debug menuAmaury Pouly2014-02-22
| | | | Change-Id: Ic16c6bf988d21c849488489d1b4a3477f2762afb
* imx233: switch debug screen to new button driverAmaury Pouly2014-02-22
| | | | Change-Id: I402a2ee1ff11e71702a7a1d6c878eab1e5405313
* fuzeplus: switch to new button driverAmaury Pouly2014-02-22
| | | | Change-Id: Ida1e5b4913131ec671b2d713743e26a28fca6a25
* zenxfi3: switch to new button driverAmaury Pouly2014-02-22
| | | | Change-Id: I14b8f35a556ef07cc5fd43c39c6ad17a1229b4f8
* zenxfi2: switch to new button driverAmaury Pouly2014-02-22
| | | | Change-Id: I5c5bc33d0cc08316e4d853e81a5ba4fb9c5b08d9
* nwz{e360,e370}: switch to new button driverAmaury Pouly2014-02-22
| | | | Change-Id: Iad08653f6cdbcfd75d3130186f91ed0b49a04ac9
* zen{,xfi,mozaic,xfistyle,v}: switch to the new button driverAmaury Pouly2014-02-22
| | | | Change-Id: I206b16f6374f536ab6d84e84fefc8370a96ef759
* imx233: introduce new generic button driverAmaury Pouly2014-02-22
| | | | | | | | | | | This driver will subsume the old button-lradc driver and support far more options. It can sense LRADC channels, PSWITCH, GPIOs and it handles special "buttons" like headphone insertion and hold detection. It also provides a more natural description of the buttons using a target-defined table with some macros to make it easy to read and write. It uniformely handles debouncing on LRADC channels and PSWITCH. Change-Id: Ie61d1f593fdcf3bd456ba1d53a1fd784286834ce
* imxtools/scsitools: increase SCSI delay to 10 secondsAmaury Pouly2014-02-22
| | | | | | | On some OSes like Windows or if running in a virtual machine, the one second timeout might be too short. Change-Id: I717f7a2aaed1cb3d40e8fbe6f9b1081b43ceea95
* zenxfi3: enable speaker supportAmaury Pouly2014-02-22
| | | | Change-Id: I4a46bf8d792c3286a367d3b962362d048eeb0619
* imxtools/scsitool: add progress indicatorAmaury Pouly2014-02-22
| | | | Change-Id: I061ddac4f882156139e38fa6d495fee86271a6aa
* imxtools/scsitool: improve output formattingAmaury Pouly2014-02-22
| | | | Change-Id: Ifc5b5252e1342f381356f7bd5c2fed5ad8beddfe
* imx233: split lradc channel setup into source and sampling parametersAmaury Pouly2014-02-20
| | | | Change-Id: I1be43fec9622cb78fc5737e5ed8d7fda17baf576
* imx233: stop watchdog on exceptionAmaury Pouly2014-02-18
| | | | Change-Id: If11d90343d32d5889857e7ba30a99f60a87639f1
* imx233: regenerate headersAmaury Pouly2014-02-18
| | | | Change-Id: I9dae85eb27337154ddb82015666773a5254cc388
* regtools: fix headergen variadic macro generationAmaury Pouly2014-02-18
| | | | Change-Id: I5e2439e5dcbeaaafda75c6ea457e53ee1ba26463
* imx233: fix app.lds to properly support INIT_ATTRAmaury Pouly2014-02-17
| | | | | | | | | | | | | | | Original fix by Marcin: it had a problem because crt0 on imx233 is more complicated than many targets: since we use virtual memory, we first disable the MMU, then move the entire image (including init and itext stuff), then setup a temporary stack to setup the MMU. Only when the MMU is enabled, can we move the init and itext stuff to its right location and finally boot. This requires some trickery because: - the initial move copies everything, including init and itext - the stack overlaps with init and itext to reclaim space - the temporary stack cannot be the same as the main stack to avoid trashing the init and itext code, also it needs to be a physical address Change-Id: Ibaf331c7d90b61f99225d93c9e621eb0f3f8f2dc
* Revert "imx233: fix app.lds to properly support INIT_ATTR"Amaury Pouly2014-02-17
| | | | | This reverts commit 2b02cbe1ccbf2fcdcc164c6a4139f6666aed23c9. For some reason it breaks the build, more investigation is needed.
* fix russian translate in 0f72c73b5bDmitry Gamza2014-02-17
| | | | | | Change-Id: I5237f4bdf49f2fb7d5a6e072f0e8a7bb58daa8de Reviewed-on: http://gerrit.rockbox.org/759 Reviewed-by: Andrew Ryabinin <ryabinin.a.a@gmail.com>
* zenxfistyle: add simulator bitmap and button mapAmaury Pouly2014-02-16
| | | | Change-Id: I68a107887e6b1563b6c5ab425e98be7e012e7976
* imx233: rework interrupt nesting, disabled for nowAmaury Pouly2014-02-16
| | | | | | | Rework the irq code, to put more code in the C part. When interrupt nesting is enable, Rockbox gets pretty unstable so disable it for now. Change-Id: Iee18b539c80ea408273f6082975faaa87d3ee1b6
* zenxfistyle: implement speaker supportAmaury Pouly2014-02-16
| | | | Change-Id: If59aaacdea9f57932464a1615f2b80e410ec50dc
* zenxfi2: implement headphones detectionAmaury Pouly2014-02-16
| | | | Change-Id: Ifbc8b10cebb3b7b126f1d6a212f6731f91e234e4
* zenxfi2: add speaker supportAmaury Pouly2014-02-16
| | | | Change-Id: I37b85e23e6af92939700d640dbea74c646f49b7b
* imx233: add support for speaker on stmp3780Amaury Pouly2014-02-16
| | | | Change-Id: I990ca2bd43e12047e257f85ff06f046dfa3f94b3
* zenxfi: enable lcd shutdown in bootloaderAmaury Pouly2014-02-16
| | | | Change-Id: Ie7387b6dbd58565611b58af7bbba092dd58bdbd5
* imx233: avoid overlapping text in debugAmaury Pouly2014-02-16
| | | | Change-Id: I9cb456ab60c0d05f202791ed8114a80d2819c399