Firefly开源社区

Title: PX30 UBOOT 数组大小限制 [Print This Page]

Author: jukeboge    Time: 2021-3-26 15:58
Title: PX30 UBOOT 数组大小限制
本帖最后由 jukeboge 于 2021-3-26 15:59 编辑

SDK:px30_linux_release_20210304
硬件平台:px30-lvds-ubuntu.mk evb-px30
问题描述:SDK uboot代码中定义数组const unsigned char buffer[200*1024],px30_linux_release_20210304目录下执行:./build.sh uboot,报错,如果修改数组大小为100*1024则能正常编译通过,错误信息如下:
  1.   CC      examples/standalone/hello_world.o
  2.   CC      examples/standalone/stubs.o
  3.   LD      examples/standalone/libstubs.o
  4.   LD      examples/standalone/hello_world
  5.   OBJCOPY examples/standalone/hello_world.bin
  6.   OBJCOPY examples/standalone/hello_world.srec
  7.   LD      u-boot
  8. arch/arm/lib/built-in.o: In function `copy_loop':
  9. /home/jukeboge/proj/px30_linux_release_20210304/u-boot/arch/arm/lib/relocate_64.S:59:(.text+0xc8): relocation truncated to fit: R_AARCH64_ADR_PREL_LO21 against symbol `__rel_dyn_end' defined in .bss_start section in u-boot
  10. Makefile:1276: recipe for target 'u-boot' failed
  11. make: *** [u-boot] Error 1
  12. ====Build uboot failed!====
  13. jukeboge@apple:~/proj/px30_linux_release_20210304$
Copy the code





Author: lys23926635    Time: 2022-1-26 12:00
请问这个问题解决了吗?我编译firefly_RK3399 就报这个错误,啥都没改
Author: android嵌入式    Time: 2023-2-9 17:26
lys23926635 发表于 2022-1-26 12:00
请问这个问题解决了吗?我编译firefly_RK3399 就报这个错误,啥都没改

请问 您解决这个问题了吗?




Welcome Firefly开源社区 (http://account.t-firefly.com/) Powered by Discuz! X3.1