annotate components/nucleus_flash @ 134:7d50d8d13711

FFS code sync with Magnetite + gcc version fix This change brings the new flash autodetection for FC and Pirelli targets from Magnetite, and should also fix the gcc version for C1xx and gtamodem targets, which were previously broken because they used TI's original flash autodetect code (which operates at address 0) while the boot ROM is mapped there.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Dec 2018 08:43:25 +0000
parents 1155be085fc1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
37
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # New Selenite component: compiling Nucleus from source (XIP)
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 CFLAGS="-mn -me -mt -o -mw"
103
1155be085fc1 components/*: added -g to CFLAGS_gcc
Mychaela Falconia <falcon@freecalypso.org>
parents: 50
diff changeset
4 CFLAGS_gcc="-g -O2 -fno-builtin -mthumb-interwork -mthumb"
37
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 CPPFLAGS=
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 SRCDIR=$SRC/nucleus
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 c_file $SRCDIR/dmc.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 c_file $SRCDIR/dmce.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 c_file $SRCDIR/dmd.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 c_file $SRCDIR/dmf.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 c_file $SRCDIR/dmi.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 c_file $SRCDIR/dms.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 c_file $SRCDIR/erc.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 c_file $SRCDIR/erd.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 c_file $SRCDIR/eri.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 c_file $SRCDIR/evc.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 c_file $SRCDIR/evce.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 c_file $SRCDIR/evd.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 c_file $SRCDIR/evf.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 c_file $SRCDIR/evi.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 c_file $SRCDIR/hic.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 c_file $SRCDIR/hid.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 c_file $SRCDIR/hii.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 c_file $SRCDIR/inc.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 c_file $SRCDIR/ioc.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 c_file $SRCDIR/ioce.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 c_file $SRCDIR/iod.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 c_file $SRCDIR/iof.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 c_file $SRCDIR/ioi.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 c_file $SRCDIR/lic.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 c_file $SRCDIR/lid.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 c_file $SRCDIR/mbc.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35 c_file $SRCDIR/mbce.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 c_file $SRCDIR/mbd.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37 c_file $SRCDIR/mbf.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 c_file $SRCDIR/mbi.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39 c_file $SRCDIR/mbs.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 c_file $SRCDIR/mbse.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41 c_file $SRCDIR/pic.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42 c_file $SRCDIR/pice.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 c_file $SRCDIR/pid.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 c_file $SRCDIR/pif.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 c_file $SRCDIR/pii.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 c_file $SRCDIR/pis.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 c_file $SRCDIR/pise.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 c_file $SRCDIR/pmf.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49 c_file $SRCDIR/pmi.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 c_file $SRCDIR/quc.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 c_file $SRCDIR/quce.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 c_file $SRCDIR/qud.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 c_file $SRCDIR/quf.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 c_file $SRCDIR/qui.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55 c_file $SRCDIR/qus.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 c_file $SRCDIR/quse.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 c_file $SRCDIR/rlc.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 c_file $SRCDIR/rld.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 c_file $SRCDIR/smf.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 c_file $SRCDIR/smi.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61 c_file $SRCDIR/sms.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 c_file $SRCDIR/smse.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 c_file $SRCDIR/tcf.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 c_file $SRCDIR/tcfe.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65 c_file $SRCDIR/tci.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 c_file $SRCDIR/tcs.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 c_file $SRCDIR/tcse.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 c_file $SRCDIR/tmf.c
77864d54a5ff components/nucleus_{flash,intram}: compiling Nucleus C modules
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 c_file $SRCDIR/tmi.c