changeset 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 8d9298e0823a
children 8fbf3c0ea8b6
files fcdev3b-hacks/flash-boot-mode0.patch fcdev3b-hacks/mkmode0.sh scripts/flash-boot-mode0.patch
diffstat 3 files changed, 15 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fcdev3b-hacks/flash-boot-mode0.patch	Sun Mar 25 06:02:12 2018 +0000
@@ -0,0 +1,7 @@
+2000: 00 00 00 00
+2004: 00 21 00 00
+2100: 08 10 9F E5
+2104: 03 2C A0 E3
+2108: B0 20 C1 E1
+210C: 00 F0 A0 E3
+2110: 10 FB FF FF
--- /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
--- a/scripts/flash-boot-mode0.patch	Sun Mar 25 05:55:19 2018 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-2000: 00 00 00 00
-2004: 00 21 00 00
-2100: 08 10 9F E5
-2104: 03 2C A0 E3
-2108: B0 20 C1 E1
-210C: 00 F0 A0 E3
-2110: 10 FB FF FF