Update of /cvsroot/blob/blob/src/diag
In directory usw-pr-cvs1:/tmp/cvs-serv15834
Modified Files:
start.S
Log Message:
Trick bootldr on Ipaq to think this is a kernel image so it loads diag in the
correct way.
Index: start.S
===================================================================
RCS file: /cvsroot/blob/blob/src/diag/start.S,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- start.S 2001/10/28 22:14:20 1.2
+++ start.S 2001/11/04 23:19:13 1.3
@@ -26,6 +26,17 @@
.globl _start
_start:
+#ifdef H3600
+ /* this is a hack to be able to chain load diag from
+ * bootldr. bootldr checks if it can find the linux zImage
+ * magic value at the ninth word of an image, so we just put
+ * it there.
+ */
+ b do_bss
+.org (_start + 9 * 4)
+ .word 0x016f2818
+do_bss:
+#endif
/* clear the BSS section */
ldr r1, bss_start
ldr r0, bss_end
|