summaryrefslogtreecommitdiffstats
path: root/flash
AgeCommit message (Collapse)AuthorFilesLines
2008-10-12Archos flash loader: compile with -Os and make all internal functions static ↵Jens Arnold4-40/+33
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 Arnold1-22/+1
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 Arnold1-2/+2
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 Stenberg4-8/+16
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 Pennequin10-10/+10
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 Stenberg2-24/+0
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 Sevakis1-1/+1
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 Kurbjun1-1/+1
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äggqvist1-0/+1
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 Arnold1-1/+1
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 Arnold1-8/+3
like bitmap displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-02-18CONFIG_CHARGINGJonathan Gordon1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12384 a1c6a512-1295-4272-9138-f99709370657
2006-11-27Bootbox now needs target includes.Jens Arnold1-1/+1
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 Wardell1-0/+4
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 Sevakis1-10/+5
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 Arnold1-16/+10
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 Arnold1-7/+7
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 Arnold1-8/+2
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 Feltzing1-2/+2
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 Hohensohn1-2/+9
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 Hohensohn1-28/+54
quite a while git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7387 a1c6a512-1295-4272-9138-f99709370657
2005-07-11Clean .uclJens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7110 a1c6a512-1295-4272-9138-f99709370657
2005-07-11Added missing dependencies.Jens Arnold1-1/+3
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 Arnold1-1/+1
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 Arnold1-21/+6
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 Hohensohn1-25/+30
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 Hohensohn1-3/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6982 a1c6a512-1295-4272-9138-f99709370657
2005-06-22fix for OndioJörg Hohensohn1-0/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6798 a1c6a512-1295-4272-9138-f99709370657
2005-06-21Rolo problem fixedJörg Hohensohn1-8/+4
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 Hohensohn4-0/+327
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 Hohensohn1-3/+15
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 Arnold1-6/+18
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 Arnold1-1/+1
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 Arnold1-369/+375
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 Hohensohn1-1/+6
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 Arnold1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5447 a1c6a512-1295-4272-9138-f99709370657
2004-11-20Added make cleanJens Arnold1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5445 a1c6a512-1295-4272-9138-f99709370657
2004-11-19Adjustments for player bootloader: (1) Correct HD power pin polarity. (2) ↵Jens Arnold2-13/+32
Only power on HD if not started by charger insertion. (3) Changed button read to use port C instead of ADC. This allows for 3 buttons as on the other platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5442 a1c6a512-1295-4272-9138-f99709370657
2004-11-19the -t test option now does no memory test, but enables 38400 baud on playersJörg Hohensohn1-110/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5441 a1c6a512-1295-4272-9138-f99709370657
2004-11-19HD spindown for PlayersJörg Hohensohn1-31/+133
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5440 a1c6a512-1295-4272-9138-f99709370657
2004-11-19Makefile and adjustments for compiling uart_boot under cygwinJens Arnold9-11/+33
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5439 a1c6a512-1295-4272-9138-f99709370657
2004-09-29Ondio support for flash boot loader (yes, I have flashed my Ondio)Jörg Hohensohn3-1/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5131 a1c6a512-1295-4272-9138-f99709370657
2004-03-11option to hold power, for FM+V2Jörg Hohensohn1-16/+47
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4366 a1c6a512-1295-4272-9138-f99709370657
2003-12-03No more spinning disk while charging flashed FM+V2 (you need the new ↵Jörg Hohensohn1-2/+3
bootloader to utilize it). ToDo: remove now false voltage reading from charging screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4095 a1c6a512-1295-4272-9138-f99709370657
2003-12-01index file for source tarballJörg Hohensohn1-0/+19
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4085 a1c6a512-1295-4272-9138-f99709370657
2003-11-30source code for all my flash stuff, now finally in cvsJörg Hohensohn29-1/+3349
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4083 a1c6a512-1295-4272-9138-f99709370657
2003-11-28Initial revisionBjörn Stenberg1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4078 a1c6a512-1295-4272-9138-f99709370657