Hi all,
Was starting to work on making a usable phone again and wondered about the status of
nuttx-bb git on
osmocom.org versus nuttx source. It seems nuttx source is more up-to-date
and has configs for my device: compal_e86/c139. Wondering if there is something in
nuttx-bb that is unique that I should pay attention to? Should nuttx-bb be rebased from
nuttx upstream?
I was able to cobble together a nuttx.bin but on loading it always stops at 88% with the
chainloader. The nuttx.bin is 148K which would seem plenty of room since the C139 has
4000K flash (32MBit) (am I doing that calculation correctly)?
I had to fiddle with the MEMORY section of the ld.script in order to make space for nuttx,
I'm not too familiar with this sort of thing so may have done something wrong...
/* E86 stacked flash 32mbit flash, 4mbit sram, DBB internal 256kb SRAM */
/* 0x800000-0x87ffff */ /* bump up because we have 32mbit instead of 16mbit */
/* compal-loaded binary: our text, initialized data */
LRAM (rw) : ORIGIN = 0x00800000, LENGTH = 0x00020000
TRAM (rw) : ORIGIN = 0x00820000, LENGTH = 0x00040000
/* compal-loaded binary: our unitialized data, stacks, heap */
IRAM (rw) : ORIGIN = 0x00860000, LENGTH = 0x00020000
Originally TRAM was 20000 long and gave me an error on building. Not sure if I can fiddle
with these values or not.
Thanks,Craig