annotate fcdev3b-hacks/mkmode0.sh @ 547:c3f2f79dc5b8

l1_rf12.c compiled-in default RF band tables: a round of cleanup * Uncalibrated default g_magic values changed from old Clara RF numbers (yes, Clara, not even Leonardo) to the approximately correct value for our current hw; * Uncalibrated default Rx and Tx channel calibration tables providing neutral correction values: fixed bogus ARFCNs from blind copy-n-paste between different bands; * Restored #if (ORDER2_TX_TEMP_CAL==1) in the Tx temperature compensation tables; * Fully rewrote the big comment before these rf_XXX structures to reflect the current situation. This change is part of the larger transition in FreeCalypso from reverse to forward engineering, from reconstruction of lost original bits to ongoing forward development and maintenance.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 17 Nov 2018 19:57:34 +0000
parents 90c960bce343
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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