1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-26 04:53:18 +02:00

[xbboot] this patch make upload zImage work correct

This commit is contained in:
Xiangfu Liu 2010-01-08 17:01:13 +08:00
parent fac0746ad2
commit 0c8e47178d

View File

@ -26,6 +26,12 @@ _start:
.word 0x0 .word 0x0
real_start: real_start:
li $8, 0x0040FC04
mtc0 $8, $12 // CP0_STATUS
li $9, 0x00800000
mtc0 $9, $13 // CP0_CAUSE
la $29, 0x80004000 // setup stack (sp) la $29, 0x80004000 // setup stack (sp)
j c_main j c_main
nop nop