changeset 15:abe969a9b145

contortions for rebuilding create_RVtasks.c from source (pulled from LoCosto)
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 06 Sep 2015 02:17:08 +0000
parents 91fb52ecb228
children dc9d25ac72a9
files chipsetsw/system/Main/create_RVtasks.c chipsetsw/system/Main/init.c chipsetsw/system/Main/main.c chipsetsw/system/Main/mem_load.c chipsetsw/system/Main/sys_dummy.c g23m/__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib g23m/blobs/init.obj g23m/blobs/mem_load.obj g23m/pdt_2091.mak g23m/system/busyb/deliverydefs/dlvcfg0.xml
diffstat 10 files changed, 1091 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/chipsetsw/system/Main/create_RVtasks.c	Sun Sep 06 02:17:08 2015 +0000
@@ -0,0 +1,660 @@
+/*************************************************************************************
+ *                                                                                   *
+ *  Name        create_RVtasks.c                                                     *
+ *                                                                                   *
+ *  Function    this file contains functions allowing tasks creation in              *
+ *              the Riviera environment                                              *
+ *                                                                                   *
+ *  Version     0.1                                                                  *
+ *                                                                                   *
+ *  Date        Modification                                                         *
+ *  ------------------------------------                                             *
+ *  03 August 2000      Create                                                       *
+ *                                                                                   *
+ *  Author      Pascal Puel                                                          *
+ *                                                                                   *
+ * (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved         *
+ *                                                                                   *
+ * --------------------------------------------------------------------------------- *
+ *                                                                                   *
+ *   History:                                                                        *
+ *                                                                                   *
+ *   10/18/2001 - Updated for R2D by Christophe Favergeon                            *
+ *   08/28/2002 - Clean-Up by Gerard Cauvy                                           *
+ *                                                                                   *
+ ************************************************************************************/
+
+#ifndef _WINDOWS
+    #include "rv.cfg"
+#endif
+
+#include "rv/rv_general.h"
+#include "rvf/rvf_api.h"
+#include "rvm/rvm_api.h"
+#include "rvm/rvm_use_id_list.h"
+#include "rvt/rvt_gen.h"
+//sys_types.h is necessary for function prototypes in buzzer.h
+#include "sys_types.h"
+#include "buzzer/buzzer.h"
+#include "rv/rv_defined_swe.h"
+#include "chipset.cfg"
+
+#ifndef _WINDOWS
+#  include "power/power.h"
+#endif
+
+#include <stdio.h>
+#include <string.h>
+
+
+#define START_TASK_ID      (MAX_RVF_TASKS-1)
+#define RV_START_TASK_PRIO (249)
+
+T_RVT_USER_ID rv_trace_user_id = 0xff;
+T_RVT_USER_ID etm_trace_user_id;
+
+extern void etm_receive(unsigned char *inbuf, unsigned short size);
+
+#ifdef MIXED_TRACE
+  T_RVT_USER_ID l23_trace_user_id;
+  extern void ext_processExtInput (T_RVT_BUFFER, UINT16);
+#endif
+
+#ifdef RVM_RNET_BR_SWE
+  T_RVT_USER_ID rnet_trace_user_id;
+  extern void rnet_receive (UINT8 *inbuf, UINT16 size);
+#endif
+
+#if (TEST==1)
+
+  // The name that uniquely identifies the Memory Bank MUST be
+  // 'TEST1', whereas it might be used by some other software
+  // entity for testing purpose.
+  #define RVTEST_MENU_MB_NAME          ("TEST1")
+
+  // Memory requirements.
+  #define RVTEST_MENU_MB_SIZE          (5000)
+  #define RVTEST_MENU_MB_WATERMARK     (4000)
+
+  extern void rv_test (UINT32 p);
+#endif
+
+
+/*******************************************************************************
+**
+** Function         rvt_init_trace
+**
+** Description      This function is called by the RV_START task to register
+**                  the Riviera Frame in the trace module
+**
+** Returns          void
+**
+*******************************************************************************/
+void rvt_init_trace (void)
+{
+    rvt_register_id ("RV", &rv_trace_user_id, rvt_set_trace_level);
+}
+
+#ifdef RVM_ETM_SWE
+/*******************************************************************************
+**
+** Function         etm_init_trace
+**
+** Description      This function is called by the RV_START task to register
+**                  the ETM in the trace module
+**
+** Returns          void
+**
+*******************************************************************************/
+void etm_init_trace (void)
+{
+    extern T_RVT_USER_ID tm_trace_user_id;
+
+    rvt_register_id("TM", &etm_trace_user_id, etm_receive);
+
+#if (PSP_STANDALONE != 1)
+    tm_trace_user_id = etm_trace_user_id; // TML1 use the tm_trace_user_id
+#endif
+}
+#endif
+
+#ifdef MIXED_TRACE
+/*******************************************************************************
+**
+** Function         l23_init_trace
+**
+** Description      This function is called by the RV_START task to register
+**                  the Protocol Stack (Layers 2 & 3) in the trace module
+**
+** Returns          void
+**
+*******************************************************************************/
+void l23_init_trace (void)
+{
+    rvt_register_id ("L23", &l23_trace_user_id, ext_processExtInput);
+}
+#endif
+
+#ifdef RVM_RNET_BR_SWE
+/*******************************************************************************
+**
+** Function         rnet_init_trace
+**
+** Description      This function is called by the RV_START task to register
+**                  RNET in the trace module
+**
+** Returns          void
+**
+*******************************************************************************/
+void rnet_init_trace (void)
+{
+    rvt_register_id ("RNET", &rnet_trace_user_id, rnet_receive);
+}
+#endif
+
+
+/*******************************************************************************
+**
+** Function         rv_start_swe_and_check
+**
+** Description      This internal function is called by the stater task to
+**                  start the basic SWEs in the system and to check if
+**                  they started successfully or not.
+**
+** Returns          void
+**
+*******************************************************************************/
+#if (CHIPSET!=15) || (REMU==0)
+BOOLEAN rv_start_swe_and_check (T_RVM_USE_ID swe_use_id, T_RVM_NAME swe_name)
+{
+    T_RV_RETURN return_path    = {0};
+    T_RV_HDR    *msg_ptr       = NULL;
+    UINT16      rec_evt        = 0;
+    char        error_msg[150] = "";
+
+    /* temporary initialization of addr_id */
+    return_path.addr_id = START_TASK_ID;
+    return_path.callback_func = NULL;
+
+    /* attempt to initialize the required SWE */
+    if (rvm_start_swe (swe_use_id, return_path) != RVM_OK)
+    {
+        sprintf (error_msg,
+                 "create_RVtasks: Unable to start %s (0x%.8x). Error in rvm_start_swe",
+                 (char *)swe_name,
+                 swe_use_id);
+        rvf_send_trace ((char *)error_msg,
+                        strlen((char *)error_msg),
+                        NULL_PARAM,
+                        RV_TRACE_LEVEL_WARNING, RVM_USE_ID);
+        return FALSE;
+    }
+
+    /*
+     * wait for the SWE to be actually started.
+     * note that the 'RVM_EVT_TO_APPLI' notification is sent back
+     * once xxx_start () is invoked.
+     */
+    while (rec_evt = rvf_evt_wait (START_TASK_ID, \
+                                   0xFFFF, \
+                                   0xFFFFFFFFL))
+    {
+        if (rec_evt & ~RVF_TASK_MBOX_0_EVT_MASK)
+        {
+            sprintf (error_msg,
+                     "create_RVtasks: Starting %s (0x%.8x). Event ",
+                     (char *)swe_name,
+                     swe_use_id);
+            rvf_send_trace ((char *)error_msg,
+                            strlen((char *)error_msg),
+                            (UINT32)rec_evt,
+                            RV_TRACE_LEVEL_WARNING,
+                            RVM_USE_ID);
+        }
+        if (rec_evt & RVF_TASK_MBOX_0_EVT_MASK)
+        {
+            if ((msg_ptr = (T_RV_HDR *) rvf_read_addr_mbox (START_TASK_ID, \
+                                                            RVF_TASK_MBOX_0)) == NULL)
+            {
+                sprintf (error_msg,
+                         "create_RVtasks: Starting %s (0x%.8x). Message NULL",
+                         (char *)swe_name,
+                         swe_use_id);
+                rvf_send_trace ((char *)error_msg,
+                                strlen((char *)error_msg),
+                                NULL_PARAM,
+                                RV_TRACE_LEVEL_WARNING,
+                                RVM_USE_ID);
+                continue;
+            }
+            if (msg_ptr->msg_id != RVM_EVT_TO_APPLI)
+            {
+                sprintf (error_msg,
+                         "create_RVtasks: Starting %s (0x%.8x). Message ID ",
+                         (char *)swe_name,
+                         swe_use_id);
+                rvf_send_trace ((char *)error_msg,
+                                strlen((char *)error_msg),
+                                msg_ptr->msg_id,
+                                RV_TRACE_LEVEL_WARNING,
+                                RVM_USE_ID);
+                rvf_free_buf (msg_ptr);
+                continue;
+            }
+            break;
+        }
+    }
+    switch (((T_RVM_APPLI_RESULT *)msg_ptr)->result)
+    {
+        case RVM_OK:
+            {
+                sprintf (error_msg,
+                         "create_RVtasks: %s (0x%.8x) started",
+                         (char *)swe_name,
+                         swe_use_id);
+                rvf_send_trace ((char *)error_msg,
+                                strlen ((char *)error_msg),
+                                NULL_PARAM,
+                                RV_TRACE_LEVEL_DEBUG_HIGH,
+                                RVM_USE_ID);
+                rvf_free_buf (msg_ptr);
+                return TRUE;
+            }
+        case RVM_NOT_READY:
+            {
+                sprintf (error_msg,
+                         "create_RVtasks: %s (0x%.8x) already started",
+                         (char *)swe_name,
+                         swe_use_id);
+                rvf_send_trace ((char *)error_msg,
+                                strlen ((char *)error_msg),
+                                NULL_PARAM,
+                                RV_TRACE_LEVEL_DEBUG_MEDIUM,
+                                RVM_USE_ID);
+                rvf_free_buf (msg_ptr);
+                return TRUE;
+            }
+        default:
+            {
+                break;
+            }
+    }
+    sprintf (error_msg,
+             "create_RVtasks: Unable to start %s (0x%.8x). Error ",
+             (char *)swe_name,
+             swe_use_id);
+    rvf_send_trace ((char *)error_msg,
+                    strlen ((char *)error_msg),
+                    ((T_RVM_APPLI_RESULT *)msg_ptr)->result,
+                    RV_TRACE_LEVEL_WARNING,
+                    RVM_USE_ID);
+    rvf_free_buf (msg_ptr);
+    return FALSE;
+}
+
+#endif
+/*******************************************************************************
+**
+** Function         rv_start
+**
+** Description      This function is called by the RV_START task. It starts the
+**                  Riviera environment and the TRACE task. This start must be
+**                  done after Application_initialize().
+**
+** Returns          void
+**
+*******************************************************************************/
+void rv_start (void)
+{
+#if (TEST==1)
+    T_RVF_MB_ID     mb_id           = RVF_INVALID_MB_ID;
+    T_RVF_MB_PARAM  mb_requirements = {0};
+    volatile UINT16 result          = 0;
+#endif
+
+    /* initialize the RVM and the RVF at the same time */
+#if (CHIPSET!=15) || (REMU==0)
+    rvm_start_environment ();
+#endif
+    /*
+    ** Init trace module
+    */
+    rvt_init_trace ();
+#ifdef RVM_ETM_SWE
+    etm_init_trace ();
+#endif
+
+#if (_GSM==1)
+    #ifdef MIXED_TRACE
+      l23_init_trace ();
+    #endif
+#endif // if (_GSM==1)
+
+#ifdef RVM_RNET_BR_SWE
+    rnet_init_trace ();
+#endif
+
+#if (REMU==1)
+#ifdef RVM_LLS_SWE
+    /* initialize LLS SWE */
+    lls_init();
+#endif
+
+#ifdef RVM_RNG_SWE
+    /* initialize RNG SWE */
+    rng_init ();
+#endif
+#endif
+
+#if (CHIPSET!=15) || (REMU==0)
+#ifdef RVM_RVT_SWE
+    /* initialize TRACE SWE */
+    rv_start_swe_and_check (RVT_USE_ID, "RVT");
+#endif
+
+#ifdef RVM_I2C_SWE
+	rv_start_swe_and_check (I2C_USE_ID, "I2C");
+#endif
+
+#ifdef RVM_DMA_SWE
+	rv_start_swe_and_check (DMA_USE_ID, "DMA");
+#endif
+
+#ifdef RVM_DMG_SWE
+	rv_start_swe_and_check (DMG_USE_ID, "DMG");
+#endif
+
+#ifdef RVM_NAN_SWE
+	rv_start_swe_and_check (NAN_USE_ID, "NAN");
+#endif
+
+#ifdef RVM_MC_SWE
+	rv_start_swe_and_check (MC_USE_ID, "MC");
+#endif
+
+#ifdef RVM_FFS_SWE
+    /* initialize FFS SWE */
+    rv_start_swe_and_check (FFS_USE_ID, "FFS");
+#endif
+
+#ifdef RVM_SPI_SWE
+    /* initialize SPI SWE */
+    rv_start_swe_and_check (SPI_USE_ID, "SPI");
+#endif
+
+#ifdef RVM_PWR_SWE
+    /* initialize PWR SWE */
+    rv_start_swe_and_check (PWR_USE_ID, "PWR");
+#endif
+
+#ifdef RVM_LCC_SWE
+    /* initialize LCC(PWR) SWE */
+    rv_start_swe_and_check (LCC_USE_ID, "LCC");
+#endif
+
+#ifdef RVM_KPD_SWE
+    /* initialize KPD SWE */
+    rv_start_swe_and_check (KPD_USE_ID, "KPD");
+#endif
+
+#ifdef RVM_DAR_SWE
+    /* initialize DAR SWE */
+    rv_start_swe_and_check (DAR_USE_ID, "DAR");
+#endif
+
+#ifdef RVM_R2D_SWE
+    /* initialize R2D SWE */
+    rv_start_swe_and_check (R2D_USE_ID, "R2D");
+#endif
+
+#ifdef RVM_LCD_SWE
+    /* initialize LCD SWE */
+    rv_start_swe_and_check (LCD_USE_ID, "LCD");
+#endif
+
+
+#ifdef RVM_ETM_SWE
+    /* initialize ETM SWE */
+    rv_start_swe_and_check (ETM_USE_ID, "ETM");
+#endif
+
+#ifdef RVM_TTY_SWE
+    /* initialize TTY SWE */
+    rv_start_swe_and_check (TTY_USE_ID, "TTY");
+#endif
+
+
+#ifdef RVM_AUDIO_MAIN_SWE
+    /* initialize AUDIO SWE */
+    rv_start_swe_and_check (AUDIO_USE_ID, "AUDIO");
+#endif
+
+#if (PSP_STANDALONE==0)
+#ifdef RVM_AUDIO_BGD_SWE
+    /* initialize AUDIO BACKGROUND SWE */
+    rv_start_swe_and_check (AUDIO_BGD_USE_ID, "AUDIO_BGD");
+#endif
+#endif
+
+#if (PSP_STANDALONE==0)
+#ifdef RVM_BAE_SWE
+    /* initialize BAE SWE */
+    rv_start_swe_and_check (BAE_USE_ID, "BAE");
+#endif
+#endif
+
+#ifdef RVM_AS_SWE
+    /* initialize AS (Audio Services) SWE */
+    rv_start_swe_and_check (AS_USE_ID, "AS");
+#endif
+
+#if (PSP_STANDALONE==0)
+#ifdef RVM_BPR_SWE
+    /* initialize sample BPR SWE */
+    rv_start_swe_and_check (BPR_USE_ID, "BPR");
+#endif
+
+#endif /* PSP_STANDALONE */
+
+#ifdef RVM_RTC_SWE
+    /* initialize RTC SWE */
+    rv_start_swe_and_check (RTC_USE_ID, "RTC");
+#endif
+
+#ifdef RVM_LLS_SWE
+    /* initialize LLS SWE */
+    rv_start_swe_and_check (LLS_USE_ID, "LLS");
+#endif
+
+#ifdef RVM_TUT_SWE
+    /* initialize TUT SWE */
+//	rv_start_swe_and_check (TUT_USE_ID, "TUT");
+#endif
+
+#ifdef RVM_RGUI_SWE
+    /* initialize RGUI SWE */
+	rv_start_swe_and_check (RGUI_USE_ID, "RGUI");
+#endif
+
+#ifdef RVM_ATP_SWE
+	/* initialize ATP SWE */
+	rv_start_swe_and_check (ATP_USE_ID, "ATP");
+#endif
+
+/*
+ * FreeCalypso: the main.lib:Create_RVtasks.obj binary blob we got with our
+ * TCS211 semi-src does not start MKS, even though the SWE itself is enabled
+ * in the build system and pulled into the link.
+ */
+#if 0
+#ifdef RVM_MKS_SWE
+	rv_start_swe_and_check (MKS_USE_ID, "MKS");
+#endif
+#endif
+
+#ifdef RVM_IMG_SWE
+	rv_start_swe_and_check (IMG_USE_ID, "IMG");
+#endif
+
+#ifdef RVM_GBI_SWE
+	rv_start_swe_and_check (GBI_USE_ID, "GBI");
+#endif
+
+#ifdef RVM_CAMD_SWE
+	rv_start_swe_and_check (CAMD_USE_ID, "CAMD");
+#endif
+
+#ifdef RVM_USB_SWE
+    /* initialize USB SWE */
+	rv_start_swe_and_check (USB_USE_ID, "USB");
+#endif
+
+#ifdef RVM_CAMA_SWE
+	rv_start_swe_and_check (CAMA_USE_ID, "CAMA");
+#endif
+
+#ifdef RVM_MFW_SWE
+    /* initialize MFW SWE */
+    rv_start_swe_and_check (MFW_USE_ID, "MFW");
+#endif
+
+#ifdef RVM_SMBS_SWE
+    /* initialize SMBS SWE */
+    rv_start_swe_and_check (SMBS_USE_ID, "SMBS");
+#endif
+
+#ifdef RVM_USBFAX_SWE
+    /* initialize USB SWE */
+	rv_start_swe_and_check (USBFAX_USE_ID, "USBFAX");
+#endif
+
+#ifdef RVM_USBTRC_SWE
+    /* initialize USBTRC SWE */
+	rv_start_swe_and_check (USBTRC_USE_ID, "USBTRC");
+#endif
+
+#ifdef RVM_USBMS_SWE
+    /* initialize USBMS SWE */
+	rv_start_swe_and_check (USBMS_USE_ID, "USBMS");
+#endif
+
+#ifdef RVM_RFS_SWE
+    /* initialize RFS SWE */
+	rv_start_swe_and_check (RFS_USE_ID, "RFS");
+#endif
+
+
+#ifdef RVM_CCI_SWE
+    /* initialize CCI SWE */
+    rv_start_swe_and_check (CCI_USE_ID, "CCI");
+#endif
+
+#ifdef RVM_BTUI_SWE
+    /* initialize sample BTUI SWE */
+    rv_start_swe_and_check (BTUI_USE_ID, "BTUI");
+#endif
+#ifdef RVM_JPEG_SWE
+    /* initialize sample JPEG SWE */
+    rv_start_swe_and_check (JPEG_USE_ID, "JPEG");
+#endif    
+#ifdef RVM_JPEG_SWE
+    /* initialize sample JPEG SWE */
+    rv_start_swe_and_check (JPEG_USE_ID, "JPEG");
+#endif    
+#endif
+// WARNING WARNING ----------------------------------------------------
+// Do not perform any SWE initialization after this line !
+// WARNING WARNING ----------------------------------------------------
+
+#if (REMU==0) /* moved this to kpd start function.  rv_start function for REMU. rv_start is called from Application Initialize 
+context.  Since this is a blocking call, we cannot afford to block in Application_Initialization. */
+#ifndef _WINDOWS
+    // Perform switch ON processing.
+    Switch_ON();
+#endif
+
+#if (_GSM==1)
+    BZ_KeyBeep_ON ();          // Audio feedback if ON/OFF pushed
+#endif // if (_GSM==1)
+
+#endif
+#if (CHIPSET!=15) || (REMU==0)
+    /* dump the Riviera memory state */
+    rvf_delay (RVF_MS_TO_TICKS (300)) ;
+	rvf_dump_mem ();
+    rvf_dump_pool();
+    rvf_dump_tasks();
+#endif
+#if (TEST==1)
+#if (PSP_STANDALONE == 1)
+	/* Just For Testing Reset of UICC */
+//   bspUicc_reset(1,0);   
+
+	/* Just For Testing GEA */
+//   bspTest_Gea3_ciph_req(1);
+
+#endif
+#if (CHIPSET!=15) || (REMU==0)
+    // create a Memory Bank for the 'Test Selection Menu'.
+    mb_requirements.size      = RVTEST_MENU_MB_SIZE;
+    mb_requirements.watermark = RVTEST_MENU_MB_WATERMARK;
+    mb_requirements.pool_id   = RVF_POOL_EXTERNAL_MEM;
+    if (rvf_create_mb (RVTEST_MENU_MB_NAME,
+                       mb_requirements,
+                       &mb_id) != RVF_OK)
+    {
+        // error case.
+        result++;
+    }
+
+#if (PSP_STANDALONE == 1)	
+/* Just For Testing Reset of UICC */	
+bspUicc_reset(1,0);	/* Just For Testing GEA */	
+bspTest_Gea3_ciph_req(1);    
+#endif
+
+// Go to the 'Test Selection Menu' (using rv_test ()).
+    rv_test (0);
+#endif	
+#endif // (TEST==1)
+
+#if (CHIPSET!=15) || (REMU==0)
+    // infinite wait
+    rvf_evt_wait (START_TASK_ID,
+                  0xFFFF,
+                  0xFFFFFFFFL);
+#endif
+}
+
+#if (TEST==1) 
+  #define RV_START_TASK_STACK (4096)
+#else
+  #define RV_START_TASK_STACK (1024)
+#endif
+#if (CHIPSET!=15) || (REMU==0)
+UINT8 stack_start[RV_START_TASK_STACK];
+
+
+/*******************************************************************************
+**
+** Function         create_tasks
+**
+** Description      This function is called once at startup to allow task
+**                  creation thanks to Riviera environment.
+**
+** Returns          void
+**
+*******************************************************************************/
+void create_tasks (void)
+{
+
+   // Tasks creation
+   rvf_create_legacy_task ((TASKPTR) rv_start, START_TASK_ID,
+                    "RV_START", stack_start,
+                    RV_START_TASK_STACK, RV_START_TASK_PRIO, 0, RUNNING);
+
+}
+#endif
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/chipsetsw/system/Main/init.c	Sun Sep 06 02:17:08 2015 +0000
@@ -0,0 +1,1 @@
+#error "this init.c is a dummy, use Leonardo object instead"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/chipsetsw/system/Main/main.c	Sun Sep 06 02:17:08 2015 +0000
@@ -0,0 +1,11 @@
+/* trivial reconstruction from disassembly */
+
+Application_Initialize()
+{
+	Init_Target();
+	Init_Drivers();
+	Cust_Init_Layer1();
+	Init_Serial_Flows();
+	StartFrame();
+	Init_Unmask_IT();
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/chipsetsw/system/Main/mem_load.c	Sun Sep 06 02:17:08 2015 +0000
@@ -0,0 +1,1 @@
+#error "this mem_load.c is a dummy, use Leonardo object instead"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/chipsetsw/system/Main/sys_dummy.c	Sun Sep 06 02:17:08 2015 +0000
@@ -0,0 +1,1 @@
+/* it's OK for this C module to be empty */
Binary file g23m/__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib has changed
Binary file g23m/blobs/init.obj has changed
Binary file g23m/blobs/mem_load.obj has changed
--- a/g23m/pdt_2091.mak	Sun Sep 06 00:49:47 2015 +0000
+++ b/g23m/pdt_2091.mak	Sun Sep 06 02:17:08 2015 +0000
@@ -4,7 +4,7 @@
 ##                         X:/leo2moko-debug/g23m/system/busyb/unbusy_targetset.xml
 ##  BASED ON CONFIGURATION dlv_leonardo_rev5_gprs 2091
 ##  USING TOOLSET          Tools
-##  generated              6/1/15 6:41 AM
+##  generated              9/6/15 1:08 AM
 ##  by                     BuSyB Version 1.2.0
 ##  for                    DTD Version   1.19
 ###############################################
@@ -42,6 +42,7 @@
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/sim_drv \
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/spi_drv \
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/uart_drv \
+                   __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main \
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/cnf_ir
 
 BSB_TARGETS_ALL  = __out__/g23m_dfile/prim/aci.pdf \
@@ -506,6 +507,13 @@
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/uart_drv/serialswitch.obj \
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/uart_drv/uartfax.obj \
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/uart_drv.lib \
+                   __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/init.obj \
+                   __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/create_RVtasks.obj \
+                   __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/main.obj \
+                   __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/sys_dummy.obj \
+                   __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/mem_load.obj \
+                   __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/int.obj \
+                   __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib \
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/cnf_ir/gprscomp.obj \
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/config_gprs_ir.lib \
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/lnk__ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0.cmd \
@@ -532,6 +540,7 @@
                    ../gpf/tools/bin/rm.exe \
                    $(PATH_CC_1_22e)//ar470 \
                    $(PATH_CC_1_22e)//cl470 \
+                   $(PATH_CC_1_22e)//asm470 \
                    system/busyb/tools/make_cmd.pl
 
 BSB_PATHES_ALL   = NEXGEN_NGOS_INCLUDE       nexgen/coreip/ngos \
@@ -1109,7 +1118,7 @@
                    L1_LIB_DLV             1 \
                    L1_CUST_LIB_DLV        1 \
                    L1_TPU_LIB_DLV         1 \
-                   INIT_LIB_DLV           1 \
+                   INIT_LIB_DLV           0 \
                    BSP_LIB_DLV            0 \
                    BSP_CORE_LIB_DLV       0 \
                    RIV_LIB_DLV            0 \
@@ -1618,6 +1627,12 @@
                    ../chipsetsw/drivers/drv_app/spi/spi_task.c \
                    ../chipsetsw/drivers/drv_app/uart/serialswitch.c \
                    ../chipsetsw/drivers/drv_app/uart/uartfax.c \
+                   ../chipsetsw/system/Main/init.c \
+                   ../chipsetsw/system/Main/create_RVtasks.c \
+                   ../chipsetsw/system/Main/main.c \
+                   ../chipsetsw/system/Main/sys_dummy.c \
+                   ../chipsetsw/system/Main/mem_load.c \
+                   ../chipsetsw/system/Main/int.s \
                    ../chipsetsw/system/template/gsm_ds_k5a3281.template \
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/bootloader.lib \
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/tpudrv.lib \
@@ -1664,7 +1679,6 @@
                    ../gpf/LIB/misc_na7_db_fl.lib \
                    ../gpf/LIB/tif_na7_db_fl.lib \
                    __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/l1_custom_ext.lib \
-                   __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib \
                    ../chipsetsw/os/nucleus/v1_22e/nucleus_flash_nodbg.lib \
                    ../chipsetsw/system/rtslib/v1_22e/rts16le_flash.lib
 
@@ -31107,6 +31121,401 @@
 
 
 
+# TargetName=main
+#
+# TargetType=obj
+# TargetDir=__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/
+#
+# Using Tool: CC2
+#       mode: One to One
+#    command: cc_ti
+#   modifier: n/a
+#     descr.: TI C/C++ Compiler
+#      exec.: $(PATH_CC_1_22e)//cl470
+#
+# SOURCES:
+# ../chipsetsw/system/Main/init.c
+# ../chipsetsw/system/Main/create_RVtasks.c
+# ../chipsetsw/system/Main/main.c
+# ../chipsetsw/system/Main/sys_dummy.c
+# ../chipsetsw/system/Main/mem_load.c
+#
+# RESULTS:
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/init.obj
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/create_RVtasks.obj
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/main.obj
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/sys_dummy.obj
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/mem_load.obj
+#
+# RULES:
+
+__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/init.obj: \
+	blobs/init.obj
+	cp $< $@
+
+__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/mem_load.obj: \
+	blobs/mem_load.obj
+	cp $< $@
+
+#__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/init.obj: \
+#        ../chipsetsw/system/Main/init.c
+#	$(PATH_CC_1_22e)//cl470 \
+#        -mn -mt \
+#        -o \
+#        -x \
+#        -mw \
+#        -eoobj -me \
+#        -pw2 -q \
+#        -DTOOL_CHOICE=0 \
+#        -D_TMS470 \
+#        -I../chipsetsw/os/nucleus \
+#        -I__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0 \
+#        -I__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/config \
+#        -I../chipsetsw/layer1/bootloader/include \
+#        -I../gpf/INC \
+#        -I../gpf/FRAME/cust_os \
+#        -I../chipsetsw/system \
+#        -I../chipsetsw/riviera \
+#        -I../chipsetsw/riviera/rv \
+#        -I../chipsetsw/drivers/drv_core \
+#        -I../chipsetsw/drivers/drv_core/abb \
+#        -I../chipsetsw/drivers/drv_core/armio \
+#        -I../chipsetsw/drivers/drv_core/clkm \
+#        -I../chipsetsw/drivers/drv_core/conf \
+#        -I../chipsetsw/drivers/drv_core/dma \
+#        -I../chipsetsw/drivers/drv_core/dsp_dwnld \
+#        -I../chipsetsw/drivers/drv_core/inth \
+#        -I../chipsetsw/drivers/drv_core/memif \
+#        -I../chipsetsw/drivers/drv_core/rhea \
+#        -I../chipsetsw/drivers/drv_core/security \
+#        -I../chipsetsw/drivers/drv_core/spi \
+#        -I../chipsetsw/drivers/drv_core/timer \
+#        -I../chipsetsw/drivers/drv_core/uart \
+#        -I../chipsetsw/drivers/drv_core/ulpd \
+#        -I../chipsetsw/drivers/drv_app \
+#        -I../chipsetsw/services \
+#        -Icondat/ms/src \
+#        -I$(PATH_CC_1_22e)/ \
+#        -I../chipsetsw/layer1/audio_cust0 \
+#        -I../chipsetsw/layer1/audio_include \
+#        -I../chipsetsw/layer1/cust0 \
+#        -I../chipsetsw/layer1/hmacs \
+#        -I../chipsetsw/layer1/include \
+#        -I../chipsetsw/layer1/p_include \
+#        -I../chipsetsw/layer1/tm_include \
+#        -I../chipsetsw/layer1/tm_cust0 \
+#        -I../chipsetsw/layer1/dyn_dwl_include \
+#        -I../chipsetsw/layer1/tpu_drivers/p_source0 \
+#        -I../chipsetsw/layer1/tpu_drivers/source0 \
+#        -I../chipsetsw/layer1/tpu_drivers/source \
+#         -fr__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main \
+#        $<
+
+__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/create_RVtasks.obj: \
+        ../chipsetsw/system/Main/create_RVtasks.c
+	$(PATH_CC_1_22e)//cl470 \
+        -mn -mt \
+        -o \
+        -x \
+        -mw \
+        -eoobj -me \
+        -pw2 -q \
+        -DTOOL_CHOICE=0 \
+        -D_TMS470 \
+        -I../chipsetsw/os/nucleus \
+        -I__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0 \
+        -I__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/config \
+        -I../chipsetsw/layer1/bootloader/include \
+        -I../gpf/INC \
+        -I../gpf/FRAME/cust_os \
+        -I../chipsetsw/system \
+        -I../chipsetsw/riviera \
+        -I../chipsetsw/riviera/rv \
+        -I../chipsetsw/drivers/drv_core \
+        -I../chipsetsw/drivers/drv_core/abb \
+        -I../chipsetsw/drivers/drv_core/armio \
+        -I../chipsetsw/drivers/drv_core/clkm \
+        -I../chipsetsw/drivers/drv_core/conf \
+        -I../chipsetsw/drivers/drv_core/dma \
+        -I../chipsetsw/drivers/drv_core/dsp_dwnld \
+        -I../chipsetsw/drivers/drv_core/inth \
+        -I../chipsetsw/drivers/drv_core/memif \
+        -I../chipsetsw/drivers/drv_core/rhea \
+        -I../chipsetsw/drivers/drv_core/security \
+        -I../chipsetsw/drivers/drv_core/spi \
+        -I../chipsetsw/drivers/drv_core/timer \
+        -I../chipsetsw/drivers/drv_core/uart \
+        -I../chipsetsw/drivers/drv_core/ulpd \
+        -I../chipsetsw/drivers/drv_app \
+        -I../chipsetsw/services \
+        -Icondat/ms/src \
+        -I$(PATH_CC_1_22e)/ \
+        -I../chipsetsw/layer1/audio_cust0 \
+        -I../chipsetsw/layer1/audio_include \
+        -I../chipsetsw/layer1/cust0 \
+        -I../chipsetsw/layer1/hmacs \
+        -I../chipsetsw/layer1/include \
+        -I../chipsetsw/layer1/p_include \
+        -I../chipsetsw/layer1/tm_include \
+        -I../chipsetsw/layer1/tm_cust0 \
+        -I../chipsetsw/layer1/dyn_dwl_include \
+        -I../chipsetsw/layer1/tpu_drivers/p_source0 \
+        -I../chipsetsw/layer1/tpu_drivers/source0 \
+        -I../chipsetsw/layer1/tpu_drivers/source \
+         -fr__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main \
+        $<
+
+__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/main.obj: \
+        ../chipsetsw/system/Main/main.c
+	$(PATH_CC_1_22e)//cl470 \
+        -mn -mt \
+        -o \
+        -x \
+        -mw \
+        -eoobj -me \
+        -pw2 -q \
+        -DTOOL_CHOICE=0 \
+        -D_TMS470 \
+        -I../chipsetsw/os/nucleus \
+        -I__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0 \
+        -I__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/config \
+        -I../chipsetsw/layer1/bootloader/include \
+        -I../gpf/INC \
+        -I../gpf/FRAME/cust_os \
+        -I../chipsetsw/system \
+        -I../chipsetsw/riviera \
+        -I../chipsetsw/riviera/rv \
+        -I../chipsetsw/drivers/drv_core \
+        -I../chipsetsw/drivers/drv_core/abb \
+        -I../chipsetsw/drivers/drv_core/armio \
+        -I../chipsetsw/drivers/drv_core/clkm \
+        -I../chipsetsw/drivers/drv_core/conf \
+        -I../chipsetsw/drivers/drv_core/dma \
+        -I../chipsetsw/drivers/drv_core/dsp_dwnld \
+        -I../chipsetsw/drivers/drv_core/inth \
+        -I../chipsetsw/drivers/drv_core/memif \
+        -I../chipsetsw/drivers/drv_core/rhea \
+        -I../chipsetsw/drivers/drv_core/security \
+        -I../chipsetsw/drivers/drv_core/spi \
+        -I../chipsetsw/drivers/drv_core/timer \
+        -I../chipsetsw/drivers/drv_core/uart \
+        -I../chipsetsw/drivers/drv_core/ulpd \
+        -I../chipsetsw/drivers/drv_app \
+        -I../chipsetsw/services \
+        -Icondat/ms/src \
+        -I$(PATH_CC_1_22e)/ \
+        -I../chipsetsw/layer1/audio_cust0 \
+        -I../chipsetsw/layer1/audio_include \
+        -I../chipsetsw/layer1/cust0 \
+        -I../chipsetsw/layer1/hmacs \
+        -I../chipsetsw/layer1/include \
+        -I../chipsetsw/layer1/p_include \
+        -I../chipsetsw/layer1/tm_include \
+        -I../chipsetsw/layer1/tm_cust0 \
+        -I../chipsetsw/layer1/dyn_dwl_include \
+        -I../chipsetsw/layer1/tpu_drivers/p_source0 \
+        -I../chipsetsw/layer1/tpu_drivers/source0 \
+        -I../chipsetsw/layer1/tpu_drivers/source \
+         -fr__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main \
+        $<
+
+__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/sys_dummy.obj: \
+        ../chipsetsw/system/Main/sys_dummy.c
+	$(PATH_CC_1_22e)//cl470 \
+        -mn -mt \
+        -o \
+        -x \
+        -mw \
+        -eoobj -me \
+        -pw2 -q \
+        -DTOOL_CHOICE=0 \
+        -D_TMS470 \
+        -I../chipsetsw/os/nucleus \
+        -I__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0 \
+        -I__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/config \
+        -I../chipsetsw/layer1/bootloader/include \
+        -I../gpf/INC \
+        -I../gpf/FRAME/cust_os \
+        -I../chipsetsw/system \
+        -I../chipsetsw/riviera \
+        -I../chipsetsw/riviera/rv \
+        -I../chipsetsw/drivers/drv_core \
+        -I../chipsetsw/drivers/drv_core/abb \
+        -I../chipsetsw/drivers/drv_core/armio \
+        -I../chipsetsw/drivers/drv_core/clkm \
+        -I../chipsetsw/drivers/drv_core/conf \
+        -I../chipsetsw/drivers/drv_core/dma \
+        -I../chipsetsw/drivers/drv_core/dsp_dwnld \
+        -I../chipsetsw/drivers/drv_core/inth \
+        -I../chipsetsw/drivers/drv_core/memif \
+        -I../chipsetsw/drivers/drv_core/rhea \
+        -I../chipsetsw/drivers/drv_core/security \
+        -I../chipsetsw/drivers/drv_core/spi \
+        -I../chipsetsw/drivers/drv_core/timer \
+        -I../chipsetsw/drivers/drv_core/uart \
+        -I../chipsetsw/drivers/drv_core/ulpd \
+        -I../chipsetsw/drivers/drv_app \
+        -I../chipsetsw/services \
+        -Icondat/ms/src \
+        -I$(PATH_CC_1_22e)/ \
+        -I../chipsetsw/layer1/audio_cust0 \
+        -I../chipsetsw/layer1/audio_include \
+        -I../chipsetsw/layer1/cust0 \
+        -I../chipsetsw/layer1/hmacs \
+        -I../chipsetsw/layer1/include \
+        -I../chipsetsw/layer1/p_include \
+        -I../chipsetsw/layer1/tm_include \
+        -I../chipsetsw/layer1/tm_cust0 \
+        -I../chipsetsw/layer1/dyn_dwl_include \
+        -I../chipsetsw/layer1/tpu_drivers/p_source0 \
+        -I../chipsetsw/layer1/tpu_drivers/source0 \
+        -I../chipsetsw/layer1/tpu_drivers/source \
+         -fr__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main \
+        $<
+
+#__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/mem_load.obj: \
+#        ../chipsetsw/system/Main/mem_load.c
+#	$(PATH_CC_1_22e)//cl470 \
+#        -o \
+#        -mw \
+#        -eoobj -me \
+#        -pw2 -q \
+#        -DTOOL_CHOICE=0 \
+#        -D_TMS470 \
+#        -I../chipsetsw/os/nucleus \
+#        -I__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0 \
+#        -I__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/config \
+#        -I../chipsetsw/layer1/bootloader/include \
+#        -I../gpf/INC \
+#        -I../gpf/FRAME/cust_os \
+#        -I../chipsetsw/system \
+#        -I../chipsetsw/riviera \
+#        -I../chipsetsw/riviera/rv \
+#        -I../chipsetsw/drivers/drv_core \
+#        -I../chipsetsw/drivers/drv_core/abb \
+#        -I../chipsetsw/drivers/drv_core/armio \
+#        -I../chipsetsw/drivers/drv_core/clkm \
+#        -I../chipsetsw/drivers/drv_core/conf \
+#        -I../chipsetsw/drivers/drv_core/dma \
+#        -I../chipsetsw/drivers/drv_core/dsp_dwnld \
+#        -I../chipsetsw/drivers/drv_core/inth \
+#        -I../chipsetsw/drivers/drv_core/memif \
+#        -I../chipsetsw/drivers/drv_core/rhea \
+#        -I../chipsetsw/drivers/drv_core/security \
+#        -I../chipsetsw/drivers/drv_core/spi \
+#        -I../chipsetsw/drivers/drv_core/timer \
+#        -I../chipsetsw/drivers/drv_core/uart \
+#        -I../chipsetsw/drivers/drv_core/ulpd \
+#        -I../chipsetsw/drivers/drv_app \
+#        -I../chipsetsw/services \
+#        -Icondat/ms/src \
+#        -I$(PATH_CC_1_22e)/ \
+#        -I../chipsetsw/layer1/audio_cust0 \
+#        -I../chipsetsw/layer1/audio_include \
+#        -I../chipsetsw/layer1/cust0 \
+#        -I../chipsetsw/layer1/hmacs \
+#        -I../chipsetsw/layer1/include \
+#        -I../chipsetsw/layer1/p_include \
+#        -I../chipsetsw/layer1/tm_include \
+#        -I../chipsetsw/layer1/tm_cust0 \
+#        -I../chipsetsw/layer1/dyn_dwl_include \
+#        -I../chipsetsw/layer1/tpu_drivers/p_source0 \
+#        -I../chipsetsw/layer1/tpu_drivers/source0 \
+#        -I../chipsetsw/layer1/tpu_drivers/source \
+#         -fr__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main \
+#        $<
+
+
+# TargetName=main
+#
+# TargetType=obj
+# TargetDir=__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/
+#
+# Using Tool: ASM2
+#       mode: One to One
+#    command: asm_ti
+#   modifier: n/a
+#     descr.: TI Assembler
+#      exec.: $(PATH_CC_1_22e)//asm470
+#
+# SOURCES:
+# ../chipsetsw/system/Main/int.s
+#
+# RESULTS:
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/int.obj
+#
+# RULES:
+
+__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/int.obj: \
+        ../chipsetsw/system/Main/int.s
+	$(PATH_CC_1_22e)//asm470 \
+        -me \
+        -dBOARD=41 \
+        -dCHIPSET=10 \
+        -dLONG_JUMP=3 \
+        -dTOOL_CHOICE=0 \
+        -dR2D_ASM=0 \
+        -dR2D_LCD_TEST=0 \
+        -dTI_PROFILER=0 \
+        -dTI_NUC_MONITOR=0 \
+        -dL1_GPRS=1 \
+        -dOP_WCP=0 \
+        -dWCP_PROF=0 \
+        $< \
+__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/int.obj
+
+
+# TargetName=main
+#
+# TargetType=lib
+# TargetDir=__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/
+#
+# Using Tool: AR2
+#       mode: Single Run
+#    command: ar_ti
+#   modifier: n/a
+#     descr.: TI Archiver
+#      exec.: $(PATH_CC_1_22e)//ar470 r
+#
+# SOURCES:
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/init.obj
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/create_RVtasks.obj
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/main.obj
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/sys_dummy.obj
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/mem_load.obj
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/int.obj
+#
+# RESULTS:
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib
+#
+# RULES:
+
+__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib:  \
+        __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/init.obj \
+        __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/create_RVtasks.obj \
+        __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/main.obj \
+        __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/sys_dummy.obj \
+        __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/mem_load.obj \
+        __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/int.obj
+	$(PATH_CC_1_22e)//ar470 r \
+__out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib \
+        $^
+
+
+main: \
+        __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib
+
+clean_main:
+	$(BSB_REMOVE) __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib
+	$(BSB_REMOVE) __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/init.obj
+	$(BSB_REMOVE) __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/create_RVtasks.obj
+	$(BSB_REMOVE) __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/main.obj
+	$(BSB_REMOVE) __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/sys_dummy.obj
+	$(BSB_REMOVE) __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/mem_load.obj
+	$(BSB_REMOVE) __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/obj/main/int.obj
+
+
+
 # TargetName=config_gprs_ir
 #
 # TargetType=obj
@@ -31453,9 +31862,9 @@
 # __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/sim_drv.lib
 # __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/spi_drv.lib
 # __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/uart_drv.lib
-# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib
 # __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/lcc.lib
 # __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/bootloader.lib
+# __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib
 # ../chipsetsw/os/nucleus/v1_22e/nucleus_flash_nodbg.lib
 # ../chipsetsw/os/nucleus/v1_22e/nucleus_int_ram_nodbg.lib
 # ../chipsetsw/system/rtslib/v1_22e/rts16le_flash.lib
@@ -31539,9 +31948,9 @@
         __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/sim_drv.lib \
         __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/spi_drv.lib \
         __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/uart_drv.lib \
-        __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib \
         __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/lcc.lib \
         __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/bootloader.lib \
+        __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/lib/main.lib \
         ../chipsetsw/os/nucleus/v1_22e/nucleus_flash_nodbg.lib \
         ../chipsetsw/os/nucleus/v1_22e/nucleus_int_ram_nodbg.lib \
         ../chipsetsw/system/rtslib/v1_22e/rts16le_flash.lib \
@@ -31590,6 +31999,7 @@
         clean_sim_drv \
         clean_spi_drv \
         clean_uart_drv \
+        clean_main \
         clean_lnk__ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0 \
         clean_str2ind
 	$(BSB_REMOVE) __out__/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0/bin/gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0.out
@@ -31672,6 +32082,7 @@
         clean_sim_drv \
         clean_spi_drv \
         clean_uart_drv \
+        clean_main \
         clean_config_gprs_ir \
         clean_lnk__ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0 \
         clean_str2ind \
--- a/g23m/system/busyb/deliverydefs/dlvcfg0.xml	Sun Sep 06 00:49:47 2015 +0000
+++ b/g23m/system/busyb/deliverydefs/dlvcfg0.xml	Sun Sep 06 02:17:08 2015 +0000
@@ -26,7 +26,7 @@
     <property name="L1_LIB_DLV" value="1"/>
     <property name="L1_CUST_LIB_DLV" value="1"/>
     <property name="L1_TPU_LIB_DLV" value="1"/>
-    <property name="INIT_LIB_DLV" value="1"/>
+    <property name="INIT_LIB_DLV" value="0"/>
     <property name="BSP_LIB_DLV" value="0"/>
     <property name="BSP_CORE_LIB_DLV" value="0"/>
     <property name="RIV_LIB_DLV" value="0"/>