AM62P: Am62p enable lvds panel issue

Part Number: AM62P

Tool/software:

Hi 

I was working on the example am62p evm enable lvds panel (ti-sk-lcd1) same as example.
sdk version is 11.01.05.03

using 

tisdk-default-image-am62pxx-evm.wic.xz 

And i tried two methods to enable the LVDS panel. 
Base on the am62p user guide as below:

https://software-dl.ti.com/processor-sdk-android/esd/AM62PX/10_01_01/docs/devices/AM62PX/android/Application_Notes_dtbo_support.html#android-dtbo

In this method, i setting an overlay  as 10 used as "Microtips Technology USA 10.1” WUXGA (1920x1200) OLDI panel" but seems like setting env under Uboot doesn't work.

And secound, i try the method 2 as am62 user guide

https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/11_01_05_03/exports/docs/linux/How_to_Guides/Target/How_to_enable_Microtips_LVDS_Panel.html

i rebuild dts to generate k3-am62p5-sk-microtips-mf101hie-panel.dtbo

And push in the device and set the nEnv.txt 

name_overlays=ti/k3-am62p5-sk-microtips-mf101hie-panel.dtbo

And the result is i can saw the boot log on the lvds panel (so that mean the connectiob is correct).
But the luncher didn't show on the panel and the hdmi output also failed, in this case the hdmi and lvds can only output one side. It depends on which protocol is connected first.
And here is my kmsprint log:
{
root@am62pxx-evm:~# kmsprint
terminate called after throwing an instance of '[ 82.773575] kauditd_printk_skb: 1 callbacks suppressed
std::runtime_error'
what(): failed to find DRM cards
[ 82.773595] audit: type=1701 audit(1651171636.080:29): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=1250 comm="kmsprint" exe="/usr/bin/kmsprint" sig=6 res=1
[ 82.807386] audit: type=1334 audit(1651171636.116:30): prog-id=17 op=LOAD
[ 82.814356] audit: type=1334 audit(1651171636.124:31): prog-id=18 op=LOAD
Aborted (core dumped)
root@am62pxx-evm:~# [ 83.410156] audit: type=1334 audit(1651171636.720:32): prog-id=18 op=UNLOAD
[ 83.417311] audit: type=1334 audit(1651171636.720:33): prog-id=17 op=UNLOAD

}
Here is the dmesg error 
{
root@am62pxx-evm:~# dmesg | grep -i "error\|fail\|vmalloc"
[ 2.666718] vmap allocation for size 483328 failed: use vmalloc=<size> to increase size
[ 2.683248] systemd: vmalloc error: size 479232, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0
[ 2.783567] __vmalloc_node_range+0x590/0x740
[ 5.122889] systemd[1]: Kernel Trace File System was skipped because of a failed condition check (ConditionPathExists=/sys/kernel/tracing).
[ 5.259554] vmap allocation for size 32768 failed: use vmalloc=<size> to increase size
[ 5.307101] vmap allocation for size 135168 failed: use vmalloc=<size> to increase size
[ 5.424905] vmap allocation for size 483328 failed: use vmalloc=<size> to increase size
[ 5.446547] vmap allocation for size 483328 failed: use vmalloc=<size> to increase size
[ 5.479668] vmap allocation for size 483328 failed: use vmalloc=<size> to increase size
[ 5.532251] vmap allocation for size 57344 failed: use vmalloc=<size> to increase size
[ 7.060714] vmap allocation for size 24576 failed: use vmalloc=<size> to increase size
[ 7.075133] vmap allocation for size 24576 failed: use vmalloc=<size> to increase size
[ 10.381227] vmap allocation for size 126976 failed: use vmalloc=<size> to increase size
[ 10.422959] vmap allocation for size 483328 failed: use vmalloc=<size> to increase size
[ 10.467649] vmap allocation for size 483328 failed: use vmalloc=<size> to increase size
[ 10.497398] vmap allocation for size 483328 failed: use vmalloc=<size> to increase size
[ 10.602533] vmap allocation for size 483328 failed: use vmalloc=<size> to increase size
[ 10.627038] vmap allocation for size 483328 failed: use vmalloc=<size> to increase size
}
Summary, when i try to probe ili210x it always show vmalloc is full, there is no memory to locate.
1.Could you help me to solve vmalloc issue 
2.how to solve the lvds pane connect to am62p issue?
Thx
Will
  • Hi Will,

    software-dl.ti.com/.../Application_Notes_dtbo_support.html

    This link is for Android, and you are using Yocto.

    Summary, when i try to probe ili210x it always show vmalloc is full, there is no memory to locate.
    1.Could you help me to solve vmalloc issue 
    2.how to solve the lvds pane connect to am62p issue?

    There is no need to build the dtbo again. In case you have built linux again and/or replaced dtb/kernel image on your SD, I would recommend you to flash the default image again and just add the following line in your uEnv.txt (the dtbo already exists on the image):

    name_overlays=ti/k3-am62p5-sk-microtips-mf101hie-panel.dtbo


    You should not need to perform ili210x probe steps since touchscreen is expected to work by default.

    [/quote]
  • Hi Divyansh,

    Thanks for your information. According to the online doc. They still refer to the DT overlay process.

    My issue happens when I use the old wic.img and input the dtbo inside the device, and add name_overlays in nEnv.txt. That course it happened.

    Here is the note to remind the user the new dts and old dts were different, can't match with old one.

    Will