view fcdev3b-hacks/mkmode0.sh @ 542:b48e9892ee65

FFS dev.c: Mot C155 flash turns out to be of the same kind as on TI's D-Sample
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 06 Nov 2018 16:30:16 +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