summaryrefslogtreecommitdiffstats
path: root/bootloader
AgeCommit message (Collapse)AuthorFilesLines
2007-02-22Use -ffunction-sections and -fdata-sections for all bootloadersLinus Nielsen Feltzing1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12449 a1c6a512-1295-4272-9138-f99709370657
2007-01-28Oops. sleep() doesn't work on PortalPlayer builds. Use udelay() instead.Barry Wardell1-4/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12138 a1c6a512-1295-4272-9138-f99709370657
2007-01-28FS#6554. Move bootloader code into a common file. Only PortalPlayer devices ↵Barry Wardell5-419/+356
(iPods, H10, Sansa) are affected for the moment. Someone with access to (and no fear of bricking) an X5, H100, H300 and Gigabeat should try to adapt those bootloaders to also use the code in common.c. The (non-working) patch in the tracker would be a good place to start with this. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12136 a1c6a512-1295-4272-9138-f99709370657
2007-01-18Verbose error messages in the iPod bootloaderLinus Nielsen Feltzing1-3/+32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12064 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Read bootsplash from disk rather than hardcoding itGreg White2-8018/+32
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12050 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Fix build warning.Barry Wardell1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12043 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Make the build system create a sysfont.h which includes font information for ↵Barry Wardell2-38/+42
the system font. Available #defines are: SYSFONT_NAME, SYSFONT_FACENAME, SYSFONT_WIDTH, SYSFONT_HEIGHT, SYSFONT_SIZE, SYSFONT_ASCENT, SYSFONT_DESCENT, SYSFONT_FIRST_CHAR, SYSFONT_LAST_CHAR, SYSFONT_DEFAULT_CHAR, SYSFONT_PROPORTIONAL, SYSFONT_COPYRIGHT, SYSFONT_BITS_SIZE. Also fix a small bug in the iPod bootloader printf() code and use printf() for PortalPlayer bootloaders too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12041 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Created bootsplash imageGreg White2-237/+8078
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12035 a1c6a512-1295-4272-9138-f99709370657
2007-01-16Added printf() instead of snprintf/lcd_puts/lcd_updateLinus Nielsen Feltzing1-58/+54
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12033 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-13Setup LCD ourselves; move LCD buffer and TTB to free up 1.7MB of memoryGreg White1-5/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11994 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-29merge a big part of the unofficial gigabeat cvs back. Includes working ↵Marcoen Hirschberg1-8/+359
bootloader and rockbox with audio. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
2006-12-19Add working dual-boot bootloaders for H10 and Sansa, which allow booting the ↵Barry Wardell3-206/+16
OF and Rockbox. Rolo also works. Changes made: Combine bootloader/h10.c and bootloader/e200.c into a common bootloader file (bootloader/main-pp.c) to be used by all mi4 based PortalPlayer targets. The file bootloader/main-pp.c is based off the old bootloader/h10.c with some minor changes to allow it to work on the Sansa too. This effectively adds a Sansa bootloader. Define MODEL_NAME string in config-*.h for use in bootloader. Split crt0-pp.S into separate files for bootloader and normal builds. Bootloader code is now in crt0-pp-bl.S while normal build code stays in crt0-pp.S. Improvements to crt0-pp.S and crt0-pp-bl.S (mostly to make it more multiprocessor safe): * Leave space in bootloader at 0xe0-0xeb since scramble writes over there when it creates the mi4 file (don't leave space for iPods since it's not needed and all code in crt0-pp-bl.S needs to fit before the boot_table at 0x100). * Remove unused DEBUG and STUB code from crt0-pp.S. * Make CPU wait for COP to be sleeping when we put the COP to sleep. * Invalidate COP cache when COP wakes * Flush CPU cache before waking COP * Make sure only the CPU clears the BSS (not the COP) * Make sure only the CPU sets up its own stack (not the COP) Rolo works on H10, so enable it. Make Sansa e200 use rockbox.e200 rather than PP5022.mi4 for 'Normal' builds. This makes updating rockbox simpler as we don't need to go through the firmware update procedure, but rather just put a new rockbox.e200 on the device. rockbox.e200 uses a simple 'add' checksum. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11815 a1c6a512-1295-4272-9138-f99709370657
2006-12-17Restrict the width of some displayed messages (fixes display on Minis and Nano).Dave Chapman1-0/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11782 a1c6a512-1295-4272-9138-f99709370657
2006-12-17Changes to ipod bootloader to bring in line with the capabilities of ↵Dave Chapman1-41/+124
ipodpatcher: Detect if the bootloader has been installed without the Apple firmware; load the Apple firmware from an apple_os.ipod file on the FAT32 partition. Also change to use hold switch to decide when to boot into the Apple firmware (turning hold on whilst booting will start the Apple firmware). Plus a cosmetic change to white text on a black background. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11780 a1c6a512-1295-4272-9138-f99709370657
2006-12-10Remove unused code in (and hence simplify) the ipod bootloader - the image ↵Dave Chapman1-50/+7
header parsing and memmove isn't used in Rockbox, it was just leftover from the original ipodlinux loader. Note that we still need the empty space in the bootloader (400 bytes starting at 0x100 - the 'boot_table' definition in firmware/target/arm/crt0-pp.S) to maintain compatibility with ipod_fw/make_fw (which will write information there that we have always ignored). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11704 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-10-30Adapted more Makefiles to the more efficient info printing.Jens Arnold1-14/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11390 a1c6a512-1295-4272-9138-f99709370657
2006-10-16Big Sansa update: Go back to using the common crt0-pp.S. Add LCD driver. ↵Daniel Ankers1-19/+112
Add ADC driver (may not be needed). Fix a bug in the button driver. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11237 a1c6a512-1295-4272-9138-f99709370657
2006-10-10Changes to make Sansa bootloader run. Thanks to Peter Praest.Daniel Ankers1-5/+21
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11177 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-31Initial commit of work for port to the Tatung Elio TPJ-1022 - yet another ↵Dave Chapman2-0/+137
PortalPlayer PP5020 target. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10828 a1c6a512-1295-4272-9138-f99709370657
2006-08-28Add Rockbox bootloader for H10Barry Wardell1-160/+153
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10781 a1c6a512-1295-4272-9138-f99709370657
2006-08-22Fix a few warningsDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10688 a1c6a512-1295-4272-9138-f99709370657
2006-08-21use h10.c for H10 GB as wellDaniel Stenberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10678 a1c6a512-1295-4272-9138-f99709370657
2006-08-20Functional, but minimal LCD driver for H10.Barry Wardell1-9/+13
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10663 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-12initial gigabeat bootloader (only test code)Marcoen Hirschberg2-0/+117
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10536 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-11Some indent/c99 style cleanup by Barry WardellHristo Kovachev1-125/+127
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10524 a1c6a512-1295-4272-9138-f99709370657
2006-08-11Patch #5731 by Barry Wardell: more iriver h10 work. Thanks!Hristo Kovachev1-0/+262
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10521 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-08-03Initial work for coprocessor support on iPods. FS#5755Daniel Ankers1-10/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10437 a1c6a512-1295-4272-9138-f99709370657
2006-08-03cleared the lot, add your own test code like thisDaniel Stenberg1-46/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10432 a1c6a512-1295-4272-9138-f99709370657
2006-08-03more and proper use of $(SILENT)Daniel Stenberg1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10430 a1c6a512-1295-4272-9138-f99709370657
2006-08-02cut out all the ipod cruft we don't needDaniel Stenberg1-234/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10408 a1c6a512-1295-4272-9138-f99709370657
2006-08-01Check for IPOD_ARCH instead of PP5002/PP5020 to decide when to build ipod.cDave Chapman1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10401 a1c6a512-1295-4272-9138-f99709370657
2006-08-01added mostly dummy changes to allow building of a Sansa e200 bootloaderDaniel Stenberg2-0/+357
without functionality git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10399 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-04-19Fix button driver for ipod mini 1G.Frank Dischner1-2/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9732 a1c6a512-1295-4272-9138-f99709370657
2006-04-02iPod mini 2G: Working button check in bootloader.Jens Arnold1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9416 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-03-07Add the target directory tree to the include path, and set the TARGET_TREE ↵Linus Nielsen Feltzing1-1/+1
macro for the targets that use it git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8945 a1c6a512-1295-4272-9138-f99709370657
2006-02-27Patch #3060 from Andrew Scott - iPod mini button driverDave Chapman1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8857 a1c6a512-1295-4272-9138-f99709370657
2006-02-21iPod 3G: Use correct DRAM_START address when branching to RockboxDave Chapman1-2/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8767 a1c6a512-1295-4272-9138-f99709370657