FreeCalypso > hg > fc-magnetite
annotate fcdev3b-hacks/mkmode0.sh @ 637:31d2824683cb
armio.c & targets/gtamodem.h: GPIO3 and MCSI dummy outputs generalized
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 30 Jan 2020 01:30:08 +0000 |
parents | 90c960bce343 |
children |
rev | line source |
---|---|
473
90c960bce343
flash-boot-mode0.patch moved to fcdev3b-hacks
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 #!/bin/sh |
90c960bce343
flash-boot-mode0.patch moved to fcdev3b-hacks
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
90c960bce343
flash-boot-mode0.patch moved to fcdev3b-hacks
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 set -e |
90c960bce343
flash-boot-mode0.patch moved to fcdev3b-hacks
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
90c960bce343
flash-boot-mode0.patch moved to fcdev3b-hacks
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 cp fwimage.bin fwmode0.bin |
90c960bce343
flash-boot-mode0.patch moved to fcdev3b-hacks
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 xxd -r -c 4 ../fcdev3b-hacks/flash-boot-mode0.patch fwmode0.bin |
90c960bce343
flash-boot-mode0.patch moved to fcdev3b-hacks
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
90c960bce343
flash-boot-mode0.patch moved to fcdev3b-hacks
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ../helpers/mk-flash-script fwmode0.bin 0 0x40000 > flash-mode0 |