|
Posted at 12/18/2018 14:53:57
Only Author
8#
Dear pengeuin,
Pls check the log file;
met@met:~$ ls
Desktop Documents Downloads examples.desktop jd2 Music Pictures Public Templates Videos
met@met:~$ cd Desktop/Compile_Ubuntu_firmware\(GPT\)/linux/
linux-sdk/ repo/
met@met:~$ cd Desktop/Compile_Ubuntu_firmware\(GPT\)/linux/
linux-sdk/ repo/
met@met:~$ cd Desktop/Compile_Ubuntu_firmware\(GPT\)/linux/linux-sdk/
met@met:~/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk$ bash -x ./build.sh firefly-rk3399.mk
+++ dirname ./build.sh
++ cd .
++ pwd
+ COMMON_DIR='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk'
+ '[' -h ./build.sh ']'
++ readlink ./build.sh
+ CMD=device/rockchip/common/build.sh
++ dirname device/rockchip/common/build.sh
+ COMMON_DIR=device/rockchip/common
+ cd device/rockchip/common
+ cd ../../..
++ pwd
+ TOP_DIR='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk'
+ COMMON_DIR='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/common'
+ BOARD_CONFIG='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/.BoardConfig.mk'
+ CFG_DIR='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip'
+ ROCKDEV='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/rockdev'
+ source '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/.BoardConfig.mk'
+ PARAMETER='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/parameter-ubuntu.txt'
+ SD_PARAMETER='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/parameter-recovery.txt'
+ '[' '!' -n firefly-rk3399.mk ']'
+ BUILD_TARGET=firefly-rk3399.mk
++ find '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip' -name firefly-rk3399.mk
+ NEW_BOARD_CONFIG='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/firefly-rk3399.mk'
+ '[' firefly-rk3399.mk == uboot ']'
+ '[' firefly-rk3399.mk == kernel ']'
+ '[' firefly-rk3399.mk == extboot ']'
+ '[' firefly-rk3399.mk == rootfs ']'
+ '[' firefly-rk3399.mk == buildroot ']'
+ '[' firefly-rk3399.mk == recovery ']'
+ '[' firefly-rk3399.mk == pcba ']'
+ '[' firefly-rk3399.mk == yocto ']'
+ '[' firefly-rk3399.mk == ros ']'
+ '[' firefly-rk3399.mk == debian ']'
+ '[' firefly-rk3399.mk == updateimg ']'
+ '[' firefly-rk3399.mk == sdbootimg ']'
+ '[' firefly-rk3399.mk == sdupdateimg ']'
+ '[' firefly-rk3399.mk == all ']'
+ '[' firefly-rk3399.mk == firmware ']'
+ '[' firefly-rk3399.mk == save ']'
+ '[' firefly-rk3399.mk == cleanall ']'
+ '[' firefly-rk3399.mk == --help ']'
+ '[' firefly-rk3399.mk == help ']'
+ '[' firefly-rk3399.mk == -h ']'
+ '[' firefly-rk3399.mk == allsave ']'
+ '[' -f '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/firefly-rk3399.mk' ']'
+ '[' '!' -n '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/firefly-rk3399.mk' ']'
+ echo '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/firefly-rk3399.mk'
/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/firefly-rk3399.mk
+ rm -f '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/.BoardConfig.mk'
+ ln -s '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/firefly-rk3399.mk' '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/.BoardConfig.mk'
+ unset RK_PACKAGE_FILE
+ unset RK_MKUPDATE_FILE
+ source '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/firefly-rk3399.mk'
++ export RK_ARCH=arm64
++ RK_ARCH=arm64
++ export RK_UBOOT_DEFCONFIG=firefly-rk3399
++ RK_UBOOT_DEFCONFIG=firefly-rk3399
++ export RK_KERNEL_DEFCONFIG=firefly_linux_defconfig
++ RK_KERNEL_DEFCONFIG=firefly_linux_defconfig
++ export RK_KERNEL_DTS=rk3399-firefly
++ RK_KERNEL_DTS=rk3399-firefly
++ export RK_BOOT_IMG=boot.img
++ RK_BOOT_IMG=boot.img
++ export RK_PARAMETER=parameter-ubuntu.txt
++ RK_PARAMETER=parameter-ubuntu.txt
++ export RK_SD_PARAMETER=parameter-recovery.txt
++ RK_SD_PARAMETER=parameter-recovery.txt
++ export RK_PACKAGE_FILE=rk3399-ubuntu-package-file
++ RK_PACKAGE_FILE=rk3399-ubuntu-package-file
++ export RK_SD_PACKAGE_FILE=rk3399-recovery-package-file
++ RK_SD_PACKAGE_FILE=rk3399-recovery-package-file
++ export RK_CFG_BUILDROOT=rockchip_rk3399
++ RK_CFG_BUILDROOT=rockchip_rk3399
++ export RK_CFG_RECOVERY=rockchip_rk3399_recovery
++ RK_CFG_RECOVERY=rockchip_rk3399_recovery
++ export RK_CFG_PCBA=rockchip_rk3399_pcba
++ RK_CFG_PCBA=rockchip_rk3399_pcba
++ export RK_JOBS=8
++ RK_JOBS=8
++ export RK_TARGET_PRODUCT=rk3399
++ RK_TARGET_PRODUCT=rk3399
++ export RK_ROOTFS_TYPE=ext4
++ RK_ROOTFS_TYPE=ext4
++ export RK_ROOTFS_IMG=buildroot/output/rockchip_rk3399/images/rootfs.ext4
++ RK_ROOTFS_IMG=buildroot/output/rockchip_rk3399/images/rootfs.ext4
++ export RK_OEM_FS_TYPE=ext2
++ RK_OEM_FS_TYPE=ext2
++ export RK_USERDATA_FS_TYPE=ext2
++ RK_USERDATA_FS_TYPE=ext2
++ export RK_STORAGE_TYPE=emmc
++ RK_STORAGE_TYPE=emmc
++ export RK_OEM_DIR=oem_normal
++ RK_OEM_DIR=oem_normal
++ export RK_USERDATA_DIR=userdata_normal
++ RK_USERDATA_DIR=userdata_normal
+ [[ xrk3399-ubuntu-package-file != x ]]
+ PACK_TOOL_DIR='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/tools/linux/Linux_Pack_Firmware/rockdev/'
+ cd '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/tools/linux/Linux_Pack_Firmware/rockdev/'
+ rm -f package-file
+ ln -sf rk3399-ubuntu-package-file package-file
+ MKUPDATE_FILE=rk3399-mkupdate.sh
+ [[ xrk3399-mkupdate.sh != x-mkupdate.sh ]]
+ PACK_TOOL_DIR='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/tools/linux/Linux_Pack_Firmware/rockdev/'
+ cd '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/tools/linux/Linux_Pack_Firmware/rockdev/'
+ rm -f mkupdate.sh
+ ln -sf rk3399-mkupdate.sh mkupdate.sh
+ exit 0
met@met:~/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk$ bash -x ./build.sh uboot
+++ dirname ./build.sh
++ cd .
++ pwd
+ COMMON_DIR='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk'
+ '[' -h ./build.sh ']'
++ readlink ./build.sh
+ CMD=device/rockchip/common/build.sh
++ dirname device/rockchip/common/build.sh
+ COMMON_DIR=device/rockchip/common
+ cd device/rockchip/common
+ cd ../../..
++ pwd
+ TOP_DIR='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk'
+ COMMON_DIR='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/common'
+ BOARD_CONFIG='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/.BoardConfig.mk'
+ CFG_DIR='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip'
+ ROCKDEV='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/rockdev'
+ source '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/.BoardConfig.mk'
+ PARAMETER='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/parameter-ubuntu.txt'
+ SD_PARAMETER='/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/parameter-recovery.txt'
+ '[' '!' -n uboot ']'
+ BUILD_TARGET=uboot
++ find '/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip' -name uboot
+ NEW_BOARD_CONFIG=
+ '[' uboot == uboot ']'
+ build_uboot
+ echo '============Start build uboot============'
============Start build uboot============
+ echo TARGET_UBOOT_CONFIG=firefly-rk3399
TARGET_UBOOT_CONFIG=firefly-rk3399
+ echo =========================================
=========================================
+ '[' -f 'u-boot/*_loader_*.bin' ']'
+ cd u-boot
+ ./make.sh firefly-rk3399
.........-------PREPARE----------..........
.........-------PREPARE cmd=----------..........
.........-------PREPARE BOARD=firefly-rk3399----------..........
.........-------PREPARE OUTDIR=.----------..........
make for firefly-rk3399_defconfig by -j2
arch/../configs/firefly-rk3399_defconfig:17:warning: override: reassigning to symbol ANDROID_BOOTLOADER
#
# configuration written to .config
#
RKBIN=/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/rkbin
RKTOOLS=/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/rkbin/tools
.........------- metin after prepare----------..........
.........-------select_toolchain----------..........
TOOLCHAIN_GCC=/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-
TOOLCHAIN_OBJDUMP=/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-objdump
TOOLCHAIN_ADDR2LINE=/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/prebuilts/gcc/linux-x86/aarch64/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-addr2line
.........------- metin after select_toolchain----------..........
.........-------select_chip_info----------..........
.........-------RKCHIP_LABEL=RK3399----------..........
.........-------RKCHIP_LOADER=RK3399----------..........
.........-------RKCHIP_TRUST=RK3399----------..........
.........------- metin after select_chip_info----------..........
.........-------fixup_platform_configure----------..........
.........-------PLATFORM_RSA=----------..........
.........-------PLATFORM_SHA=----------..........
.........-------PLATFORM_UBOOT_IMG_SIZE=----------..........
.........-------PLATFORM_UBOOT_IMG_SIZE=----------..........
.........-------PLATFORM_AARCH32=----------..........
.........------- metin after fixup_platform_configure----------..........
.........-------sub_commands----------..........
.........-------sub_commands cmd=firefly----------..........
.........------- metin after sub_commands----------..........
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: "(" unexpected
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
scripts/kconfig/conf --silentoldconfig Kconfig
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
CHK include/config.h
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
scripts/Makefile.autoconf:50: recipe for target 'include/autoconf.mk.dep' failed
make[1]: *** [include/autoconf.mk.dep] Error 2
make[1]: *** Waiting for unfinished jobs....
/bin/sh: 1: Syntax error: word unexpected (expecting ")")
scripts/Makefile.autoconf:79: recipe for target 'u-boot.cfg' failed
make[1]: *** [u-boot.cfg] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop.
+ '[' 2 -eq 0 ']'
+ echo '====Build uboot failed!===='
====Build uboot failed!====
+ exit 1
And only do the related steps at http://wiki.t-firefly.com/en/Fir ... ux_compile_gpt.html
Best regards,
Metin |
|