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 ...
11 Enter the date of the snapshot you want to use in the form: YYYYMMDD
12 where YYYY is the 4-digit year, MM the 2-digit month and DD the 2-digit
16 - glibc has snapshots done every monday, and only the last ten are kept.
17 - uClibc has daily snapshots, and only the last 30-or-so are kept.
19 So if you want to be able to re-build your toolchain later, you will
20 have to save your C library tarball by yourself.
22 source config.gen/libc.in
24 config LIBC_SUPPORT_NPTL
28 config LIBC_SUPPORT_LINUXTHREADS
34 default "nptl" if THREADS_NPTL
35 default "linuxthreads" if THREADS_LINUXTHREADS
36 default "none" if THREADS_NONE || LIBC_none
37 # No C library, no threads!
41 comment "Common C library options"
45 prompt "Threading implementation to use:"
46 default THREADS_NPTL if LIBC_SUPPORT_NPTL
47 default THREADS_LINUXTHREADS if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
48 default THREADS_NONE if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
53 depends on LIBC_SUPPORT_NPTL
55 config THREADS_LINUXTHREADS
58 depends on LIBC_SUPPORT_LINUXTHREADS