summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-05-12 20:41:44 +0000
committerDave Chapman <dave@dchapman.com>2009-05-12 20:41:44 +0000
commit49fccaf2d925def5cc57fff4a09b98a8fe318cc8 (patch)
tree1fe162ba00ac1c67b19a8c5032d5f6b4a8b92145 /firmware
parentc58aaee55f809106fdcb6cc31bfac1e77dcdd88c (diff)
downloadrockbox-49fccaf2d925def5cc57fff4a09b98a8fe318cc8.tar.gz
rockbox-49fccaf2d925def5cc57fff4a09b98a8fe318cc8.zip
FS#9730 by Torne Wuff - support installing Rockbox in the firmware partition in place of the main Apple firmware. This image is only loaded if no rockbox.ipod is found so does not affect current behaviour. The advantage is a small increase in boottime. This patch also adds documentation to bootloader/ipod.c in the form of a comment describing the booting behaviour.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20921 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/crt0-pp.S7
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/target/arm/crt0-pp.S b/firmware/target/arm/crt0-pp.S
index 210b560560..bd1fc035c9 100644
--- a/firmware/target/arm/crt0-pp.S
+++ b/firmware/target/arm/crt0-pp.S
@@ -80,7 +80,12 @@ start:
80 msr cpsr_c, #0xd3 /* enter supervisor mode, disable IRQ/FIQ */ 80 msr cpsr_c, #0xd3 /* enter supervisor mode, disable IRQ/FIQ */
81 b pad_skip 81 b pad_skip
82 82
83.space 64*4 /* (more than enough) space for exception vectors and mi4 magic */ 83.space 6*4 /* pad to offset 0x20 */
84
85 .ascii "Rockbox" /* signature for bootloader checking osos */
86 .byte 1 /* osos boot version, only 1 exists for now */
87
88.space 56*4 /* (more than enough) space for exception vectors and mi4 magic */
84 89
85pad_skip: 90pad_skip:
86 /* Find out which processor we are - r0 should be preserved for the 91 /* Find out which processor we are - r0 should be preserved for the