主题 : 按照uboot那个步骤制作的sd卡无法启动4412,串口只输出一个OK就没有响应了 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 27001
精华: 1
发帖: 41
金钱: 255 两
威望: 51 点
贡献值: 1 点
综合积分: 102 分
注册时间: 2010-08-18
最后登录: 2021-04-22
楼主  发表于: 2014-08-26 15:59

 按照uboot那个步骤制作的sd卡无法启动4412,串口只输出一个OK就没有响应了

级别: 新手上路
UID: 98175
精华: 0
发帖: 38
金钱: 195 两
威望: 39 点
贡献值: 0 点
综合积分: 76 分
注册时间: 2013-11-18
最后登录: 2017-05-17
1楼  发表于: 2014-08-26 17:33

 回 楼主(tsuibin) 的帖子

确定你的uboot.bin有正确烧写到sd卡么?
级别: 新手上路
UID: 118904
精华: 0
发帖: 19
金钱: 95 两
威望: 19 点
贡献值: 0 点
综合积分: 38 分
注册时间: 2015-09-11
最后登录: 2015-12-01
2楼  发表于: 2015-09-15 19:26
还是不行,期间报出了一堆警告。xt2fs.c: In function 'ext2fs_format':
ext2fs.c:1050:2: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'ulong'
ext2fs.c:1050:2: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'ulong'
ext2fs.c:1560:16: warning: assignment from incompatible pointer type
ext2fs.c:1584:16: warning: assignment from incompatible pointer type
ext2fs.c:1597:16: warning: assignment from incompatible pointer type
ext2fs.c:1646:17: warning: assignment from incompatible pointer type
ext2fs.c:1651:17: warning: assignment from incompatible pointer type
ext2fs.c:1699:9: warning: assignment from incompatible pointer type
ext2fs.c:1705:9: warning: assignment from incompatible pointer type
ext2fs.c:1791:9: warning: assignment from incompatible pointer type
ext2fs.c:1834:10: warning: assignment from incompatible pointer type
ext2fs.c:1970:7: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
ext2fs.c:1983:9: warning: assignment from incompatible pointer type
ext2fs.c:1240:12: warning: unused variable 'default_used_blk'
ext2fs.c:1239:12: warning: unused variable 'normal_used_blk'
ext2fs.c:1433:13: warning: 'temp_val' may be used uninitialized in this function
ext2fs.c:1840:13: warning: 'temp_val' may be used uninitialized in this function
ext2fs.c:1059:11: warning: 'uuid[0]' may be used uninitialized in this function
ext2fs.c:1059:11: warning: 'uuid[1]' may be used uninitialized in this function
ext2fs.c:1059:11: warning: 'uuid[2]' may be used uninitialized in this function
ext2fs.c:1059:11: warning: 'uuid[3]' may be used uninitialized in this function
arm-linux-gcc  -g  -Os   -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -I/home/uboot/uboot_tiny4412/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector   \
        -o dev.o dev.c -c
arm-linux-ld -r -o libext2fs.o  ext2fs.o dev.o
make[1]: Leaving directory `/home/uboot/uboot_tiny4412/fs/ext2'
make -C fs/fat/
make[1]: Entering directory `/home/uboot/uboot_tiny4412/fs/fat'
arm-linux-gcc  -g  -Os   -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0xc3e00000 -I/home/uboot/uboot_tiny4412/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/FriendlyARM/toolschain/4.5.1/lib/gcc/arm-none-linux-gnueabi/4.5.1/include -pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork -march=armv7-a -Wall -Wstrict-prototypes -fno-stack-protector   \
        -o fat.o fat.c -c
In file included from fat.c:36:0:
/home/uboot/uboot_tiny4412/include/fat.h:194:1: warning: function declaration isn't a prototype
fat.c: In function 'fat_register_device':
fat.c:142:2: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'ulong'
fat.c:142:2: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'ulong'
fat.c: In function 'write_pbr':
fat.c:168:2: warning: implicit declaration of function 'malloc'
fat.c:168:6: warning: assignment makes pointer from integer without a cast
fat.c:255:2: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'long unsigned int'
fat.c:164:6: warning: unused variable 'reserved_cnt'
fat.c: In function 'write_reserved':
fat.c:297:6: warning: assignment makes pointer from integer without a cast
fat.c:296:6: warning: unused variable 'i'
fat.c: In function 'write_fat':
fat.c:339:6: warning: assignment makes pointer from integer without a cast
fat.c:347:8: warning: assignment makes pointer from integer without a cast
fat.c:356:6: warning: unused variable 'temp'
fat.c: In function 'mklabel':
fat.c:403:2: warning: implicit declaration of function '__toupper'
fat.c: In function 'fat_format_device':
fat.c:452:2: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'ulong'
fat.c:452:2: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'ulong'
fat.c: At top level:
fat.c:398:1: warning: 'mklabel' defined but not used
fat.c: In function 'read_bootsectandvi':
fat.c:1093:18: warning: array subscript is above array bounds
级别: 新手上路
UID: 129482
精华: 0
发帖: 16
金钱: 80 两
威望: 16 点
贡献值: 0 点
综合积分: 32 分
注册时间: 2016-11-24
最后登录: 2017-10-11
3楼  发表于: 2017-10-11 13:51
我也碰到相同的问题,不知道如何解决呀!
级别: 新手上路
UID: 129482
精华: 0
发帖: 16
金钱: 80 两
威望: 16 点
贡献值: 0 点
综合积分: 32 分
注册时间: 2016-11-24
最后登录: 2017-10-11
4楼  发表于: 2017-10-11 15:34
坛子里有可用的uboot版本下载,官方的只输出OK。
级别: 新手上路
UID: 44858
精华: 0
发帖: 10
金钱: 50 两
威望: 10 点
贡献值: 0 点
综合积分: 20 分
注册时间: 2011-04-29
最后登录: 2018-01-31
5楼  发表于: 2017-11-30 09:51
遇到同样的问题,只输出一个OK。
级别: 新手上路
UID: 135923
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
贡献值: 0 点
综合积分: 18 分
注册时间: 2017-12-05
最后登录: 2017-12-17
6楼  发表于: 2017-12-05 23:04
1G+4G标准版,也遇到了同样的问题,望大牛指导
级别: 新手上路
UID: 134459
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
贡献值: 0 点
综合积分: 8 分
注册时间: 2017-09-04
最后登录: 2018-03-22
7楼  发表于: 2018-01-11 17:05
这个是因为uboot版本问题!可以下载新的uboot编译就行了!友善提供的不行!加QQ 446294934,我教你们