comparison doc/Compiling @ 220:60cc20bfe18f

doc/Compiling: update for the new configs
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Oct 2016 23:02:23 +0000
parents 596d86109e44
children 6c594ce434f8
comparison
equal deleted inserted replaced
219:b05dba024f95 220:60cc20bfe18f
67 fcdev3b FreeCalypso FCDEV3B (hardware designed but not built yet) 67 fcdev3b FreeCalypso FCDEV3B (hardware designed but not built yet)
68 gtamodem The Calypso GSM/GPRS modem in Openmoko GTA01/02 smartphones 68 gtamodem The Calypso GSM/GPRS modem in Openmoko GTA01/02 smartphones
69 pirelli Pirelli DP-L10 69 pirelli Pirelli DP-L10
70 70
71 For the available configurations (the second required argument to the configure 71 For the available configurations (the second required argument to the configure
72 script), look in the configs directory. As of this writing, the most 72 script), look in the configs directory and read the Handset-configs and
73 interesting configuration is l1reconst - it was named so because it rebuilds L1 73 Modem-configs write-ups.
74 from the reconstructed source.
75 74
76 Each configuration is built in its own directory; by default the build directory 75 Each configuration is built in its own directory; by default the build directory
77 is named build-$TARGET-$CONFIG, i.e., for the example configure.sh line above, 76 is named build-$TARGET-$CONFIG, i.e., for the example configure.sh line above,
78 the resulting build directory will be build-gtamodem-l1reconst. You can change 77 the resulting build directory will be build-gtamodem-l1reconst. You can change
79 the name of this directory by appending a BUILD_DIR=dir argument to the 78 the name of this directory by appending a BUILD_DIR=dir argument to the
80 ./configure.sh line after the two required arguments. 79 ./configure.sh line after the two required arguments.
81 80
82 To actually compile the firmware, cd into the created build directory and run 81 To actually compile the firmware, cd into the created build directory and run
83 make there. Unfortunately the use of TI's proprietary compiler via Wine makes 82 make there. Unfortunately the use of TI's proprietary compiler via Wine makes
84 the build very slow - it takes about 42 minutes on my machine. When it's all 83 the build very slow - it takes about 42 minutes on my machine for the l1reconst
85 done, the flashable firmware image will be in fwimage.bin. This image is to be 84 configuration, or almost 90 minutes for hybrid. When it's all done, the
86 flashed with fc-loadtool at address 0x10000 on the C139 and at address 0 on all 85 flashable firmware image will be in fwimage.bin. This image is to be flashed
87 other targets. 86 with fc-loadtool at address 0x10000 on the C139 and at address 0 on all other
87 targets.
88 88
89 When building firmware for the Pirelli or for future FreeCalypso hardware that 89 When building firmware for the Pirelli or for future FreeCalypso hardware that
90 will use the same high capacity flash+pSRAM chip, one can build either a 90 will use the same high capacity flash+pSRAM chip, one can build either a
91 flashable image or a RAM-loadable one - or both. Because this part of the 91 flashable image or a RAM-loadable one - or both. Because this part of the
92 build system is common with other targets for which only flash images can be 92 build system is common with other targets for which only flash images can be