Title: GBT uboot compile [Print This Page] Author: metind Time: 12/13/2018 21:15 Title: GBT uboot compile Dear All,
I have problem when I try to compile boot and getting these messages;
met@met:~/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk$ ./build.sh firefly-rk3399.mk
/home/met/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk/device/rockchip/rk3399/firefly-rk3399.mk
met@met:~/Desktop/Compile_Ubuntu_firmware(GPT)/linux/linux-sdk$ ./build.sh uboot
============Start build uboot============
TARGET_UBOOT_CONFIG=firefly-rk3399
=========================================
.........-------PREPARE----------..........
make for firefly-rk3399_defconfig by -j2
arch/../configs/firefly-rk3399_defconfig:17:warning: override: reassigning to symbol ANDROID_BOOTLOADER
#
# configuration written to .config
#
/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.
====Build uboot failed!====
Could you pls share idea about the problem.How can i solve it?
Best regards,
Author: steini Time: 12/13/2018 21:51
[u-boot.cfg] Error 2 - some config issues?Author: metind Time: 12/13/2018 23:31
I did only what steps say. Is there any body tried it? Author: metind Time: 12/14/2018 16:20
is there any person who can help me about this subject. I did all steps explain from your web site and gave this error. Think this error /bin/sh: 1: Syntax error: word unexpected (expecting ")") related to compiler toolchain not supported. Try to export CROSS_COMPILE=aarch64-linux-gnu- and is same. did you test it and eveything is ok?
Author: metind Time: 12/17/2018 16:15
Is there anybody who wants to answer this problem. Board is perfect as properties, contains all and ok it is for development but if we saw any problem and try to find a solution where is support? When i check the non english part of this web site, there are much more activity so means this board is not for others?Pls help...Author: penguin Time: 12/17/2018 17:39
Will you please post your environment and full steps?Author: penguin Time: 12/18/2018 09:59
Try to use:
bash -x ./build.sh uboot
to get the verbose output of the build script, which will help to locate the problem.Author: metind Time: 12/18/2018 14:53
Dear pengeuin,
MetinAuthor: metind Time: 12/18/2018 14:55
I include some echo or prints to understand to understand what happend...Author: penguin Time: 12/19/2018 09:53
@metind what's your os and filesystem used?
Post result of:
cd u-boot
git log -n2
git status Author: penguin Time: 12/19/2018 09:54
Compile environment
Just compile according to "Compile Ubuntu firmware(GPT)" directives and used ./build.sh. from cat /etc/issue getting "Welcome to RK3399 Buildroot". I tried 4K and as video there is no problem but there is no sound!!! it is not only for this video also when i test sound part, i coudnt get sound also. Do i have to chnage something? I didnt copy ubuntu18LXDE just used default rootfs for compiling. Do you have any idea.
Author: penguin Time: 12/20/2018 15:00
Please use the rootfs in the official firmware to test.Author: metind Time: 12/20/2018 16:48
"official firmware". Whichone and where can i download it? Also I used ubuntu18LXDE rootfs i saw 4K is so slow and also no sound. Then used debian linaro, couldnt download any package to play video. So which is the best solution for 4K with sound. Author: metind Time: 12/20/2018 21:57
I tried all. For debian linaro rootfs there is no network connection. For other ubuntu rootfs images have same problem, sound ok but 4k video so slow. Is there any solution for it or am i doing something wrong?Author: metind Time: 12/21/2018 16:32
Is there any person ho tried these rootfs files and saw everything is ok espacialy 4K performance? If yes, could you pls share your way to help us...
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)