Base address for vayu M4 updated
authorprasad <prasadkonnur.ti.com>
Mon, 6 May 2013 16:11:20 +0000 (18:11 +0200)
committerprasad <prasadkonnur.ti.com>
Mon, 6 May 2013 16:11:20 +0000 (18:11 +0200)
Signed-off-by: prasad <prasadkonnur.ti.com>
examples/edma3_driver/Vayu_EDMA_CLK_EN.gel
packages/makefile
packages/ti/sdo/edma3/drv/package.xs
packages/ti/sdo/edma3/drv/sample/src/platforms/sample_tda2xx_cfg.c

index 73abb7db7cd13526a9ca29615ad9ca9ab16acdf3..f4d35d7d54bde8080ca2787fd88b02a51bd331a0 100644 (file)
@@ -3,7 +3,7 @@ hotmenu
 edma_clk_enable()
 {
     *(unsigned int *)0x4a008770=0x1;
-    *(unsigned int *)0x4a008770=0x1;
+    *(unsigned int *)0x4a008778=0x1;
     *(unsigned int *)0x4a008780=0x1;
        GEL_TextOut("Enabled edma clocks\n");
 }
index 447a7ec49b3a64b33fe7ffee3ad542cbc43a384b..fc859360184cc0c1e3babf5c5f9391685ea99b76 100755 (executable)
@@ -63,54 +63,54 @@ edma3_lld_tda2xx-evm_66_libs: edma3_lld_tda2xx-evm_66_libs_drv edma3_lld_tda2xx-
 edma3_lld_tda2xx-evm_66_libs_drv:
 ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making 66:debug:edma3_lld_drv
-       $(MAKE) -C $(edma3_lld_drv_PATH) PLATFORM=tda2xx-evm PROFILE_c6xdsp=debug
+       $(MAKE) -C $(edma3_lld_drv_PATH) PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making 66:release:edma3_lld_drv
-       $(MAKE) -C $(edma3_lld_drv_PATH) PLATFORM=tda2xx-evm PROFILE_c6xdsp=release
+       $(MAKE) -C $(edma3_lld_drv_PATH) PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=release
 endif
 edma3_lld_tda2xx-evm_66_libs_rm:
 ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tda2xx-evm:debug:edma3_lld_rm
-       $(MAKE) -C $(edma3_lld_rm_PATH) PLATFORM=tda2xx-evm PROFILE_c6xdsp=debug
+       $(MAKE) -C $(edma3_lld_rm_PATH) PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making tda2xx-evm:rel:edma3_lld_rm
-       $(MAKE) -C $(edma3_lld_rm_PATH) PLATFORM=tda2xx-evm PROFILE_c6xdsp=release
+       $(MAKE) -C $(edma3_lld_rm_PATH) PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=release
 endif
 edma3_lld_tda2xx-evm_66_libs_drvsample:
 ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tda2xx-evm:debug:edma3_lld_drv_sample
-       $(MAKE) -C $(edma3_lld_drv_sample_PATH) PLATFORM=tda2xx-evm PROFILE_c6xdsp=debug
+       $(MAKE) -C $(edma3_lld_drv_sample_PATH) PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making tda2xx-evm:rel:edma3_lld_drv_sample
-       $(MAKE) -C $(edma3_lld_drv_sample_PATH) PLATFORM=tda2xx-evm PROFILE_c6xdsp=release
+       $(MAKE) -C $(edma3_lld_drv_sample_PATH) PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=release
 endif
 edma3_lld_tda2xx-evm_66_libs_rmsample:
 ifeq ($(FORMAT),ELF)
        $(ECHO) \# Making tda2xx-evm:debug:edma3_lld_rm_sample
-       $(MAKE) -C $(edma3_lld_rm_sample_PATH) PLATFORM=tda2xx-evm PROFILE_c6xdsp=debug
+       $(MAKE) -C $(edma3_lld_rm_sample_PATH) PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Making tda2xx-evm:rel:edma3_lld_rm_sample
-       $(MAKE) -C $(edma3_lld_rm_sample_PATH) PLATFORM=tda2xx-evm PROFILE_c6xdsp=release
+       $(MAKE) -C $(edma3_lld_rm_sample_PATH) PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=release
 endif
 
 #To Clean libs For Platform tda2xx-evm Target 66
 edma3_lld_tda2xx-evm_66_libs_clean: edma3_lld_tda2xx-evm_66_libs_drv_clean edma3_lld_tda2xx-evm_66_libs_rm_clean edma3_lld_tda2xx-evm_66_libs_drvsample_clean edma3_lld_tda2xx-evm_66_libs_rmsample_clean
 edma3_lld_tda2xx-evm_66_libs_drv_clean:
        $(ECHO) \# Cleaning 66:debug:edma3_lld_drv
