Thom Johansen
149df9794e
Make better use of banked registers in FIQ mode to shrink the iPod FIQ
...
handler a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8920 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 21:16:57 +00:00
Dave Chapman
a1e2a52e3e
iPod 3G - small audio fixes, but it still isn't working.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8850 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 20:29:29 +00:00
Linus Nielsen Feltzing
563012c503
Optimized the PLLCR write
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8806 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 14:23:23 +00:00
Linus Nielsen Feltzing
368418585c
Make sure PLL is off when booting on Coldfire targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8805 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 13:48:12 +00:00
Thom Johansen
f761cec193
Added assembler FIQ handler for iPod. Remove unnecessary SIMULATOR check
...
and some debug code in pcm_playback.c.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8731 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 00:57:27 +00:00
Tomasz Malesinski
e7f7c3d15c
Mapped iFP DRAM to 0xc00000 and enabled caching in this area.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8668 a1c6a512-1295-4272-9138-f99709370657
2006-02-12 23:16:05 +00:00
Jens Arnold
c6c584e4c1
Removed dead section, H1x0 and H300 are handled together.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8579 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 14:32:11 +00:00
Linus Nielsen Feltzing
760fea9ac7
iAudio X5: various fixes to make the bootloader compile
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8560 a1c6a512-1295-4272-9138-f99709370657
2006-02-04 00:01:15 +00:00
Tomasz Malesinski
ea3dbb2d87
Added setting interrupt vectors without overwriting others for ARM
...
DEBUG builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8554 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:24:08 +00:00
Thom Johansen
cce79d3805
Small ARM opt. Saves eight bytes!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8503 a1c6a512-1295-4272-9138-f99709370657
2006-01-31 13:46:58 +00:00
Dave Chapman
b9e10d9a07
iPod: First working audio driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8474 a1c6a512-1295-4272-9138-f99709370657
2006-01-28 20:33:57 +00:00
Tomasz Malesinski
2aabc875bf
GDB stub for ARM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8447 a1c6a512-1295-4272-9138-f99709370657
2006-01-25 01:43:07 +00:00
Tomasz Malesinski
e0bb10420d
added .vectors section for ARM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8442 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 23:32:53 +00:00
Thom Johansen
127c3febc1
UIE handler for ARM/iPod. Currently does not support interrupts. Will
...
probably also work for other ARM based targets, like iFP.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8388 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 15:03:34 +00:00
Dave Chapman
d83e929f3f
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Linus Nielsen Feltzing
cb01be69a6
H300: set KEEP_ACT before initializing the data sections, otherwise the PCF50606 will time out and power off
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8333 a1c6a512-1295-4272-9138-f99709370657
2006-01-11 15:35:34 +00:00
Dave Chapman
cb7e695ef9
iPod: Fix the bootloader so it can load and run the original Apple firmware 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
2006-01-05 17:02:48 +00:00
Linus Nielsen Feltzing
c70eb572c1
H300: Roughly 20% faster LCD updates with DMA
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8271 a1c6a512-1295-4272-9138-f99709370657
2005-12-21 00:52:02 +00:00
Thom Johansen
544b03cf9a
Add interrupt handler for iPod. Add timer tick support. Remove temporary thread sleep solution. Remove temporary iPod current_tick solution.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8224 a1c6a512-1295-4272-9138-f99709370657
2005-12-12 13:53:22 +00:00
Thom Johansen
07a2ad2a22
Basic exceptions support for iPod and ARM targets. SDRAM for iPod targets remapped to base address 0 to facilitate. Changed some crt0.S #ifdefs to allow for code resuse on other ARM targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8223 a1c6a512-1295-4272-9138-f99709370657
2005-12-12 13:21:08 +00:00
Thom Johansen
118144fb0c
Startup code for ordinary Rockbox.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8006 a1c6a512-1295-4272-9138-f99709370657
2005-11-20 01:58:56 +00:00
Linus Nielsen Feltzing
30393c2c6a
Patch #1346455 by Jens Arnold - SDRAM init fixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7974 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 01:10:54 +00:00
Thom Johansen
e3095ee3b8
iPod fixes. Stack starts at stackend. Munge stack with 0xdeadbeef.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7851 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 23:47:26 +00:00
Dave Chapman
e350d37bb7
iPod: Remove duplicate placeholder #ifdef
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7836 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 00:03:27 +00:00
Dave Chapman
a3bf2ec61c
More iPod changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7825 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 15:29:43 +00:00
Linus Nielsen Feltzing
1b4cb9ecb7
Removed a redundant comment
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7797 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 23:50:24 +00:00
Linus Nielsen Feltzing
1550bdcea6
Unified the H100 and H300 startup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7792 a1c6a512-1295-4272-9138-f99709370657
2005-11-08 22:52:53 +00:00
Dave Chapman
77372d1218
Initial commit of work-in-progress iPod port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7781 a1c6a512-1295-4272-9138-f99709370657
2005-11-07 23:07:19 +00:00
Jens Arnold
abd9f83e92
Two new sections for IRAM usage: .irodata (selectable with the ICONST_ATTR 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-10-19 19:35:24 +00:00
Jens Arnold
074b73856b
Coldfire: More compact init code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7641 a1c6a512-1295-4272-9138-f99709370657
2005-10-18 21:20:23 +00:00
Jens Arnold
b4f0afd429
SH1: More compact init code, only doing the special vector copy for debug builds. All: Added correct section flags for .init.text
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7640 a1c6a512-1295-4272-9138-f99709370657
2005-10-18 20:51:18 +00:00
Jens Arnold
09b4743707
H110/H115: Slightly longer initial SDRAM refresh cycle, correct comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7639 a1c6a512-1295-4272-9138-f99709370657
2005-10-18 19:35:31 +00:00
Jens Arnold
f6bb10a485
Iriver: No write protection for flash ROM area, correct number of waitstates.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7611 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 19:24:39 +00:00
Linus Nielsen Feltzing
f02f29e59e
Archos: Trap UserBrk in the gdb debugger
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7429 a1c6a512-1295-4272-9138-f99709370657
2005-08-30 20:50:47 +00:00
Linus Nielsen Feltzing
62c768c0db
Recovered from my major brain failure and reverted to using the same load address for both H110 and H120/140
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7082 a1c6a512-1295-4272-9138-f99709370657
2005-07-09 07:46:42 +00:00
Linus Nielsen Feltzing
8b6c133bb1
SDRAM setup adjusted for H110 models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7070 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 15:08:13 +00:00
Daniel Stenberg
8493ccb285
Renamed the iriver h120 defines and configs to "h120"! Added initial support
...
for the h100 series.
Please re-run configure.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7062 a1c6a512-1295-4272-9138-f99709370657
2005-07-08 06:31:13 +00:00
Jens Arnold
06109b0202
Fixed formatting (uniform indentation of 4 spaces, removed tab chars). Some slight optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6822 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 20:43:39 +00:00
Daniel Stenberg
6067b6a802
make it not attempt to build the sh1 assembler when build for H300
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6759 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:54:38 +00:00
Daniel Stenberg
57e78a56c7
reverted the ifdef change, this code really IS H120/H140-specific and thus
...
this is one of the few places where the player model is checked for correctly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6758 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:53:07 +00:00
Daniel Stenberg
5b6909b7c0
ifdef fix
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6751 a1c6a512-1295-4272-9138-f99709370657
2005-06-18 21:14:47 +00:00
Linus Nielsen Feltzing
cff83c78c7
ColdFire: DCR is a 16-bit register
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6604 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 07:37:32 +00:00
Linus Nielsen Feltzing
aa9c329dbe
Wrong SDRAM refresh count in the iRiver boot loader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6603 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 05:58:51 +00:00
Linus Nielsen Feltzing
4eea7ac202
iRiver: Moved the main thread stack to IRAM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6088 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 12:25:30 +00:00
Linus Nielsen Feltzing
b935f435ff
iRiver: DMA wasn't enabled in SRAM1, and the base address wasn't correct.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6045 a1c6a512-1295-4272-9138-f99709370657
2005-02-23 08:11:05 +00:00
Jean-Philippe Bernardy
c5d00d82b0
finished configuration for the Gmini SP
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5936 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 14:12:10 +00:00
Linus Nielsen Feltzing
c2600d8289
iRiver: Temporary speed improvement by removing LCD waitstates. Enabled instruction cache.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5869 a1c6a512-1295-4272-9138-f99709370657
2005-02-09 14:18:12 +00:00
Linus Nielsen Feltzing
f1530d8a82
Boot loader safety measures
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5791 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 18:24:58 +00:00
Linus Nielsen Feltzing
08bf2092e7
Adjustments for the iriver boot loader
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5692 a1c6a512-1295-4272-9138-f99709370657
2005-01-28 12:30:58 +00:00
Jean-Philippe Bernardy
b3d16d9df8
better comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5677 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 14:16:11 +00:00