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"