Hello.
I am using Apalis iMX6Q, Ixora board.
I follow the article [Build U-Boot and Linux Kernel from Source Code].
I installed the toolchain and compiled U-Boot.
However, I have 2 problems.
-
when I set DTC, I get an error message.
ubuntu16-2:~$ dtc -v
Version: DTC 1.4.0
ubuntu16-2:~$ cd dtc/
ubuntu16-2:~/dtc$ make
CHK version_gen.h
LEX convert-dtsv0-lexer.lex.c
make: flex: Command not found
BISON dtc-parser.tab.c
make: bison: Command not found
LEX dtc-lexer.lex.c
make: flex: Command not found
make: *** No rule to make target ‘convert-dtsv0-lexer.lex.c’, needed by ‘convert-dtsv0-lexer.lex.o’. Stop. -
when I set sysroot, I get an error message.
-
List item
And my computer has a oe-core/build/tmp-glibc/sysroots
directory instead of the oe-core/build/out-libc/sysroots
directory.
But the directory is empty.
~/u-boot-toradex$ make CC='arm-angstrom-linux-gnueabi-gcc --sysroot=${HOME}/oe-core/build/out-glibc/sysroots/colibri-vf'
make: arm-angstrom-linux-gnueabi-gcc: Command not found
./scripts/gcc-version.sh: line 25: arm-angstrom-linux-gnueabi-gcc: command not found
./scripts/gcc-version.sh: line 26: arm-angstrom-linux-gnueabi-gcc: command not found
*** Your GCC does not produce working binaries in THUMB mode.
*** Your board is configured for THUMB mode.
arch/arm/config.mk:49: recipe for target 'checkthumb' failed
make: *** [checkthumb] Error 1
I don’t know what to do to solve this problem.
Help me, please.
Apalis iMX6Q 1GB V1.1B
Ixora V1.1A
LINUX
Toolchain: gcc-linaro-7.3.1-2018.05-x86_64_arm-linux-gnueabihf.tar.xz