URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 823 to Rev 824
- ↔ Reverse comparison
Rev 823 → Rev 824
/trunk/orpmon/reset.S
70,27 → 70,31
l.addi r5,r0,0x00 |
l.sw 0(r3),r5 |
.endif |
l.movhi r3,hi(_start) |
l.ori r3,r3,lo(_start) |
l.movhi r3,hi(_start1) |
l.ori r3,r3,lo(_start1) |
l.jr r3 |
l.nop |
|
.if IN_FLASH |
.section .vectors, "ax" |
.org 0x600 |
.else |
.org (0x600 - 0x100 + _reset) |
.endif |
.org 0x600 |
|
l.j _align |
l.nop |
|
.if IN_FLASH |
.org 0x800 |
.else |
.org (0x800 - 0x100 + _reset) |
.endif |
|
l.j _int_wrapper |
l.nop |
|
.section .text |
l.nop |
_start: |
_start1: |
.if IN_FLASH |
l.jal _init_mc |
l.nop |
/trunk/orpmon/Makefile
34,6 → 34,7
|
orpmon-flash.or32: depend subdirs reset-flash.o $(LIBS) Makefile gencrc |
$(LD) -Tflash.ld -o $@ reset-flash.o $(LIBS) |
# $(LIBS) |
$(OBJCOPY) -O binary $@ $@.tmp |
# -S -j .reset -j .text -j .rodata |
./gencrc $@.tmp $@ |