IMX6SLL + IMXEBOOKDC4: Change EPDC resolution

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6SLL + IMXEBOOKDC4: Change EPDC resolution

Jump to solution
735 Views
ekerebel
Contributor III

Hello,

I received a new panel from EINK (ED060KG2) that I want to test with my IMX6SLL Dev Board + IMXEBOOKDC4. 

I have loaded the .fw that I have received from NXP and entered the following config in UBOOT:

setenv bootargs console=${console},${baudrate} root=${mmcroot} epdc video=mxcepdcfb:ED060KG2C1,bpp=16 max17135:pass=2,vcom=-2560000

The ED060KG2 is a 1440x1072 EPD.

When I launch the test program, the board crashes and reboots.

The framebuffer still indicates a 1024x758 resolution:

root@imx6sllevk:~# fbset -fb /dev/fb2

mode "1024x758-0"
# 0.025 MHz, H: 0.022 kHz, V: 0.029 Hz
geometry 1024 758 1024 1536 16
timings 40000000 12 76 4 5 12 2
accel false
rgba 5/11,6/5,5/0,0/0
endmode

When I try to set the resolution of /dev/fb2, the system crashes and reboots.

 

I am using the provided SDCard with the dev board.

 

What am I doing wrong?

0 Kudos
1 Solution
718 Views
ekerebel
Contributor III

Disregard my question, I had 2 issues:

1- powering through USB instead of 5V probably caused the crash

2- I had to recompile the mxc_epdc_v2_fb.c in the kernel with a new panel resolution

View solution in original post

0 Kudos
2 Replies
719 Views
ekerebel
Contributor III

Disregard my question, I had 2 issues:

1- powering through USB instead of 5V probably caused the crash

2- I had to recompile the mxc_epdc_v2_fb.c in the kernel with a new panel resolution

0 Kudos
724 Views
ekerebel
Contributor III

This is the console

xres and yres are not aligned to the panel resolution

mxc_epdc_fb_test.out crashes at Blank Screen

root@imx6sllevk:/unit_tests/Display# ./mxc_epdc_fb_test.out

---- Running < ./mxc_epdc_fb_test.out > test ----

Opened EPDC fb device /dev/fb2
Set the background to 16-bpp
screen_info.xres_virtual = 1024
screen_info.yres_virtual = 1536
screen_info.bits_per_pixel = 16
Mem-Mapping FB
Set to region update mode
Set waveform modes
Set update scheme - 2
Set pwrdown_delay - 0
Blank screen
���

U-Boot 2018.03-imx_v2018.03_4.14.98_2.0.0_ga+g87a19df (Apr 11 2019 - 10:00:05 +0000)

CPU: Freescale i.MX6SLL rev1.1 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 36C
Reset cause: POR
Model: Freescale i.MX6SLL EVK Board
Board: MX6SLL EVK
DRAM: 2 GiB
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x21
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
No panel detected: default to MCIMX28LCD
Display: MCIMX28LCD (800x480)
Video: 800x480x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK

0 Kudos