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 ...
1 diff -durN duma_2_5_14.orig/Makefile duma_2_5_14/Makefile
2 --- duma_2_5_14.orig/Makefile 2008-03-13 00:54:10.000000000 +0100
3 +++ duma_2_5_14/Makefile 2008-06-17 10:28:45.000000000 +0200
17 createconf$(EXEPOSTFIX): createconf.o
18 - $(RMFORCE) createconf$(EXEPOSTFIX)
19 - $(CC) $(CFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
20 + $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
22 tstheap$(EXEPOSTFIX): libduma.a tstheap.o
23 - $(RMFORCE) tstheap$(EXEPOSTFIX)
25 # define rules how to build objects for createconf
28 - $(CC) $(CFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@
29 + $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@