CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 8848|回复: 4

求 U-boot编译日志一份

[复制链接]
发表于 2013-7-28 09:18:49 | 显示全部楼层 |阅读模式
armv6-freebsd-gcc -E -g  -Os   -fno-common -ffixed-r8 -msoft-float  -D__KERNEL__ -ffunction-sections -fdata-sections -DCONFIG_SYS_TEXT_BASE=0x4A000000 -DCONFIG_SPL_TEXT_BASE=0x20 -DCONFIG_SPL_PAD_TO=24576 -DCONFIG_SPL_BUILD -I/usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/armv6-freebsd/usr/include -pipe  -DCONFIG_ARM -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -march=armv5 -include /usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/include/u-boot/u-boot.lds.h -include /usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/include/config.h -DCPUDIR=arch/arm/cpu/armv7  -I/usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/spl/. -ansi -D__ASSEMBLY__ -P - < /usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/arch/arm/cpu/armv7/sunxi/u-boot-spl.lds > /usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/spl/u-boot-spl.lds
cd /usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/spl/ && armv6-freebsd-ld  -T /usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/spl/u-boot-spl.lds --gc-sections -Bstatic -Ttext 0x20 arch/arm/cpu/armv7/start.o --start-group arch/arm/cpu/armv7/libarmv7.o arch/arm/cpu/armv7/sunxi/libsunxi.o arch/arm/lib/libarm.o board/sunxi/libsunxi.o common/libcommon.o common/spl/libspl.o disk/libdisk.o drivers/i2c/libi2c.o drivers/mmc/libmmc.o drivers/power/libpower.o drivers/serial/libserial.o lib/libgeneric.o --end-group /usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/spl/arch/arm/lib/eabi_compat.o -L /usr/armv6-freebsd/usr/lib -lgcc -Map u-boot-spl.map -o u-boot-spl
armv6-freebsd-objcopy --gap-fill=0xff -O binary /usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/spl/u-boot-spl /usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/spl/u-boot-spl.bin
/usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/tools/mksunxiboot \
        /usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/spl/u-boot-spl.bin /usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/spl/sunxi-spl.bin
File size: 0x54b4
Load size: 0x54b4
Read 0x54b4 bytes
Write 0x5600 bytes
gmake[1]: Leaving directory `/usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/spl'
gmake -C examples/standalone all
gmake[1]: Entering directory `/usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/examples/standalone'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/examples/standalone'
gmake -C examples/api all
gmake[1]: Entering directory `/usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/examples/api'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/usr/home/ghw/work/u-boot-sunxi-2013.04-sunxi/examples/api'
ghw@FreeBSD:~/work/u-boot-sunxi-2013.04-sunxi %


就是最后那一部分,,

回复

使用道具 举报

 楼主| 发表于 2013-7-28 10:12:34 | 显示全部楼层
ghw@ghw-virtual-machine:~$ arm-linux-gnueabihf-gcc -v
Using built-in specs.
COLLECT_GCC=arm-linux-gnueabihf-gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-8ubu
ntu1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages
=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-incl
uded-gettext --enable-threads=posix --with-gxx-include-dir=/usr/arm-linux-gnueab
ihf/include/c++/4.6.3 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enab
le-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enab
le-plugin --enable-objc-gc --enable-multilib --disable-sjlj-exceptions --with-ar
ch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --disable-we
rror --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=arm-linux-gnueabihf --program-prefix=arm-linux-gnueabihf- --includedir=
/usr/arm-linux-gnueabihf/include --with-headers=/usr/arm-linux-gnueabihf/include
--with-libs=/usr/arm-linux-gnueabihf/lib
Thread model: posix
gcc version 4.6.3 20120624 (prerelease) (Ubuntu/Linaro 4.6.3-8ubuntu1)
ghw@ghw-virtual-machine:~$

自己编译了一份。。。

uboot是2013-04
编译结果还是24k的

不知道官方编译的时候用的是什么参数
回复 支持 反对

使用道具 举报

发表于 2013-7-28 20:52:20 | 显示全部楼层
那就下一份官方的编一些就好拉
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-7-28 23:01:15 来自手机 | 显示全部楼层
andy 发表于 2013-7-28 20:52
那就下一份官方的编一些就好拉

编译出来的freebsd写到sd卡里启动不了

但是ubuntu的可以,不知道如何分析问题出在哪
回复 支持 反对

使用道具 举报

发表于 2013-7-29 17:02:20 | 显示全部楼层
可以反看  sunxi的UBOOT是怎么修改和配置的
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-11-11 04:05 , Processed in 0.021120 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部