FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/cfgmagic/target.c155 @ 884:353daaa6014d
gsm-fw/gpf/conf/gsmcomp.c: increased max partition in the voice-only config
The code we got from TCS211 had the maximum prim pool partition size set to
900 bytes in the voice-only config (no FAX_AND_DATA, no GPRS) and to 1600 bytes
in every other config. As it turns out, this "minimized" config breaks when
the AT command interface is used with %CPI enabled, as the responsible code in
ATI does an ACI_MALLOC of 1012 bytes. TI may have considered this case to be
unsupported usage (perhaps they didn't care about the combination of a
voice-only PS with AT command control), but we do want this use case to work
without crashing. Solution: I made the largest prim pool the same as it is
with FAX_AND_DATA: 3 partitions of 1600 bytes.
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 27 Jun 2015 07:31:30 +0000 |
parents | 4cd1dcc167e4 |
children | 5a826938d005 |
rev | line source |
---|---|
512
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CONFIG_TARGET_C155=1 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CONFIG_TARGET_COMPAL=1 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 export_to_c CONFIG_TARGET_C155 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 export_to_c CONFIG_TARGET_COMPAL |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 FLASH_BOOT_VIA_BOOTROM=0 |
630
4cd1dcc167e4
gsm-fw/cfgmagic: preparations for building flash images (sane vs. Compal)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
522
diff
changeset
|
6 FLASHIMAGE_BASE_ADDR=0x20000 |
512
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 CONFIG_IRAM_SIZE=0x40000 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 CONFIG_XRAM_SIZE=0x200000 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 CONFIG_FWFLASH_SIZE=0x800000 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 # the post-target fragment exports these |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 # RAMFFS: default to 32 KiB x 4 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 RAMFFS_BLKSIZE_LOG2=15 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 RAMFFS_NBLOCKS=4 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 DBB_type=751749 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 ABB_type=Iota3014 |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 RF_type=Rita |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 # the post-target fragment will turn these into TI's voodoo numbers |
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
522
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
22 # For the RF PA we have to set TI's voodoo number directly, and we don't |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
23 # even have a number for these Skyworks parts. :-( |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
24 # The best we can do for now is lie and pretend to be Leonardo/Openmoko. |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
25 RF_PA=2 |
2c9c2b95ddec
FC version of l1_rf12.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
512
diff
changeset
|
26 |
512
6f4cadd1fd7f
gsm-fw/cfgmagic: beginning of Compal target support
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 RVTMUX_UART_port=MODEM |