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 ...
3 canonicalizedname=$(readlink -nm "${0}")
4 dirname="$(dirname "${canonicalizedname}")"
5 basename="$(basename "${canonicalizedname}")"
7 ld_lib_path="$(dirname "${dirname}")/lib"
9 case ":${LD_LIBRARY_PATH}:" in
10 *":${ld_lib_path}:"*) ;;
11 *) LD_LIBRARY_PATH="${ld_lib_path}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}";;
14 export LD_LIBRARY_PATH
15 exec "${dirname}/.${basename}" "$@"