FreeCalypso > hg > tcs211-l1-reconst
comparison README @ 119:53d8cb470dc7
top README update
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 09 Apr 2016 05:30:59 +0000 |
parents | c7df31a89935 |
children | 95f308ba55c7 |
comparison
equal
deleted
inserted
replaced
118:eddfcbdc0225 | 119:53d8cb470dc7 |
---|---|
29 | 29 |
30 2. Go into g23m/__out__/gsm*/obj/l1_ext, and copy in original blob objects for | 30 2. Go into g23m/__out__/gsm*/obj/l1_ext, and copy in original blob objects for |
31 all those modules which have not been source-reconstructed yet. Do likewise | 31 all those modules which have not been source-reconstructed yet. Do likewise |
32 for l1_int. | 32 for l1_int. |
33 | 33 |
34 [Update: the copyblobs.sh script does this job now.] | |
35 | |
34 3. Run ./winebuild.sh again. As long as the dummy C files have not been | 36 3. Run ./winebuild.sh again. As long as the dummy C files have not been |
35 touched and the copied-in objects have newer timestamps, the dummies won't | 37 touched and the copied-in objects have newer timestamps, the dummies won't |
36 be recompiled and the copied-in objects won't get blown away. TI's make | 38 be recompiled and the copied-in objects won't get blown away. TI's make |
37 will rerun the ar packaging step to produce l1_ext.lib and l1_int.lib from | 39 will rerun the ar packaging step to produce l1_ext.lib and l1_int.lib from |
38 the mix of objects (some compiled from source, others copied-in blobs) in | 40 the mix of objects (some compiled from source, others copied-in blobs) in |
52 4. Once compilation passes, look at the generated COFF object in | 54 4. Once compilation passes, look at the generated COFF object in |
53 g23m/__out__/gsm*/obj/l1_{ext,int}. Disassemble it with the tiobjd tool | 55 g23m/__out__/gsm*/obj/l1_{ext,int}. Disassemble it with the tiobjd tool |
54 from freecalypso-reveng, and compare against the disassembly of the | 56 from freecalypso-reveng, and compare against the disassembly of the |
55 original ("official") binary blob version we got. Massage the reconstructed | 57 original ("official") binary blob version we got. Massage the reconstructed |
56 source until it compiles into object code that matches the original. | 58 source until it compiles into object code that matches the original. |
59 | |
60 [Update: use the scripts under g23m/objdiff to facilitate the disassembly | |
61 and diffing.] |