comparison doc/Compiling @ 531:6917ea63bffa

doc/Compiling: Slackware, Wine and mokosrec2bin updates
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 26 Oct 2018 00:29:16 +0000
parents 9363ea39c74c
children f551ffdfe938
comparison
equal deleted inserted replaced
530:a6a0102cb95f 531:6917ea63bffa
2 =============================================== 2 ===============================================
3 3
4 In order to compile our FreeCalypso Magnetite firmware, you will need a 4 In order to compile our FreeCalypso Magnetite firmware, you will need a
5 Unix/Linux system. Even though we are using a compiler which we got in the 5 Unix/Linux system. Even though we are using a compiler which we got in the
6 form of Windows .exe binaries and thus have to use Wine (see below), everything 6 form of Windows .exe binaries and thus have to use Wine (see below), everything
7 that we have built on top of it is Unix-based. The Mother uses Slackware Linux 7 that we have built on top of it is Unix-based. The Mother currently uses
8 version 13.37, 32-bit. 8 Slackware Linux release 14.2 (32-bit) and previously used Slackware 13.37,
9 also 32-bit.
9 10
10 You will need to install the following four pieces of software on whatever 11 You will need to install the following 3 pieces of software on whatever
11 machine you will use to run the FC Magnetite build process: 12 machine you will use to run the FC Magnetite build process:
12 13
13 1. Wine: self-explanatory. 14 1. Wine: self-explanatory. The Mother uses the following Slackware package:
15
16 https://www.freecalypso.org/members/falcon/slackware/wine-1.5.23-i486-1sg.txz
17
18 I originally used it with Slackware 13.37 and I am still able to use it
19 with 14.2 without any issues.
14 20
15 2. FreeCalypso Wine environment: 21 2. FreeCalypso Wine environment:
16 22
17 ftp://ftp.freecalypso.org/pub/GSM/TI_src/wine/installed-env.tar.xz 23 ftp://ftp.freecalypso.org/pub/GSM/TI_src/wine/installed-env.tar.xz
18 24
21 27
22 3. nowhine wrapper around Wine: 28 3. nowhine wrapper around Wine:
23 29
24 ftp://ftp.freecalypso.org/pub/GSM/TI_src/wine/nowhine.c 30 ftp://ftp.freecalypso.org/pub/GSM/TI_src/wine/nowhine.c
25 31
26 Note that Wine may produce different whines on your system than it 32 The purpose of this wrapper is to suppress the following obnoxious whine
27 does on mine, in which case if you wish to be relieved of those 33 which wine emits on my system:
28 whines, you'll need to edit my nowhine.c hack for your situation.
29 And if wine does not whine at all on your system, you can skip the
30 wrapper and create a nowhine symlink pointing directly to wine.
31 34
32 4. mokosrec2bin flash image file format conversion utility: 35 preloader: Warning: failed to reserve range 00010000-00110000
33 36
34 ftp://ftp.freecalypso.org/pub/GSM/GTA02/gsm-fw/mokosrec2bin.c 37 Wine will also emits a bunch of other whines if you have to run it
38 in an environment without an X11 display (e.g., on a machine that you
39 ssh into), and our nowhine wrapper suppresses those as well.
35 40
36 Note that the four host software pieces above are exactly the same as what has 41 If wine does not emit those preloader whines on your system and you
37 been needed to build our previous TCS211-based fw works such as leo2moko-debug 42 never find yourself in a situation of having to run without an X11
38 and tcs211-c139 - thus if you have built those previously, you should already 43 display and thus you find our nowhine wrapper to be unnecessary,
39 have all of the necessary host tools. 44 you can skip the wrapper and create a nowhine symlink pointing directly
45 to wine.
46
47 The mokosrec2bin flash image file format conversion utility is now included
48 locally and no longer needs to be provided externally.
40 49
41 Compiling the local helper utilities 50 Compiling the local helper utilities
42 ==================================== 51 ====================================
43 52
44 (cd helpers; make) 53 (cd helpers; make)