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
Linus Nielsen Feltzing
4b9cb9b5b4
Don't copy the data section if src and dest are the same
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4935 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 17:53:56 +00:00
Jörg Hohensohn
7789f9804e
preparation for running directly from flash ROM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4283 a1c6a512-1295-4272-9138-f99709370657
2004-01-28 20:43:31 +00:00
Jörg Hohensohn
cbbbcd1800
patch #785885 by Magnus Holmgren: way faster rolo, with assembler
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3971 a1c6a512-1295-4272-9138-f99709370657
2003-10-12 16:40:45 +00:00
Björn Stenberg
c521ed128d
Added Randy Wood's ROLO
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2149 a1c6a512-1295-4272-9138-f99709370657
2002-09-03 09:44:08 +00:00
Linus Nielsen Feltzing
2d461156bd
Copies code to internal ram at startup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1498 a1c6a512-1295-4272-9138-f99709370657
2002-08-01 08:12:48 +00:00
Linus Nielsen Feltzing
86f7e93a2b
Now loads GBR with 0
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1440 a1c6a512-1295-4272-9138-f99709370657
2002-07-25 06:29:43 +00:00
Linus Nielsen Feltzing
a23fe48741
Added main stack munging
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1356 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 22:15:33 +00:00
Linus Nielsen Feltzing
678c770396
New section for reset vectors
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@782 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 09:12:34 +00:00
Linus Nielsen Feltzing
e3b2bc8102
Removed .stack section declaration
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@732 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 09:33:15 +00:00
Linus Nielsen Feltzing
388f12dd08
More GDB friendly initializations
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@247 a1c6a512-1295-4272-9138-f99709370657
2002-04-26 08:04:50 +00:00
Linus Nielsen Feltzing
5b7f45a7c6
Moved code to section .init.text
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@217 a1c6a512-1295-4272-9138-f99709370657
2002-04-24 21:57:02 +00:00