Hi,
I have i.MX6UL SBC development board
I have downloaded source code using:
repo init -u https://github.com/embeddedartists/ea-yocto-base -b ea-4.1.15_2.0.0
It successfully rebuilds with :
DISTRO=fsl-imx-fb MACHINE=imx6sxea-com source ea-setup-release.sh -b build_dir
But it fails to build:
DISTRO=fsl-imx-fb MACHINE=imx6ulevk
source ea-setup-release.sh -b build_dir
$bitbake core-image-minimal
The errors:
| NOTE: make -j 4 imx6ul-14x14-evk-csi.dtb
| DTC arch/arm/boot/dts/imx6ul-14x14-evk-csi.dtb
| NOTE: make -j 4 imx6ul-14x14-evk-btwifi.dtb
| DTC arch/arm/boot/dts/imx6ul-14x14-evk-btwifi.dtb
| NOTE: make -j 4 imx6ul-14x14-evk-gpmi-weim.dtb
| make[3]: *** No rule to make target `arch/arm/boot/dts/imx6ul-14x14-evk-gpmi-weim.dtb'. Stop.
| make[2]: *** [imx6ul-14x14-evk-gpmi-weim.dtb] Error 2
| make[1]: *** [sub-make] Error 2
| make: *** [__sub-make] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/frc/uboot_Linux_4_1_15/build_6ul/tmp/work/imx6ulevk-poky-linux-gnueabi/linux-fslc-imx/4.1-1.0.x+gitAUTOINC+59b38c323b-r0/temp/log.do_compile.17060)
ERROR: Task 53 (/home/frc/uboot_Linux_4_1_15/sources/meta-fsl-arm/recipes-kernel/linux/linux-fslc-imx_4.1-1.0.x.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1207 tasks of which 4 didn't need to be rerun and 1 failed.
Thank you,
David Zhou
I have fixed this error by changing to
if (rq_data_dir(req) == READ) {
from
switch(rq_data_dir(req)) {
case READ:
as posted by Tomer Barletz wrote:
> With gcc 5.1 I get:
> warning: switch condition has boolean value [-Wswitch-bool]
>
> Signed-off-by: Tomer Barletz <bar...@gmail.com>
But there are more compilation errors. I don't know how many more...
I am wandering this branch is successfully compiled to the
MACHINE=imx6uleasd
why is so much different from
MACHINE=imx6ulevk
I guess the issue may be in the settings and scripts etc.
Thank you,
David
Hi David
Do not know which are all the diff between both BSPs, your error looks more related to toolchain version, however for MX6UL EVK, you should try the official release from NXP: i.MX6UltraLite Evaluation Kit|NXP
regards