# HG changeset patch # User Michael Spacefalcon # Date 1404264603 0 # Node ID 6f4cadd1fd7f8ec647bc6501af50cc871224f999 # Parent 92583843f7f8789e3b2ae811ddc6e63248e6a924 gsm-fw/cfgmagic: beginning of Compal target support diff -r 92583843f7f8 -r 6f4cadd1fd7f gsm-fw/cfgmagic/post-target --- a/gsm-fw/cfgmagic/post-target Tue Jul 01 23:03:32 2014 +0000 +++ b/gsm-fw/cfgmagic/post-target Wed Jul 02 01:30:03 2014 +0000 @@ -50,6 +50,14 @@ # Thanks to the Sotovik find, we now have authoritative # knowledge that these numbers are correct. ;; + 751749*) + # Calypso Lite appears to be exactly the same as Calypso C035, + # but has only 256 KiB of IRAM instead of 512 KiB. Yet TI's + # firmware sources give it a different CHIPSET number. + # Let's try playing along... + CHIPSET=11 + DSP=36 + ;; *) echo "Error: unknown DBB_type=$DBB_type" 1>&2 exit 1 @@ -111,11 +119,3 @@ BOARD=41 export_to_c BOARD - -# Ensure that device_class is set - various feature configurations -# will certainly depend on it. -if [ -z "$device_class" ] -then - echo "Error: target.$TARGET failed to define device_class" 1>&2 - exit 1 -fi diff -r 92583843f7f8 -r 6f4cadd1fd7f gsm-fw/cfgmagic/processconf.sh --- a/gsm-fw/cfgmagic/processconf.sh Tue Jul 01 23:03:32 2014 +0000 +++ b/gsm-fw/cfgmagic/processconf.sh Wed Jul 02 01:30:03 2014 +0000 @@ -19,6 +19,7 @@ FFS_IN_RAM=1 RVTMUX_UART_port=IrDA RVTMUX_UART_baud=115200 +FLASH_BOOT_VIA_BOOTROM=1 . ./build.conf diff -r 92583843f7f8 -r 6f4cadd1fd7f gsm-fw/cfgmagic/target.c139 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/cfgmagic/target.c139 Wed Jul 02 01:30:03 2014 +0000 @@ -0,0 +1,21 @@ +CONFIG_TARGET_C139=1 +CONFIG_TARGET_COMPAL=1 +export_to_c CONFIG_TARGET_C139 +export_to_c CONFIG_TARGET_COMPAL +FLASH_BOOT_VIA_BOOTROM=0 + +CONFIG_IRAM_SIZE=0x40000 +CONFIG_XRAM_SIZE=0x80000 +CONFIG_FWFLASH_SIZE=0x400000 +# the post-target fragment exports these + +# RAMFFS: default to 8 KiB x 6 +RAMFFS_BLKSIZE_LOG2=13 +RAMFFS_NBLOCKS=6 + +DBB_type=751749 +ABB_type=Iota3025 +RF_type=Rita +# the post-target fragment will turn these into TI's voodoo numbers + +RVTMUX_UART_port=MODEM diff -r 92583843f7f8 -r 6f4cadd1fd7f gsm-fw/cfgmagic/target.c155 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/cfgmagic/target.c155 Wed Jul 02 01:30:03 2014 +0000 @@ -0,0 +1,21 @@ +CONFIG_TARGET_C155=1 +CONFIG_TARGET_COMPAL=1 +export_to_c CONFIG_TARGET_C155 +export_to_c CONFIG_TARGET_COMPAL +FLASH_BOOT_VIA_BOOTROM=0 + +CONFIG_IRAM_SIZE=0x40000 +CONFIG_XRAM_SIZE=0x200000 +CONFIG_FWFLASH_SIZE=0x800000 +# the post-target fragment exports these + +# RAMFFS: default to 32 KiB x 4 +RAMFFS_BLKSIZE_LOG2=15 +RAMFFS_NBLOCKS=4 + +DBB_type=751749 +ABB_type=Iota3014 +RF_type=Rita +# the post-target fragment will turn these into TI's voodoo numbers + +RVTMUX_UART_port=MODEM diff -r 92583843f7f8 -r 6f4cadd1fd7f gsm-fw/cfgmagic/target.gtamodem --- a/gsm-fw/cfgmagic/target.gtamodem Tue Jul 01 23:03:32 2014 +0000 +++ b/gsm-fw/cfgmagic/target.gtamodem Wed Jul 02 01:30:03 2014 +0000 @@ -1,8 +1,5 @@ CONFIG_TARGET_GTAMODEM=1 export_to_c CONFIG_TARGET_GTAMODEM -export_to_mk CONFIG_TARGET_GTAMODEM - -device_class=modem CONFIG_IRAM_SIZE=0x80000 CONFIG_XRAM_SIZE=0x100000 diff -r 92583843f7f8 -r 6f4cadd1fd7f gsm-fw/cfgmagic/target.pirelli --- a/gsm-fw/cfgmagic/target.pirelli Tue Jul 01 23:03:32 2014 +0000 +++ b/gsm-fw/cfgmagic/target.pirelli Wed Jul 02 01:30:03 2014 +0000 @@ -1,8 +1,5 @@ CONFIG_TARGET_PIRELLI=1 export_to_c CONFIG_TARGET_PIRELLI -export_to_mk CONFIG_TARGET_PIRELLI - -device_class=phone CONFIG_IRAM_SIZE=0x80000 CONFIG_XRAM_SIZE=0x800000