天嵌 ARM开发社区

 找回密码
 注册
查看: 3721|回复: 9

uboot错误

[复制链接]
666 发表于 2014-4-19 15:29:45 | 显示全部楼层 |阅读模式
tq210的uboot放在linux编译(直接:make),就会出现如下错误,请问下  这是不是没有配置的原因?
tq210的默认配置文件在哪个目录下!

System not configured - see README
make: *** [all] Error 1
 楼主| 666 发表于 2014-4-20 11:43:28 | 显示全部楼层
现在找到了配置,结果编译又出现了这样的错误,真是无语:
make[1]: Entering directory `/home/share_data/code/uboot_TQ210_1.3.4_v1.3/api_examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/home/share_data/code/uboot_TQ210_1.3.4_v1.3/api_examples'
make -C tools all
make[1]: Entering directory `/home/share_data/code/uboot_TQ210_1.3.4_v1.3/tools'
gcc -g -Wall -pedantic -idirafter /home/share_data/code/uboot_TQ210_1.3.4_v1.3/include -idirafter /home/share_data/code/uboot_TQ210_1.3.4_v1.3/include2 -idirafter /home/share_data/code/uboot_TQ210_1.3.4_v1.3/include -DTEXT_BASE=0xC3E00000 -DUSE_HOSTCC -O -c -o crc32.o crc32.c
crc32.c:1:1: error: expected identifier or ‘(’ before ‘.’ token
../lib_generic/crc32.c
^
make[1]: *** [crc32.o] Error 1
make[1]: Leaving directory `/home/share_data/code/uboot_TQ210_1.3.4_v1.3/tools'
make: *** [tools] Error 2
这个错误在ib_generic/crc32.c里面还找不到 ,
请指点!!!!!!!!!!!!!
回复

使用道具 举报

 楼主| 666 发表于 2014-4-20 17:47:41 | 显示全部楼层
666 发表于 2014-4-20 11:43
现在找到了配置,结果编译又出现了这样的错误,真是无语:
make[1]: Entering directory `/home/share_dat ...

问题解决了,但是我现在start.s里面找不到 C语言的入口!  请高手指点!!!!!
回复

使用道具 举报

 楼主| 666 发表于 2014-4-20 17:48:39 | 显示全部楼层
start.s里面找不到 C语言的入口!  C的入口是哪个函数???请指点!!
回复

使用道具 举报

wbz073 发表于 2014-4-21 09:04:48 | 显示全部楼层
666 发表于 2014-4-20 17:48
start.s里面找不到 C语言的入口!  C的入口是哪个函数???请指点!!

c语言入口函数是start_armboot
回复

使用道具 举报

 楼主| 666 发表于 2014-5-20 09:59:42 | 显示全部楼层
wbz073 发表于 2014-4-21 09:04
c语言入口函数是start_armboot

请教下  你们提供的默认uboot  调用LOGO的接口被你们封装了吗??
回复

使用道具 举报

wbz073 发表于 2014-5-20 22:22:07 | 显示全部楼层
666 发表于 2014-5-20 09:59
请教下  你们提供的默认uboot  调用LOGO的接口被你们封装了吗??

没有。
回复

使用道具 举报

wbz073 发表于 2014-5-20 22:22:32 | 显示全部楼层
666 发表于 2014-5-20 09:59
请教下  你们提供的默认uboot  调用LOGO的接口被你们封装了吗??

没有。
回复

使用道具 举报

 楼主| 666 发表于 2014-5-22 17:04:06 | 显示全部楼层

void tq210_lcd_init(void);
void embedsky_user_logo(void);
void embedsky_tq_logo(void);
void Lcd_printf(unsigned int x,unsigned int y,unsigned int c,unsigned int bk_c,unsigned int st,char *fmt,...);
void embedsky_paint_Dot(int x,int y,u32 bmp);
void embedsky_paint_Progress_bar(u32 x,u32 y,u32 width,u32 length,u32 current,u32 colour);
void embedsky_Write_Progress_note(u32 x,u32 y,u32 length,u8 left, u32 colour,char *str);
void embedsky_paint_table(u32 x,u32 y,u32 width,u32 hight,u32 colour,char *info);

基本都找不到源码??  只是这样一个可使用的接口
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2025-6-19 08:07 , Processed in 2.032076 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表