AnsweredAssumed Answered

i.MX6SoloLite Evaluation Kit and EPDC testing

Question asked by jayakumar2 on Nov 12, 2013
Latest reply on Nov 13, 2013 by jayakumar2

Hi,

 

I've been able to get my i.mx6sl-evk with EPD daughter card booting up to the shell using the ltib output. I rebuilt the kernel to add the panel driver in the config. After that, I did:

setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk0p1 rootwait video=mxcepdcfb:E060SCM,bpp=16

 

and then after getting to the console, I did:

root@freescale ~$ find / -name \*epd\*

/lib/firmware/imx/epdc_E97_V110.fw

/lib/firmware/imx/epdc_E60_V110.fw

/lib/firmware/imx/epdc_E060SCM.fw

/lib/firmware/imx/epdc_Exx_ROGUE.fw

/lib/firmware/imx/epdc_E60_V220.fw

/lib/modules/3.0.35-2666-gbdde708/kernel/drivers/video/mxc/mxc_epdc_fb.ko

/sys/devices/platform/imx_epdc_fb

/sys/bus/platform/devices/imx_epdc_fb

 

insmod /lib/modules/3.0.35-2666-gbdde708/kernel/drivers/video/mxc/mxc_epdc_fb.ko

Console: switching to colour frame buffer device 100x37

root@freescale ~$ imx_epdc_fb imx_epdc_fb: Unsuccessfully received channel!!!!

imx_epdc_fb imx_epdc_fb: PxP chan init failed

imx_epdc_fb imx_epdc_fb: Unable to submit PxP update task.

 

I saw the panel flash a bit and it looks clear white. The error message above about chan init failed makes me suspicious whether it will work correctly.

 

root@freescale ~$ fbset -i

 

mode "800x600-0"

    # D: 0.037 MHz, H: 0.041 kHz, V: 0.067 Hz

    geometry 800 600 800 1280 16

    timings 26666667 8 100 4 8 4 1

    rgba 5/11,6/5,5/0,0/0

endmode

 

Frame buffer device information:

    Name        : mxc_epdc_fb

    Address     : 0x8a400000

    Size        : 2179072

    Type        : PACKED PIXELS

    Visual      : TRUECOLOR

    XPanStep    : 1

    YPanStep    : 1

    YWrapStep   : 0

    LineLength  : 1600

    Accelerator : No

 

So now I'm looking for some tools with which I can test the EPD panel. Meaning draw some stuff to the panel. I found the following document:

https://community.freescale.com/docs/DOC-93622

But the tools mentioned in that document like:

$ cd /unit_tests

$ ./mxc_epdc_fb_test.out

do not seem to be present.

 

I had done:

./ltib -m prep -p imx-test

./ltib -m scbuild -p imx-test

 

and on the target rootfs I can see:

ls rootfs/unit_tests/

all-suite.txt           autorun-mmc-fs.sh    autorun-usb-gadget.sh  check_minor_open.out       etm                           mxc_iim_test.out       mxc_tve_test.sh         wdt_driver_test.out

ar3k-bt-start.sh        autorun-mmc-mkfs.sh  autorun-usb-host.sh    check_mixer.out            hciattach-ar3k.bin            mxc_irlan_test.sh      mxc_uart_test.out

autorun-ata.sh          autorun-mmc.sh       autorun-v4l2.sh        check_recording.out        memtool                       mxc_keyb_test.sh       mxc_uart_xmit_test.out

...

autorun-mmc-fdisk.shautorun-sound.sh check_ioctls.out   dump-clocks.sh         mxc_i2c_test_usb.out      mxc_tuner_test.sh  test-utils.sh

 

 

but no epdc test. It seems like it is in the source but is not getting built:

lucid@ubuntu:~/6sl/ltib$ find /home/lucid/6sl/ltib/rpm/BUILD/imx-test-3.0.35-4.1.0/test/ -name \*epdc\*

/home/lucid/6sl/ltib/rpm/BUILD/imx-test-3.0.35-4.1.0/test/mxc_x11_test/mxc_epdc_x11_fb_test.c

/home/lucid/6sl/ltib/rpm/BUILD/imx-test-3.0.35-4.1.0/test/mxc_fb_test/mxc_epdc_fb_test.c

 

I haven't yet seen how to get these tests added to the build.

 

Thanks,

jaya

Outcomes