View unanswered posts | View active topics It is currently Fri Dec 15, 2017 10:53 am



This topic is locked, you cannot edit posts or make further replies.  [ 6 posts ] 
FreeEMS Firmware Hacking Guide 
Author Message
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14913
Location: Home sweet home!
Windows XP, Vista and 7

These are the instructions for Windows 7, Windows Vista, and Windows XP, however they may also work for Windows 2000 Professional, Windows 98 or Windows ME.

Install the FreeEMS firmware basic dev kit from here :

http://tools.diyefi.org/#win

This includes GnuWin32 make and coreutils.

Extra stuff that you may want

Can be obtained from the following site:

http://gnuwin32.sourceforge.net/packages.html

You may choose to install some of these at your option.

  • zip
  • grep
  • bc
  • findutils
  • bzip2
  • diffutils
  • tar
  • file
  • grep
  • gzip
  • patch

Unless you know better, use the default path : c:\usr

Again, unless you know better, use the default path : "C:\Program Files\GnuWin32". On Windows Vista 64 and Windows 7 64 bit, the default path is "C:\Program Files (x86)\GnuWin32\bin".

Now bring up a command window to test the new installation. It is important that you bring up a new one after the installation as important variables will not be applied to command windows that were open before you did the install. Run make by typing "make" into it and pressing enter. It should complain that it can't find a Makefile. Then do the same for GCC by typing "m6811-elf-gcc" in and pressing enter. This should complain that there are no input files.

Image

You can download release code from http://download.freeems.org however, what you should actually do, if you are planning to work on it, or even just try new code from developers, is follow this excellent thread on getting the latest and greatest from Git :

http://www.diyefi.org/forum/viewtopic.php?f=41&t=547

Open up a new command window and cd to the src directory inside the latest freeems directory you have.

Image

Now cross your fingers and type "make all" and press enter :-) You should be confronted with a successful FreeEMS build like this

Image

Congratulations, you just built your first FreeEMS firmware S19 file :-)

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Sun Nov 23, 2008 5:00 pm
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14913
Location: Home sweet home!
Debian GNU/Linux

Simply visit this site for more info:

http://tools.diyefi.org/#deb

Non/Old Debian GNU/Linux

There is more information here:

http://tools.diyefi.org/#other

Apple Mac OS X

There are three options for the mac, you can read about them here:

http://tools.diyefi.org/#mac

Currently the only option that is sufficiently up to date is the native install. In the case of fink or macports, they are not currently usable with the XGATE firmware. If you want to help with that, this old HOWTO could help you achieve that:

http://www.diyefi.org/forum/viewtopic.php?f=8&t=807

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Sun Nov 23, 2008 6:43 pm
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14913
Location: Home sweet home!
Discussion about IDEs and editing and other tools here....

TBC

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Sun Nov 23, 2008 6:44 pm
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14913
Location: Home sweet home!
Your thoughts here :

viewtopic.php?f=8&t=509

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Sun Nov 23, 2008 6:55 pm
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14913
Location: Home sweet home!
Bump, I just built 0.0.18 (still has a working windows makefile) on Windows 7 Ultimate, this is an improvement over dirty horrid Vista... in absolutely every way! :-)

http://stuff.fredcooke.com/FreeEMS.NYC. ... timate.png

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Sun Oct 18, 2009 8:57 pm
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14913
Location: Home sweet home!
Bump, fully updated the Windows instructions, if they don't work, please complain in the comments thread linked above! Thanks :-)

I'll update the other instructions shortly.

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Wed Jun 22, 2011 8:43 pm
Profile WWW
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 6 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.