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
Jean-Philippe Bernardy
93f917f541
simplification and better integration of the gmini port
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5631 a1c6a512-1295-4272-9138-f99709370657
2005-01-22 15:14:24 +00:00
Daniel Stenberg
d3e107cd2a
Jean-Philippe Bernardy: gmini support
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5551 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 21:33:54 +00:00
Linus Nielsen Feltzing
78cf6aa6dc
Proper ATA and SDRAM initialization
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5497 a1c6a512-1295-4272-9138-f99709370657
2004-12-20 01:36:58 +00:00
Linus Nielsen Feltzing
011835dec3
iRiver: attempt to set up the SDRAM correctly
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5458 a1c6a512-1295-4272-9138-f99709370657
2004-11-22 13:39:34 +00:00
Linus Nielsen Feltzing
bf41fcee8b
Coldfire: Clear the .bss section
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5362 a1c6a512-1295-4272-9138-f99709370657
2004-10-26 22:24:43 +00:00
Linus Nielsen Feltzing
e5b141c439
Wrong access mask for LCD and ATA registers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5353 a1c6a512-1295-4272-9138-f99709370657
2004-10-26 06:55:13 +00:00
Linus Nielsen Feltzing
29644eb8f8
Coldfire: Set up DRAM controller, copy data/iram sections and call main()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5279 a1c6a512-1295-4272-9138-f99709370657
2004-10-15 02:10:30 +00:00
Linus Nielsen Feltzing
0d472c457b
Set up the Flash, LCD and ATA chip selects
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5220 a1c6a512-1295-4272-9138-f99709370657
2004-10-08 08:04:11 +00:00
Linus Nielsen Feltzing
9411db3b4b
First iRiver startup code, does nothing but blink the backlight
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5212 a1c6a512-1295-4272-9138-f99709370657
2004-10-07 11:31:28 +00:00