TI中文支持网
TI专业的中文技术问题搜集分享网站

关于AM335x的uboot编译的时候显示“u-boot-spl 节 .rodata 将无法适合区域 .sram”

您好:最近在调试自己制作的AM3359的板子,使用的SDK为“ti-processor-sdk-linux-rt-am335x-evm-05.02.00.10”,在编译SPL的时候,出现

arm-linux-gnueabihf-ld.bfd: u-boot-spl 节 .rodata 将无法适合区域 .sram
arm-linux-gnueabihf-ld.bfd: region `.sram' overflowed by 5672 bytes
../scripts/Makefile.spl:349: recipe for target 'spl/u-boot-spl' failed
make[2]: *** [spl/u-boot-spl] Error 1
/usr/ti-processor-sdk-linux-rt-am335x-evm-05.02.00.10/board-support/u-boot-2018.01+gitAUTOINC+313dcd69c2-g313dcd69c2/Makefile:1399: recipe for target 'spl/u-boot-spl' failed
make[1]: *** [spl/u-boot-spl] Error 2
make[1]: 离开目录“/usr/ti-processor-sdk-linux-rt-am335x-evm-05.02.00.10/board-support/u-boot-2018.01+gitAUTOINC+313dcd69c2-g313dcd69c2/am335x”
Makefile:150: recipe for target 'sub-make' failed

请问,这个应该怎么解决?是因为编译出来的SPL大于预设的SPL空间大小吗?

yongqing wang:

试试这个安装后有没有用:sudo apt-get install device-tree-compiler

user5850447:

回复 yongqing wang:

正在读取软件包列表… 完成
正在分析软件包的依赖关系树
正在读取状态信息… 完成
device-tree-compiler 已经是最新版 (1.4.5-3)。
升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
谢谢,这个已经是 最新版本了啊!

Shine:

请到menuconfig SPL选项里去掉一些不用的功能,参考下面的帖子。
e2e.ti.com/…/2329582

yongqing wang:

你有做什么修改吗?

yongqing wang:

回复 yongqing wang:

情看看这个讨论:groups.google.com/…/

赞(0)
未经允许不得转载:TI中文支持网 » 关于AM335x的uboot编译的时候显示“u-boot-spl 节 .rodata 将无法适合区域 .sram”
分享到: 更多 (0)