view fcdev3b-hacks/mkmode0.sh @ 643:6af4147329b3

gtm900mgc2 build target renamed to just gtm900mgc based on the discovery of MGC1GSMT which is fw-compatible with the more common and more familiar MGC2GSMT.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Feb 2020 17:57:21 +0000
parents 90c960bce343
children
line wrap: on
line source

#!/bin/sh

set -e

cp fwimage.bin fwmode0.bin
xxd -r -c 4 ../fcdev3b-hacks/flash-boot-mode0.patch fwmode0.bin

../helpers/mk-flash-script fwmode0.bin 0 0x40000 > flash-mode0