DIYEFI.org Forum
http://forum.diyefi.org/

Building vanilla firmware
http://forum.diyefi.org/viewtopic.php?f=54&t=2869
Page 1 of 1

Author:  volvoguy [ Thu Apr 04, 2019 8:50 am ]
Post subject:  Building vanilla firmware

Hello Folks

I (finally) decided to see if I could build a version of the firmware and get it onto my Jaguar. Is the method described on the Github freeems-vanilla page still the best route? I tried it but got stumped as follows:
    - I have an up to date version of git on my linux PC.
    - I cloned the DIY-Amazon/freeems-vanilla Github fork I have onto the PC.
    - I followed instructions to add the freeems repo to linux and installed freeems-toolchain (which at least partly works because before I installed it I got "make[1]: m68hc11-gcc: Command not found" errors :oops: ).
CD'd into freeems-vanilla, ran 'make', and received the welcome and options text. At this point any option I add after 'make' fails like this though:

Code:
me@desktop /media/me/shared/.git/freeems-vanilla $ make BLANK
cd src/main; make clean s19
make[1]: Entering directory '/media/me/shared/.git/freeems-vanilla/src/main'
m68hc11-gcc   -MM -MF dependencies/decoders/GM-LT1-CAS-360and8.dd -MT dependencies/decoders/GM-LT1-CAS-360and8.d decoders/GM-LT1-CAS-360and8.c
m68hc11-gcc   -MM -MF dependencies/decoders/R18A1-13CrankWith5Cam.dd -MT dependencies/decoders/R18A1-13CrankWith5Cam.d decoders/R18A1-13CrankWith5Cam.c
m68hc11-gcc   -MM -MF dependencies/decoders/JSeries-12CrankWith6-2Cam.dd -MT dependencies/decoders/JSeries-12CrankWith6-2Cam.d decoders/JSeries-12CrankWith6-2Cam.c
m68hc11-gcc   -MM -MF dependencies/decoders/MitsiAndMazda-CAS-4and2.dd -MT dependencies/decoders/MitsiAndMazda-CAS-4and2.d decoders/MitsiAndMazda-CAS-4and2.c
m68hc11-gcc   -MM -MF dependencies/decoders/MitsiAndMazda-CAS-4and1.dd -MT dependencies/decoders/MitsiAndMazda-CAS-4and1.d decoders/MitsiAndMazda-CAS-4and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/HallOrOptical-Distributor-4of90.dd -MT dependencies/decoders/HallOrOptical-Distributor-4of90.d decoders/HallOrOptical-Distributor-4of90.c
m68hc11-gcc   -MM -MF dependencies/decoders/HallOrOptical-Distributor-4of64.dd -MT dependencies/decoders/HallOrOptical-Distributor-4of64.d decoders/HallOrOptical-Distributor-4of64.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-36minus2.dd -MT dependencies/decoders/MissingTeeth-Crank-36minus2.d decoders/MissingTeeth-Crank-36minus2.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Cam-12minus1.dd -MT dependencies/decoders/MissingTeeth-Cam-12minus1.d decoders/MissingTeeth-Cam-12minus1.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-30minus2.dd -MT dependencies/decoders/MissingTeeth-Crank-30minus2.d decoders/MissingTeeth-Crank-30minus2.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Cam-6minus2.dd -MT dependencies/decoders/MissingTeeth-Cam-6minus2.d decoders/MissingTeeth-Cam-6minus2.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-60minus2.dd -MT dependencies/decoders/MissingTeeth-Crank-60minus2.d decoders/MissingTeeth-Crank-60minus2.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-36minus1.dd -MT dependencies/decoders/MissingTeeth-Crank-36minus1.d decoders/MissingTeeth-Crank-36minus1.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-12minus1.dd -MT dependencies/decoders/MissingTeeth-Crank-12minus1.d decoders/MissingTeeth-Crank-12minus1.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-8minus1.dd -MT dependencies/decoders/MissingTeeth-Crank-8minus1.d decoders/MissingTeeth-Crank-8minus1.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Cam-24minus1.dd -MT dependencies/decoders/MissingTeeth-Cam-24minus1.d decoders/MissingTeeth-Cam-24minus1.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-TestFile.dd -MT dependencies/decoders/MissingTeeth-TestFile.d decoders/MissingTeeth-TestFile.c
m68hc11-gcc   -MM -MF dependencies/decoders/EvenTeeth-Cam-4and1.dd -MT dependencies/decoders/EvenTeeth-Cam-4and1.d decoders/EvenTeeth-Cam-4and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/EvenTeeth-Distributor-4of6and1.dd -MT dependencies/decoders/EvenTeeth-Distributor-4of6and1.d decoders/EvenTeeth-Distributor-4of6and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/EvenTeeth-Cam-6and1.dd -MT dependencies/decoders/EvenTeeth-Cam-6and1.d decoders/EvenTeeth-Cam-6and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/EvenTeeth-Cam-16and1.dd -MT dependencies/decoders/EvenTeeth-Cam-16and1.d decoders/EvenTeeth-Cam-16and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/EvenTeeth-Cam-24and1.dd -MT dependencies/decoders/EvenTeeth-Cam-24and1.d decoders/EvenTeeth-Cam-24and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/BenchTest.dd -MT dependencies/decoders/BenchTest.d decoders/BenchTest.c
m68hc11-gcc   -MM -MF dependencies/decoders/Listener.dd -MT dependencies/decoders/Listener.d decoders/Listener.c
m68hc11-gcc   -MM -MF dependencies/initialisers/TunableConfig2.dd -MT dependencies/initialisers/TunableConfig2.d initialisers/TunableConfig2.c
m68hc11-gcc   -MM -MF dependencies/initialisers/TunableConfig.dd -MT dependencies/initialisers/TunableConfig.d initialisers/TunableConfig.c
m68hc11-gcc   -MM -MF dependencies/initialisers/TimingTables2.dd -MT dependencies/initialisers/TimingTables2.d initialisers/TimingTables2.c
m68hc11-gcc   -MM -MF dependencies/initialisers/TimingTables.dd -MT dependencies/initialisers/TimingTables.d initialisers/TimingTables.c
m68hc11-gcc   -MM -MF dependencies/initialisers/FuelTables2.dd -MT dependencies/initialisers/FuelTables2.d initialisers/FuelTables2.c
m68hc11-gcc   -MM -MF dependencies/initialisers/FuelTables.dd -MT dependencies/initialisers/FuelTables.d initialisers/FuelTables.c
m68hc11-gcc   -MM -MF dependencies/initialisers/TestTransferTable.dd -MT dependencies/initialisers/TestTransferTable.d initialisers/TestTransferTable.c
m68hc11-gcc   -MM -MF dependencies/initialisers/MAFTransferTable.dd -MT dependencies/initialisers/MAFTransferTable.d initialisers/MAFTransferTable.c
m68hc11-gcc   -MM -MF dependencies/initialisers/CHTTransferTable.dd -MT dependencies/initialisers/CHTTransferTable.d initialisers/CHTTransferTable.c
m68hc11-gcc   -MM -MF dependencies/initialisers/IATTransferTable.dd -MT dependencies/initialisers/IATTransferTable.d initialisers/IATTransferTable.c
m68hc11-gcc   -MM -MF dependencies/initialisers/FixedConfig2.dd -MT dependencies/initialisers/FixedConfig2.d initialisers/FixedConfig2.c
m68hc11-gcc   -MM -MF dependencies/initialisers/FixedConfig1.dd -MT dependencies/initialisers/FixedConfig1.d initialisers/FixedConfig1.c
m68hc11-gcc   -MM -MF dependencies/xgateVectors.dd -MT dependencies/xgateVectors.d xgateVectors.c
m68hc11-gcc   -MM -MF dependencies/miscISRs.dd -MT dependencies/miscISRs.d miscISRs.c
m68hc11-gcc   -MM -MF dependencies/realtimeISRs.dd -MT dependencies/realtimeISRs.d realtimeISRs.c
m68hc11-gcc   -MM -MF dependencies/commsISRs.dd -MT dependencies/commsISRs.d commsISRs.c
m68hc11-gcc   -MM -MF dependencies/injectionISRs.dd -MT dependencies/injectionISRs.d injectionISRs.c
m68hc11-gcc   -MM -MF dependencies/interrupts.dd -MT dependencies/interrupts.d interrupts.c
m68hc11-gcc   -MM -MF dependencies/blockDetailsLookup.dd -MT dependencies/blockDetailsLookup.d blockDetailsLookup.c
m68hc11-gcc   -MM -MF dependencies/commsCore.dd -MT dependencies/commsCore.d commsCore.c
m68hc11-gcc   -MM -MF dependencies/flashWrite.dd -MT dependencies/flashWrite.d flashWrite.c
m68hc11-gcc   -MM -MF dependencies/decoderInterface.dd -MT dependencies/decoderInterface.d decoderInterface.c
m68hc11-gcc   -MM -MF dependencies/outputScheduler.dd -MT dependencies/outputScheduler.d outputScheduler.c
m68hc11-gcc   -MM -MF dependencies/fuelAndIgnitionCalcs.dd -MT dependencies/fuelAndIgnitionCalcs.d fuelAndIgnitionCalcs.c
m68hc11-gcc   -MM -MF dependencies/derivedVarsGenerator.dd -MT dependencies/derivedVarsGenerator.d derivedVarsGenerator.c
m68hc11-gcc   -MM -MF dependencies/coreVarsGenerator.dd -MT dependencies/coreVarsGenerator.d coreVarsGenerator.c
m68hc11-gcc   -MM -MF dependencies/simpleGPIO.dd -MT dependencies/simpleGPIO.d simpleGPIO.c
m68hc11-gcc   -MM -MF dependencies/StaticBenchTest.dd -MT dependencies/StaticBenchTest.d StaticBenchTest.c
m68hc11-gcc   -MM -MF dependencies/globalConstants.dd -MT dependencies/globalConstants.d globalConstants.c
m68hc11-gcc   -MM -MF dependencies/utils.dd -MT dependencies/utils.d utils.c
m68hc11-gcc   -MM -MF dependencies/init.dd -MT dependencies/init.d init.c
m68hc11-gcc   -MM -MF dependencies/tableLookup.dd -MT dependencies/tableLookup.d tableLookup.c
m68hc11-gcc   -MM -MF dependencies/main.dd -MT dependencies/main.d main.c
m68hc11-gcc   -MM -MF dependencies/staticInit.dd -MT dependencies/staticInit.d staticInit.c
m68hc11-gcc   -MM -MF dependencies/freeEMS.dd -MT dependencies/freeEMS.d freeEMS.c
m68hc11-gcc   -MM -MF dependencies/decoders/GM-LT1-CAS-360and8.d -MT preprocessedc/decoders/GM-LT1-CAS-360and8.pp.c decoders/GM-LT1-CAS-360and8.c
m68hc11-gcc   -MM -MF dependencies/decoders/R18A1-13CrankWith5Cam.d -MT preprocessedc/decoders/R18A1-13CrankWith5Cam.pp.c decoders/R18A1-13CrankWith5Cam.c
m68hc11-gcc   -MM -MF dependencies/decoders/JSeries-12CrankWith6-2Cam.d -MT preprocessedc/decoders/JSeries-12CrankWith6-2Cam.pp.c decoders/JSeries-12CrankWith6-2Cam.c
m68hc11-gcc   -MM -MF dependencies/decoders/MitsiAndMazda-CAS-4and2.d -MT preprocessedc/decoders/MitsiAndMazda-CAS-4and2.pp.c decoders/MitsiAndMazda-CAS-4and2.c
m68hc11-gcc   -MM -MF dependencies/decoders/MitsiAndMazda-CAS-4and1.d -MT preprocessedc/decoders/MitsiAndMazda-CAS-4and1.pp.c decoders/MitsiAndMazda-CAS-4and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/HallOrOptical-Distributor-4of90.d -MT preprocessedc/decoders/HallOrOptical-Distributor-4of90.pp.c decoders/HallOrOptical-Distributor-4of90.c
m68hc11-gcc   -MM -MF dependencies/decoders/HallOrOptical-Distributor-4of64.d -MT preprocessedc/decoders/HallOrOptical-Distributor-4of64.pp.c decoders/HallOrOptical-Distributor-4of64.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-36minus2.d -MT preprocessedc/decoders/MissingTeeth-Crank-36minus2.pp.c decoders/MissingTeeth-Crank-36minus2.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Cam-12minus1.d -MT preprocessedc/decoders/MissingTeeth-Cam-12minus1.pp.c decoders/MissingTeeth-Cam-12minus1.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-30minus2.d -MT preprocessedc/decoders/MissingTeeth-Crank-30minus2.pp.c decoders/MissingTeeth-Crank-30minus2.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Cam-6minus2.d -MT preprocessedc/decoders/MissingTeeth-Cam-6minus2.pp.c decoders/MissingTeeth-Cam-6minus2.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-60minus2.d -MT preprocessedc/decoders/MissingTeeth-Crank-60minus2.pp.c decoders/MissingTeeth-Crank-60minus2.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-36minus1.d -MT preprocessedc/decoders/MissingTeeth-Crank-36minus1.pp.c decoders/MissingTeeth-Crank-36minus1.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-12minus1.d -MT preprocessedc/decoders/MissingTeeth-Crank-12minus1.pp.c decoders/MissingTeeth-Crank-12minus1.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Crank-8minus1.d -MT preprocessedc/decoders/MissingTeeth-Crank-8minus1.pp.c decoders/MissingTeeth-Crank-8minus1.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-Cam-24minus1.d -MT preprocessedc/decoders/MissingTeeth-Cam-24minus1.pp.c decoders/MissingTeeth-Cam-24minus1.c
m68hc11-gcc   -MM -MF dependencies/decoders/MissingTeeth-TestFile.d -MT preprocessedc/decoders/MissingTeeth-TestFile.pp.c decoders/MissingTeeth-TestFile.c
m68hc11-gcc   -MM -MF dependencies/decoders/EvenTeeth-Cam-4and1.d -MT preprocessedc/decoders/EvenTeeth-Cam-4and1.pp.c decoders/EvenTeeth-Cam-4and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/EvenTeeth-Distributor-4of6and1.d -MT preprocessedc/decoders/EvenTeeth-Distributor-4of6and1.pp.c decoders/EvenTeeth-Distributor-4of6and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/EvenTeeth-Cam-6and1.d -MT preprocessedc/decoders/EvenTeeth-Cam-6and1.pp.c decoders/EvenTeeth-Cam-6and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/EvenTeeth-Cam-16and1.d -MT preprocessedc/decoders/EvenTeeth-Cam-16and1.pp.c decoders/EvenTeeth-Cam-16and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/EvenTeeth-Cam-24and1.d -MT preprocessedc/decoders/EvenTeeth-Cam-24and1.pp.c decoders/EvenTeeth-Cam-24and1.c
m68hc11-gcc   -MM -MF dependencies/decoders/BenchTest.d -MT preprocessedc/decoders/BenchTest.pp.c decoders/BenchTest.c
m68hc11-gcc   -MM -MF dependencies/decoders/Listener.d -MT preprocessedc/decoders/Listener.pp.c decoders/Listener.c
m68hc11-gcc   -MM -MF dependencies/initialisers/TunableConfig2.d -MT preprocessedc/initialisers/TunableConfig2.pp.c initialisers/TunableConfig2.c
m68hc11-gcc   -MM -MF dependencies/initialisers/TunableConfig.d -MT preprocessedc/initialisers/TunableConfig.pp.c initialisers/TunableConfig.c
m68hc11-gcc   -MM -MF dependencies/initialisers/TimingTables2.d -MT preprocessedc/initialisers/TimingTables2.pp.c initialisers/TimingTables2.c
m68hc11-gcc   -MM -MF dependencies/initialisers/TimingTables.d -MT preprocessedc/initialisers/TimingTables.pp.c initialisers/TimingTables.c
m68hc11-gcc   -MM -MF dependencies/initialisers/FuelTables2.d -MT preprocessedc/initialisers/FuelTables2.pp.c initialisers/FuelTables2.c
m68hc11-gcc   -MM -MF dependencies/initialisers/FuelTables.d -MT preprocessedc/initialisers/FuelTables.pp.c initialisers/FuelTables.c
m68hc11-gcc   -MM -MF dependencies/initialisers/TestTransferTable.d -MT preprocessedc/initialisers/TestTransferTable.pp.c initialisers/TestTransferTable.c
m68hc11-gcc   -MM -MF dependencies/initialisers/MAFTransferTable.d -MT preprocessedc/initialisers/MAFTransferTable.pp.c initialisers/MAFTransferTable.c
m68hc11-gcc   -MM -MF dependencies/initialisers/CHTTransferTable.d -MT preprocessedc/initialisers/CHTTransferTable.pp.c initialisers/CHTTransferTable.c
m68hc11-gcc   -MM -MF dependencies/initialisers/IATTransferTable.d -MT preprocessedc/initialisers/IATTransferTable.pp.c initialisers/IATTransferTable.c
m68hc11-gcc   -MM -MF dependencies/initialisers/FixedConfig2.d -MT preprocessedc/initialisers/FixedConfig2.pp.c initialisers/FixedConfig2.c
m68hc11-gcc   -MM -MF dependencies/initialisers/FixedConfig1.d -MT preprocessedc/initialisers/FixedConfig1.pp.c initialisers/FixedConfig1.c
m68hc11-gcc   -MM -MF dependencies/xgateVectors.d -MT preprocessedc/xgateVectors.pp.c xgateVectors.c
m68hc11-gcc   -MM -MF dependencies/miscISRs.d -MT preprocessedc/miscISRs.pp.c miscISRs.c
m68hc11-gcc   -MM -MF dependencies/realtimeISRs.d -MT preprocessedc/realtimeISRs.pp.c realtimeISRs.c
m68hc11-gcc   -MM -MF dependencies/commsISRs.d -MT preprocessedc/commsISRs.pp.c commsISRs.c
m68hc11-gcc   -MM -MF dependencies/injectionISRs.d -MT preprocessedc/injectionISRs.pp.c injectionISRs.c
m68hc11-gcc   -MM -MF dependencies/interrupts.d -MT preprocessedc/interrupts.pp.c interrupts.c
m68hc11-gcc   -MM -MF dependencies/blockDetailsLookup.d -MT preprocessedc/blockDetailsLookup.pp.c blockDetailsLookup.c
m68hc11-gcc   -MM -MF dependencies/commsCore.d -MT preprocessedc/commsCore.pp.c commsCore.c
m68hc11-gcc   -MM -MF dependencies/flashWrite.d -MT preprocessedc/flashWrite.pp.c flashWrite.c
m68hc11-gcc   -MM -MF dependencies/decoderInterface.d -MT preprocessedc/decoderInterface.pp.c decoderInterface.c
m68hc11-gcc   -MM -MF dependencies/outputScheduler.d -MT preprocessedc/outputScheduler.pp.c outputScheduler.c
m68hc11-gcc   -MM -MF dependencies/fuelAndIgnitionCalcs.d -MT preprocessedc/fuelAndIgnitionCalcs.pp.c fuelAndIgnitionCalcs.c
m68hc11-gcc   -MM -MF dependencies/derivedVarsGenerator.d -MT preprocessedc/derivedVarsGenerator.pp.c derivedVarsGenerator.c
m68hc11-gcc   -MM -MF dependencies/coreVarsGenerator.d -MT preprocessedc/coreVarsGenerator.pp.c coreVarsGenerator.c
m68hc11-gcc   -MM -MF dependencies/simpleGPIO.d -MT preprocessedc/simpleGPIO.pp.c simpleGPIO.c
m68hc11-gcc   -MM -MF dependencies/StaticBenchTest.d -MT preprocessedc/StaticBenchTest.pp.c StaticBenchTest.c
m68hc11-gcc   -MM -MF dependencies/globalConstants.d -MT preprocessedc/globalConstants.pp.c globalConstants.c
m68hc11-gcc   -MM -MF dependencies/utils.d -MT preprocessedc/utils.pp.c utils.c
m68hc11-gcc   -MM -MF dependencies/init.d -MT preprocessedc/init.pp.c init.c
m68hc11-gcc   -MM -MF dependencies/tableLookup.d -MT preprocessedc/tableLookup.pp.c tableLookup.c
m68hc11-gcc   -MM -MF dependencies/main.d -MT preprocessedc/main.pp.c main.c
m68hc11-gcc   -MM -MF dependencies/staticInit.d -MT preprocessedc/staticInit.pp.c staticInit.c
m68hc11-gcc   -MM -MF dependencies/freeEMS.d -MT preprocessedc/freeEMS.pp.c freeEMS.c
################################################################################
#                  Removing pre-processed C output directory...                #
################################################################################
rm -rf dependencies/*.d dependencies/*.dd
rm -rf dependencies/decoders/*.d dependencies/decoders/*.dd
rm -rf dependencies/initialisers/*.d dependencies/initialisers/*.dd
################################################################################
#                     Removing generated assembly files....                    #
################################################################################
rm -rf assembly
################################################################################
#                         Removing object directory...                         #
################################################################################
rm -rf objects
################################################################################
#                       Removing link output directory...                      #
################################################################################
rm -rf output
################################################################################
#                  Removing pre-processed C output directory...                #
################################################################################
rm -rf preprocessedc
################################################################################
#                           Removing s19 directory...                          #
################################################################################
rm -rf firmware
################################################################################
#                          Removing debug directory...                         #
################################################################################
rm -rf debug
################################################################################
#                        Running the C Pre Processor...                        #
################################################################################
################################################################################
#                   Creating the preprocessedc directory....                   #
################################################################################
mkdir -p preprocessedc/decoders/hack
rmdir preprocessedc/decoders/hack
mkdir -p preprocessedc/initialisers/hack
rmdir preprocessedc/initialisers/hack
m68hc11-gcc -Wall -Werror -Winline -O -m68hcs12 -mshort -ffunction-sections -fomit-frame-pointer -msoft-reg-count=8 -mauto-incdec -fsigned-char   -D SUPPORT_EMAIL=\""githurhurhur@nym.hush.com"\" -D BUILT_BY_NAME=\""me"\" -D FIRMWARE_VERSION=\"0.2.0-SNAPSHOT-276-g281d1b8-DEV\" -D FIRMWARE_BUILD_DATE=\""Wed  3 Apr 19:43:02 BST 2019"\" -D OPERATING_SYSTEM=\"Linux\" -D BASE_FILE_NAME=\"freeEMS\" -E freeEMS.c > preprocessedc/freeEMS.pp.c
m68hc11-gcc -Wall -Werror -Winline -O -m68hcs12 -mshort -ffunction-sections -fomit-frame-pointer -msoft-reg-count=8 -mauto-incdec -fsigned-char   -D SUPPORT_EMAIL=\""githurhurhur@nym.hush.com"\" -D BUILT_BY_NAME=\""me"\" -D FIRMWARE_VERSION=\"0.2.0-SNAPSHOT-276-g281d1b8-DEV\" -D FIRMWARE_BUILD_DATE=\""Wed  3 Apr 19:43:02 BST 2019"\" -D OPERATING_SYSTEM=\"Linux\" -D BASE_FILE_NAME=\"staticInit\" -E staticInit.c > preprocessedc/staticInit.pp.c
m68hc11-gcc -Wall -Werror -Winline -O -m68hcs12 -mshort -ffunction-sections -fomit-frame-pointer -msoft-reg-count=8 -mauto-incdec -fsigned-char   -D SUPPORT_EMAIL=\""githurhurhur@nym.hush.com"\" -D BUILT_BY_NAME=\""me"\" -D FIRMWARE_VERSION=\"0.2.0-SNAPSHOT-276-g281d1b8-DEV\" -D FIRMWARE_BUILD_DATE=\""Wed  3 Apr 19:43:02 BST 2019"\" -D OPERATING_SYSTEM=\"Linux\" -D BASE_FILE_NAME=\"main\" -E main.c > preprocessedc/main.pp.c
m68hc11-gcc -Wall -Werror -Winline -O -m68hcs12 -mshort -ffunction-sections -fomit-frame-pointer -msoft-reg-count=8 -mauto-incdec -fsigned-char   -D SUPPORT_EMAIL=\""githurhurhur@nym.hush.com"\" -D BUILT_BY_NAME=\""me"\" -D FIRMWARE_VERSION=\"0.2.0-SNAPSHOT-276-g281d1b8-DEV\" -D FIRMWARE_BUILD_DATE=\""Wed  3 Apr 19:43:02 BST 2019"\" -D OPERATING_SYSTEM=\"Linux\" -D BASE_FILE_NAME=\"tableLookup\" -E tableLookup.c > preprocessedc/tableLookup.pp.c
m68hc11-gcc -Wall -Werror -Winline -O -m68hcs12 -mshort -ffunction-sections -fomit-frame-pointer -msoft-reg-count=8 -mauto-incdec -fsigned-char   -D SUPPORT_EMAIL=\""githurhurhur@nym.hush.com"\" -D BUILT_BY_NAME=\""me"\" -D FIRMWARE_VERSION=\"0.2.0-SNAPSHOT-276-g281d1b8-DEV\" -D FIRMWARE_BUILD_DATE=\""Wed  3 Apr 19:43:02 BST 2019"\" -D OPERATING_SYSTEM=\"Linux\" -D BASE_FILE_NAME=\"init\" -E init.c > preprocessedc/init.pp.c
init.c:52:20: string.h: No such file or directory
Makefile:330: recipe for target 'preprocessedc/init.pp.c' failed
make[1]: *** [preprocessedc/init.pp.c] Error 1
make[1]: Leaving directory '/media/me/shared/.git/freeems-vanilla/src/main'
Makefile:20: recipe for target 'BLANK' failed
make: *** [BLANK] Error 2


Thanks.

Author:  Fred [ Thu Apr 04, 2019 11:20 am ]
Post subject:  Re: Building vanilla firmware

All the hard questions! So I have a few of my own:

1) What distro and version are you running?
2) Would you like me to edit out your email from the above post?

I'll flick you a message with some other stuff in it.

Author:  volvoguy [ Thu Apr 04, 2019 12:05 pm ]
Post subject:  Re: Building vanilla firmware

Thanks for the speedy reply!

1. It's Mint 18.3 over Ubuntu 16.04.1 with the 4.15.0-47-generic x86_64 kernel.
2. I don't mind, I anonymised my directory paths but I thought I'd leave the disposable email unedited and just stop using it if too many bots found it.

Cheers.

Author:  volvoguy [ Tue Jun 25, 2019 2:53 pm ]
Post subject:  Re: Building vanilla firmware

I spent a day getting to the point where I could make some firmware. New Ubuntu to wash away all previous efforts. Fred I followed an email of yours that suggested things I probably should have done last time, and did it right first time this time. Grepped another build to see where I needed to add my build info. When 'make' was only failing on decoder errors I grepped another decoder to see what other files I needed to update. Did the following

    /Makefile_______________ Added my user id and timing to the list
    /bin/testclibuilds.bash__________ Added my user id and timing to 'builds' and 'builds19s' arrays
    /src/main/inc/systemConfig.h__________Added my config to the list
    /src/main/initialisers/CHTTransferTable.c____ Gave myself a thermistor value
    /src/main/initialisers/TimingTables.c________ Gave myself flat 0 degrees to begin with
    /src/main/initialisers/FixedConfig1.c_________Added cylinder volume and injector size, HAVE NOT added the other engine details (cuz I got no idea how to)
    /src/main/initialisers/IATTransferTable.c_____ Gave myself a thermistor value
    /src/main/initialisers/FuelTables.c__________ Added myself to the list.
    /src/main/initialisers/FixedConfig2.c________ Changed room temp to 10 degrees, none of that tropical nonesense
    /src/main/make/decoders.mk_______ Added the CASBackwards info
    /src/main/make/sources.mk________ Added the CASBackwards info

    /data/tables/axis/_____________Copied Sim's RPM and Load files
    /data/tables/ve/______________ Made myself a copy of the default VE24RPMx19Load.h file
    /src/main/make/decoders.mk___ Added the CASBackwards info
    /src/main/make/sources.mk____ Added the CASBackwards info

    /src/main/initialisers/TunableConfig.c___ I didn't add variables for my build


That meant I could make my specific firmware. But I tried to make BLANK again and it tripped over the GM-LT1-CAS-360and8 decoder so I deleted/commented it out, after which it could make BLANK again.

Is the version of the resulting BLANK firmware that contains the CASBackwards decoder basically bench test firmware that will understand my timing?

I thought I had a partition that could load files to the Jaguar but I don't. What's the best way load onto the Jaguar at the moment? Looking back through previous conversations it looks like I only managed to get the Ultimate Loader to work before.

Thanks

Author:  Fred [ Tue Jun 25, 2019 9:06 pm ]
Post subject:  Re: Building vanilla firmware

Well, it *is* the Ultimate Loader, after all :-D You have email. Gotta run, will congratulate you on your efforts later.

Author:  volvoguy [ Wed Jun 26, 2019 12:04 pm ]
Post subject:  Re: Building vanilla firmware

That did what needed doing, thanks. I wiped the Jaguar, removed the SM jumper and checked the CEL wasn't blinking, then wrote my new blank firmware and confirmed with EMStudio that the sensors are sensing. Great stuff.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/