HI, 

I reinstalled my Ubuntu linux OS, and the Apr 15 updates of DVEVM software from 
TI website. But I still cannot compile the kernel using kernelkit as I did 
successfully with the old version before. Here is the command (line wrap on) 
causing the problem,

[EMAIL PROTECTED]:/media/hda5/home/zyang1/workdir/lsp/ti-davinci$ make ARCH=arm 
CROSS_COMPILE=arm_v5t_le- uImage  CHK     include/linux/version.h  HOSTCC  
scripts/basic/fixdep  HOSTCC  scripts/basic/split-include  HOSTCC  
scripts/basic/docproc  SPLIT   include/linux/autoconf.h -> include/config/*  CC 
     scripts/mod/empty.o/bin/sh: arm_v5t_le-gcc: command not foundmake[2]: *** 
[scripts/mod/empty.o] Error 127make[1]: *** [scripts/mod] Error 2make: *** 
[scripts] Error 2
By the way, in the same directory I can run the following two commands without 
problem,

make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm355_evm_defconfigmake 
ARCH=arm CROSS_COMPILE=arm_v5t_le- checksetconfig
In the new guide I notice that it seems there is a subdir linux-2.6.10_mvl401 
in /home/<useracct>/workdir/lsp/ti-davinci in which one should do compilation 
of the kernel, but I cannot find this subdir. 

You should have the following files (these are the Apr 
15 updates)
 
dvsdk_setuplinux_1_30_00_40.bin
mvl_4_0_1_demo_lsp_setuplinux_01_20_00_014.bin
xdc_setuplinux_3_00_02_14.bin


Yes, I have these updates.

The dvsdk_setuplinux_1_30_00_40.bin and xdc_setuplinux_3_00_02_14.bin 
files you install to your working directory - the 'xdc' goes 'inside' the dvsdk 
directory so you must install dvsdk first. The Rules.mak file in the dvsdk 
directory needs editing to point to toolchain & kernel 
source.

I did these according to the new guide, so it should be all right. The 
following is my Rules.make file,

#
# This make variable must be set before the demos or examples
# can be built.  It must be set to either dm355 or dm6446
#
PLATFORM=dm355
ifndef PLATFORM
   $(error PLATFORM must be set in Rules.make to dm355 or dm6446 before 
building the demos)
endif


# The installation directory of the DVSDK  dvsdk_1_30_00_40.
DVSDK_INSTALL_DIR=/home/zyang1/dvsdk_1_30_00_40

# For backwards compatibility
#DVEVM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)
DVEVM_INSTALL_DIR=/home/zyang1/dvsdk_1_30_00_40

# Where the Codec Engine package is installed.
#CE_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/codec_engine_2_00_01
CE_INSTALL_DIR=/home/zyang1/dvsdk_1_30_00_40/codec_engine_2_00_01

# Where the XDAIS package is installed.
#XDAIS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/xdais_6_00_01
XDAIS_INSTALL_DIR=/home/zyang1/dvsdk_1_30_00_40/xdais_6_00_01

# Where the DSP Link package is installed.
#LINK_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dsplink_140-05p1
LINK_INSTALL_DIR=/home/zyang1/dvsdk_1_30_00_40/dsplink_140-05p1

# Where the CMEM (contiguous memory allocator) package is installed.
#CMEM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/cmem_2_00_01
CMEM_INSTALL_DIR=/home/zyang1/dvsdk_1_30_00_40/cmem_2_00_01

# Where the codec servers are installed (dm6446) or codecs (dm355)
ifneq ($(PLATFORM),dm355)
   CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dm6446_dvsdk_combos_1_34
else
   #CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dm355_codecs_1_12_000
   CODEC_INSTALL_DIR=/home/zyang1/dvsdk_1_30_00_40/dm355_codecs_1_12_000
endif

# Where the RTSC tools package is installed.
XDC_INSTALL_DIR=/home/zyang1/dvsdk_1_30_00_40/xdc_3_00_02

# Where Framework Components product is installed
#FC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/framework_components_2_00_01
FC_INSTALL_DIR=/home/zyang1/dvsdk_1_30_00_40/framework_components_2_00_01

# Where DSP/BIOS is installed
#BIOS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/__BIOS_VERS__
BIOS_INSTALL_DIR=/home/zyang1/dvsdk_1_30_00_40/__BIOS_VERS__

# The directory that points to your kernel source directory.
LINUXKERNEL_INSTALL_DIR=/home/zyang1/workdir/lsp/ti-davinci

# The prefix to be added before the GNU compiler tools (optionally including
# path), i.e. "arm_v5t_le-" or "/opt/bin/arm_v5t_le-".
MVTOOL_DIR=/db/toolsrc/library/vendors2005/mvl/arm/mvl4.0.1-root-new//montavista/pro/devkit/arm/v5t_le
MVTOOL_PREFIX=$(MVTOOL_DIR)/bin/arm_v5t_le-

# Where to copy the resulting executables and data to (when executing 'make
# install') in a proper file structure. This EXEC_DIR should either be visible
# from the target, or you will have to copy this (whole) directory onto the
# target filesystem.
EXEC_DIR=/home/zyang1/workdir/filesys/opt/dvsdk/dm355


You can then extract mvl_4_0_1_demo_lsp_setuplinux_01_20_00_014.bin, which 
contains 
the file DaVinciLSP-01_20_00_014.tar.gz which is the kernel source. You need to 
extract, copy & build this code 
 
I did these according to the Guide, so it is same as you said and should be all 
right.


You should then be able to build the dvsdk 
stuff.

Unfortunately I still cannot build the kernel. Any comment is appreciated. 

Many thanks. 

Michael


Subject: RE: problem to build the new Linux kernel using the updated DVSDK v1.3 
 for DM355
Date: Mon, 16 Jun 2008 09:01:51 +0100
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; davinci-linux-open-source@linux.davincidsp.com










Hi,
 
I really need to see the exact error 
here....
 
Did you also update the kernel 
source?
 
I don't understand how updating the DVSDK affects the 
kernel build - the two are independant.
 
You should have the following files (these are the Apr 
15 updates)
 
dvsdk_setuplinux_1_30_00_40.bin
mvl_4_0_1_demo_lsp_setuplinux_01_20_00_014.bin
xdc_setuplinux_3_00_02_14.bin
 
Do get the assiciated release notes and the 
sprue73a.pdf document and take note of the changes, especially kernel arguments 
for the new kernel.
 
The dvsdk_setuplinux_1_30_00_40.bin and xdc_setuplinux_3_00_02_14.bin 
files you install to your working directory - the 'xdc' goes 'inside' the dvsdk 
directory so you must install dvsdk first. The Rules.mak file in the dvsdk 
directory needs editing to point to toolchain & kernel 
source.
 
You can then extract mvl_4_0_1_demo_lsp_setuplinux_01_20_00_014.bin, which 
contains 
the file DaVinciLSP-01_20_00_014.tar.gz which is the kernel source. You need to 
extract, copy & build this code & then edit the Rules.mak file in 
the DVSDK to point to 
it.
 
You should then be able to build the dvsdk 
stuff.
 
/bin/sh is the shell - it is possible that your 
toolchain is corrupt but without the exact output of the command it is 
difficult 
to say
 
Regards
 
Phil Q
 
Phil Quiney, Senior Software 
Engineer
Trinity Convergence
Cambridge Business Park
Cowley Road
Cambridge CB4 0WZ, UK
T: 
+44(0)1223-435536
F: +44(0)1223-435560
www.trinityconvergence.com

 



From: YangZhijun [mailto:[EMAIL PROTECTED] 

Sent: 15 June 2008 22:59
To: Phil Quiney; 
davinci-linux-open-source@linux.davincidsp.com
Subject: problem to 
build the new Linux kernel using the updated DVSDK v1.3 for 
DM355


Hi Phil, 

With your help I've gone through the getting started 
guide of the DM355 DVEVM software coming with the board. But now I have an 
issue 
again, after I uninstall the old version of DVSDK and install the new version 
from TI's new software update website.

The problem is that I cannot 
compile the kernel using the following command in kernelkit, as I successfully 
did for the old version, 

make ARCH=arm 
CROSS_COMPILE=arm_v5t_le- uImage

After a long compilation process 
I finally got something like, 

/bin/sh: arm_v5t_le-gcc: no such file 
......

In my .bashrc I have already had:

EXPORT 
PATH="/media/hda1/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin:
                          
/media/hda1/opt/mv_pro_4.0.1/montavista/pro/bin:
                           
/media/hda1/opt/mv_pro_4.0.1/montavista/common/bin:$PATH"

which is okay 
to compile the old kernel in kernelkit. 

I found that in 
/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin I have arm_v5t_le-gcc, 
but I don't know why kernelkit try to find it in /bin/sh? what is that? Thanks 
for your help.

Best regards,

Michael



 


 


_________________________________________________________________
多个邮箱同步管理,live mail客户端万人抢用中
http://get.live.cn/product/mail.html
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to