logo       

linus: firmware crt0.S,1.22,1.23: msg#00204

systems.archos.rockbox.cvs

Subject: linus: firmware crt0.S,1.22,1.23

Update of /cvsroot/rockbox/firmware
In directory labb:/tmp/cvs-serv25599/firmware

Modified Files:
crt0.S
Log Message:
Adjustments for the iriver boot loader

Index: crt0.S
===================================================================
RCS file: /cvsroot/rockbox/firmware/crt0.S,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- crt0.S 27 Jan 2005 14:16:11 -0000 1.22
+++ crt0.S 28 Jan 2005 12:30:58 -0000 1.23
@@ -19,8 +19,6 @@
#include "config.h"
#include "cpu.h"

-//#define BOOTLOADER
-
.section .init.text
.global start
start:
@@ -122,6 +120,9 @@
/* Platform: iRiver H1xx */
move.w #0x2700,%sr

+ move.l #vectors,%d0
+ movec.l %d0,%vbr
+
move.l #MBAR+1,%d0
movec.l %d0,%mbar

@@ -218,7 +219,8 @@
move.l #0x3100a520,%d0 /* Back to normal, the DRAM is now ready */
move.l %d0,(0x108,%a0)
#endif
-#if 1
+
+#ifndef BOOTLOADER
lea _iramcopy,%a2
lea _iramstart,%a3
lea _iramend,%a4
@@ -228,8 +230,8 @@
move.w (%a2)+,(%a3)+
bra .iramloop
.iramloopend:
-
#endif
+
lea _edata,%a2
lea _end,%a4
clr.l %d0

_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox-cvs



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise