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.

Linux: while I build the linux : make linux , I got error as follows why?

Tool/software: Linux

lenovo@lenovo:~/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/build$ make linux
make -C ./hlos/makerules/linux -f build_uboot.mk uboot
make[1]: Entering directory '/home/lenovo/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/build/hlos/makerules/linux'
make -fbuild_uboot.mk uboot_build UBOOT_TARGET=dra7xx_evm_vision_config
make[2]: Entering directory '/home/lenovo/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/build/hlos/makerules/linux'
make -C  ARCH=arm CROSS_COMPILE= dra7xx_evm_vision_config
make[3]: Entering directory '/home/lenovo/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/build/hlos/makerules/linux'
make[3]: *** ARCH=arm: No such file or directory.  Stop.
make[3]: Leaving directory '/home/lenovo/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/build/hlos/makerules/linux'
build_uboot.mk:6: recipe for target 'uboot_build' failed
make[2]: *** [uboot_build] Error 2
make[2]: Leaving directory '/home/lenovo/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/build/hlos/makerules/linux'
build_uboot.mk:13: recipe for target 'uboot' failed
make[1]: *** [uboot] Error 2
make[1]: Leaving directory '/home/lenovo/PROCESSOR_SDK_VISION_03_03_00_00/vision_sdk/build/hlos/makerules/linux'
Makefile:426: recipe for target 'uboot' failed
make: *** [uboot] Error 2

  • Hi Jie,

    can you try the following:
    1. make sure you set "MAKECONFIG=tda2xx_evm_linux_all" (or the correct one for your device) in Rules.make
    2. run "make clean" and manually delete $INSTALL_DIR/vision_sdk/binaries/$(MAKEAPPNAME)/$(MAKECONFIG) folder
    3 then run "make linux"

    Regards,
    Yordan
  • Hi Jie,
    Could you please confirm you cloned u-boot,kernel & sgx before trying to build ?
    If not Please follow the steps mentioned to clone these components in VisionSDK_Linux_UserGuide.pdf under "vision_sdk\docs\Linux" folder
    & then give build commands

    Regards
    Surya
  • Hi Yordan
    As you say , I forget to change the "MAKECONFIG=tda2xx_evm_linux_all" frogm "MAKECONFIG=tda2xx_evm_bios_all" , and I find my u-boot cloned faid. I fixed this two problem, then this solved this problem.
    Thanks and Regards,
    Jacinda
  • Hi Surya
    As you say ,I find my u-boot cloned failed, and I find that I forget to change the "MAKECONFIG=tda2xx_evm_linux_all" frogm "MAKECONFIG=tda2xx_evm_bios_all" , and fixed this two problem, then this solved this problem.
    Thanks and Regards,
    Jacinda