summaryrefslogtreecommitdiff
path: root/recipes/ti/files/dsplink-128M.patch
blob: ff5902bf507a9e6f533080f3a059dc48cca2b644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
diff -Nurd dsplink_1_50/dsplink/config/all/CFG_Davinci_DM6446.c dsplink_1_50.work/dsplink/config/all/CFG_Davinci_DM6446.c
--- dsplink_1_50/dsplink/config/all/CFG_Davinci_DM6446.c	2007-12-03 08:11:41.000000000 -0500
+++ dsplink_1_50.work/dsplink/config/all/CFG_Davinci_DM6446.c	2008-07-29 16:52:28.000000000 -0400
@@ -69,8 +69,8 @@
         FALSE,                 /* AUTOSTART      : Autostart the DSP (Not supported) */
         "DEFAULT.OUT",         /* EXECUTABLE     : Executable for autostart */
         TRUE,                  /* DOPOWERCTRL    : Link does the Power Ctrl of DSP. */
-        0x8FF00020,            /* RESUMEADDR     : Resume address */
-        0x8FF00000,            /* RESETVECTOR    : Reset Vector for the DSP */
+        0x87000020,            /* RESUMEADDR     : Resume address */
+        0x87000000,            /* RESETVECTOR    : Reset Vector for the DSP */
         0x80,                  /* RESETCODESIZE  : Size of code at DSP Reset Vector */
         1,                     /* MADUSIZE       : DSP Minimum Addressable Data Unit */
         (Uint32) -1,           /* CPUFREQ        : DSP Frequency (in KHz), -1 if default setting is to be used */
@@ -93,8 +93,8 @@
     {
         0,                     /* ENTRY          : Entry number */
         "DSPLINKMEM",          /* NAME           : Name of the memory region */
-        0x8FE00000,            /* ADDRPHYS       : Physical address */
-        0x8FE00000,            /* ADDRDSPVIRT    : DSP virtual address */
+        0x87000000,            /* ADDRPHYS       : Physical address */
+        0x87000000,            /* ADDRDSPVIRT    : DSP virtual address */
         (Uint32) -1,           /* ADDRGPPVIRT    : GPP virtual address (if known) */
         0x5000,                /* SIZE           : Size of the memory region */
         TRUE                   /* SHARED         : Shared access memory? */
@@ -102,8 +102,8 @@
     {
         1,                     /* ENTRY          : Entry number */
         "DSPLINKMEM1",         /* NAME           : Name of the memory region */
-        0x8FE05000,            /* ADDRPHYS       : Physical address */
-        0x8FE05000,            /* ADDRDSPVIRT    : DSP virtual address */
+        0x87005000,            /* ADDRPHYS       : Physical address */
+        0x87005000,            /* ADDRDSPVIRT    : DSP virtual address */
         (Uint32) -1,           /* ADDRGPPVIRT    : GPP virtual address (if known) */
         0xFB000,               /* SIZE           : Size of the memory region */
         TRUE                   /* SHARED         : Shared access memory? */
@@ -111,8 +111,8 @@
     {
         2,                     /* ENTRY          : Entry number */
         "RESETCTRL",           /* NAME           : Name of the memory region */
-        0x8FF00000,            /* ADDRPHYS       : Physical address */
-        0x8FF00000,            /* ADDRDSPVIRT    : DSP virtual address */
+        0x87100000,            /* ADDRPHYS       : Physical address */
+        0x87100000,            /* ADDRDSPVIRT    : DSP virtual address */
         (Uint32) -1,           /* ADDRGPPVIRT    : GPP virtual address (if known) */
         0x00000080,            /* SIZE           : Size of the memory region */
         FALSE                  /* SHARED         : Shared access memory? */
@@ -120,10 +120,10 @@
     {
         3,                     /* ENTRY          : Entry number */
         "DDR",                 /* NAME           : Name of the memory region */
-        0x8FF00080,            /* ADDRPHYS       : Physical address */
-        0x8FF00080,            /* ADDRDSPVIRT    : DSP virtual address */
+        0x87100080,            /* ADDRPHYS       : Physical address */
+        0x87100080,            /* ADDRDSPVIRT    : DSP virtual address */
         (Uint32) -1,           /* ADDRGPPVIRT    : GPP virtual address (if known) */
-        0xFFF80,               /* SIZE           : Size of the memory region */
+        0xEFFF80,               /* SIZE           : Size of the memory region */
         FALSE                  /* SHARED         : Shared access memory? */
     },
     {
diff -Nurd dsplink_1_50/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci dsplink_1_50.work/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci
--- dsplink_1_50/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci	2007-12-03 08:11:55.000000000 -0500
+++ dsplink_1_50.work/dsplink/dsp/inc/DspBios/Davinci/DM6446/dsplink-davinci-base.tci	2008-07-29 16:56:03.000000000 -0400
@@ -54,7 +54,10 @@
 prog.module("GBL").C64PLUSCONFIGURE   = true ;
 prog.module("GBL").C64PLUSL2CFG       = "32k" ;
 prog.module("GBL").C64PLUSL1DCFG      = "32k" ;
+prog.module("GBL").C64PLUSMAR128to159 = 0xFFFFFFFF ;
+/*
 prog.module("GBL").C64PLUSMAR128to159 = 0x00008000 ;
+*/
 
 /*  ============================================================================
  *  MEM
@@ -67,7 +70,7 @@
  *  ============================================================================
  */
 var DSPLINKMEM = prog.module("MEM").create("DSPLINKMEM");
-DSPLINKMEM.base             = 0x8FE00000;
+DSPLINKMEM.base             = 0x87000000;
 DSPLINKMEM.len              = 0x100000;
 DSPLINKMEM.createHeap       = false;
 DSPLINKMEM.comment          = "DSPLINKMEM";
@@ -77,7 +80,7 @@
  *  ============================================================================
  */
 var RESET_VECTOR = prog.module("MEM").create("RESET_VECTOR");
-RESET_VECTOR.base        = 0x8FF00000;
+RESET_VECTOR.base        = 0x87100000;
 RESET_VECTOR.len         = 0x00000080;
 RESET_VECTOR.space       = "code/data";
 RESET_VECTOR.createHeap  = false;
@@ -88,8 +91,8 @@
  *  ============================================================================
  */
 var DDR = prog.module("MEM").create("DDR");
-DDR.base             = 0x8FF00080;
-DDR.len              = 0x000FFF80;
+DDR.base             = 0x87100080;
+DDR.len              = 0xEFFF80;
 DDR.space            = "code/data";
 DDR.createHeap       = true;
 DDR.heapSize         = 0x10000;