From 49fccaf2d925def5cc57fff4a09b98a8fe318cc8 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 12 May 2009 20:41:44 +0000 Subject: 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 --- firmware/target/arm/crt0-pp.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'firmware/target') 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 -.space 64*4 /* (more than enough) space for exception vectors and mi4 magic */ +.space 6*4 /* pad to offset 0x20 */ + + .ascii "Rockbox" /* signature for bootloader checking osos */ + .byte 1 /* osos boot version, only 1 exists for now */ + +.space 56*4 /* (more than enough) space for exception vectors and mi4 magic */ pad_skip: /* Find out which processor we are - r0 should be preserved for the -- cgit v1.2.3