主题 : (更新)U-boot for Tiny4412源代码,友善之臂提供 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 118797
精华: 0
发帖: 18
金钱: 90 两
威望: 18 点
综合积分: 36 分
注册时间: 2015-09-08
最后登录: 2015-11-06
740楼  发表于: 2015-09-08 15:10
顶 需要代码
级别: 新手上路
UID: 99653
精华: 0
发帖: 1
金钱: 5 两
威望: 1 点
综合积分: 2 分
注册时间: 2014-01-06
最后登录: 2015-09-10
741楼  发表于: 2015-09-10 08:47
嗯?怎么回复了还是不能看到
级别: 新手上路
UID: 29905
精华: 0
发帖: 15
金钱: 75 两
威望: 15 点
综合积分: 30 分
注册时间: 2010-10-08
最后登录: 2016-06-13
742楼  发表于: 2015-09-10 14:31
少壮不努力,长大抄代码
背魔机
级别: 新手上路
UID: 118856
精华: 0
发帖: 3
金钱: 15 两
威望: 3 点
综合积分: 6 分
注册时间: 2015-09-09
最后登录: 2017-09-13
743楼  发表于: 2015-09-10 22:55
哈哈
级别: 新手上路
UID: 30379
精华: 0
发帖: 15
金钱: 75 两
威望: 15 点
综合积分: 30 分
注册时间: 2010-10-15
最后登录: 2016-04-25
744楼  发表于: 2015-09-11 02:26
顶一个,好动动
级别: 新手上路
UID: 94464
精华: 0
发帖: 30
金钱: 155 两
威望: 31 点
综合积分: 60 分
注册时间: 2013-07-17
最后登录: 2021-09-02
745楼  发表于: 2015-09-11 13:21
新手上路,学习学习。。。。。。
级别: 新手上路
UID: 103399
精华: 0
发帖: 7
金钱: 35 两
威望: 7 点
综合积分: 14 分
注册时间: 2014-04-24
最后登录: 2015-11-03
746楼  发表于: 2015-09-13 09:38
下载看看 研究一下
级别: 新手上路
UID: 118904
精华: 0
发帖: 19
金钱: 95 两
威望: 19 点
综合积分: 38 分
注册时间: 2015-09-11
最后登录: 2015-12-01
747楼  发表于: 2015-09-15 18:58
123
级别: 新手上路
UID: 118904
精华: 0
发帖: 19
金钱: 95 两
威望: 19 点
综合积分: 38 分
注册时间: 2015-09-11
最后登录: 2015-12-01
748楼  发表于: 2015-09-15 19:25
为什么还是OK?期间还报出了一堆的警告。

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: 118797
精华: 0
发帖: 18
金钱: 90 两
威望: 18 点
综合积分: 36 分
注册时间: 2015-09-08
最后登录: 2015-11-06
749楼  发表于: 2015-09-16 08:45
多谢看看的