`
thecloud
  • 浏览: 884962 次
文章分类
社区版块
存档分类
最新评论

U-boot编译出错-软浮点编译错误

 
阅读更多

arm-linux-ld: ERROR: /up-Star2410/arm-linux-tools/gcc-3.4.6-glibc-2.3.6/arm-linux/bin/../lib/gcc/arm-

linux/3.4.6/libgcc.a(_udivsi3.oS) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld: failed to merge target specific data of file /up-Star2410/arm-linux-tools/gcc-3.4.6-glibc-

2.3.6/arm-linux/bin/../lib/gcc/arm-linux/3.4.6/libgcc.a(_udivsi3.oS)
arm-linux-ld: ERROR: /up-Star2410/arm-linux-tools/gcc-3.4.6-glibc-2.3.6/arm-linux/bin/../lib/gcc/arm-

linux/3.4.6/libgcc.a(_divsi3.oS) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld: failed to merge target specific data of file /up-Star2410/arm-linux-tools/gcc-3.4.6-glibc-

2.3.6/arm-linux/bin/../lib/gcc/arm-linux/3.4.6/libgcc.a(_divsi3.oS)
arm-linux-ld: ERROR: /up-Star2410/arm-linux-tools/gcc-3.4.6-glibc-2.3.6/arm-linux/bin/../lib/gcc/arm-

linux/3.4.6/libgcc.a(_umodsi3.oS) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld: failed to merge target specific data of file /up-Star2410/arm-linux-tools/gcc-3.4.6-glibc-

2.3.6/arm-linux/bin/../lib/gcc/arm-linux/3.4.6/libgcc.a(_umodsi3.oS)
arm-linux-ld: ERROR: /up-Star2410/arm-linux-tools/gcc-3.4.6-glibc-2.3.6/arm-linux/bin/../lib/gcc/arm-

linux/3.4.6/libgcc.a(_modsi3.oS) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld: failed to merge target specific data of file /up-Star2410/arm-linux-tools/gcc-3.4.6-glibc-

2.3.6/arm-linux/bin/../lib/gcc/arm-linux/3.4.6/libgcc.a(_modsi3.oS)
arm-linux-ld: ERROR: /up-Star2410/arm-linux-tools/gcc-3.4.6-glibc-2.3.6/arm-linux/bin/../lib/gcc/arm-

linux/3.4.6/libgcc.a(_dvmd_lnx.oS) uses hardware FP, whereas u-boot uses software FP
arm-linux-ld: failed to merge target specific data of file /up-Star2410/arm-linux-tools/gcc-3.4.6-glibc-

2.3.6/arm-linux/bin/../lib/gcc/arm-linux/3.4.6/libgcc.a(_dvmd_lnx.oS)
make: *** [u-boot] Error 1

linux/3.4.6/libgcc.a(_modsi3.oS) uses hardware FP, whereas u-boot uses software FP

译链接器3.4.6用的是hardware FP,而u-boot 使用的是 software FP 。

解决方案:

修改文件./arch/arm/cpu/920t/config.mk

#

# (C) Copyright 2002

# Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>

#

# See file CREDITS for list of people who contributed to this

# project.

#

# This program is free software; you can redistribute it and/or

# modify it under the terms of the GNU General Public License as

# published by the Free Software Foundation; either version 2 of

# the License, or (at your option) any later version.

#

# This program is distributed in the hope that it will be useful,

# but WITHOUT ANY WARRANTY; without even the implied warranty of

# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

# GNU General Public License for more details.

#

# You should have received a copy of the GNU General Public License

# along with this program; if not, write to the Free Software

# Foundation, Inc., 59 Temple Place, Suite 330, Boston,

# MA 02111-1307 USA

#

#PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float

PLATFORM_CPPFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8

PLATFORM_CPPFLAGS += -march=armv4

# =========================================================================

#

# Supply options according to compiler version

#

# =========================================================================

#PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))

PLATFORM_CPPFLAGS += $(call cc-option,-mapcs-32)

PLATFORM_RELFLAGS += $(call cc-option,-mshort-load-bytes,$(call cc-option,-malig/nment-traps,))


这样改后使用3.4.1出错,换成3.3.2编译成功

分享到:
评论

相关推荐

    DM8168U-Boot编译

    1.3 安装u-boot-tools 4 2 u-boot.noxip.bin.spi编译 4 2.1 清理U-Boot 4 2.2 配置U-Boot 4 2.3 编译U-Boot 5 3 u-boot.min.sd编译 5 3.1 清理U-Boot 5 3.2 配置U-Boot 5 3.3 编译U-Boot 6 4 u-boot.bin...

    windows下编译u-boot代码

    描述如何在Winodows下用MSYS & MinGW 建立环境用Sourcery 的编译器编译u-boot源码,进一步在ECLIPSE 下编译调试u-boot代码

    u-boot软件工具包

    u-boot-1.0.0.tar.bz2~u-boot-1.3.4.tar.bz2 u-boot-2008.10.tar.bz2~u-boot-2019.10.tar.bz2 u-boot-2010.03.tar.bz2 u-boot-2020.01.tar.bz2 u-boot-2020.04.tar.bz2 u-boot-2020.07.tar.bz2 u-boot-2020.10.tar....

    tp-link741n_v1解锁U-boot的OpenWRT固件、不死U-boot及刷入工具

    包括: 1、解锁U-boot的固件openwr-ar71xx-generic-tl-wr741nd-v1-squashfs-factory.bin,功能简单,只为方便刷入不死U-boot 2、适用wr741nd-v1的不死U-boot及其升级版breed 3、刷入工具

    u-boot开源代码

    ◆ board:和一些已有开发板有关的文件,比如Makefile和u-boot.lds等都和具体开发板的硬件和地址分配有关。 ◆ common:与体系结构无关的文件,实现各种命令的C文件。 ◆ cpu:CPU相关文件,其中的子目录都是以U-...

    u-boot.bin_tekkaman_2009.11.bz2

    u-boot.bin_tekkaman_2009.11.bz2 参考网站:Tekkaman Ninja ...已经针对mini2440 编译好的U-boot-2009.11 的bin文件在Tekkaman Ninja 的博客中有,可以直接烧入, 链接:u-boot.bin_tekkaman_2009.11.tar.bz2

    u-boot-1.1.6.tar.bz & u-boot-1.1.6_jz2440.patch

    u-boot-1.1.6.tar.bz & u-boot-1.1.6_jz2440.patch

    u-boot-u-boot-2013.01.y.zip

    U-Boot不仅仅支持嵌入式Linux系统的引导,它还支持NetBS D, VxWorks, QNX, RTEMS, ARTOS, LynxOS, android嵌入式操作系统。其目前要支持的目标操作系统是OpenBSD, NetBSD, FreeBSD,4.4BSD, Linux, SVR4, Esix, ...

    u-boot-2011.09-psp04.06.00.08.tar.gz_AM335x_am335x uboot_u-boot-

    TI的AM335X EVM板的Uboot源码u-boot-2011.09-psp04.06.00.08.tar.gz

    u-boot for mini2440 (u-boot 2009.11&u-boot 2010.03)

    资源来源于tekkamanninja ... 经试验可用 ...解压后得到的两个bz2文件,需要在linux环境下解压,解压后得到两个u-boot.bin文件,分别为u-boot2009.11和u-boot2010.03,烧写到mini2440后就可以看出是哪个

    hackpascal的不死U-boot最后一个版本 2015-04-27

    hackpascal的不死U-boot最后一个版本 2015-04-27,完全版、最终版!这是hackpascal开发的最后一个版本的U-boot,然后他就开始开发Breed了,U-boot至此也就不再有更新了,详见压缩包内的说明文档。

    U-Boot详解 U-Boot详解

    U-Boot详解 U-Boot详解 U-Boot详解 U-Boot详解

    AM335x U-Boot User's Guide.pdf

    The binaryfor the 2nd U-Boot stage is simply referred to as U-Boot.SPL is a non-interactive loader and is a specially builtversion of U-Boot. It is built concurrently when building U-Boot.

    u-boot源码分析

    本文从以下几个方面粗浅地分析u-boot并移植到FS2410板上: 1、u-boot工程的总体结构 2、u-boot的流程、主要的数据结构、内存分配。 3、u-boot的重要细节,主要分析流程中各函数的功能。 4、基于FS2410板子的u-boot...

    u-boot-2010.06源码make执行过程

    u-boot-2010.06源码make执行过程

    U-Boot-1.16编译过程完全分析(网页文件)

    U-Boot-1.16编译过程完全分析.mht(网页文件) 原作者的分析,害怕丢了,保存一下 作者地址: http://www.cnblogs.com/heaad/archive/2010/07/17/1779806.html

    U-Boot编译过程完全分析

    本文详细的描述了u-boot的编译过程,值得一看

    全功能不死 U-Boot (2014-08-23 编译)

    全功能不死 U-Boot (2014-08-23 编译)又hackpasal大侠鼎立制作~

    不死 U-Boot

    u-boot-ar9331-pisen.bin 品胜路由进入 U-Boot 控制台,请先开机再按复位键,否则无法开机,这是硬件设计造成的。可以超频,但限制到 500MHz 不能用于 TP-LINK TL-WR720N v3 和 TP-LINK TL-WR710N,否则无法开机。...

    编译好的带u-boot.bin文件的u-boot1.1.4包

    编译好的带u-boot.bin文件的u-boot1.1.4包,内含如何修改的文章,.bin文件是2410的板子所用,本人正常使用

Global site tag (gtag.js) - Google Analytics