summaryrefslogtreecommitdiff
path: root/bootloader/ipod.c
AgeCommit message (Collapse)Author
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
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-04-02Revert... stupid svn doesn't complain when passing -m twice :(Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16939 a1c6a512-1295-4272-9138-f99709370657
2008-04-02Make the measured LCD scanrates from the greylib known to the scanrate test ↵Jens Arnold
plugin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16938 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Revert accidental tree commit. /me needs a smaller enter key...Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
2008-03-25Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as ↵Jens Arnold
24 bit BMP instead of unnecessary 32 bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
2007-11-21Fix iPod Nano & Video bootloaders. Backlight uses sleep(), hence it must be ↵Jens Arnold
initialised after kernel_init(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15743 a1c6a512-1295-4272-9138-f99709370657
2007-11-12Hardware controlled backlight brightness for iPod Video and Nano, retaining ↵Jens Arnold
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
2007-09-121st/2nd gen bootloader: * Don't be verbose by default anymore. * Don't ↵Jens Arnold
enable the backlight, as it looks bad in a bright environment due to backlight inversion, and it needs a lot of power. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14678 a1c6a512-1295-4272-9138-f99709370657
2007-07-27G1/G2 bootloader working (always in verbose mode for now). Corrected fatal ↵Jens Arnold
error help text for G1..G3. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14020 a1c6a512-1295-4272-9138-f99709370657
2007-07-25Remove the hack which read the ipod hardware revision from flash in the ↵Dave Chapman
bootloader and passed it to Rockbox via a fixed address in SDRAM. Rockbox now remaps flash and so can just read the value itself. Also clean up the debug menu a little - only display the hw revision for ipods, and add the lcd_type variable to indicate the type of LCD (0 or 1) for ipod Color/Photo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13986 a1c6a512-1295-4272-9138-f99709370657
2007-05-23Clarify the need to hold MENU+SELECT to reboot an ipodDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13476 a1c6a512-1295-4272-9138-f99709370657
2007-05-22Ooops (about 3 months too late) - when an error is found by the bootloader, ↵Dave Chapman
call lcd_update() so users can see it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13468 a1c6a512-1295-4272-9138-f99709370657
2007-04-12Non-functional change - use the firmware __backlight_on() function instead ↵Dave Chapman
of writing directly to the ports to turn the backlight on git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13128 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-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-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-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-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-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
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
2006-12-17Changes to ipod bootloader to bring in line with the capabilities of ↵Dave Chapman
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 Chapman
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-08-03Initial work for coprocessor support on iPods. FS#5755Daniel Ankers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10437 a1c6a512-1295-4272-9138-f99709370657
2006-04-19Fix button driver for ipod mini 1G.Frank Dischner
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 Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9416 a1c6a512-1295-4272-9138-f99709370657
2006-02-27Patch #3060 from Andrew Scott - iPod mini button driverDave Chapman
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 Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8767 a1c6a512-1295-4272-9138-f99709370657
2006-02-21Patch #1435744 from Andrew Scott - initial iPod Mini supportDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8764 a1c6a512-1295-4272-9138-f99709370657
2006-02-05iPod 3G support in Bootloader from Seven Le MesleDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8587 a1c6a512-1295-4272-9138-f99709370657
2006-01-31Oops - fix red iPod bootloader buildDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8501 a1c6a512-1295-4272-9138-f99709370657
2006-01-31iPod: Fix the detection of lcd type for the iPod Photo - this should fix ↵Dave Chapman
problems with that LCD. Affected users also need to install a new bootloader - available from the iPod Installation wiki page. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8499 a1c6a512-1295-4272-9138-f99709370657
2006-01-18Line too wide for nano screen, split it up.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8376 a1c6a512-1295-4272-9138-f99709370657
2006-01-18Remove logos from bootloaderDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8373 a1c6a512-1295-4272-9138-f99709370657
2006-01-05iPod: Fix the bootloader so it can load and run the original Apple firmware ↵Dave Chapman
again. The Rockbox firmware was doing too much to the hardware so we remove most of the initialisation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8301 a1c6a512-1295-4272-9138-f99709370657
2005-11-20iPod: Change bootloader so that Rockbox loads by default. Holding down MENU ↵Dave Chapman
now boots to the Apple firmware. Check .rockbox/ for a firmware file (to be consistent with the iriver bootloader) and remove the cosmetic sleep. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8012 a1c6a512-1295-4272-9138-f99709370657
2005-11-14Fixes for new 16-bit framebuffer typeDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7883 a1c6a512-1295-4272-9138-f99709370657
2005-11-13Implement (unreliable) button detection using code from ipodlinux bootloader ↵Dave Chapman
- this needs replacing by a better button driver in firmware/ and triple-boot bootloader functionality. Current button mappings: MENU loads rockbox.ipod and checks the checksum (but doesn't execute it), PLAY will load and execute a Linux kernel (linux.bin). An error in either of those two actions, or no keypress will load the original firmware git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7848 a1c6a512-1295-4272-9138-f99709370657
2005-11-08Ooops. There was an unclosed comment in the source.Dave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7788 a1c6a512-1295-4272-9138-f99709370657
2005-11-08Initial check-in of work-in-progress iPod bootloader. Current targets are ↵Dave Chapman
iPod Color/Photo and iPod Nano. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7784 a1c6a512-1295-4272-9138-f99709370657