Skip to content

99. Known issues

vraevsky edited this page Feb 9, 2019 · 12 revisions

Known issues

Krogoth

Build Environment

⚠️ These fixes must be applied only if the build ran into them

  • nss-native_3.21 build issue
$: git -C sources/meta-compulab cherry-pick fc1b8de4b9498514d5c2eee8e03266318e61b438

Update the conf/local.conf in case this patch was applied. Issue:

cat << eof | tee -a conf/local.conf
PREFERRED_VERSION_nss = "3.25"
PREFERRED_VERSION_nss-native = "3.25"
eof
  • chromium gcc-6
$: git -C sources/meta-browser checkout 393d2aa15da21ffa532c3cd77d8cb91de997cd31
  • lzop gcc-6
$: git -C sources/meta-compulab cherry-pick 8ede5fef9575246480af94808d1f60658aaff6a3
  • No real function for mknod
$: git -C sources/meta-compulab cherry-pick d44a09a8be848a56c7670c4b416382b41e2542d3
  • mesa fetch issue
$: git -C sources/meta-compulab cherry-pick a999f3c92d8613f5f6c585bf729c46f101beae3f
  • mozjs fetch issue
$: git -C sources/meta-compulab cherry-pick 2087d68cdfe29a0346f20952808145f818730fdb

Build Procedure

Symptom

  • Created images do not match the machine configuration definition.

Fix

  • Apply the patch.
# git -C ./meta-fsl-bsp-release/imx diff
diff --git a/imx/meta-sdk/conf/distro/include/fsl-imx-base.inc b/imx/meta-sdk/conf/distro/include/fsl-imx-base.inc
index 7c6bb01..6bb27a6 100644
--- a/imx/meta-sdk/conf/distro/include/fsl-imx-base.inc
+++ b/imx/meta-sdk/conf/distro/include/fsl-imx-base.inc
@@ -15,7 +15,7 @@ LOCALCONF_VERSION = "1"
 IMX_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch bluez"
 IMX_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
 IMX_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
-IMAGE_FSTYPES = "tar.bz2 ext4 sdcard"
+IMAGE_FSTYPES ?= "tar.bz2 ext4 sdcard"
 
 BBMASK = "meta-freescale/recipes-bsp/u-boot/u-boot-imx_2016.03.bb"
 BBMASK .= "|meta-freescale/recipes-bsp/u-boot/u-boot-imx-mfgtool_2016.03.bb"

Post Deploy imx-imxvpu failure

Symptoms

  • gst-play framebuffer != NULL' failed
gst-play-1.0: ../imxvpuapi/imxvpuapi_vpulib.c:2349: imx_vpu_dec_mark_framebuffer_as_displayed: Assertion `framebuffer != NULL' failed.
Aborted
  • google-chrome hw acceleration does not work

Fix

  • rpm method
$: rpm -e gstreamer1.0-plugins-imx-meta-0.12.2-r0.cl_som_imx6
$: rpm -e gstreamer1.0-plugins-imx-imxvpu
  • rm/ldconfig method
$: rm -rf /usr/lib/gstreamer-1.0/libgstimxvpu.so && ldconfig

Morty Build Procedure

cl-som-imx6/MX6D boot issue (pre-compiled image only)

Symptom

IMX6D configuration did not have a correct boot script handling. As a result the boot script tries to load a device tree with the imx6-wrong-sbc-imx6-hdmi.dtb name. The file does not exist and the boot script can't get the device booted.

Fix

  • Stop in U-Boot and create a fake cpu_type environment variable. Make the device boot up with. Issue:
setenv cpu_type MX6Q; boot
  • Let the device boot up
  • Mount the boot partition.
$: umount /dev/mmcblk2p1 ; mkdir /tmp/boot ; mount /dev/mmcblk2p1 /tmp/boot
  • Create a copy of the imx6q-sbc-imx6-hdmi.dtb file with the name imx6-wrong-sbc-imx6-hdmi.dtb. Issue:
$: cd /tmp/boot; cp imx6q-sbc-imx6-hdmi.dtb imx6-wrong-sbc-imx6-hdmi.dtb; cd -
  • Reboot the machine. Make sure that the device boots up correctly.