From 2d898d31e753f2a099e906aca78b2217ab9a3e29 Mon Sep 17 00:00:00 2001 From: Msprg <18015488+Msprg@users.noreply.github.com> Date: Thu, 27 Aug 2026 23:55:50 +0200 Subject: [PATCH] fix make install after sim014 firmware removal e2cf7dee5 removed sim014.bin but the top-level Makefile still lists it in INSTALLSIMFW, so 'make install' fails on cp. Install sim020 instead, and point the pm3_tests.sh existence check at the same file. --- Makefile | 2 +- tools/pm3_tests.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 625e0ca6f..45a2907be 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ host/all host/clean host/install host/uninstall host/check: %: $(foreach target,$(HOST_TARGETS),$(call submake,$(target),$(notdir $*))) INSTALLTOOLS=mfc/pm3_eml2lower.sh mfc/pm3_eml2upper.sh mfc/pm3_mfdread.py mfc/pm3_mfd2eml.py mfc/pm3_eml2mfd.py pm3_amii_bin2eml.pl pm3_reblay-emulating.py pm3_reblay-reading.py -INSTALLSIMFW=sim011.bin sim011.sha512.txt sim013.bin sim013.sha512.txt sim014.bin sim014.sha512.txt +INSTALLSIMFW=sim011.bin sim011.sha512.txt sim013.bin sim013.sha512.txt sim020.bin sim020.sha512.txt INSTALLSCRIPTS=pm3 pm3-flash pm3-flash-all pm3-flash-bootrom pm3-flash-fullimage INSTALLSHARES=tools/jtag_openocd traces INSTALLDOCS=doc/*.md doc/md diff --git a/tools/pm3_tests.sh b/tools/pm3_tests.sh index f12d81f2c..b3cc10de5 100755 --- a/tools/pm3_tests.sh +++ b/tools/pm3_tests.sh @@ -284,7 +284,7 @@ while true; do if $TESTALL || $TESTCOMMON; then echo -e "\n${C_BLUE}Testing common:${C_NC}" if ! CheckFileExist "hardnested tables exists" "$RESOURCEPATH/hardnested_tables/bitflip_0_001_states.bin.lz4"; then break; fi - if ! CheckFileExist "simmodule fw file exists" "$RESOURCEPATH/sim014.bin"; then break; fi + if ! CheckFileExist "simmodule fw file exists" "$RESOURCEPATH/sim020.bin"; then break; fi if ! CheckFileExist "iCLASS dictionary exists" "$DICPATH/iclass_default_keys.dic"; then break; fi if ! CheckFileExist "MFC dictionary exists" "$DICPATH/mfc_default_keys.dic"; then break; fi if ! CheckFileExist "MFDES dictionary exists" "$DICPATH/mfdes_default_keys.dic"; then break; fi