-       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tda2xx-evm PROFILE_c6xdsp=debug
+       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Cleaning 66:release:edma3_lld_drv
-       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tda2xx-evm PROFILE_c6xdsp=release
+       $(MAKE) -C $(edma3_lld_drv_PATH) clean PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=release
 edma3_lld_tda2xx-evm_66_libs_rm_clean:
        $(ECHO) \# Cleaning tda2xx-evm:debug:edma3_lld_rm
-       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tda2xx-evm PROFILE_c6xdsp=debug
+       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Cleaning tda2xx-evm:rel:edma3_lld_rm
-       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tda2xx-evm PROFILE_c6xdsp=release
+       $(MAKE) -C $(edma3_lld_rm_PATH) clean PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=release
 edma3_lld_tda2xx-evm_66_libs_drvsample_clean:
        $(ECHO) \# Cleaning tda2xx-evm:debug:edma3_lld_drv_sample
-       $(MAKE) -C $(edma3_lld_drv_sample_PATH) clean PLATFORM=tda2xx-evm PROFILE_c6xdsp=debug
+       $(MAKE) -C $(edma3_lld_drv_sample_PATH) clean PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Cleaning tda2xx-evm:rel:edma3_lld_drv_sample
-       $(MAKE) -C $(edma3_lld_drv_sample_PATH) clean PLATFORM=tda2xx-evm PROFILE_c6xdsp=release
+       $(MAKE) -C $(edma3_lld_drv_sample_PATH) clean PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=release
 edma3_lld_tda2xx-evm_66_libs_rmsample_clean:
        $(ECHO) \# Cleaning tda2xx-evm:debug:edma3_lld_rm_sample
-       $(MAKE) -C $(edma3_lld_rm_sample_PATH) clean PLATFORM=tda2xx-evm PROFILE_c6xdsp=debug
+       $(MAKE) -C $(edma3_lld_rm_sample_PATH) clean PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=debug
        $(ECHO) \# Cleaning tda2xx-evm:rel:edma3_lld_rm_sample
-       $(MAKE) -C $(edma3_lld_rm_sample_PATH) clean PLATFORM=tda2xx-evm PROFILE_c6xdsp=release
+       $(MAKE) -C $(edma3_lld_rm_sample_PATH) clean PLATFORM=tda2xx-evm CORE=c6xdsp PROFILE_c6xdsp=release
 
 #=======================================================================================================================================
 #To Build libs For Platform tda2xx-evm Target m4
index f82d397cb47e5998e05b9d902ac6f3ff1f9b8b63..344cc0a0a200ae23bf6d00569c8f81c9e23d83fd 100755 (executable)
@@ -96,6 +96,8 @@ function getLibs(prog)
                        target = "a8/";
                 if (java.lang.String(Program.build.target.suffix).contains('m3'))
                        target = "m3/";
+                if (java.lang.String(Program.build.target.suffix).contains('m4'))
+                       target = "m4/";
                 if (java.lang.String(Program.build.target.suffix).contains('a15'))
                        target = "a15/";
                 if (java.lang.String(Program.build.target.suffix).contains('a8'))
index cc1088be3c7e727ac24ca31a4cdaec824b9b8a2e..b0885c6aa61d3e054274cb4cb939f3dee7298637 100644 (file)
@@ -406,9 +406,9 @@ unsigned int hwIntTcErr[NUM_EDMA3_INSTANCES][8] = {
 #define EDMA3_TC0_BASE_ADDR                         ((void *)(0x43400000))\r
 #define EDMA3_TC1_BASE_ADDR                         ((void *)(0x43500000))\r
 #elif ((defined BUILD_TDA2XX_IPU0) || (defined BUILD_TDA2XX_IPU1))\r
-#define EDMA3_CC_BASE_ADDR                          ((void *)(0x60000000))\r
-#define EDMA3_TC0_BASE_ADDR                         ((void *)(0x60100000))\r
-#define EDMA3_TC1_BASE_ADDR                         ((void *)(0x60200000))\r
+#define EDMA3_CC_BASE_ADDR                          ((void *)(0x63300000))\r
+#define EDMA3_TC0_BASE_ADDR                         ((void *)(0x63400000))\r
+#define EDMA3_TC1_BASE_ADDR                         ((void *)(0x63500000))\r
 #else\r
 #define EDMA3_CC_BASE_ADDR                          ((void *)(0x0))\r
 #define EDMA3_TC0_BASE_ADDR                         ((void *)(0x0))\r