samples: add a new samples for the TI DaVinci processors.
Dragan Marinkovic <marinkovic.dragan@gmail.com> wrote:
I finally had the time (and board) to spend some time with
crosstool-NG version 1.5.2 and TMS320DM6446 (DaVinci Digital Media
System-on-Chip,
http://focus.ti.com/docs/prod/folders/print/tms320dm6446.html).
I was able to successfully build and run v2.6.27-davinci1 kernel
(Kevin Hilman's branch) with busybox based initramfs on it. I don't
believe that any later kernel would represent any challenge (it just
happens that I'm currently working with this version). What a thrill
:).
crosstool-NG/toolchain config is attached. It may be useful to someone
using crosstool-NG ...
2 # Automatically generated make config: don't edit
3 # crosstool-NG version: hg_default@1596_241387704817
4 # Wed Oct 28 19:19:51 2009
8 # Paths and misc options
12 # crosstool-NG behavior
14 # CT_OBSOLETE is not set
15 # CT_EXPERIMENTAL is not set
16 # CT_DEBUG_CT is not set
21 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
23 CT_WORK_DIR="${CT_TOP_DIR}/targets"
24 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
25 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
32 # CT_FORBID_DOWNLOAD is not set
33 # CT_FORCE_DOWNLOAD is not set
35 # CT_PREFER_MIRROR is not set
36 CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/"
38 # CT_ONLY_DOWNLOAD is not set
43 # CT_FORCE_EXTRACT is not set
44 CT_OVERIDE_CONFIG_GUESS_SUB=y
45 # CT_ONLY_EXTRACT is not set
47 # CT_PATCH_LOCAL is not set
48 # CT_PATCH_BUNDLED_LOCAL is not set
49 # CT_PATCH_LOCAL_BUNDLED is not set
50 # CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
51 # CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
52 CT_PATCH_ORDER="bundled"
53 # CT_PATCH_SINGLE is not set
54 # CT_PATCH_USE_LOCAL is not set
63 # CT_CONFIG_SHELL_SH is not set
64 # CT_CONFIG_SHELL_ASH is not set
65 CT_CONFIG_SHELL_BASH=y
66 # CT_CONFIG_SHELL_CUSTOM is not set
67 CT_CONFIG_SHELL="bash"
72 # CT_LOG_ERROR is not set
73 # CT_LOG_WARN is not set
74 # CT_LOG_INFO is not set
76 # CT_LOG_DEBUG is not set
77 # CT_LOG_ALL is not set
78 CT_LOG_LEVEL_MAX="EXTRA"
79 # CT_LOG_SEE_TOOLS_WARN is not set
82 CT_LOG_FILE_COMPRESS=y
88 # CT_ARCH_64 is not set
89 # CT_ARCH_SUPPORTS_BOTH_MMU is not set
90 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
91 CT_ARCH_SUPPORT_ARCH=y
94 CT_ARCH_SUPPORT_TUNE=y
96 # CT_ARCH_DEFAULT_HAS_MMU is not set
97 # CT_ARCH_DEFAULT_BE is not set
104 # CT_ARCH_BE is not set
107 # CT_ARCH_FLOAT_SW is not set
112 # General target options
114 # CT_ARCH_alpha is not set
116 # CT_ARCH_avr32 is not set
117 # CT_ARCH_ia64 is not set
118 # CT_ARCH_mips is not set
119 # CT_ARCH_powerpc is not set
120 # CT_ARCH_powerpc64 is not set
121 # CT_ARCH_sh is not set
122 # CT_ARCH_x86 is not set
123 # CT_ARCH_x86_64 is not set
124 # CT_ARCH_ARM_EABI is not set
129 # Target optimisations
137 # General toolchain options
140 CT_SYSROOT_DIR_PREFIX=""
143 # Tuple completion and aliasing
145 CT_TARGET_VENDOR="unknown"
146 CT_TARGET_ALIAS_SED_EXPR=""
152 # CT_NATIVE is not set
154 # CT_CROSS_NATIVE is not set
155 # CT_CANADIAN is not set
156 CT_TOOLCHAIN_TYPE="cross"
169 # CT_KERNEL_SUPPORTS_SHARED_LIBS is not set
170 CT_KERNEL="bare-metal"
171 CT_KERNEL_bare_metal=y
172 # CT_KERNEL_linux is not set
175 # Common kernel options
182 # CT_ARCH_BINFMT_FLAT is not set
187 # CT_BINUTILS_V_2_20 is not set
188 CT_BINUTILS_V_2_19_1=y
189 # CT_BINUTILS_V_2_19 is not set
190 # CT_BINUTILS_V_2_18 is not set
191 # CT_BINUTILS_V_2_17 is not set
192 # CT_BINUTILS_V_2_16_1 is not set
193 CT_BINUTILS_VERSION="2.19.1"
194 CT_BINUTILS_EXTRA_CONFIG=""
200 CT_CC_VERSION="4.3.4"
202 # CT_CC_V_4_4_2 is not set
203 # CT_CC_V_4_4_1 is not set
204 # CT_CC_V_4_4_0 is not set
206 # CT_CC_V_4_3_3 is not set
207 # CT_CC_V_4_3_2 is not set
208 # CT_CC_V_4_3_1 is not set
209 # CT_CC_V_4_3_0 is not set
210 # CT_CC_V_4_2_4 is not set
211 # CT_CC_V_4_2_3 is not set
212 # CT_CC_V_4_2_2 is not set
213 # CT_CC_V_4_2_1 is not set
214 # CT_CC_V_4_2_0 is not set
215 # CT_CC_V_4_1_2 is not set
216 # CT_CC_V_4_0_4 is not set
217 # CT_CC_V_3_4_6 is not set
218 CT_CC_GCC_4_3_or_later=y
219 # CT_CC_GCC_4_4_or_later is not set
220 CT_CC_ENABLE_CXX_FLAGS=""
221 CT_CC_CORE_EXTRA_CONFIG=""
222 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
225 CT_CC_SUPPORT_FORTRAN=y
229 CT_CC_SUPPORT_OBJCXX=y
232 # Additional supported languages:
240 # CT_LIBC_eglibc is not set
241 # CT_LIBC_glibc is not set
242 # CT_LIBC_newlib is not set
243 # CT_LIBC_uClibc is not set
246 # Common C library options
248 # CT_LIBC_SUPPORT_NPTL is not set
249 # CT_LIBC_SUPPORT_LINUXTHREADS is not set
251 # CT_THREADS_NPTL is not set
252 # CT_THREADS_LINUXTHREADS is not set
258 # CT_DEBUG_dmalloc is not set
259 # CT_DEBUG_duma is not set
262 # CT_GDB_CROSS_STATIC is not set
265 # In bare-metal, you'll need to
269 # provide your own gdbserver stub.
271 # CT_GDB_V_7_0 is not set
273 # CT_GDB_V_snapshot is not set
275 # CT_DEBUG_ltrace is not set
276 # CT_DEBUG_strace is not set
281 # CT_TOOL_libelf is not set
282 # CT_TOOL_sstrip is not set
285 # Companion libraries
290 # CT_GMP_V_4_3_0 is not set
291 # CT_GMP_V_4_2_4 is not set
292 # CT_GMP_V_4_2_2 is not set
293 CT_GMP_VERSION="4.3.1"
295 # CT_MPFR_V_2_4_0 is not set
296 # CT_MPFR_V_2_3_2 is not set
297 # CT_MPFR_V_2_3_1 is not set
298 CT_MPFR_VERSION="2.4.1"
299 # CT_PPL_CLOOG_MPC is not set
302 # Companion libraries common options
304 # CT_COMP_LIBS_CHECK is not set
305 CT_TOOLS_WRAPPER_SCRIPT=y
306 # CT_TOOLS_WRAPPER_EXEC is not set
307 CT_TOOLS_WRAPPER="script"