summaryrefslogtreecommitdiffstats
path: root/bootloader/main.c
AgeCommit message (Collapse)AuthorFilesLines
2007-03-02Kill a few warningsLinus Nielsen Feltzing1-2/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12548 a1c6a512-1295-4272-9138-f99709370657
2007-03-02H300 bootloader: (Work in progress) Boot Rockbox on RTC alarm, add charging ↵Linus Nielsen Feltzing1-9/+20
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
2007-02-28H100/H300 bootloader: Better remote control output, removed a wild pointer ↵Linus Nielsen Feltzing1-3/+13
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
2007-02-28Better working USB bootloader mode for H300Linus Nielsen Feltzing1-16/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12514 a1c6a512-1295-4272-9138-f99709370657
2007-02-22Put the X5 bootloader in a separate fileLinus Nielsen Feltzing1-64/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12456 a1c6a512-1295-4272-9138-f99709370657
2007-02-22FS#6554 - Move bootloader code into a common fileLinus Nielsen Feltzing1-129/+21
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12453 a1c6a512-1295-4272-9138-f99709370657
2007-01-13Fixed the bootloader for H100 also.Miika Pekkarinen1-3/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11997 a1c6a512-1295-4272-9138-f99709370657
2007-01-13Fixed the X5 bootloader.Miika Pekkarinen1-9/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11996 a1c6a512-1295-4272-9138-f99709370657
2007-01-12Updated bootloader for H120/H140 and entirely disabled flashing code for ↵Miika Pekkarinen1-159/+364
H100 until somebody tests it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11993 a1c6a512-1295-4272-9138-f99709370657
2006-12-06first step in audio driver unification: renaming the functions to audio_*Marcoen Hirschberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11671 a1c6a512-1295-4272-9138-f99709370657
2006-11-10Coldfire targets: Got the rest of the coldfire code out of backlight.c. ↵Michael Sevakis1-4/+1
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
2006-11-06Big Patch adds primarily: Samplerate and format selection to recording for ↵Michael Sevakis1-0/+4
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
2006-10-30General: changed local adc to voltage conversions in several places to use ↵Michael Sevakis1-28/+28
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-09-04Gracefully shutdown unless firmware is found.Miika Pekkarinen1-2/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10879 a1c6a512-1295-4272-9138-f99709370657
2006-08-15eeprom driver for the h3x0 series, cleaned up the h1x0 series driver a bit, ↵Peter D'Hoye1-5/+5
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
2006-08-11Fixed hold switch detection from bootloader when rockbox has beenMiika Pekkarinen1-22/+22
flashed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10533 a1c6a512-1295-4272-9138-f99709370657
2006-08-09Bootloader support to search firmware also from flash. Bootloader <->Miika Pekkarinen1-5/+90
Rockbox communication when Rockbox has been flashed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10499 a1c6a512-1295-4272-9138-f99709370657
2006-07-29Applied FS #5727 (fix backlight flicker on X5) by Michael SevakisRani Hod1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10360 a1c6a512-1295-4272-9138-f99709370657
2006-03-22iAudio X5 bootloader, plus some cleanupLinus Nielsen Feltzing1-28/+101
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9180 a1c6a512-1295-4272-9138-f99709370657
2006-02-04iAudio: don't call UDA1380 functionsLinus Nielsen Feltzing1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8567 a1c6a512-1295-4272-9138-f99709370657
2006-01-11H300: Removed lcd_enable() and added a delay to let the hard drive settle ↵Linus Nielsen Feltzing1-3/+4
before entering USB mode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8335 a1c6a512-1295-4272-9138-f99709370657
2006-01-10H300: Bootloader USB mode detection on EXTON wakeupLinus Nielsen Feltzing1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8326 a1c6a512-1295-4272-9138-f99709370657
2006-01-09H300: bootloader must call lcd_enable() since the backlight thread isn't runningLinus Nielsen Feltzing1-0/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8316 a1c6a512-1295-4272-9138-f99709370657
2005-12-06H300 bootloader USB modeLinus Nielsen Feltzing1-35/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8168 a1c6a512-1295-4272-9138-f99709370657
2005-12-03H300 bootloader: don't turn on the HD too soonLinus Nielsen Feltzing1-1/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8130 a1c6a512-1295-4272-9138-f99709370657
2005-11-19iriver bootloader: Better handling of the Hold buttons, turn on the remote ↵Linus Nielsen Feltzing1-6/+36
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
2005-09-14Added a dummy sys_poweroff() in the boot loaderLinus Nielsen Feltzing1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7518 a1c6a512-1295-4272-9138-f99709370657
2005-07-19The iriver bootloader now doesn't reboot after USB mode, it just continues ↵Linus Nielsen Feltzing1-1/+6
booting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7196 a1c6a512-1295-4272-9138-f99709370657
2005-07-19iriver bootloader: slightly faster startup, backlight off in usb mode, minor ↵Linus Nielsen Feltzing1-5/+24
code policing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7192 a1c6a512-1295-4272-9138-f99709370657
2005-07-18Fixed RoLo for H100 targetsLinus Nielsen Feltzing1-6/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7188 a1c6a512-1295-4272-9138-f99709370657
2005-07-15Automated version string handling in the boot loaderLinus Nielsen Feltzing1-1/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7152 a1c6a512-1295-4272-9138-f99709370657
2005-07-12Cleaned up the bootloader code a littleLinus Nielsen Feltzing1-22/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7113 a1c6a512-1295-4272-9138-f99709370657
2005-07-11iriver bootloader: enable backlight at boot, reset uda1380, warning when low ↵Linus Nielsen Feltzing1-6/+33
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
2005-07-09Correct Rec+ON check in the iriver bootloaderLinus Nielsen Feltzing1-2/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7087 a1c6a512-1295-4272-9138-f99709370657
2005-07-09iriver bootloader: display the model number for which the rockbox.iriver was ↵Linus Nielsen Feltzing1-2/+21
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
2005-07-09Recovered from my major brain failure and reverted to using the same load ↵Linus Nielsen Feltzing1-2/+2
address for both H110 and H120/140 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7082 a1c6a512-1295-4272-9138-f99709370657
2005-07-08Removed the start-original-with-remote bootloader featureLinus Nielsen Feltzing1-10/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7073 a1c6a512-1295-4272-9138-f99709370657
2005-07-08Bootloader adjustments for H110Linus Nielsen Feltzing1-5/+14
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7072 a1c6a512-1295-4272-9138-f99709370657
2005-07-04Boot from the correct addressLinus Nielsen Feltzing1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7015 a1c6a512-1295-4272-9138-f99709370657
2005-06-02iRiver: The hard drive power is now OFF by defaultLinus Nielsen Feltzing1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6551 a1c6a512-1295-4272-9138-f99709370657
2005-05-20Boot loader: correct handling of CPU frequency setting, better button ↵Linus Nielsen Feltzing1-8/+75
handling, USB mode handling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6492 a1c6a512-1295-4272-9138-f99709370657
2005-04-20Ooops. DRAM can't start at 0x30000000 on iRiverLinus Nielsen Feltzing1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6325 a1c6a512-1295-4272-9138-f99709370657
2005-02-11Correct check for BUTTON_RC_ON, reset cookie when Hold swicth is onLinus Nielsen Feltzing1-1/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5899 a1c6a512-1295-4272-9138-f99709370657
2005-02-10iRiver boot: faster startup, don't start with Hold on, always start original ↵Linus Nielsen Feltzing1-14/+21
when started with the remote, start the original if unable to load rockbox.iriver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5888 a1c6a512-1295-4272-9138-f99709370657
2005-02-07Better feedback when bootingLinus Nielsen Feltzing1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5825 a1c6a512-1295-4272-9138-f99709370657
2005-02-06Cleaned up the hardware init in the boot loaderLinus Nielsen Feltzing1-11/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5810 a1c6a512-1295-4272-9138-f99709370657
2005-02-04Boot loader safety measuresLinus Nielsen Feltzing1-0/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5791 a1c6a512-1295-4272-9138-f99709370657
2005-01-28Cleaning upLinus Nielsen Feltzing1-6/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5697 a1c6a512-1295-4272-9138-f99709370657
2005-01-28iRiver Boot loaderLinus Nielsen Feltzing1-0/+233
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5694 a1c6a512-1295-4272-9138-f99709370657