summaryrefslogtreecommitdiff
path: root/flash (follow)
Commit message (Collapse)AuthorAge
* Limit more variables to file scopeThomas Jarosch2015-01-11
| | | | Change-Id: I30219d626316776eb73b4205d63376fa3dbc6361
* Make thirty functions static to reduce binary sizeThomas Jarosch2015-01-05
| | | | | | | | | | | If any of those functions should be (unused) API functions, they can easily be turned back once really needed. Detected using a new cppcheck check that uses the internal symbol database to catch functions that are only used in the current file. Change-Id: Ic2b1e5b8020b76397f11cefc4e205f3b7ac1f184
* Fix some more straggling stuffMichael Sevakis2014-08-08
| | | | | | | | | | | | | | * HWCODEC bootloaders * Remove references to thread structures outside the kernel. They are private and should not be used elsewhere. The mrobe-100 is an offender that gets squashed. * The ata.c hack stuff for large sector disks on iPod Video gets squashed for the same reason. I will no longer maintain it, period; please find the real reason for its difficulties. Change-Id: Iae1a675beac887754eb3cc59b560c941077523f5
* Make fixepoint.c as a shared library (libfixedpoint.a).Michael Sevakis2013-04-26
| | | | | | | Change-Id: Icc10d6e85f890c432f191233a4d64e09f00be43d Reviewed-on: http://gerrit.rockbox.org/456 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
* Add KEEP() around vectors in linker scripts.Boris Gjenero2011-12-18
| | | | | | | | | | | Vectors are needed by the CPU, but they don't need to be accessed by Rockbox. Without the KEEP(), they can be removed when liking with --gc-sections, creating a broken binary without any warnings. This tells the linker to not remove them. It should enable use of --gc-sections for all targets. When not using --gc-sections, this does not change the binary. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31351 a1c6a512-1295-4272-9138-f99709370657
* FS#12412 : Delete old buffer allocation code which has been replaced by ↵Boris Gjenero2011-11-29
| | | | | | core_alloc, and move buffer setup code to core_alloc.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31088 a1c6a512-1295-4272-9138-f99709370657
* Fix format stringThomas Jarosch2011-11-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30935 a1c6a512-1295-4272-9138-f99709370657
* Move memset6() declaration to string-extra.h, kills a warning compiling for ↵Thomas Martitz2010-08-12
| | | | | | android since it ships a memory.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27789 a1c6a512-1295-4272-9138-f99709370657
* Generate C file / header for svn version stringRafaël Carré2010-05-27
| | | | | | | | | | | | | | | | | | | | | | | | It's now easier to force rebuild of files depending on the svn revision version.c/version.h are generated once with new tools/genversion.sh Changes in the VCS are still not auto detected, so you'll have to remove builddir/version.* if you want to change the string in your binaries APPSVERSION is now called RBVERSION and is defined in the generated header instead of being defined by the Makefiles appsversion is now called rbversion (the plugin api number didn't change since old modules are still binary compatible) Change some bootloaders to use knwon-at-buildtime RBVERSION instead of "%s" + rbversion You'll need to run make clean to regenerate dependencies after the removal of apps/version.h To build binaries with a different version string, hand-edit tools/version.sh or tools/genversion.sh (which calls the former) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26320 a1c6a512-1295-4272-9138-f99709370657
* Simplify powermgmt thread loops so it calls functions turn (no more ↵Michael Sevakis2008-12-24
| | | | | | power_thread_sleep). Do other target-friendly simplifications, generic battery switch handling and split sim-specific code. Whoever can, please verify charging on the Archos Recorder (due to change in the charger duty cycle code). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19579 a1c6a512-1295-4272-9138-f99709370657
* Added 'keywords' and 'eol-style' properties.Björn Stenberg2008-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19218 a1c6a512-1295-4272-9138-f99709370657
* New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg2008-11-20
| | | | | | | | | tree. Fully controlled dependencies give faster and more correct recompiles. Many #include lines adjusted to conform to the new standards. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 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
* Update the README, and add a warning.Jens Arnold2008-10-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18931 a1c6a512-1295-4272-9138-f99709370657
* Minimon is loaded to 0x0ffff000 by uart_boot, so it needs to be linked to ↵Jens Arnold2008-10-30
| | | | | | that address as well, or it won't work. Also add that hint to the README, fix a warning, and fix the disassembly base address (was wrong either way). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18930 a1c6a512-1295-4272-9138-f99709370657
* Use the asm optimised UCL decompressor for the flash bootloader as well. ↵Jens Arnold2008-10-30
| | | | | | Verified working on Player, Recorder v1, Ondio SP and Ondio FM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18928 a1c6a512-1295-4272-9138-f99709370657
* Archos flash loader: compile with -Os and make all internal functions static ↵Jens Arnold2008-10-12
| | | | | | to save space. main() and _main() must not be static or they wouldn't end up in IRAM for execution. * Also make some bootbox functions static, and drop the useless return value from charging_screen(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18791 a1c6a512-1295-4272-9138-f99709370657
* Clean up bootbox main file.Jens Arnold2008-09-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18637 a1c6a512-1295-4272-9138-f99709370657
* Repair charging screen on archos. usb_detect() doesn't return a boolean ↵Jens Arnold2008-07-06
| | | | | | since 2007-09-04. Fixed same problem in the m:robe 500 bootloader and in bootbox. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17955 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
* 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
* kill the release script and build tarball from *everything* in SVN...Daniel Stenberg2008-03-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16818 a1c6a512-1295-4272-9138-f99709370657
* Do core interrupt masking in a less general fashion and save some ↵Michael Sevakis2008-03-26
| | | | | | instructions to decrease size and speed things up a little bit. Small fix to a few places where interrupts would get enabled again where they shouldn't have been (context switching calls when disabled). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16811 a1c6a512-1295-4272-9138-f99709370657
* Fix RedKarl Kurbjun2008-03-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16652 a1c6a512-1295-4272-9138-f99709370657
* Include some more stuff in the tarballs.Jonas Häggqvist2007-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14606 a1c6a512-1295-4272-9138-f99709370657
* Switch to using millivolt for battery voltage and other internal voltages. * ↵Jens Arnold2007-08-15
| | | | | | Fix debug voltage history display. * Some code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14364 a1c6a512-1295-4272-9138-f99709370657
* Now charcell displays require lcd_update() for updating the main lcd content ↵Jens Arnold2007-04-06
| | | | | | like bitmap displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
* CONFIG_CHARGINGJonathan Gordon2007-02-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
* Bootbox now needs target includes.Jens Arnold2006-11-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11613 a1c6a512-1295-4272-9138-f99709370657
* Improved power management (FS#3001). Shutdown rockbox when the battery gets ↵Barry Wardell2006-11-11
| | | | | | to a level where the device doesn't function properly. Calculate remaining charging time while charging (rather than remaining running time). Show "Low Battery" and "Battery Empty" warnings. Also fixes FS#4786. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11507 a1c6a512-1295-4272-9138-f99709370657
* General: changed local adc to voltage conversions in several places to use ↵Michael Sevakis2006-10-30
| | | | | | battery_voltage. Added battery_read_info function for unfiltered battery information. x5: removed adc_read as a distinct function. Removed adc tick task. adc_init is empty inline. Adjusted battery scale, voltage to level array and read 10 bits from the ADC for battery since 255 levels is not enough for true centivolt resolution. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11396 a1c6a512-1295-4272-9138-f99709370657
* Adapted more Makefiles to the more efficient info printing.Jens Arnold2006-10-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11390 a1c6a512-1295-4272-9138-f99709370657
* Work-in-progress rework of charging status reading & display: * Changed ↵Jens Arnold2006-06-06
| | | | | | several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
* Use cvs uclpack for bootbox.Jens Arnold2006-03-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9009 a1c6a512-1295-4272-9138-f99709370657
* Support for a colon-separated path in APPEXTRALinus Nielsen Feltzing2005-10-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7663 a1c6a512-1295-4272-9138-f99709370657
* we have to use the new ROMbox link address here, tooJörg Hohensohn2005-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7437 a1c6a512-1295-4272-9138-f99709370657
* forgot to commit these improvements to the bootbox charging info, since ↵Jörg Hohensohn2005-08-23
| | | | | | quite a while git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7387 a1c6a512-1295-4272-9138-f99709370657
* Clean .uclJens Arnold2005-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7110 a1c6a512-1295-4272-9138-f99709370657
* Added missing dependencies.Jens Arnold2005-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7108 a1c6a512-1295-4272-9138-f99709370657
* Postfix for bootbox: charging screen reacts on ON press not release as well.Jens Arnold2005-07-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7105 a1c6a512-1295-4272-9138-f99709370657
* Fixed a long-standing bug in the charging screen. The charging screen froze ↵Jens Arnold2005-07-11
| | | | | | when OFF was pressed. The intention was to powerdown, but this cannot work on archos, so the charging screen must not react on OFF. Made the charging screen react on the ON press instead of the release for better feedback. Bootbox uses SYS_POWEROFF for powering down. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7104 a1c6a512-1295-4272-9138-f99709370657
* improvements suggested by Jens: prompt for USB in case of problems, handle ↵Jörg Hohensohn2005-07-10
| | | | | | power off button git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7089 a1c6a512-1295-4272-9138-f99709370657
* I though I removed this unnecessary lineJörg Hohensohn2005-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6982 a1c6a512-1295-4272-9138-f99709370657
* fix for OndioJörg Hohensohn2005-06-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6798 a1c6a512-1295-4272-9138-f99709370657
* Rolo problem fixedJörg Hohensohn2005-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6787 a1c6a512-1295-4272-9138-f99709370657
* "Bootbox" is a minimalistic rescue firmware for Archos models. Not working ↵Jörg Hohensohn2005-06-21
| | | | | | yet (Rolo problems). Created by configure script as bootloader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6786 a1c6a512-1295-4272-9138-f99709370657
* now can compose images with ROMbox, tooJörg Hohensohn2004-12-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5509 a1c6a512-1295-4272-9138-f99709370657
* Player: Correctly probe the ability of the box to control HD power. This is ↵Jens Arnold2004-12-16
| | | | | | not determined by the ROM version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5486 a1c6a512-1295-4272-9138-f99709370657
* Removed dupeJens Arnold2004-12-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5479 a1c6a512-1295-4272-9138-f99709370657
* Code policed (removed tab chars, no C++ comments, line length); all register ↵Jens Arnold2004-12-03
| | | | | | manipulation hex values match register width. No code change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5478 a1c6a512-1295-4272-9138-f99709370657