path: root/firmware/target/arm/crt0-pp.S
diff options
authorDave Chapman <>2009-05-12 20:41:44 +0000
committerDave Chapman <>2009-05-12 20:41:44 +0000
commit49fccaf2d925def5cc57fff4a09b98a8fe318cc8 (patch)
tree1fe162ba00ac1c67b19a8c5032d5f6b4a8b92145 /firmware/target/arm/crt0-pp.S
parentc58aaee55f809106fdcb6cc31bfac1e77dcdd88c (diff)
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:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/crt0-pp.S')
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:
msr cpsr_c, #0xd3 /* enter supervisor mode, disable IRQ/FIQ */
b pad_skip 64*4 /* (more than enough) space for exception vectors and mi4 magic */ 6*4 /* pad to offset 0x20 */
+ .ascii "Rockbox" /* signature for bootloader checking osos */
+ .byte 1 /* osos boot version, only 1 exists for now */
+ 56*4 /* (more than enough) space for exception vectors and mi4 magic */
/* Find out which processor we are - r0 should be preserved for the