summaryrefslogtreecommitdiff
path: root/flash
AgeCommit message (Collapse)Author
2014-08-08Fix some more straggling stuffMichael Sevakis
* 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
2013-04-26Make fixepoint.c as a shared library (libfixedpoint.a).Michael Sevakis
Change-Id: Icc10d6e85f890c432f191233a4d64e09f00be43d Reviewed-on: http://gerrit.rockbox.org/456 Reviewed-by: Michael Sevakis <jethead71@rockbox.org> Tested-by: Michael Sevakis <jethead71@rockbox.org>
2011-12-18Add KEEP() around vectors in linker scripts.Boris Gjenero
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
2011-11-29FS#12412 : Delete old buffer allocation code which has been replaced by ↵Boris Gjenero
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
2011-11-08Fix format stringThomas Jarosch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30935 a1c6a512-1295-4272-9138-f99709370657
2010-08-12Move memset6() declaration to string-extra.h, kills a warning compiling for ↵Thomas Martitz
android since it ships a memory.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27789 a1c6a512-1295-4272-9138-f99709370657
2010-05-27Generate C file / header for svn version stringRafaël Carré
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
2008-12-24Simplify powermgmt thread loops so it calls functions turn (no more ↵Michael Sevakis
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
2008-11-25Added 'keywords' and 'eol-style' properties.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19218 a1c6a512-1295-4272-9138-f99709370657
2008-11-20New makefile solution: A single invocation of 'make' to build the entire ↵Björn Stenberg
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
2008-11-01Apply FS#9500. This adds a storage_*() abstraction to replace ata_*(). To do ↵Frank Gevaerts
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
2008-10-30Update the README, and add a warning.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18931 a1c6a512-1295-4272-9138-f99709370657
2008-10-30Minimon is loaded to 0x0ffff000 by uart_boot, so it needs to be linked to ↵Jens Arnold
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
2008-10-30Use the asm optimised UCL decompressor for the flash bootloader as well. ↵Jens Arnold
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
2008-10-12Archos flash loader: compile with -Os and make all internal functions static ↵Jens Arnold
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
2008-09-24Clean up bootbox main file.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18637 a1c6a512-1295-4272-9138-f99709370657
2008-07-06Repair charging screen on archos. usb_detect() doesn't return a boolean ↵Jens Arnold
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
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
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
2008-05-05Convert the whole codebase to UTF-8, except docs/COMMITTERS and ↵Nicolas Pennequin
tools/creative.c, which need checking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2008-03-26kill the release script and build tarball from *everything* in SVN...Daniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16818 a1c6a512-1295-4272-9138-f99709370657
2008-03-26Do core interrupt masking in a less general fashion and save some ↵Michael Sevakis
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
2008-03-13Fix RedKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16652 a1c6a512-1295-4272-9138-f99709370657
2007-09-04Include some more stuff in the tarballs.Jonas Häggqvist
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14606 a1c6a512-1295-4272-9138-f99709370657
2007-08-15Switch to using millivolt for battery voltage and other internal voltages. * ↵Jens Arnold
Fix debug voltage history display. * Some code cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14364 a1c6a512-1295-4272-9138-f99709370657
2007-04-06Now charcell displays require lcd_update() for updating the main lcd content ↵Jens Arnold
like bitmap displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-02-18CONFIG_CHARGINGJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
2006-11-27Bootbox now needs target includes.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11613 a1c6a512-1295-4272-9138-f99709370657
2006-11-11Improved power management (FS#3001). Shutdown rockbox when the battery gets ↵Barry Wardell
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
2006-10-30General: changed local adc to voltage conversions in several places to use ↵Michael Sevakis
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
2006-10-30Adapted more Makefiles to the more efficient info printing.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11390 a1c6a512-1295-4272-9138-f99709370657
2006-06-06Work-in-progress rework of charging status reading & display: * Changed ↵Jens Arnold
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
2006-03-11Use cvs uclpack for bootbox.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9009 a1c6a512-1295-4272-9138-f99709370657
2005-10-27Support for a colon-separated path in APPEXTRALinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7663 a1c6a512-1295-4272-9138-f99709370657
2005-08-31we have to use the new ROMbox link address here, tooJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7437 a1c6a512-1295-4272-9138-f99709370657
2005-08-23forgot to commit these improvements to the bootbox charging info, since ↵Jörg Hohensohn
quite a while git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7387 a1c6a512-1295-4272-9138-f99709370657
2005-07-11Clean .uclJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7110 a1c6a512-1295-4272-9138-f99709370657
2005-07-11Added missing dependencies.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7108 a1c6a512-1295-4272-9138-f99709370657
2005-07-11Postfix for bootbox: charging screen reacts on ON press not release as well.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7105 a1c6a512-1295-4272-9138-f99709370657
2005-07-11Fixed a long-standing bug in the charging screen. The charging screen froze ↵Jens Arnold
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
2005-07-10improvements suggested by Jens: prompt for USB in case of problems, handle ↵Jörg Hohensohn
power off button git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7089 a1c6a512-1295-4272-9138-f99709370657
2005-07-02I though I removed this unnecessary lineJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6982 a1c6a512-1295-4272-9138-f99709370657
2005-06-22fix for OndioJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6798 a1c6a512-1295-4272-9138-f99709370657
2005-06-21Rolo problem fixedJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6787 a1c6a512-1295-4272-9138-f99709370657
2005-06-21"Bootbox" is a minimalistic rescue firmware for Archos models. Not working ↵Jörg Hohensohn
yet (Rolo problems). Created by configure script as bootloader. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6786 a1c6a512-1295-4272-9138-f99709370657
2004-12-23now can compose images with ROMbox, tooJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5509 a1c6a512-1295-4272-9138-f99709370657
2004-12-16Player: Correctly probe the ability of the box to control HD power. This is ↵Jens Arnold
not determined by the ROM version. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5486 a1c6a512-1295-4272-9138-f99709370657
2004-12-03Removed dupeJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5479 a1c6a512-1295-4272-9138-f99709370657
2004-12-03Code policed (removed tab chars, no C++ comments, line length); all register ↵Jens Arnold
manipulation hex values match register width. No code change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5478 a1c6a512-1295-4272-9138-f99709370657
2004-11-24checksum calculation was wrong (must be the sum of unscrambled), thanks JensJörg Hohensohn
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5462 a1c6a512-1295-4272-9138-f99709370657
2004-11-20Fix: read the correct registers for player HD spindownJens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5447 a1c6a512-1295-4272-9138-f99709370657