Compile-with-sercomm » History » Version 4
gnutoo, 02/19/2016 10:49 PM
1 | 4 | gnutoo | To compile nuttx-bb with sercomm, do the following steps: |
---|---|---|---|
2 | 1 | gnutoo | |
3 | * Clone osmocom-bb and nuttx-bb, they must reside in the same directory and you shouldn't change the name of the osmocom-bb directory. |
||
4 | {{{ |
||
5 | git clone git://git.osmocom.org/osmocom-bb |
||
6 | git clone git://git.osmocom.org/nuttx-bb |
||
7 | }}} |
||
8 | * Put the gnuarm(for 64bit) or the codesourcery(for 32bit) |
||
9 | in your path(there is a problem with gnuarm for 32bit). |
||
10 | * Compile osmocom-bb as usual |
||
11 | {{{ |
||
12 | cd osmocom-bb/src |
||
13 | make |
||
14 | cd ../../ |
||
15 | }}} |
||
16 | * Compile nuttx-bb: |
||
17 | {{{ |
||
18 | cd nuttx-bb/nuttx/tools/ |
||
19 | 2 | gnutoo | ./configure.sh compal_e88/nsh #for compal_e88( gta02 and Motorola W220). |
20 | 3 | gnutoo | ./configure.sh compal_e99/nsh #for compal_e99( motorolla c155 ) |
21 | 1 | gnutoo | cd ../ |
22 | make |
||
23 | }}} |
||
24 | * nuttx.bin is ready for beeing loaded like any other firmware |