• «
  • 1
  • 2
  • »
  • Pages: 2/2     Go
主题 : uboot 1.1.6 编译出现错误: libgcc.a(_udivdi3.os) uses hardware FP,whereas u-boot uses software FP 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 9254
精华: 0
发帖: 44
金钱: 450 两
威望: 225 点
贡献值: 0 点
综合积分: 88 分
注册时间: 2009-09-23
最后登录: 2009-12-12
10楼  发表于: 2009-10-22 15:03
我用qq2440提供的3.4.1居然能编译过去了,,不知道怎么回事,,另外还有问题请教版主,,就是我改好了支持128M NAND的uboot,在mini2440开发板上就能跑起来,,而在我的te2440开发板上却没有任何输出信息,,问题可能出现在哪里呢?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
11楼  发表于: 2009-10-22 15:11
你能不能一次把问题说清楚?
你是怎么让uboot支持128M NAND的?你的uboot现在是只支持从128M NAND启动还是兼容从64M NAND启动?TE2440是从64M NAND Flash启动?
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 9254
精华: 0
发帖: 44
金钱: 450 两
威望: 225 点
贡献值: 0 点
综合积分: 88 分
注册时间: 2009-09-23
最后登录: 2009-12-12
12楼  发表于: 2009-10-22 15:21
管理提醒: (kasim) 该问题已经和uboot编译无关,想讨论的话另外开一个帖子。 (2009-10-22 16:50)
目前,我这有两块开发板,mini2440,和te2440,我参考的是qq2440中的光盘资料:vivi 源码包,和uboot源码包,它们都是支持64M nand ,而我的两块板子都是128M,,前段时间我改了vivi,使他在我的板子跑起来了,,现在我在改uboot,我修改的方法和vivi中一样,,但是现在uboot在mini2440能跑起来,但是在te2440却跑步起来。。可能是哪里的问题呢?和时钟有关吗?
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
13楼  发表于: 2009-10-22 15:33
可能和TE2440 NAND启动时GPG13,14,15这三根PIN的电平有关,128M NAND Flash和64M的配置是不一样的,具体信息看S3C2440A CPU用户手册“NAND Flash Controller”一章中的描述。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 7051
精华: 0
发帖: 23
金钱: 250 两
威望: 140 点
贡献值: 0 点
综合积分: 46 分
注册时间: 2009-06-29
最后登录: 2010-04-19
14楼  发表于: 2009-10-22 16:43
arm-linux-gcc 4.3.2编译u-boot-2009.08出现问题:

make[1]: 正在进入目录 `/home/k/workspace/source/u-boot-2009.08/board/samsung/mini2440'
arm-linux-gcc  -g  -Os   -fno-strict-aliasing  -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/home/k/workspace/source/u-boot-2009.08/include -fno-builtin -ffreestanding -nostdinc -isystem /home/k/workspace/opt/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv4 -Wall -Wstrict-prototypes -fno-stack-protector   -o mini2440.o mini2440.c -c
mini2440.c: In function 'board_init':
mini2440.c:89: error: 'S3C24X0_GPIO' has no member named 'GPACON'
mini2440.c:90: error: 'S3C24X0_GPIO' has no member named 'GPBCON'
mini2440.c:91: error: 'S3C24X0_GPIO' has no member named 'GPBUP'
mini2440.c:92: error: 'S3C24X0_GPIO' has no member named 'GPCCON'
mini2440.c:93: error: 'S3C24X0_GPIO' has no member named 'GPCUP'
mini2440.c:94: error: 'S3C24X0_GPIO' has no member named 'GPDCON'
mini2440.c:95: error: 'S3C24X0_GPIO' has no member named 'GPDUP'
mini2440.c:96: error: 'S3C24X0_GPIO' has no member named 'GPECON'
mini2440.c:97: error: 'S3C24X0_GPIO' has no member named 'GPEUP'
mini2440.c:98: error: 'S3C24X0_GPIO' has no member named 'GPFCON'
mini2440.c:99: error: 'S3C24X0_GPIO' has no member named 'GPFUP'
mini2440.c:100: error: 'S3C24X0_GPIO' has no member named 'GPGCON'
mini2440.c:101: error: 'S3C24X0_GPIO' has no member named 'GPGUP'
mini2440.c:102: error: 'S3C24X0_GPIO' has no member named 'GPHCON'
mini2440.c:103: error: 'S3C24X0_GPIO' has no member named 'GPHUP'
make[1]: *** [mini2440.o] 错误 1
make[1]:正在离开目录 `/home/k/workspace/source/u-boot-2009.08/board/samsung/mini2440'
make: *** [board/samsung/mini2440/libmini2440.a] 错误 2
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
15楼  发表于: 2009-10-22 16:49
mini2440.c:89: error: 'S3C24X0_GPIO' has no member named 'GPACON'

S3C24X0_GPIO这个结构体定义已经更改过了,不再包含GPACON这样的成员,根据代码中S3C24X0_GPIO的定义修改你的源代码
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 7051
精华: 0
发帖: 23
金钱: 250 两
威望: 140 点
贡献值: 0 点
综合积分: 46 分
注册时间: 2009-06-29
最后登录: 2010-04-19
16楼  发表于: 2009-10-22 17:12
版主,可以详细讲解一下吗?我在s3c24x0.h这个文件里面看到typedef struct {S3C24X0_REG32 GPACON} S3C24X0_GPIO这样定义的,但不知道如何修改。编译u-boot-2008.10也会出现这种情况。
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
贡献值: 71 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
17楼  发表于: 2009-10-22 17:43

 回 16楼(ambitionk) 的帖子

我已经在http://www.aiothome.com/bbs/read.php?tid-3407.html里回复了,这个帖子没有必要再讨论下去
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
  • «
  • 1
  • 2
  • »
  • Pages: 2/2     Go