Hi
I am play imx8qm iwave board.
when I use the clang toolchain, I tried to build with code as the below line in makefile:
aarch64-poky-linux-clang -O2 makeBmp.c process01.c -o makeBmp --sysroot=/opt/fsl-imx-xwayland/L4.14.98-2.0.0_GA/sysroots/aarch64-poky-linux -lm -Wall -ffunction-sections -Wl,-gc-sections
what components I missed in the toolchains? I searched online but no solutions.
when I build my clang toolchains I only add:
TOOLCHAIN ?= "clang". in my local file
any suggestion?
instead of 'sys/io.h' use 'sys/uio.h' in your code for imx8qm iwave board.
Hi Peter
iwave boards are supported by iwavesystems directly and
issue may be posted on Support | iWave Systems
Alternatively one can try nxp linux from source.codeaurora.org/external/imx/linux-imx repository
linux-imx - i.MX Linux kernel
i.MX8 Boot process and creating a bootable image
Embedded Linux for i.MX Applications Processors | NXP
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------