diff fcdev3b-hacks/mkmode0.sh @ 473:90c960bce343

flash-boot-mode0.patch moved to fcdev3b-hacks
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Mar 2018 06:02:12 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fcdev3b-hacks/mkmode0.sh	Sun Mar 25 06:02:12 2018 +0000
@@ -0,0 +1,8 @@
+#!/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