summaryrefslogtreecommitdiff
path: root/bootloader/e200.c (follow)
Commit message (Collapse)AuthorAge
* 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
* 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
* 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
* cleared the lot, add your own test code like thisDaniel Stenberg2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10432 a1c6a512-1295-4272-9138-f99709370657
* cut out all the ipod cruft we don't needDaniel Stenberg2006-08-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10408 a1c6a512-1295-4272-9138-f99709370657
* added mostly dummy changes to allow building of a Sansa e200 bootloaderDaniel Stenberg2006-08-01
without functionality git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10399 a1c6a512-1295-4272-9138-f99709370657