Fix lpcfix -h, also protect firmware
This commit is contained in:
parent
0adf209074
commit
880a1679d8
|
@ -32,7 +32,6 @@ echo "###"
|
||||||
echo "### Building initial"
|
echo "### Building initial"
|
||||||
echo "###"
|
echo "###"
|
||||||
|
|
||||||
export FINAL=y
|
|
||||||
git checkout filesystem/ffconf.h
|
git checkout filesystem/ffconf.h
|
||||||
make clean
|
make clean
|
||||||
make APP=initial
|
make APP=initial
|
||||||
|
@ -41,10 +40,12 @@ cp firmware.bin $TARG/initial.bin
|
||||||
echo "###"
|
echo "###"
|
||||||
echo "### Building final"
|
echo "### Building final"
|
||||||
echo "###"
|
echo "###"
|
||||||
|
export FINAL=y
|
||||||
cp filesystem/ffconf.h-final ffconf.h
|
cp filesystem/ffconf.h-final ffconf.h
|
||||||
make clean
|
make clean
|
||||||
./l0dable/mktable.pl
|
./l0dable/mktable.pl
|
||||||
make APP=final
|
make APP=final
|
||||||
|
make protect
|
||||||
cp firmware.elf $TARG/final.elf
|
cp firmware.elf $TARG/final.elf
|
||||||
cp firmware.bin $TARG/final.bin
|
cp firmware.bin $TARG/final.bin
|
||||||
|
|
||||||
|
|
|
@ -64,8 +64,9 @@ int main(int argc, char *argv[]) {
|
||||||
"enables/disables the content read protection flags\n"
|
"enables/disables the content read protection flags\n"
|
||||||
"\n\n"
|
"\n\n"
|
||||||
"-n Do not change CRC information\n"
|
"-n Do not change CRC information\n"
|
||||||
|
"-c Fix CRC\n"
|
||||||
"-v Be verbose (-v -v = even more)\n"
|
"-v Be verbose (-v -v = even more)\n"
|
||||||
"-c mode Enable CRP (Content read protection) mode\n"
|
"-p mode Enable CRP (Content read protection) mode\n"
|
||||||
"-h This help\n\n"
|
"-h This help\n\n"
|
||||||
"CRP modes valid:\n"
|
"CRP modes valid:\n"
|
||||||
"0 Disable CRP\n"
|
"0 Disable CRP\n"
|
||||||
|
|
Loading…
Reference in New Issue