|
发表于 2021-6-28 15:50:44
浏览:7421
|
回复:0
打印
只看该作者
[复制链接]
楼主
按照https://wiki.t-firefly.com/Core-3568J/linux_compile_gpt.html的步骤进行代码的下载。更新,编译
编译 kernel与recovery都成功啦,但是编译uboot提示如下错误:
processing option: uboot
============Start building uboot============
TARGET_UBOOT_CONFIG=firefly-rk3568
=========================================
## make firefly-rk3568_defconfig -j80
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
CFG u-boot.cfg
GEN include/autoconf.mk.dep
CFG spl/u-boot.cfg
CFG tpl/u-boot.cfg
GEN include/autoconf.mk
GEN tpl/include/autoconf.mk
GEN spl/include/autoconf.mk
CHK include/config/uboot.release
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CHK include/generated/version_autogenerated.h
CHK include/generated/generic-asm-offsets.h
CHK include/generated/asm-offsets.h
HOSTCC tools/mkenvimage.o
HOSTCC tools/fit_image.o
HOSTCC tools/image-host.o
HOSTCC tools/dumpimage.o
HOSTCC tools/mkimage.o
HOSTCC tools/rockchip/boot_merger.o
HOSTCC tools/rockchip/loaderimage.o
CHK include/config.h
CFG u-boot.cfg
tools/rockchip/loaderimage.c: In function ‘main’:
tools/rockchip/loaderimage.c:56:31: error: ‘CONFIG_SYS_TEXT_BASE’ undeclared (first use in this function); did you mean ‘CONFIG_TPL_TEXT_BASE’?
#define RK_UBOOT_RUNNING_ADDR CONFIG_SYS_TEXT_BASE
^
tools/rockchip/loaderimage.c:221:36: note: in expansion of macro ‘RK_UBOOT_RUNNING_ADDR’
(in_loader_addr == -1) ? RK_UBOOT_RUNNING_ADDR : in_loader_addr;
^~~~~~~~~~~~~~~~~~~~~
tools/rockchip/loaderimage.c:56:31: note: each undeclared identifier is reported only once for each function it appears in
#define RK_UBOOT_RUNNING_ADDR CONFIG_SYS_TEXT_BASE
^
tools/rockchip/loaderimage.c:221:36: note: in expansion of macro ‘RK_UBOOT_RUNNING_ADDR’
(in_loader_addr == -1) ? RK_UBOOT_RUNNING_ADDR : in_loader_addr;
^~~~~~~~~~~~~~~~~~~~~
scripts/Makefile.host:116: recipe for target 'tools/rockchip/loaderimage.o' failed
make[1]: *** [tools/rockchip/loaderimage.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:1304: recipe for target 'tools' failed
make: *** [tools] Error 2
ERROR: Running build_uboot failed!
ERROR: exit code 2 from line 367:
./make.sh $RK_UBOOT_DEFCONFIG $UBOOT_COMPILE_COMMANDS
|
|