view README @ 24:26666ef41058

l1_dyn_dwl_init.c compiles
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Thu, 22 Oct 2015 16:59:26 +0000
parents 3f44bb6108b9
children c7df31a89935
line wrap: on
line source

The purpose of this Hg tree (derived from leo2moko-debug) is to facilitate an
attempt at reconstructing an L1 source that would match the binary object
version we got with our TCS211 semi-src delivery from Sotovik.

The source tree contained herein does NOT compile all the way into a complete
firmware image, instead the link step currently fails because most L1 modules
have been replaced with dummies.  The purpose of this tree is not to produce a
complete fw image, but to facilitate compilation of individual C modules pulled
from the LoCosto L1 source in the TCS211 environment.

The envisioned mode of usage is as follows:

1. Choose an individual L1 C module to work on.

2. Copy the source for the chosen module from the LoCosto source in the place
   of the dummy in this tree.

3. Run ./winebuild.sh in the g23m directory and examine the output in
   report.txt.  If the imported C module fails to compile, massage it until it
   passes compilation.

4. Once compilation passes, look at the generated COFF object in
   g23m/__out__/gsm*/obj/l1_{ext,int}.  Disassemble it with the tiobjd tool
   from freecalypso-reveng, and compare against the disassembly of the
   original ("official") binary blob version we got.  Massage the reconstructed
   source until it compiles into object code that matches the original.