Cross-Compilation of the latest uboot version

Source: Internet
Author: User

The cross-Compilation of the latest uboot version is no longer the same as the previous version. Now we do not need to modify the makefile. Otherwise, an error will be reported:

Qiang @ linuxsir :~ /Company/S3C2410/uboot/u-boot-2010.06 $ make
Make: Arm-Linux-GCC: Command not found
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
For dir in tools examples/standalone examples/api arch/ARM/CPU/ARM920T/home/Qiang/Company/s3c24/ uboot/u-boot-2010.06/ARCH/ARM/CPU/ARM920T /; do/
Make-C $ dir _ depend; done
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
Make [1]: Arm-Linux-GCC: Command not found
Make [1]: Entering directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/tools'
Make [1]: nothing can be done for '_ depend '.
Make [1]: Leaving directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/tool'
Make [1]: Arm-Linux-GCC: Command not found
Make [1]: Entering directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/examples/standalone'
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
Make [1]: nothing can be done for '_ depend '.
Make [1]: Leaving directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/examples/standalone'
Make [1]: Arm-Linux-GCC: Command not found
Make [1]: Entering directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/examples/API'
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
Make [1]: nothing can be done for '_ depend '.
Make [1]: The Directory is leaving '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/examples/API'
Make [1]: Arm-Linux-GCC: Command not found
Make [1]: In directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/ARCH/ARM/CPU/arm920t'
Make [1]: nothing can be done for '_ depend '.
Make [1]: Leaving directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/ARCH/ARM/CPU/arm920t'
Make [1]: Arm-Linux-GCC: Command not found
Make [1]: In directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/ARCH/ARM/CPU/arm920t'
Make [1]: nothing can be done for '_ depend '.
Make [1]: Leaving directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/ARCH/ARM/CPU/arm920t'
Make-C tools all
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
Make [1]: Arm-Linux-GCC: Command not found
Make [1]: Entering directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/tools'
Make [1]: Leaving directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/tool'
Make-C examples/standalone all
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
Make [1]: Arm-Linux-GCC: Command not found
Make [1]: Entering directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/examples/standalone'
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
Make [1]: nothing can be done as 'all '.
Make [1]: Leaving directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/examples/standalone'
Make-C examples/API all
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
Make [1]: Arm-Linux-GCC: Command not found
Make [1]: Entering directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/examples/API'
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
Make [1]: nothing can be done as 'all '.
Make [1]: The Directory is leaving '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/examples/API'
Make-c arch/ARM/CPU/ARM920T start. o
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
Make [1]: Arm-Linux-GCC: Command not found
Make [1]: In directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/ARCH/ARM/CPU/arm920t'
Make [1]: "start. O" is the latest.
Make [1]: Leaving directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/ARCH/ARM/CPU/arm920t'
Make-C lib/
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
Make [1]: Arm-Linux-GCC: Command not found
Make [1]: Entering directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/lib'
Make [1]: "libgeneric. A" is the latest.
Make [1]: Leaving directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/lib'
Make-C lib/lzma/
/Bin/sh: Arm-Linux-GCC: Command not found
Dirname: the operand is missing.
Run "dirname -- Help" to obtain more information.
Make [1]: Arm-Linux-GCC: Command not found
Make [1]: Entering directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/lib/lzm'
Arm-Linux-ar CRV liblzma.
Make [1]: Arm-Linux-AR: Command not found
Make [1]: *** [liblzma. A] Error 127
Make [1]: Leaving directory '/home/Qiang/Company/S3C2410/uboot/u-boot-2010.06/lib/lzm'
Make: *** [lib/lzma/liblzma. A] Error 2

 

Correct compilation steps:

1. Install codesourcery ARM/GNU g ++ lite Compiler (ARM-None-Linux-gnueabi -).

2. extract U-boot v2010.03. from http://git.denx.de /? P = u-boot.git; A = Summary
.

3. "Make cross_compile = arm-None-Linux-gnueabi-arch = arm distclean"

4. "Make cross_compile = arm-None-Linux-gnueabi-arch = arm davinci_dm6467evm_config"

5. "Make cross_compile = arm-None-Linux-gnueabi-arch = arm"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.