|
【技术讨论】
3588 编译ubuntu uboot报错
发表于 2022-7-27 14:53:54
浏览:7202
|
回复:7
打印
只看该作者
[复制链接]
楼主
processing option: allff
============================================
TARGET_ARCH=arm64
TARGET_PLATFORM=rk3588
TARGET_UBOOT_CONFIG=rk3588
TARGET_SPL_CONFIG=
TARGET_KERNEL_CONFIG=rockchip_linux_defconfig
TARGET_KERNEL_DTS=rk3588-firefly-itx-3588j
TARGET_TOOLCHAIN_CONFIG=
TARGET_BUILDROOT_CONFIG=
TARGET_RECOVERY_CONFIG=
TARGET_PCBA_CONFIG=rockchip_rk3588_pcba
TARGET_RAMBOOT_CONFIG=
============================================
============Start building uboot============
TARGET_UBOOT_CONFIG=rk3588
=========================================
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
#
# configuration written to .config
#
Using .config as base
Merging ./arch/../configs/firefly-linux.config
Value of CONFIG_ROCKCHIP_EARLY_DISTRO_DTB is redefined by fragment ./arch/../configs/firefly-linux.config:
Previous value: # CONFIG_ROCKCHIP_EARLY_DISTRO_DTB is not set
New value: CONFIG_ROCKCHIP_EARLY_DISTRO_DTB=y
Value of CONFIG_SPL_GPIO_SUPPORT is redefined by fragment ./arch/../configs/firefly-linux.config:
Previous value: CONFIG_SPL_GPIO_SUPPORT=y
New value: CONFIG_SPL_GPIO_SUPPORT=n
Value of CONFIG_DM_PCA953X is redefined by fragment ./arch/../configs/firefly-linux.config:
Previous value: # CONFIG_DM_PCA953X is not set
New value: CONFIG_DM_PCA953X=y
#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
./make.sh: line 270: cd: ../prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin: No such file or directory
ERROR: No find /home/jason/rk/rk3588/u-boot/aarch64-linux-gnu-gcc
ERROR: Running build_uboot failed!
ERROR: exit code 1 from line 543:
./make.sh $UBOOT_COMPILE_COMMANDS
修改make.sh
CROSS_COMPILE_ARM64=../prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-
仍报错
processing option: allff
============================================
TARGET_ARCH=arm64
TARGET_PLATFORM=rk3588
TARGET_UBOOT_CONFIG=rk3588
TARGET_SPL_CONFIG=
TARGET_KERNEL_CONFIG=rockchip_linux_defconfig
TARGET_KERNEL_DTS=rk3588-firefly-itx-3588j
TARGET_TOOLCHAIN_CONFIG=
TARGET_BUILDROOT_CONFIG=
TARGET_RECOVERY_CONFIG=
TARGET_PCBA_CONFIG=rockchip_rk3588_pcba
TARGET_RAMBOOT_CONFIG=
============================================
============Start building uboot============
TARGET_UBOOT_CONFIG=rk3588
=========================================
#
# configuration written to .config
#
Using .config as base
Merging ./arch/../configs/firefly-linux.config
Value of CONFIG_ROCKCHIP_EARLY_DISTRO_DTB is redefined by fragment ./arch/../configs/firefly-linux.config:
Previous value: # CONFIG_ROCKCHIP_EARLY_DISTRO_DTB is not set
New value: CONFIG_ROCKCHIP_EARLY_DISTRO_DTB=y
Value of CONFIG_SPL_GPIO_SUPPORT is redefined by fragment ./arch/../configs/firefly-linux.config:
Previous value: CONFIG_SPL_GPIO_SUPPORT=y
New value: CONFIG_SPL_GPIO_SUPPORT=n
Value of CONFIG_DM_PCA953X is redefined by fragment ./arch/../configs/firefly-linux.config:
Previous value: # CONFIG_DM_PCA953X is not set
New value: CONFIG_DM_PCA953X=y
#
# merged configuration written to .config (needs make)
#
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
ERROR: No find /home/jason/rk/rk3588/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-linux-gnu-gcc
ERROR: Running build_uboot failed!
ERROR: exit code 1 from line 543:
./make.sh $UBOOT_COMPILE_COMMANDS
到底哪里有正确的说明? https://wiki.t-firefly.com/zh_CN ... compile_ubuntu.html 官网的操作步骤能不能靠谱点?
|
|