AnsweredAssumed Answered

SCM IMX6 Quick Start Switching Kernels

Question asked by Ali Ismail on Jul 13, 2016
Latest reply on Jul 14, 2016 by alejandrolozano


I am using the SCMIMX6 Quick Start board. I am trying to switch out default 3.14.52 kernel for the 3.14.28_rt kernel. So far I have modified the following:

 

PREFERRED_PROVIDER_virtual/kernel_mx6 = "linux-imx-rt"

PREFFERED_VERSION_linux-imx_mx6 = "3.14.28"

 

When I compile the kernel with bitbake linux-imx-rt, I get the following error:

 

ERROR: Function failed: do_install (log file is located at /home/ali/Documents/fsl-arm-yocto-bsp/build-x11/tmp/work/imx6dqscm_1gb_qwks-poky-linux-gnueabi/linux-imx-rt/3.14.28-r0/temp/log.do_install.23525)

ERROR: Logfile of failure stored in: /home/ali/Documents/fsl-arm-yocto-bsp/build-x11/tmp/work/imx6dqscm_1gb_qwks-poky-linux-gnueabi/linux-imx-rt/3.14.28-r0/temp/log.do_install.23525

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 4 DEPMOD=echo INSTALL_MOD_PATH=/home/ali/Documents/fsl-arm-yocto-bsp/build-x11/tmp/work/imx6dqscm_1gb_qwks-poky-linux-gnueabi/linux-imx-rt/3.14.28-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/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_prp_enc.ko

|   INSTALL drivers/media/platform/mxc/capture/ipu_still.ko

|   INSTALL drivers/media/platform/mxc/capture/mxc_v4l2_capture.ko

|   INSTALL drivers/media/platform/mxc/capture/ov5640_camera_int.ko

|   INSTALL drivers/media/platform/mxc/capture/ov5640_camera_mipi.ko

|   INSTALL drivers/media/platform/mxc/capture/ov5642_camera.ko

|   INSTALL drivers/media/platform/mxc/capture/v4l2-int-device.ko

|   INSTALL drivers/media/platform/mxc/subdev/mx6s_capture.ko

|   INSTALL drivers/media/platform/mxc/subdev/mxc_vadc.ko

|   INSTALL drivers/media/platform/mxc/subdev/ov5640_camera.ko

|   INSTALL drivers/media/usb/gspca/gspca_main.ko

|   INSTALL drivers/media/v4l2-core/videobuf2-vmalloc.ko

|   INSTALL drivers/media/usb/uvc/uvcvideo.ko

|   INSTALL drivers/mxc/mlb/mxc_mlb.ko

|   INSTALL drivers/net/usb/ax88179_178a.ko

|   INSTALL drivers/net/usb/asix.ko

|   INSTALL drivers/net/usb/cdc_eem.ko

|   INSTALL drivers/net/usb/cdc_ether.ko

|   INSTALL drivers/net/usb/cdc_ncm.ko

|   INSTALL drivers/net/usb/cdc_subset.ko

|   INSTALL drivers/net/usb/net1080.ko

|   INSTALL drivers/net/usb/pegasus.ko

|   INSTALL drivers/net/usb/r8152.ko

|   INSTALL drivers/net/usb/rtl8150.ko

|   INSTALL drivers/net/usb/usbnet.ko

|   INSTALL drivers/net/usb/zaurus.ko

|   INSTALL drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko

|   INSTALL drivers/net/wireless/ath/ath6kl/ath6kl_core.ko

|   INSTALL drivers/net/wireless/brcm80211/brcmfmac/brcmfmac.ko

|   INSTALL drivers/usb/class/cdc-acm.ko

|   INSTALL drivers/net/wireless/brcm80211/brcmutil/brcmutil.ko

|   INSTALL drivers/usb/gadget/g_ether.ko

|   INSTALL drivers/usb/gadget/g_serial.ko

|   INSTALL drivers/usb/gadget/g_mass_storage.ko

|   INSTALL drivers/usb/gadget/g_ncm.ko

|   INSTALL drivers/usb/gadget/g_zero.ko

|   INSTALL drivers/usb/gadget/libcomposite.ko

|   INSTALL drivers/usb/gadget/u_ether.ko

|   INSTALL drivers/usb/gadget/gadgetfs.ko

|   INSTALL drivers/usb/gadget/u_serial.ko

|   INSTALL drivers/usb/gadget/usb_f_acm.ko

|   INSTALL drivers/usb/gadget/usb_f_ecm.ko

|   INSTALL drivers/usb/gadget/usb_f_ecm_subset.ko

|   INSTALL drivers/usb/gadget/usb_f_eem.ko

|   INSTALL drivers/usb/gadget/usb_f_fs.ko

|   INSTALL drivers/usb/gadget/usb_f_ncm.ko

|   INSTALL drivers/usb/gadget/usb_f_mass_storage.ko

|   INSTALL drivers/usb/gadget/usb_f_obex.ko

|   INSTALL drivers/usb/gadget/usb_f_rndis.ko

|   INSTALL drivers/usb/gadget/usb_f_serial.ko

|   INSTALL drivers/usb/gadget/usb_f_ss_lb.ko

|   INSTALL drivers/usb/misc/ehset.ko

|   INSTALL drivers/usb/serial/option.ko

|   INSTALL drivers/usb/serial/ftdi_sio.ko

|   INSTALL drivers/usb/serial/usb_wwan.ko

|   INSTALL drivers/usb/serial/usbserial.ko

|   INSTALL drivers/video/mxc/mxc_dcic.ko

|   INSTALL fs/binfmt_misc.ko

|   INSTALL fs/configfs/configfs.ko

|   INSTALL fs/fat/msdos.ko

|   INSTALL fs/isofs/isofs.ko

|   INSTALL fs/nls/nls_iso8859-15.ko

|   INSTALL fs/udf/udf.ko

|   INSTALL lib/crc-ccitt.ko

|   INSTALL lib/crc-itu-t.ko

|   INSTALL lib/crc7.ko

|   INSTALL lib/libcrc32c.ko

|   INSTALL sound/core/snd-hwdep.ko

|   INSTALL sound/usb/snd-usb-audio.ko

|   INSTALL sound/usb/snd-usbmidi-lib.ko

|   INSTALL sound/core/snd-rawmidi.ko

|   DEPMOD  3.14.28-rt25-1.0.0_ga+g91cf351

| NOTE: make -j 4 imx6dqscm-1gb-qwks-rev2-fix-ldo.dtb

| make[3]: *** No rule to make target `arch/arm/boot/dts/imx6dqscm-1gb-qwks-rev2-fix-ldo.dtb'.  Stop.

| make[2]: *** [imx6dqscm-1gb-qwks-rev2-fix-ldo.dtb] Error 2

| make[1]: *** [sub-make] Error 2

| make: *** [all] Error 2

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_install (log file is located at /home/ali/Documents/fsl-arm-yocto-bsp/build-x11/tmp/work/imx6dqscm_1gb_qwks-poky-linux-gnueabi/linux-imx-rt/3.14.28-r0/temp/log.do_install.23525)

ERROR: Task 2 (/home/ali/Documents/fsl-arm-yocto-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt_3.14.28.bb, do_install) failed with exit code '1'

 

I saw imx6qsabrelite yocto switching kernel, and I am not sure what to modify in my machine conf file (imx6dqscm-1gb-qwks.conf). Is it as simple as removing the offending .dtb from the device tree?

Outcomes