Re: [meta-freescale] Build Preempt-RT version of Linux for iMX6 sabre lite

2017-02-16 Thread Yuchen Zhou
I found the solution in https://community.nxp.com/thread/325228. In short 
imx-rt not supporting iMX6 Sabre lite board, only linux-boundary board. Sorry 
for the confusion

Yuchen

From: linux-yocto-boun...@yoctoproject.org 
[mailto:linux-yocto-boun...@yoctoproject.org] On Behalf Of Yuchen Zhou
Sent: Wednesday, February 15, 2017 3:00 PM
To: linux-yo...@yoctoproject.org
Subject: [EXTERNAL] [linux-yocto] Build Preempt-RT version of Linux for iMX6 
sabre lite

Hi,

I am following instructions in https://community.nxp.com/docs/DOC-95045 and 
https://boundarydevices.com/dizzy-release-yocto/ for compiling yocto build for 
iMX6. I would like to configure it for Preempt-RT linux kernel instead of the 
standard boundary linux kernel. I found that I could just bitbake linux-imx-rt 
first. However, there are few errors (as attached below) which I don't 
understand how to fix. Any comments?

Thanks,
Yuchen


--Command line history is shown 
below--

~/yocto$ MACHINE=nitrogen6x . setup-environment build

Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
http://www.openembedded.org/

You can now run 'bitbake '

Common targets are:
core-image-minimal
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support

Your configuration files at build have not been touched.
~/yocto/build$ bitbake linux-imx-rt
Parsing recipes: 100% |#| Time: 00:01:49
Parsing of 1531 .bb files complete (0 cached, 1531 parsed). 1987 targets, 123 
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION= "1.24.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "nitrogen6x"
DISTRO= "poky"
DISTRO_VERSION= "1.7.3"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU= "vfp-neon"
meta
meta-yocto= "(nobranch):fb8bf6a75e9ac04d5c6213d3e2f097302f83405f"
meta-oe
meta-multimedia   = "(nobranch):70beecb2716bca1b9dfbc7d6a264233e1f05e82b"
meta-fsl-arm  = "(nobranch):8f2651c0a38674d41ba7d30fa444762ef64f26b9"
meta-fsl-arm-extra = "(nobranch):794e46e0b0a3e7e270a2f3c217d8fe5751a6b2c6"
meta-fsl-demos= "(nobranch):1238a5709cb0940dd6437f3199de46879b6c2c51"

