summaryrefslogtreecommitdiff
path: root/firmware/boot.lds
AgeCommit message (Collapse)Author
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-02-22Keep the vectors when linking with --gc-sectionsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12445 a1c6a512-1295-4272-9138-f99709370657
2007-02-20Prepare the bootloader command file for --gc-sectionsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12412 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-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-10-16Big Sansa update: Go back to using the common crt0-pp.S. Add LCD driver. ↵Daniel Ankers
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-11Oops: Sansa and H10 need crt0 included in the bootloaderDaniel Ankers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11190 a1c6a512-1295-4272-9138-f99709370657
2006-10-10Changes to make Sansa bootloader run. Thanks to Peter Praest.Daniel Ankers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11177 a1c6a512-1295-4272-9138-f99709370657
2006-08-31Clean up crt0.S and move it to the target treeDaniel Ankers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10830 a1c6a512-1295-4272-9138-f99709370657
2006-08-12initial gigabeat bootloader (only test code)Marcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10536 a1c6a512-1295-4272-9138-f99709370657
2006-08-03nicer check for PP and now using crt0.o for ARMs that aren't ipod archsDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10431 a1c6a512-1295-4272-9138-f99709370657
2006-08-01do PP5024 like PP5020 until we found out moreDaniel Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10398 a1c6a512-1295-4272-9138-f99709370657
2006-02-24first gigabeat commitMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-23The iAudio bootloader needs to have the startup code first in memoryLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8802 a1c6a512-1295-4272-9138-f99709370657
2006-02-05Create config file for iPod 4G greyscale and various iPod 3G/4G greyscale fixesDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8585 a1c6a512-1295-4272-9138-f99709370657
2006-02-05Further iPod 3G work from Seven Le MesleDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657
2006-02-05The iAudio X5 LCD framebuffer doesn't fit in IRAMLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8571 a1c6a512-1295-4272-9138-f99709370657
2006-02-04iAudio X5: various fixes to make the bootloader compileLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8560 a1c6a512-1295-4272-9138-f99709370657
2005-12-06H100/H110 has only 16Mbyte RAMLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8178 a1c6a512-1295-4272-9138-f99709370657
2005-12-06Both iriver boot loaders have to use DRAM now, since the unicode codepage ↵Linus Nielsen Feltzing
table doesn't fit in IRAM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8171 a1c6a512-1295-4272-9138-f99709370657
2005-11-20Startup code for ordinary Rockbox.Thom Johansen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8006 a1c6a512-1295-4272-9138-f99709370657
2005-11-16Cleaned up bootloader linker control file and added the H300 targetLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7916 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-07Initial commit of work-in-progress iPod portDave Chapman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
2005-10-19Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR ↵Jens Arnold
attribute macro), allowing to put 'const' data into IRAM without causing a section type conflict, and .ibss (selectable with the IBSS_ATTR attribute macro) for uninitialised data. * Rockbox core: Adjusted the linker scripts and init code to not include the .ibss section in the binary, it is cleared instead. Saves ~500 bytes on archos and ~30KB on iriver. Codecs and plugins don't handle .ibss in a special way yet. * The init code properly handles empty sections now (except .stack, which should never be empty). * Unified the init code for SH1 and coldfire a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7644 a1c6a512-1295-4272-9138-f99709370657
2005-07-18Added CPU_COLDFIRE define - one step closer to iAudio-portChristian Gmeiner
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
2005-07-09Recovered from my major brain failure and reverted to using the same load ↵Linus Nielsen Feltzing
address for both H110 and H120/140 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7082 a1c6a512-1295-4272-9138-f99709370657
2005-04-20Ooops. DRAM can't start at 0x30000000 on iRiverLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6325 a1c6a512-1295-4272-9138-f99709370657
2005-02-15Increase PLUGINSIZE to 768k for devices with at least 32MB of RAM (currently ↵Dave Chapman
only iRiver). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5952 a1c6a512-1295-4272-9138-f99709370657
2005-01-28Link file for boot loaderLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5691 a1c6a512-1295-4272-9138-f99709370657