Hi,

When we moved to the new dm355 v1.3 that is on the TI website, we needed to add 
a link -

cd ~/workdir/lsp/ti-davinci/include/asm

ln -s arch-davinci arch


then all compiled ok.  I don't remember doing this with the version that came 
on the dm355 evm disks.

Hope this helps,
Bob


  ----- Original Message ----- 
  From: Phil Quiney 
  To: YangZhijun ; [email protected] 
  Sent: Monday, June 16, 2008 4:01 AM
  Subject: RE: problem to build the new Linux kernel using the updated 
DVSDKv1.3 for DM355


  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; [email protected]
  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



   



----------------------------------------------------------------------------
    Date: Tue, 10 Jun 2008 08:16:22 +0100
    From: [EMAIL PROTECTED]
    To: [EMAIL PROTECTED]; [email protected]
    CC: 
    Subject: RE: how to compile own source code for DM355


    Hi,

    There are several ways of producing the root filesystem that I can think of 
(& some that I actually tried)....

    1/ Use LTIB (since you mentioned it) - it works fine - you need to force it 
to use 'external' kernel source and point it to the compiler from the DM355 MV 
installation. There are other 'free' tools out there that do this sort of 
thing, 'buildroot' being one that comes to mind. I went with LTIB basically 
because we use it for the Freescale platforms we have so it was familiar.

    2/ Pay MV some money & license DevRocket. That will produce the file system 
as MV intended for the distribution.

    3/ Invoke rpm manually to install the packages that produce the file 
system. This is basically what DevRocket does but you get the added fun of 
resolving the dependancies for yourself.

    4/ Start with the root filesystem that is part of MV pro. Cut it down with 
'rm' till you end up with something that you find suitable. I wouldn't 
recommend doing this but it is possible.


    Of the above, I started with 4/, then tried 1/. Then went on to 2/ and once 
I had figured out what DevRocket did wished I had tried 3/ although the 
dependancy thing would have probably got to me in the end ;-)

    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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Amit Nehra
    Sent: 10 June 2008 05:09
    To: [email protected]
    Subject: how to compile own source code for DM355


    Hi



    I am using DM355. I want to know how to compile the rootfs for DM355 so 
that I can select my own packages I need, remove the unwanted ones, and could 
create a ramdisk. Is there anything like ‘ ltib for freescale’ in DM355.



    Regards,



    Amit Nehra

    E-con Infotech Pvt. Ltd.

    +91-9718347393





------------------------------------------------------------------------------
  Windows Live Writer,支持离线撰写博客内容,随时随地想写就写。 立即使用! 


------------------------------------------------------------------------------


  _______________________________________________
  Davinci-linux-open-source mailing list
  [email protected]
  http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to