Memory Limit Issue with Kirkstone Image (Apalis iMX8)

Hello Community,

I’m currently using Apalis iMX8 and have successfully built the image in the Kirkstone version. After the build, I made some adjustments in the DTSI related to the LVDS display application. I’m encountering a memory limit issue during the boot process when flashing the image using the Toradex Easy Installer. I’ve attempted flashing the image on both iMX8QM and iMX8QP, but the problem persists. Attached are the DTSI patch, configuration files, and boot data for your reference.

local.conf (13.5 KB)
bblayers.conf (1.4 KB)
patch_kirk.txt (2.3 KB)
bootdata_imx8qm (48.1 KB)
bootdata_imx8qp (40.0 KB)
Thank You.

Hi @Muthyam,

  1. Is the image booting without applying the LVDS patch?
  2. I can see in the booting logs that the HDMI overlays are already applied.

Applying Overlay: apalis-imx8_hdmi_overlay.dtbo

Did you forgot to disable HDMI overlay?
Also, I would suggest you to test your LVDS display changes with the help of overlays.

Hello @sahil.tx ,

  1. Is the image booting without applying the LVDS patch?
    Yes, Image booting successfully without LVDS patch.
    2 . In order to apply lvds overlay, first i need to get login prompt. But the booting is stocking in between only.
    And in dunfell version also, by default hdmi overlay applied, we have changed that to lvds overlay after login. There we didn’t faced any issue.

Hi @Muthyam ,
These are the following ways with which you can come out of this situtaion.

  1. Disable loading all overlays by setting the special u-boot variable:

setenv skip_fdt_overlays 1

  1. Disable your desired overlays easily directly from your PC. You would need to set up a USB-OTG connection with your PC and run the UMS functionality of U-Boot by simply stopping the autoboot at U-boot and running the following commands:

ums 0 mmc 0

  1. Flash a new image which does not have device tree changes.
    Remove HDMI overlay
    Creat and apply your LVDS overlay.

Hello @sahil.tx ,
1) I commented overlays in /oe-core/layers/meta-toradex-nxp/conf/machine/apalis-imx8.conf, is that okay.
2 ) I am trying to include dhcp-client in the local.conf file, but while building i am getting issue as

ERROR: Nothing RPROVIDES ‘dhcp-client’ (but /home/medha/oe-core/build/…/layers/meta-toradex-demos/recipes-images/images/ RDEPENDS on or otherwise requires it)
NOTE: Runtime target ‘dhcp-client’ is unbuildable, removing…
Missing or unbuildable dependency chain was: [‘dhcp-client’]
ERROR: Nothing RPROVIDES ‘tdx-reference-multimedia-image’
No eligible RPROVIDERs exist for ‘tdx-reference-multimedia-image’

Hi @Muthyam ,
You do not have to do anything while compiling the OS to enable/disable/add overlays.
Please read the overlay article.
You can directly edit overlay.txt file present inside boot folder on a running image to enable/disable overlay.