FreeCalypso > hg > fc-magnetite
changeset 472:8d9298e0823a
romvecs-patch directory renamed to fcdev3b-hacks
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 25 Mar 2018 05:55:19 +0000 |
parents | 445ac5be0619 |
children | 90c960bce343 |
files | .hgignore fcdev3b-hacks/mkromvecs.sh fcdev3b-hacks/romvecs.patch fcdev3b-hacks/src/Makefile fcdev3b-hacks/src/romvecs-insert.S romvecs-patch/mkromvecs.sh romvecs-patch/romvecs.patch romvecs-patch/src/Makefile romvecs-patch/src/romvecs-insert.S |
diffstat | 9 files changed, 59 insertions(+), 59 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Sun Mar 25 05:50:18 2018 +0000 +++ b/.hgignore Sun Mar 25 05:55:19 2018 +0000 @@ -2,12 +2,12 @@ ^build- +^fcdev3b-hacks/src/romvecs-insert.lst$ +^fcdev3b-hacks/src/romvecs-insert.o$ + ^helpers/build-date$ ^helpers/cfg-hdr-gen$ ^helpers/makeline$ ^helpers/mk-flash-script$ ^helpers/srec4ram$ ^helpers/str2ind-ver$ - -^romvecs-patch/src/romvecs-insert.lst$ -^romvecs-patch/src/romvecs-insert.o$
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fcdev3b-hacks/mkromvecs.sh Sun Mar 25 05:55:19 2018 +0000 @@ -0,0 +1,8 @@ +#!/bin/sh + +set -e + +cp fwimage.bin fwromvecs.bin +xxd -r -c 4 ../fcdev3b-hacks/romvecs.patch fwromvecs.bin + +../helpers/mk-flash-script fwromvecs.bin 0 0x40000 > flash-romvecs
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fcdev3b-hacks/romvecs.patch Sun Mar 25 05:55:19 2018 +0000 @@ -0,0 +1,18 @@ +2000: 00 00 00 00 +2004: 00 21 00 00 + +2100: 0C 00 8F E2 +2104: FE 00 90 E8 +2108: 02 05 A0 E3 +210C: FE 00 80 E8 +2110: 18 F0 9F E5 + +2114: 00 40 00 00 +2118: 04 40 00 00 +211C: 08 40 00 00 +2120: 0C 40 00 00 +2124: 10 40 00 00 +2128: 14 40 00 00 +212C: 18 40 00 00 + +2130: 58 40 00 00
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fcdev3b-hacks/src/Makefile Sun Mar 25 05:55:19 2018 +0000 @@ -0,0 +1,10 @@ +all: romvecs-insert.lst + +romvecs-insert.o: romvecs-insert.S + arm-elf-gcc -c $< + +romvecs-insert.lst: romvecs-insert.o + arm-elf-objdump -d $< > $@ + +clean: + rm -f romvecs-insert.o romvecs-insert.lst
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fcdev3b-hacks/src/romvecs-insert.S Sun Mar 25 05:55:19 2018 +0000 @@ -0,0 +1,20 @@ + .text + .code 32 + .globl _entry + +_entry: adr r0, vectors + ldmia r0, {r1-r7} + mov r0, #0x800000 + stmia r0, {r1-r7} + ldr pc, jumpaddr + +vectors: + .word 0x4000 + .word 0x4004 + .word 0x4008 + .word 0x400C + .word 0x4010 + .word 0x4014 + .word 0x4018 +jumpaddr: + .word 0x4058
--- a/romvecs-patch/mkromvecs.sh Sun Mar 25 05:50:18 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -#!/bin/sh - -set -e - -cp fwimage.bin fwromvecs.bin -xxd -r -c 4 ../romvecs-patch/romvecs.patch fwromvecs.bin - -../helpers/mk-flash-script fwromvecs.bin 0 0x40000 > flash-romvecs
--- a/romvecs-patch/romvecs.patch Sun Mar 25 05:50:18 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -2000: 00 00 00 00 -2004: 00 21 00 00 - -2100: 0C 00 8F E2 -2104: FE 00 90 E8 -2108: 02 05 A0 E3 -210C: FE 00 80 E8 -2110: 18 F0 9F E5 - -2114: 00 40 00 00 -2118: 04 40 00 00 -211C: 08 40 00 00 -2120: 0C 40 00 00 -2124: 10 40 00 00 -2128: 14 40 00 00 -212C: 18 40 00 00 - -2130: 58 40 00 00
--- a/romvecs-patch/src/Makefile Sun Mar 25 05:50:18 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -all: romvecs-insert.lst - -romvecs-insert.o: romvecs-insert.S - arm-elf-gcc -c $< - -romvecs-insert.lst: romvecs-insert.o - arm-elf-objdump -d $< > $@ - -clean: - rm -f romvecs-insert.o romvecs-insert.lst
--- a/romvecs-patch/src/romvecs-insert.S Sun Mar 25 05:50:18 2018 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ - .text - .code 32 - .globl _entry - -_entry: adr r0, vectors - ldmia r0, {r1-r7} - mov r0, #0x800000 - stmia r0, {r1-r7} - ldr pc, jumpaddr - -vectors: - .word 0x4000 - .word 0x4004 - .word 0x4008 - .word 0x400C - .word 0x4010 - .word 0x4014 - .word 0x4018 -jumpaddr: - .word 0x4058