This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

problem with Building a New Linux Kernel,DM355....

hey,

i went through the GSG ,i ran hello.c program with no problem...now i want to building a new linux kernel ,my question is that in step 4.5.2 ((Set the PLATFORM variable in the

Rules.make file as described in Section 4.6)) do i ONLY set the "PLATFORM=dm355" OR do i complete all the steps in 4.6 till(....host $ make install) ?

i tried both ways and still i get errors,i get errors when i try to do step 4.6.3 "host $ make"... plus in 4.5.4 "host $ cd ti-davinci/linux-2.6.10_mvl401" the linux-2.6.10_mvl401 doesnt exist!!! i read some where on this forum that there is a minor mistake in this step, and that it should be "host $ cd ti-davinci/" ....but again i get errors when i use ((host $ make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm355_evm_defconfig))

 can any one plz help

  • Hi,

    Can you please paste the exact error message and the commands you have tried? Also, please provide the exact path where your MV release (toolchain) is installed and where the DM355 kernel package is installed.

    I suspect it is some path issue that is getting messed up.

     

    Regards,

    Anshuman

  • Hey,

    i followed exactly as instructed in the GSG (spruf73a) i used the same installation location ( /opt/mv_pro_4.0.1)

    i got to step 4.5 and here is what im getting ,and i ONLY set the platform variable  (PLATFORM=dm355) ...i did not follow the steps as in 4.6 and here is what i got.

    [ali@web ~]$ cd workdir/lsp
    [ali@web lsp]$ cd ti-davinci
    [ali@web ti-davinci]$ make ARCH=arm CROSS_COMPILE=arm_v5t_le- davinci_dm355_evm_defconfig
    HOSTCC scripts/basic/fixdep
    /bin/sh: gcc: command not found
    make[1]: *** [scripts/basic/fixdep] Error 127
    make: *** [scripts_basic] Error 2
    [ali@web ti-davinci]$

    should i have Linux development tools installed?? i mean the gcc compiler?



  • Can you please confirm if the following works on your system? Just type the following command and press enter. I want to confirm if your PATH settings are correct. If it gives error that command not found, then do a echo $PATH and send the output to us. Also, please confirm if you have followed Sec 4.4 and completed everything written over there.

    [ali@web ti-davinci]$ arm_v5t_le-gcc

    BTW, do you have GCC tool chain installed on your linux machine?

    Regards,

    Anshuman

  • Hey,

    i was able to complete step 4.5 ...i guess the problem was i did not have the gnu gcc compiler installed

    Thank you for your help

    Regards