NOTE: Preparing runqueue
ERROR: Multiple .bb files are due to be built which each provide virtual/kernel 
(
//yocto/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt_3.10.17.bb
//yocto/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-boundary_3.10.17.bb).
 This usually means one provides something the other doesn't and should.
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_install (log file is located at 
//yocto/build/tmp/work/nitrogen6x-poky-linux-gnueabi/linux-imx-rt/3.10.17-r0/temp/log.do_install.23059)
ERROR: Logfile of failure stored in: 
//yocto/build/tmp/work/nitrogen6x-poky-linux-gnueabi/linux-imx-rt/3.10.17-r0/temp/log.do_install.23059
Log data follows:
| DEBUG: Executing python function package_get_auto_pr
| DEBUG: Python function package_get_auto_pr finished
| DEBUG: Executing shell function do_install
| NOTE: make -j 2 DEPMOD=echo 
INSTALL_MOD_PATH=//yocto/build/tmp/work/nitrogen6x-poky-linux-gnueabi/linux-imx-rt/3.10.17-r0/image
 modules_install
|   INSTALL crypto/tcrypt.ko
|   INSTALL drivers/i2c/algos/i2c-algo-pca.ko
|   INSTALL drivers/i2c/algos/i2c-algo-pcf.ko
|   INSTALL drivers/input/evbug.ko
|   INSTALL drivers/input/mouse/psmouse.ko
|   INSTALL drivers/input/serio/serport.ko
|   INSTALL drivers/media/platform/mxc/capture/adv7180_tvin.ko
|   INSTALL drivers/media/platform/mxc/capture/csi_v4l2_capture.ko
|   INSTALL drivers/media/platform/mxc/capture/fsl_csi.ko
|   INSTALL drivers/media/platform/mxc/capture/ipu_bg_overlay_sdc.ko
|   INSTALL drivers/media/platform/mxc/capture/ipu_csi_enc.ko
|   INSTALL drivers/media/platform/mxc/capture/ipu_fg_overlay_sdc.ko
|   INSTALL drivers/media/platform/mxc/capture/ipu_still.ko
|   INSTALL drivers/media/platform/mxc/capture/ipu_prp_enc.ko
|   INSTALL drivers/media/platform/mxc/capture/ov5640_camera.ko
|   INSTALL drivers/media/platform/mxc/capture/mxc_v4l2_capture.ko
|   INSTALL drivers/media/platform/mxc/capture/ov5640_camera_mipi.ko
|   INSTALL drivers/media/platform/mxc/capture/ov5642_camera.ko
|   INSTALL drivers/media/usb/gspca/gspca_main.ko
|   INSTALL drivers/media/usb/uvc/uvcvideo.ko
|   INSTALL drivers/media/v4l2-core/videobuf2-vmalloc.ko
|   INSTALL drivers/mxc/mlb/mxc_mlb150.ko
|   INSTALL drivers/net/wireless/ath/ath6kl/ath6kl_core.ko
|   INSTALL drivers/usb/gadget/g_ether.ko
|  

[meta-freescale] Build Preempt-RT version of Linux for iMX6 sabre lite

2017-02-15 Thread Yuchen Zhou
Hi,

I am following instructions in https://community.nxp.com/docs/DOC-95045 and 
https://boundarydevices.com/dizzy-release-yocto/ for compiling yocto build for 
iMX6. I would like to configure it for Preempt-RT linux kernel instead of the 
standard boundary linux kernel. I found that I could just bitbake linux-imx-rt 
first. However, there are few errors (as attached below) which I don't 
understand how to fix. Any comments?

Thanks,
Yuchen


--Command line history is shown 
below--

~/yocto$ MACHINE=nitrogen6x . setup-environment build

Welcome to Freescale Community BSP

The Yocto Project has extensive documentation about OE including a
reference manual which can be found at:
http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
http://www.openembedded.org/

You can now run 'bitbake '

Common targets are:
core-image-minimal
meta-toolchain
meta-toolchain-sdk
adt-installer
meta-ide-support

Your configuration files at build have not been touched.
~/yocto/build$ bitbake linux-imx-rt
Parsing recipes: 100% |#| Time: 00:01:49
Parsing of 1531 .bb files complete (0 cached, 1531 parsed). 1987 targets, 123 
skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION= "1.24.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "nitrogen6x"
DISTRO= "poky"
DISTRO_VERSION= "1.7.3"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU= "vfp-neon"
meta
meta-yocto= "(nobranch):fb8bf6a75e9ac04d5c6213d3e2f097302f83405f"
meta-oe
meta-multimedia   = "(nobranch):70beecb2716bca1b9dfbc7d6a264233e1f05e82b"
meta-fsl-arm  = "(nobranch):8f2651c0a38674d41ba7d30fa444762ef64f26b9"
meta-fsl-arm-extra = "(nobranch):794e46e0b0a3e7e270a2f3c217d8fe5751a6b2c6"
meta-fsl-demos= "(nobranch):1238a5709cb0940dd6437f3199de46879b6c2c51"

NOTE: Preparing runqueue
ERROR: Multiple .bb files are due to be built which each provide virtual/kernel 
(
//yocto/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt_3.10.17.bb
//yocto/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-boundary_3.10.17.bb).
 This usually means one provides something the other doesn't and should.
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_install (log file is located at 
//yocto/build/tmp/work/nitrogen6x-poky-linux-gnueabi/linux-imx-rt/3.10.17-r0/temp/log.do_install.23059)
ERROR: Logfile of failure stored in: 
//yocto/build/tmp/work/nitrogen6x-poky-linux-gnueabi/linux-imx-rt/3.10.17-r0/temp/log.do_install.23059
Log data follows:
| DEBUG: Executing python function package_get_auto_pr
| DEBUG: Python function package_get_auto_pr finished
| DEBUG: Executing shell function do_install
| NOTE: make -j 2 DEPMOD=echo 
INSTALL_MOD_PATH=//yocto/build/tmp/work/nitrogen6x-poky-linux-gnueabi/linux-imx-rt/3.10.17-r0/image
 modules_install
|   INSTALL crypto/tcrypt.ko
|   INSTALL drivers/i2c/algos/i2c-algo-pca.ko
|   INSTALL drivers/i2c/algos/i2c-algo-pcf.ko
|   INSTALL drivers/input/evbug.ko
|   INSTALL drivers/input/mouse/psmouse.ko
|   INSTALL drivers/input/serio/serport.ko
|   INSTALL drivers/media/platform/mxc/capture/adv7180_tvin.ko
|   INSTALL drivers/media/platform/mxc/capture/csi_v4l2_capture.ko
|   INSTALL drivers/media/platform/mxc/capture/fsl_csi.ko
|   INSTALL drivers/media/platform/mxc/capture/ipu_bg_overlay_sdc.ko
|   INSTALL drivers/media/platform/mxc/capture/ipu_csi_enc.ko
|   INSTALL drivers/media/platform/mxc/capture/ipu_fg_overlay_sdc.ko
|   INSTALL drivers/media/platform/mxc/capture/ipu_still.ko
|   INSTALL drivers/media/platform/mxc/capture/ipu_prp_enc.ko
|   INSTALL drivers/media/platform/mxc/capture/ov5640_camera.ko
|   INSTALL drivers/media/platform/mxc/capture/mxc_v4l2_capture.ko
|   INSTALL drivers/media/platform/mxc/capture/ov5640_camera_mipi.ko
|   INSTALL drivers/media/platform/mxc/capture/ov5642_camera.ko
|   INSTALL drivers/media/usb/gspca/gspca_main.ko
|   INSTALL drivers/media/usb/uvc/uvcvideo.ko
|   INSTALL drivers/media/v4l2-core/videobuf2-vmalloc.ko
|   INSTALL drivers/mxc/mlb/mxc_mlb150.ko
|   INSTALL drivers/net/wireless/ath/ath6kl/ath6kl_core.ko
|   INSTALL drivers/usb/gadget/g_ether.ko
|   INSTALL drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko
|   INSTALL drivers/usb/gadget/g_mass_storage.ko
|   INSTALL drivers/usb/gadget/g_serial.ko
|   INSTALL drivers/usb/gadget/g_zero.ko
|   INSTALL drivers/usb/gadget/libcomposite.ko
|   INSTALL drivers/usb/gadget/u_serial.ko
|   INSTALL drivers/usb/gadget/usb_f_acm.ko
|   INSTALL drivers/usb/gadget/usb_f_obex.ko
|   INSTALL drivers/usb/gadget/usb_f_serial.ko
|   INSTALL drivers/usb/gadget/usb_f_ss_lb.ko