Jammy wrote:
Hi,all
i am developing the dm355 evm now and i found a problem of rebuilding new linux kernel. when i use "make" command to build a new kernel, the message is as follows: [EMAIL PROTECTED] ti-davinci]$ make ARCH=arm CROSS_COMPILE=arm_v5t_le- uImage
  CHK     include/linux/version.h
  SPLIT   include/linux/autoconf.h -> include/config/*
  SYMLINK include/asm-arm/arch -> include/asm-arm/arch-davinci
  CHK     include/asm-arm/constants.h
  CHK     include/linux/compile.h
  CHK     usr/initramfs_list
  Kernel: arch/arm/boot/Image is ready
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
  "mkimage" command not found - U-Boot images will not be built
  Image arch/arm/boot/uImage is ready
why "mkimage" command not found, i have found the mkimage file in the path of /opt/mv_pro_4.0.1/montavista/pro/bin, but when i use "which" command, it said that: which mkimage /usr/bin/which: no mkimage in (/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin: /opt/mv_pro_4.0.1/montavista/pro/bin: /opt/mv_pro_4.0.1/montavista/common/bin:/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin: /opt/mv_pro_4.0.1/montavista/pro/bin: /opt/mv_pro_4.0.1/montavista/common/bin:/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin: /opt/mv_pro_4.0.1/montavista/pro/bin: /opt/mv_pro_4.0.1/montavista/common/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/hb0402/bin) i do not know the reason is, is the path which i set is wrong? the content of .bashrc file in the root directory of my account of linux box is as follows:
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
# User specific aliases and functions PATH="/opt/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin: /opt/mv_pro_4.0.1/montavista/pro/bin: /opt/mv_pro_4.0.1/montavista/common/bin:$PATH" i use the "source .bashrc" after the content of .bashrc is set. when i use "echo $PATH" there are paths which i have set. can you help me? how can i rebuild a new linux kernel? i am waiting for your reply, and thank you for reading my letter!

What do you get after executing

export PATH=$PATH:/opt/mv_pro_4.0.1/montavista/pro/bin
chmod a+x /opt/mv_pro_4.0.1/montavista/pro/bin/mkimage
mkimage

at your bash prompt?

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

Reply via email to