Hello,
I have a custom firmware for my board (a normal 407 discovery with alternative pin nameing), and the last 2 days github can't complie it.
the error message:
Linking build/rusefi_simulator
/usr/bin/ld: build/obj/main.o: in function `setup_custom_board_overrides()':
/home/runner/work/fw-407-FFG_Big_Board/fw-407-FFG_Big_Board/ext/rusefi/simulator/main.cpp:148: multiple definition of `setup_custom_board_overrides()'; build/obj/board_configuration.o:/home/runner/work/fw-407-FFG_Big_Board/fw-407-FFG_Big_Board/ext/rusefi/simulator/../firmware/./../../../board_configuration.cpp:142: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [../firmware/ChibiOS/os/common/startup/SIMIA32/compilers/GCC/rules.mk:179: build/rusefi_simulator] Error 1
make[1]: Leaving directory '/home/runner/work/fw-407-FFG_Big_Board/fw-407-FFG_Big_Board/ext/rusefi/simulator'
make: *** [bundle.mk:169: ../simulator/build/rusefi_simulator.linux] Error 2
Error: Process completed with exit code 2.
I not modified anything my board_configuration.cpp file a several mounth. where can I read about what new needs about the board_cunfiguration.cpp?
my board_configuration.cpp file is the same format that I found in the custom firmware wiki.
Custom Firmware compile error after nov 23
-
FFG_Garage
- Posts: 21
- Joined: Tue Jul 11, 2023 8:37 pm

- AndreyB
- Site Admin
- Posts: 14778
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B

Re: Custom Firmware compile error after nov 23
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
FFG_Garage
- Posts: 21
- Joined: Tue Jul 11, 2023 8:37 pm

Re: Custom Firmware compile error after nov 23
Thank you Andrey, with this mod it's working again!
-
FFG_Garage
- Posts: 21
- Joined: Tue Jul 11, 2023 8:37 pm

Re: Custom Firmware compile error after nov 23
1 more question:
I tried to make a new custom firmware, and when it compile the firmware, exit with this error massage:
Cache miss, downloading GCC 14.2.Rel1 from https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz ; MD5 fcdcd7c8d5b22d2d0cc6bf3721686e69
GCC release downloaded, calculating MD5...
Downloaded file MD5: 632756c760cc0058a370bcf19e504b12
Error: Downloaded GCC MD5 doesn't match expected value: 632756c760cc0058a370bcf19e504b12 != fcdcd7c8d5b22d2d0cc6bf3721686e69
in my old custom firmware, github don't try to download this file, because is in the cache, and the old custom firmware compile working. the new one, with no files in the cache, don't work. What am I wrong?
I tried to make a new custom firmware, and when it compile the firmware, exit with this error massage:
Cache miss, downloading GCC 14.2.Rel1 from https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz ; MD5 fcdcd7c8d5b22d2d0cc6bf3721686e69
GCC release downloaded, calculating MD5...
Downloaded file MD5: 632756c760cc0058a370bcf19e504b12
Error: Downloaded GCC MD5 doesn't match expected value: 632756c760cc0058a370bcf19e504b12 != fcdcd7c8d5b22d2d0cc6bf3721686e69
in my old custom firmware, github don't try to download this file, because is in the cache, and the old custom firmware compile working. the new one, with no files in the cache, don't work. What am I wrong?
-
FFG_Garage
- Posts: 21
- Joined: Tue Jul 11, 2023 8:37 pm

Re: Custom Firmware compile error after nov 23
I think I found something about my erre message:
my error message is:
the script is run from here:
https://github.com/carlosperate/arm-none-eabi-gcc-action/tree/main/dist
in the index.js file I found this:
but when the firmware buld script try to download the file, the file MD5 checksum is different, don't allow the file and the script stop and show the error.
the question: how can I mod the MD5 info in the index.js file to match the (maybe new?) arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz file's MD5?
my error message is:
Code: Select all
Run carlosperate/arm-none-eabi-gcc-action@v1.11.0
with:
release: 14.2.Rel1
env:
BUNDLE_DATE: 2025-11-27
TOKEN: ***
WHITE_LABEL: rusefi
RUSEFI_SSH_SERVER:
RUSEFI_SSH_USER:
RUSEFI_SSH_PASS:
bundle_upload_folder: build_server
AUTOMATION_LTS: false
BUNDLE_SIMULATOR: false
RUN_SIMULATOR: true
AUTOMATION_REF: main
META_OUTPUT_ROOT_FOLDER: ../../../generated/
DEFAULT_TUNE_OUTPUT_FOLDER: ../../../generated/
ABSOLUTE_BOARD_DIR: /home/runner/work/fw-407_FFG_Mini/fw-407_FFG_Mini/.
BOARD_DIR: ../../..
BOARD_META_PATH: ../../../meta-info.env
SHORT_BOARD_NAME: FFG_Mini
PROJECT_BOARD: FFG_Mini
BUNDLE_NAME: FFG_Mini
current_date: 2025-11-27
EXTRA_LIVE_DATA_FILE:
EXTRA_FILES_TO_COPY_ON_IMAGE_FOLDER:
Cache miss, downloading GCC 14.2.Rel1 from https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz ; MD5 fcdcd7c8d5b22d2d0cc6bf3721686e69
GCC release downloaded, calculating MD5...
Downloaded file MD5: dcf88c676aba238cd3a922f590c22ff9
Error: Downloaded GCC MD5 doesn't match expected value: dcf88c676aba238cd3a922f590c22ff9 != fcdcd7c8d5b22d2d0cc6bf3721686e69https://github.com/carlosperate/arm-none-eabi-gcc-action/tree/main/dist
in the index.js file I found this:
Code: Select all
linux_x86_64: {
url: 'https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz',
md5: 'fcdcd7c8d5b22d2d0cc6bf3721686e69',
},the question: how can I mod the MD5 info in the index.js file to match the (maybe new?) arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz file's MD5?
-
Automate
- Posts: 26
- Joined: Mon Jun 23, 2025 1:58 pm
Re: Custom Firmware compile error after nov 23
I'm seeing a similar error just trying to compile the standard boards with GH Actions, not a custom one.
Run carlosperate/arm-none-eabi-gcc-action@v1.11.0
Cache miss, downloading GCC 14.2.Rel1 from https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz ; MD5 fcdcd7c8d5b22d2d0cc6bf3721686e69
GCC release downloaded, calculating MD5...
Downloaded file MD5: 35f065bff7d775b66f707629e3ded22c
Error: Downloaded GCC MD5 doesn't match expected value: 35f065bff7d775b66f707629e3ded22c != fcdcd7c8d5b22d2d0cc6bf3721686e69
Run carlosperate/arm-none-eabi-gcc-action@v1.11.0
Cache miss, downloading GCC 14.2.Rel1 from https://developer.arm.com/-/media/Files/downloads/gnu/14.2.rel1/binrel/arm-gnu-toolchain-14.2.rel1-x86_64-arm-none-eabi.tar.xz ; MD5 fcdcd7c8d5b22d2d0cc6bf3721686e69
GCC release downloaded, calculating MD5...
Downloaded file MD5: 35f065bff7d775b66f707629e3ded22c
Error: Downloaded GCC MD5 doesn't match expected value: 35f065bff7d775b66f707629e3ded22c != fcdcd7c8d5b22d2d0cc6bf3721686e69

