summaryrefslogtreecommitdiff
path: root/firmware/boot.lds (follow)
Commit message (Collapse)AuthorAge
* merge a big part of the unofficial gigabeat cvs back. Includes working ↵Marcoen Hirschberg2006-12-29
| | | | | | bootloader and rockbox with audio. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11850 a1c6a512-1295-4272-9138-f99709370657
* Add working dual-boot bootloaders for H10 and Sansa, which allow booting the ↵Barry Wardell2006-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove unused code in (and hence simplify) the ipod bootloader - the image ↵Dave Chapman2006-12-10
| | | | | | 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
* Big Sansa update: Go back to using the common crt0-pp.S. Add LCD driver. ↵Daniel Ankers2006-10-16
| | | | | | 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
* Oops: Sansa and H10 need crt0 included in the bootloaderDaniel Ankers2006-10-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11190 a1c6a512-1295-4272-9138-f99709370657
* Changes to make Sansa bootloader run. Thanks to Peter Praest.Daniel Ankers2006-10-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11177 a1c6a512-1295-4272-9138-f99709370657
* Clean up crt0.S and move it to the target treeDaniel Ankers2006-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10830 a1c6a512-1295-4272-9138-f99709370657
* initial gigabeat bootloader (only test code)Marcoen Hirschberg2006-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10536 a1c6a512-1295-4272-9138-f99709370657
* nicer check for PP and now using crt0.o for ARMs that aren't ipod archsDaniel Stenberg2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10431 a1c6a512-1295-4272-9138-f99709370657
* do PP5024 like PP5020 until we found out moreDaniel Stenberg2006-08-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10398 a1c6a512-1295-4272-9138-f99709370657
* first gigabeat commitMarcoen Hirschberg2006-02-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
* The iAudio bootloader needs to have the startup code first in memoryLinus Nielsen Feltzing2006-02-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8802 a1c6a512-1295-4272-9138-f99709370657
* Create config file for iPod 4G greyscale and various iPod 3G/4G greyscale fixesDave Chapman2006-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8585 a1c6a512-1295-4272-9138-f99709370657
* Further iPod 3G work from Seven Le MesleDave Chapman2006-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8583 a1c6a512-1295-4272-9138-f99709370657
* The iAudio X5 LCD framebuffer doesn't fit in IRAMLinus Nielsen Feltzing2006-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8571 a1c6a512-1295-4272-9138-f99709370657
* iAudio X5: various fixes to make the bootloader compileLinus Nielsen Feltzing2006-02-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8560 a1c6a512-1295-4272-9138-f99709370657
* H100/H110 has only 16Mbyte RAMLinus Nielsen Feltzing2005-12-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8178 a1c6a512-1295-4272-9138-f99709370657
* Both iriver boot loaders have to use DRAM now, since the unicode codepage ↵Linus Nielsen Feltzing2005-12-06
| | | | | | table doesn't fit in IRAM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8171 a1c6a512-1295-4272-9138-f99709370657
* Startup code for ordinary Rockbox.Thom Johansen2005-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8006 a1c6a512-1295-4272-9138-f99709370657
* Cleaned up bootloader linker control file and added the H300 targetLinus Nielsen Feltzing2005-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7916 a1c6a512-1295-4272-9138-f99709370657
* Implement (unreliable) button detection using code from ipodlinux bootloader ↵Dave Chapman2005-11-13
| | | | | | - 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
* Initial commit of work-in-progress iPod portDave Chapman2005-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
* Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR ↵Jens Arnold2005-10-19
| | | | | | 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
* Added CPU_COLDFIRE define - one step closer to iAudio-portChristian Gmeiner2005-07-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
* Recovered from my major brain failure and reverted to using the same load ↵Linus Nielsen Feltzing2005-07-09
| | | | | | address for both H110 and H120/140 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7082 a1c6a512-1295-4272-9138-f99709370657
* Ooops. DRAM can't start at 0x30000000 on iRiverLinus Nielsen Feltzing2005-04-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6325 a1c6a512-1295-4272-9138-f99709370657
* Increase PLUGINSIZE to 768k for devices with at least 32MB of RAM (currently ↵Dave Chapman2005-02-15
| | | | | | only iRiver). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5952 a1c6a512-1295-4272-9138-f99709370657
* Link file for boot loaderLinus Nielsen Feltzing2005-01-28
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5691 a1c6a512-1295-4272-9138-f99709370657