summaryrefslogtreecommitdiff
path: root/bootloader/main.c (follow)
Commit message (Collapse)AuthorAge
* Really fix low-bat detection in the iAudio bootloader. * Improve naming of ↵Jens Arnold2008-03-12
| | | | | | iriver and iaudio bootloader files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16649 a1c6a512-1295-4272-9138-f99709370657
* Prepare for a new bootloader 7-pre4 release for iriver H100 series. Synced ↵Miika Pekkarinen2008-02-09
| | | | | | to work properly with SVN, and hopefully fixed remote detection problem and audio thump for some users. Also pure H100/H115 should be supported now. Actual bootloaders will be released separately. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16252 a1c6a512-1295-4272-9138-f99709370657
* * dont compile audio codec drivers for bootloader, as we dont need them -> ↵Christian Gmeiner2007-11-20
| | | | | | | | | | | | saves time * dont include uda1380 in bootloaders * fix to get rid of a nasty humming sound during is not uda1380 specific but iriver specific and so put the fix into the bootloader. An other option was to put audiohw_reset() into target tree... but i want to get rid of audiohw_reset git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15721 a1c6a512-1295-4272-9138-f99709370657
* Hardware controlled backlight brightness for iPod Video and Nano, retaining ↵Jens Arnold2007-11-12
| | | | | | the software PWM fade in/ fade out. * Backlight handling cleanup, getting rid of one layer of 'lowlevelness'. * Use atomic GPIO bit manipulation for PP502x backlight handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15599 a1c6a512-1295-4272-9138-f99709370657
* FS #7691 - improved USB detection on PP devices. This patch modifies the ↵Dave Chapman2007-09-04
| | | | | | target-tree function usb_detect() on all targets from bool to int, returning USB_INSERTED or USB_EXTRACTED instead of true or false. This was done to enable the PP usb_detect() to check for USB_POWER (either a connection to a USB wall charger, or the user holding "charge mode" button) and return that as a third value. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14600 a1c6a512-1295-4272-9138-f99709370657
* Fix more yellow.Jens Arnold2007-08-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14377 a1c6a512-1295-4272-9138-f99709370657
* First step of powermanagement rework: * Move target specific stuff into ↵Jens Arnold2007-08-17
| | | | | | target tree, starting with battery voltage tables and voltage reading. (This revealed some incorrect percent_to_voltage_charging mappings). * Voltage reading on 1st gen ipods is now correct. * Clean up obsolete config #defines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14375 a1c6a512-1295-4272-9138-f99709370657
* Fix warnings and errors. Remove some added stuff that wasn't needed afterall.Michael Sevakis2007-07-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14036 a1c6a512-1295-4272-9138-f99709370657
* Fix bootloader error reporting as per patch FS#7314. Thanks again to James Teh.Steve Bavin2007-06-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13662 a1c6a512-1295-4272-9138-f99709370657
* Kill a few warningsLinus Nielsen Feltzing2007-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12548 a1c6a512-1295-4272-9138-f99709370657
* H300 bootloader: (Work in progress) Boot Rockbox on RTC alarm, add charging ↵Linus Nielsen Feltzing2007-03-02
| | | | | | screen, move to a separate source file, backlight is on during USB mode (again) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12546 a1c6a512-1295-4272-9138-f99709370657
* H100/H300 bootloader: Better remote control output, removed a wild pointer ↵Linus Nielsen Feltzing2007-02-28
| | | | | | access when loading Rockbox, add a 2 second delay before rebooting when Rockbox is not found git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12519 a1c6a512-1295-4272-9138-f99709370657
* Better working USB bootloader mode for H300Linus Nielsen Feltzing2007-02-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12514 a1c6a512-1295-4272-9138-f99709370657
* Put the X5 bootloader in a separate fileLinus Nielsen Feltzing2007-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12456 a1c6a512-1295-4272-9138-f99709370657
* FS#6554 - Move bootloader code into a common fileLinus Nielsen Feltzing2007-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12453 a1c6a512-1295-4272-9138-f99709370657
* Fixed the bootloader for H100 also.Miika Pekkarinen2007-01-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11997 a1c6a512-1295-4272-9138-f99709370657
* Fixed the X5 bootloader.Miika Pekkarinen2007-01-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11996 a1c6a512-1295-4272-9138-f99709370657
* Updated bootloader for H120/H140 and entirely disabled flashing code for ↵Miika Pekkarinen2007-01-12
| | | | | | H100 until somebody tests it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11993 a1c6a512-1295-4272-9138-f99709370657
* first step in audio driver unification: renaming the functions to audio_*Marcoen Hirschberg2006-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11671 a1c6a512-1295-4272-9138-f99709370657
* Coldfire targets: Got the rest of the coldfire code out of backlight.c. ↵Michael Sevakis2006-11-10
| | | | | | Straightened up related items in configs and split backlight_set_brightness between the normal and boot/sim builds like the other functions. Should really have done all that in the first place. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11502 a1c6a512-1295-4272-9138-f99709370657
* Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis2006-11-06
| | | | | | SWCODEC. Supprort for samplerates changing in playback (just goes with the recording part inseparably). Samplerates to all encoders. Encoders can be configured individually on a menu specific to the encoder in the recording menu. File creation is delayed until flush time to reduce spinups when splitting. Misc: statusbar icons for numbers are individual digits to display any number. Audio buffer was rearranged to maximize memory available to recording and properly reinitialized when trashed. ColdFire PCM stuff moved to target tree to avoid a complicated mess when adding samplerate switching. Some needed API changes and to neaten up growing gap between hardware and software codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11452 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
* Gracefully shutdown unless firmware is found.Miika Pekkarinen2006-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10879 a1c6a512-1295-4272-9138-f99709370657
* eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, ↵Peter D'Hoye2006-08-15
| | | | | | added debug entry for h3x0 that allows to write to the eeprom git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10597 a1c6a512-1295-4272-9138-f99709370657
* Fixed hold switch detection from bootloader when rockbox has beenMiika Pekkarinen2006-08-11
| | | | | | | flashed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10533 a1c6a512-1295-4272-9138-f99709370657
* Bootloader support to search firmware also from flash. Bootloader <->Miika Pekkarinen2006-08-09
| | | | | | | Rockbox communication when Rockbox has been flashed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10499 a1c6a512-1295-4272-9138-f99709370657
* Applied FS #5727 (fix backlight flicker on X5) by Michael SevakisRani Hod2006-07-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10360 a1c6a512-1295-4272-9138-f99709370657
* iAudio X5 bootloader, plus some cleanupLinus Nielsen Feltzing2006-03-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9180 a1c6a512-1295-4272-9138-f99709370657
* iAudio: don't call UDA1380 functionsLinus Nielsen Feltzing2006-02-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8567 a1c6a512-1295-4272-9138-f99709370657
* H300: Removed lcd_enable() and added a delay to let the hard drive settle ↵Linus Nielsen Feltzing2006-01-11
| | | | | | before entering USB mode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8335 a1c6a512-1295-4272-9138-f99709370657
* H300: Bootloader USB mode detection on EXTON wakeupLinus Nielsen Feltzing2006-01-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8326 a1c6a512-1295-4272-9138-f99709370657
* H300: bootloader must call lcd_enable() since the backlight thread isn't runningLinus Nielsen Feltzing2006-01-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8316 a1c6a512-1295-4272-9138-f99709370657
* H300 bootloader USB modeLinus Nielsen Feltzing2005-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8168 a1c6a512-1295-4272-9138-f99709370657
* H300 bootloader: don't turn on the HD too soonLinus Nielsen Feltzing2005-12-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8130 a1c6a512-1295-4272-9138-f99709370657
* iriver bootloader: Better handling of the Hold buttons, turn on the remote ↵Linus Nielsen Feltzing2005-11-19
| | | | | | backlight when booting, look for /.rockbox/rockbox.iriver before trying /rockbox.iriver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7976 a1c6a512-1295-4272-9138-f99709370657
* Added a dummy sys_poweroff() in the boot loaderLinus Nielsen Feltzing2005-09-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7518 a1c6a512-1295-4272-9138-f99709370657
* The iriver bootloader now doesn't reboot after USB mode, it just continues ↵Linus Nielsen Feltzing2005-07-19
| | | | | | booting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7196 a1c6a512-1295-4272-9138-f99709370657
* iriver bootloader: slightly faster startup, backlight off in usb mode, minor ↵Linus Nielsen Feltzing2005-07-19
| | | | | | code policing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7192 a1c6a512-1295-4272-9138-f99709370657
* Fixed RoLo for H100 targetsLinus Nielsen Feltzing2005-07-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7188 a1c6a512-1295-4272-9138-f99709370657
* Automated version string handling in the boot loaderLinus Nielsen Feltzing2005-07-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7152 a1c6a512-1295-4272-9138-f99709370657
* Cleaned up the bootloader code a littleLinus Nielsen Feltzing2005-07-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7113 a1c6a512-1295-4272-9138-f99709370657
* iriver bootloader: enable backlight at boot, reset uda1380, warning when low ↵Linus Nielsen Feltzing2005-07-11
| | | | | | battery, let the user try with USB when the ATA init fails git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7100 a1c6a512-1295-4272-9138-f99709370657
* Correct Rec+ON check in the iriver bootloaderLinus Nielsen Feltzing2005-07-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7087 a1c6a512-1295-4272-9138-f99709370657
* iriver bootloader: display the model number for which the rockbox.iriver was ↵Linus Nielsen Feltzing2005-07-09
| | | | | | built, start original firmware with rec+play on the remote, bumped to version 3 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7085 a1c6a512-1295-4272-9138-f99709370657
* Recovered from my major brain failure and reverted to using the same load ↵Linus Nielsen Feltzing2005-07-09
| | | | | | address for both H110 and H120/140 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7082 a1c6a512-1295-4272-9138-f99709370657
* Removed the start-original-with-remote bootloader featureLinus Nielsen Feltzing2005-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7073 a1c6a512-1295-4272-9138-f99709370657
* Bootloader adjustments for H110Linus Nielsen Feltzing2005-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7072 a1c6a512-1295-4272-9138-f99709370657
* Boot from the correct addressLinus Nielsen Feltzing2005-07-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7015 a1c6a512-1295-4272-9138-f99709370657
* iRiver: The hard drive power is now OFF by defaultLinus Nielsen Feltzing2005-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6551 a1c6a512-1295-4272-9138-f99709370657
* Boot loader: correct handling of CPU frequency setting, better button ↵Linus Nielsen Feltzing2005-05-20
| | | | | | handling, USB mode handling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6492 a1c6a512-1295-4272-9138-f99709370657