mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 13:41:32 +02:00
[xbboot] this patch make upload zImage work correct
This commit is contained in:
parent
fac0746ad2
commit
0c8e47178d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user