From 0c8e47178d103e4b2691d8d9b2a63c927e471cb0 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Fri, 8 Jan 2010 17:01:13 +0800 Subject: [PATCH] [xbboot] this patch make upload zImage work correct --- xbboot/target-stage1/head.S | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xbboot/target-stage1/head.S b/xbboot/target-stage1/head.S index c111181..f8fe66a 100644 --- a/xbboot/target-stage1/head.S +++ b/xbboot/target-stage1/head.S @@ -26,6 +26,12 @@ _start: .word 0x0 real_start: + li $8, 0x0040FC04 + mtc0 $8, $12 // CP0_STATUS + + li $9, 0x00800000 + mtc0 $9, $13 // CP0_CAUSE + la $29, 0x80004000 // setup stack (sp) j c_main nop