summaryrefslogtreecommitdiff
path: root/bootloader
AgeCommit message (Collapse)Author
2007-03-22minor code cleanup and policingJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12889 a1c6a512-1295-4272-9138-f99709370657
2007-03-22Enable usb detection in the sansa bootloader (loads OF if detected)Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12888 a1c6a512-1295-4272-9138-f99709370657
2007-03-20Fix build errors.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12867 a1c6a512-1295-4272-9138-f99709370657
2007-03-20Oops, the mi4 magic was being looked for in the wrong place when decrypting. ↵Barry Wardell
Also decrease verbosity of PP bootloader a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12865 a1c6a512-1295-4272-9138-f99709370657
2007-03-20We should check the CRC32 whether it is encrypted or not.Barry Wardell
Do the encryption in-place so that it is faster. Add comment explaining why we need our own CRC32 implemenatation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12864 a1c6a512-1295-4272-9138-f99709370657
2007-03-20Add support for encrypted mi4 bootloaders.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12863 a1c6a512-1295-4272-9138-f99709370657
2007-03-20Hopefully fix CRC32 errors when loading the Sansa OF from the firmware ↵Barry Wardell
partition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12852 a1c6a512-1295-4272-9138-f99709370657
2007-03-20PP bootloader:Barry Wardell
1) Proper error handling when we can't find the firmware. 2) Show verbose debug messages when any button is pressed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12847 a1c6a512-1295-4272-9138-f99709370657
2007-03-19The model and type strings are only 4 characters long. Also remove the 20 at ↵Barry Wardell
the start of the version string - it should never have been there. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12839 a1c6a512-1295-4272-9138-f99709370657
2007-03-17If loading rockbox.mi4 fails, then drop back to trying ↵Barry Wardell
rockbox.h10/rockbox.e200 instead. This will allow the new bootloader to be used with older rockbox builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12824 a1c6a512-1295-4272-9138-f99709370657
2007-03-16Partition type 0x84 is "OS/2 hidden C: drive"Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12805 a1c6a512-1295-4272-9138-f99709370657
2007-03-16The hidden partition stuff is only used Sansa.Barry Wardell
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12803 a1c6a512-1295-4272-9138-f99709370657
2007-03-16In preparation for use with sansapatcher, change portalplayer bootloaders to ↵Barry Wardell
read firmwares in mi4 format. When loading the OF: 1) first try to load from a hidden disk partition 2) try loading /System/OF.mi4 3) finally fall back to loading /System/OF.bin which is what the old bootloader used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12802 a1c6a512-1295-4272-9138-f99709370657
2007-03-15Make it possible to boot the OF and show verbose messages at the same time ↵Barry Wardell
in the PP bootloaders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12791 a1c6a512-1295-4272-9138-f99709370657
2007-03-12Disable bootloader messages in the H10 and Sansa bootloaders unless the PLAY ↵Barry Wardell
(on H10) or RIGHT (on Sansa) button is being held. Messages are still displayed if an error occurs. This has already been implemented for iPod bootloaders, but still needs implementing for the other bootloaders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12742 a1c6a512-1295-4272-9138-f99709370657
2007-03-07Allow H300 to be started up from a non-LCD remoteSteve Bavin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12668 a1c6a512-1295-4272-9138-f99709370657
2007-03-06Fix the loading of RetailOS from a file (apple_os.ipod in the root or .rockbox/)Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12644 a1c6a512-1295-4272-9138-f99709370657
2007-03-06Remove the leading "20" from the version string - it no longer makes sense ↵Dave Chapman
with the SVN revision number git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12642 a1c6a512-1295-4272-9138-f99709370657
2007-03-06Fix error in Sansa and H10 bootloadersDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12641 a1c6a512-1295-4272-9138-f99709370657
2007-03-05Disable bootloader messages in the ipod bootloader unless the RIGHT button ↵Dave Chapman
is being held. Messages are still displayed if an error occurs. This needs implementing for the other bootloaders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12631 a1c6a512-1295-4272-9138-f99709370657
2007-03-05Fix wrong target binary name.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12612 a1c6a512-1295-4272-9138-f99709370657
2007-03-04Added new iAudio M5 target, including some adjustments to make the ↵Jens Arnold
bootloader compile (with a small change against the committed tools/tonfigure, and it won't actually work yet). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12588 a1c6a512-1295-4272-9138-f99709370657
2007-03-03Replace some inl/outl with register #define's instead. Also tidy up pp5020.h ↵Barry Wardell
so that it's in increasing address order. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12574 a1c6a512-1295-4272-9138-f99709370657
2007-03-03look for rockbox.gigabeat in /.rockbox/ first like other SWCODEC targetsRobert Kukla
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12573 a1c6a512-1295-4272-9138-f99709370657
2007-03-02Kill a few warningsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12548 a1c6a512-1295-4272-9138-f99709370657
2007-03-02H300 bootloader: init the ISP1362 chip, and set the CPU to idle mode while ↵Linus Nielsen Feltzing
charging, to save power git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12547 a1c6a512-1295-4272-9138-f99709370657
2007-03-02H300 bootloader: (Work in progress) Boot Rockbox on RTC alarm, add charging ↵Linus Nielsen Feltzing
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 Feltzing
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 Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12514 a1c6a512-1295-4272-9138-f99709370657
2007-02-23Proper file headerLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12458 a1c6a512-1295-4272-9138-f99709370657
2007-02-22Set properties correctlyLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12457 a1c6a512-1295-4272-9138-f99709370657
2007-02-22Put the X5 bootloader in a separate fileLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12456 a1c6a512-1295-4272-9138-f99709370657
2007-02-22Correct the Gigabeat bootloader.Nicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12455 a1c6a512-1295-4272-9138-f99709370657
2007-02-22FS#6554 - Move bootloader code into a common fileLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12453 a1c6a512-1295-4272-9138-f99709370657
2007-02-22Use -ffunction-sections and -fdata-sections for all bootloadersLinus Nielsen Feltzing
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 Wardell
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 Wardell
(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 Feltzing
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 White
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12050 a1c6a512-1295-4272-9138-f99709370657
2007-01-17Fix build warning.Barry Wardell
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 Wardell
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 White
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 Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12033 a1c6a512-1295-4272-9138-f99709370657
2007-01-13Fixed the bootloader for H100 also.Miika Pekkarinen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11997 a1c6a512-1295-4272-9138-f99709370657
2007-01-13Fixed the X5 bootloader.Miika Pekkarinen
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 White
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 Pekkarinen
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 Hirschberg
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 Wardell
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 Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11782 a1c6a512-1295-4272-9138-f99709370657