分享

开始编uImage的时候,报错:multiple(orno)loadaddresses:...

 dwlinux_gs 2014-09-25

开始编uImage 的时候,报错:

  1. multiple (or no) load addresses:   
  2. This is incompatible with uImages  
  3. Specify LOADADDR on the commandline to build an uImage  
  4. make[1]: *** [arch/arm/boot/uImage] Error 1  
  5. make: *** [uImage] Error 2  

原因是没有指定 加载地址。在命令行加上加载地址就可以了:

  1. $ ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- LOADADDR=0x80008000 make uImage  
  2.   CHK     include/generated/uapi/linux/version.h  
  3.   CHK     include/generated/utsrelease.h  
  4. make[1]: `include/generated/mach-types.h' is up to date.  
  5.   CALL    scripts/checksyscalls.sh  
  6.   CC      scripts/mod/devicetable-offsets.s  
  7.   GEN     scripts/mod/devicetable-offsets.h  
  8.   HOSTCC  scripts/mod/file2alias.o  
  9.   HOSTLD  scripts/mod/modpost  
  10.   CHK     include/generated/compile.h  
  11.   CHK     kernel/config_data.h  
  12.   Kernel: arch/arm/boot/Image is ready  
  13.   Kernel: arch/arm/boot/zImage is ready  
  14.   UIMAGE  arch/arm/boot/uImage  
  15. Image Name:   Linux-3.10.28  
  16. Created:      Wed Jul 23 09:21:26 2014  
  17. Image Type:   ARM Linux Kernel Image (uncompressed)  
  18. Data Size:    2697448 Bytes = 2634.23 kB = 2.57 MB  
  19. Load Address: 80008000  
  20. Entry Point:  80008000  
  21.   Image arch/arm/boot/uImage is ready  


    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多