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



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\*










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



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:

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   check_minor_open.out       etm                           mxc_iim_test.out         wdt_driver_test.out    check_mixer.out            hciattach-ar3k.bin        mxc_uart_test.out        check_recording.out        memtool                    mxc_uart_xmit_test.out

... check_ioctls.out         mxc_i2c_test_usb.out



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\*




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