Touch input support for i.MX7D-SABRE Rev-A on IMXEBOOKDC4

cancel
Showing results for 
Search instead for 
Did you mean: 

Touch input support for i.MX7D-SABRE Rev-A on IMXEBOOKDC4

Jump to solution
922 Views
skrishnakar
Contributor III

Hi,

Board (U-boot):

------------------------

U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 16 2016 - 18:33:06 -0500)

CPU: Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 37C
Reset cause: POR
Board: i.MX7D SABRESD RevA
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0, FSL_SDHC: 1
reading epdc_splash.bin
** Unable to read file epdc_splash.bin **
File epdc_splash.bin not found on MMC Device 0!
Can't load waveform data!
Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK

------------------------

Kernel:

-------------------------

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.1.15-00158-g30278ab (jenkins@ubuntu) (gcc version 6.2.0) #4 SMP PREEMPT Wed Sept 16 22:24:58 IST 2016
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX7D SabreSD Board

-------------------------

I am trying to test touch input support for the E-INK Panel i.e IMXEBOOKDC4 that is  connected to my IMX7D sabre SDB board, but unfortunately the ELAN touch driver is failing to probe the device. The DTB used for booting is "imx7d-sdb-reva-epdc.dtb"

Error noticed:

elan-touch 2-0010: elan - Read Hello Packet Failed
elan-touch: probe of 2-0010 failed with error -5

Am I missing something here ? Is ELAN_TS appropriate touch driver for this display ? I can see the display coming up fine with OE splash, but the touch isn't working.

FSL Distro:


Running local boot scripts (/etc/rc.local).

Freescale i.MX Release Distro 4.1.15-2.0.0 imx6ul7d /dev/ttymxc0

imx6ul7d login: random: nonblocking pool is initialized
root@imx6ul7d:~#

I could not verify touch input test "/unit_tests/evtest.out".

Any pointers would be highly appreciated.

Thanks!

Labels (1)
0 Kudos
1 Solution
157 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Srikant

please try board rev.C or later, as on rev.A board connector J13 there are no touch signals TOUCH_GPIO,TOUCH_CE,
they were added on later board revisions. One can check J36-39 on i.MX7D SDB rec.C board.

Best regards
igor

View solution in original post

0 Kudos
9 Replies
157 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi srikanth

kernel 4.1.15 has elan_ts configuration, please enable this flag to have elan touch enabled.

/arch/arm/configs/imx_v7_android_defconfig

+CONFIG_TOUCHSCREEN_ELAN_TS=y

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
157 Views
skrishnakar
Contributor III

Hi igorpadykov‌,

Thanks for your prompt response. I have cross checked the kernel config log and it appears that the touch driver ELAN is already enabled, and I believe its using imx_v7_defconfig by default:


Freescale i.MX Release Distro 4.1.15-2.0.0 imx6ul7d /dev/ttymxc0

imx6ul7d login: random: nonblocking pool is initialized
root
root@imx6ul7d:~# zcat /proc/config.gz | grep -i ELAN_TS
CONFIG_TOUCHSCREEN_ELAN_TS=y
root@imx6ul7d:~#

Please suggest, If I am missing something?  Is this a tested feature in default distro for imx7D ?

Thanks in Advance!

-Srikant

0 Kudos
157 Views
igorpadykov
NXP TechSupport
NXP TechSupport
0 Kudos
157 Views
skrishnakar
Contributor III

Hi igorpadykov‌,

I have tried the image "fsl-image-validation-x11-imx7d.sdcard" and I do not see any change in the logs or behavior! Please see the complete log below:

--------------------------------------------

=> setenv fdt_file imx7d-sdb-reva-epdc.dtb
=> saveenv
Saving Environment to MMC...
Writing to MMC(0)... done
=> pri fdt_file
fdt_file=imx7d-sdb-reva-epdc.dtb
=> reset
resetting ...


U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 16 2016 - 18:26:03 -0500)

CPU: Freescale i.MX7D rev1.2 996 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 34C
Reset cause: POR
Board: i.MX7D SABRESD RevA
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
Net: FEC0
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
switch to partitions #0, OK
mmc0 is current device
reading boot.scr
** Unable to read file boot.scr **
reading zImage
6635448 bytes read in 584 ms (10.8 MiB/s)
Booting from mmc ...
reading imx7d-sdb-reva-epdc.dtb
47626 bytes read in 50 ms (929.7 KiB/s)
Kernel image @ 0x80800000 [ 0x000000 - 0x653fb8 ]
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300ea09

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.1.15-2.0.0+gb63f3f5 (bamboo@yb6) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Fri Sep 16 17:45:01 CDT 2016
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Freescale i.MX7D SabreSD Board
Reserved memory: created CMA memory pool at 0xac000000, size 320 MiB
Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
Memory policy: Data cache writealloc
PERCPU: Embedded 12 pages/cpu @ab71c000 s16908 r8192 d24052 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p2 rootwait rw
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 698304K/1048576K available (8359K kernel code, 433K rwdata, 2964K rodata, 428K init, 449K bss, 22592K reserved, 327680K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc0800000 - 0xff000000 (1000 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80b16ea4 (11324 kB)
.init : 0x80b17000 - 0x80b82000 ( 428 kB)
.data : 0x80b82000 - 0x80bee5a0 ( 434 kB)
.bss : 0x80bf1000 - 0x80c61540 ( 450 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Preemptible hierarchical RCU implementation.
Additional per-CPU info printed with stalls.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 8.00MHz (phys).
clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
Switching to timer-based delay loop, resolution 125ns
mxc_clocksource_init 3000000
Ignoring duplicate/late registration of read_current_timer delay
clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=80000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
/cpus/cpu@0 missing clock-frequency property
/cpus/cpu@1 missing clock-frequency property
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x80008280 - 0x800082d8
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (32.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
device-tree: Duplicate name in lcdif@30730000, renamed to "display#1"
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
DDR type is DDR3!
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
imx7d-pinctrl 302c0000.iomuxc-lpsr: initialized IMX pinctrl driver
imx7d-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
MU is ready for cross core communication!
mxs-dma 33000000.dma-apbh: initialized
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
30800000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator
30800000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator
i2c i2c-0: IMX I2C adapter registered
i2c i2c-0: can't use DMA
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA
2-0048 supply SENSOR not found, using dummy regulator
max17135 2-0048: PMIC MAX17135 for eInk display
i2c i2c-2: IMX I2C adapter registered
i2c i2c-2: can't use DMA
i2c i2c-3: of_i2c: modalias failure on /soc/aips-bus@30800000/i2c@30a50000/ov5647_mipi@36
i2c i2c-3: IMX I2C adapter registered
i2c i2c-3: can't use DMA
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.20
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
imx rpmsg driver is registered.
Bus freq driver module loaded
futex hash table entries: 512 (order: 3, 32768 bytes)
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
fuse init (API version 7.23)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
backlight supply power not found, using dummy regulator
MIPI DSI driver module loaded
MIPI DSI driver module loaded
imx-sdma 30bd0000.sdma: no event needs to be remapped
imx-sdma 30bd0000.sdma: loaded firmware 4.2
imx-sdma 30bd0000.sdma: initialized
pfuze100-regulator 0-0008: Full layer: 1, Metal layer: 1
pfuze100-regulator 0-0008: FAB: 0, FIN: 0
pfuze100-regulator 0-0008: pfuze3000 found.
30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 279, base_baud = 1500000) is a IMX
console [ttymxc0] enabled
30a80000.serial: ttymxc5 at MMIO 0x30a80000 (irq = 287, base_baud = 5000000) is a IMX
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
input: fxos8700 as /devices/platform/soc/30800000.aips-bus/30a30000.i2c/i2c-1/1-001e/input/input0
fxos8700 device driver probe successfully
input: fxas2100x as /devices/platform/soc/30800000.aips-bus/30a30000.i2c/i2c-1/1-0020/input/input1
fxas2100x 1-0020: fxas2100x device driver probe successfully
spi_gpio spi4: gpio-miso property not found, switching to no-rx mode
CAN device driver interface
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usb_ehset_test
30b10200.usbmisc supply vbus-wakeup not found, using dummy regulator
30b20200.usbmisc supply vbus-wakeup not found, using dummy regulator
30b30200.usbmisc supply vbus-wakeup not found, using dummy regulator
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
input: 30370000.snvs:snvs-powerkey as /devices/platform/soc/30000000.aips-bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input2
elan-touch 2-0010: elan - Read Hello Packet Failed
elan-touch: probe of 2-0010 failed with error -5
read mpl3115 chip id 0xc4
input: mpl3115 as /devices/virtual/input/input4
mpl3115 device driver probe successfully
snvs_rtc 30370000.snvs:snvs-rtc-lp: rtc core: registered 30370000.snvs:snvs- as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
pxp-v4l2 pxp_v4l2_out: initialized
imx2-wdt 30280000.wdog: use WDOG_B to reboot.
imx2-wdt 30280000.wdog: timeout 60 sec (nowayout=0)
Bluetooth: HCI UART driver ver 2.3
Bluetooth: HCI UART protocol H4 registered
Bluetooth: HCI UART protocol BCSP registered
Bluetooth: HCI UART protocol ATH3K registered
usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
usbcore: registered new interface driver ath3k
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
/soc/aips-bus@30800000/usdhc@30b40000: voltage-ranges unspecified
sdhci-esdhc-imx 30b40000.usdhc: Got CD GPIO
sdhci-esdhc-imx 30b40000.usdhc: Got WP GPIO
sdhci-esdhc-imx 30b40000.usdhc: No vqmmc regulator found
mmc0: SDHCI controller on 30b40000.usdhc [30b40000.usdhc] using ADMA
/soc/aips-bus@30800000/usdhc@30b50000: voltage-ranges unspecified
sdhci-esdhc-imx 30b50000.usdhc: assigned as wifi host
sdhci-esdhc-imx 30b50000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 30b50000.usdhc: No vqmmc regulator found
mmc1: SDHCI controller on 30b50000.usdhc [30b50000.usdhc] using ADMA
/soc/aips-bus@30800000/usdhc@30b60000: voltage-ranges unspecified
sdhci-esdhc-imx 30b60000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 30b60000.usdhc: No vqmmc regulator found
mmc2: SDHCI controller on 30b60000.usdhc [30b60000.usdhc] using ADMA
caam 30900000.caam: Entropy delay = 3200
caam 30900000.caam: Instantiated RNG4 SH0
mmc0: new SDHC card at address e624
mmcblk0: mmc0:e624 SU04G 3.69 GiB
caam 30900000.caam: Instantiated RNG4 SH1
caam 30900000.caam: device ID = 0x0a16030000000000 (Era -524)
mmcblk0: p1 p2
caam 30900000.caam: job rings = 3, qi = 0
caam algorithms registered in /proc/crypto
caam_jr 30901000.jr0: registering rng-caam
platform caam_sm: blkkey_ex: 8 keystore units available
platform caam_sm: 64-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: 64-bit black key:
platform caam_sm: [0000] ca 60 80 fa 15 74 33 fd
platform caam_sm: [0008] 65 c8 1e 9a 18 c6 0e e5
platform caam_sm: 128-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: 128-bit black key:
platform caam_sm: [0000] c6 e3 0b be 6b 2f cb e6
platform caam_sm: [0008] 64 b1 7c 91 f0 2b c1 38
platform caam_sm: 192-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: 192-bit black key:
platform caam_sm: [0000] 84 f1 59 1f 0d 48 59 b7
platform caam_sm: [0008] 45 18 cd e2 ef 8e 9e 2d
platform caam_sm: [0016] 9a f7 23 66 af f1 fa 1d
platform caam_sm: [0024] 64 6f 2e 25 d4 37 03 65
platform caam_sm: 256-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
platform caam_sm: 256-bit black key:
platform caam_sm: [0000] de 2c 22 c7 e9 7a c2 9a
platform caam_sm: [0008] c0 4c 48 14 2d eb 7a f7
platform caam_sm: [0016] e2 d4 4e c4 85 9d 71 3a
platform caam_sm: [0024] 6b 9a 0e 43 e1 74 16 b1
platform caam_sm: 64-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 196-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 64-bit black key in blob:
platform caam_sm: [0000] 4e 0b 3e 9e e3 86 b1 77
platform caam_sm: [0008] 33 4b 1b a1 9d 81 4b f2
platform caam_sm: [0016] 30 8c 95 57 e2 60 80 c2
platform caam_sm: [0024] 8c e4 d3 c1 7f 55 bf 9e
platform caam_sm: [0032] 4d b3 6e 49 5a 6c 46 4b
platform caam_sm: [0040] 54 1f 71 03 55 27 d2 a8
platform caam_sm: [0048] 3d 0d 7c 70 8c a1 9d 7f
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit black key in blob:
platform caam_sm: [0000] 69 88 df fc b7 4b 0e 30
platform caam_sm: [0008] a0 ee 27 35 db da 5e d5
platform caam_sm: [0016] 4f ac c4 ca 8f 0b 04 3e
platform caam_sm: [0024] 3c dd 31 fa 46 48 2b e4
platform caam_sm: [0032] 4a e5 0f c2 2f d5 04 9c
platform caam_sm: [0040] 21 b5 6f fb 8e 14 cb 97
platform caam_sm: [0048] e1 f3 f1 33 48 2e 7d 95
platform caam_sm: [0056] 60 ad 25 61 bc 8a dc b7
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 192-bit black key in blob:
platform caam_sm: [0000] 0f c7 a1 ab 3a 00 73 30
platform caam_sm: [0008] b6 cf 23 4f 6b 08 ae 3a
platform caam_sm: [0016] 95 b8 93 c0 ce c3 dc 48
platform caam_sm: [0024] c5 2a 08 de 72 f8 e0 9e
platform caam_sm: [0032] fb 04 69 f8 0c 77 19 10
platform caam_sm: [0040] 33 fb b2 2d 46 04 ae 46
platform caam_sm: [0048] 3c 3f f2 a7 dd 67 a3 3f
platform caam_sm: [0056] 07 00 fe 9c 82 72 51 47
platform caam_sm: [0064] 7a 69 78 d2 62 c1 b5 c6
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit black key in blob:
platform caam_sm: [0000] 1e e6 15 1b 42 fe 02 38
platform caam_sm: [0008] 4b d2 87 89 f6 f3 6f ae
platform caam_sm: [0016] d3 75 28 82 53 30 a6 b6
platform caam_sm: [0024] 1a 01 b9 fd 08 06 6c c1
platform caam_sm: [0032] 77 80 fe 09 39 b9 38 c2
platform caam_sm: [0040] 0b 66 fe 80 b0 67 bb 99
platform caam_sm: [0048] 6f 58 ae 44 3d 04 c6 2b
platform caam_sm: [0056] 4e 76 a4 0b 22 e5 41 be
platform caam_sm: [0064] 81 29 10 5b de 78 51 ce
platform caam_sm: [0072] db 8e 47 06 b2 aa 00 3f
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: restored 64-bit black key:
platform caam_sm: [0000] 45 54 e2 3e 9e 6a f5 78
platform caam_sm: [0008] e3 de 93 f1 2e 08 da 6a
platform caam_sm: restored 128-bit black key:
platform caam_sm: [0000] c6 e3 0b be 6b 2f cb e6
platform caam_sm: [0008] 64 b1 7c 91 f0 2b c1 38
platform caam_sm: restored 192-bit black key:
platform caam_sm: [0000] 84 f1 59 1f 0d 48 59 b7
platform caam_sm: [0008] 45 18 cd e2 ef 8e 9e 2d
platform caam_sm: [0016] a0 3d a8 fd 8d 29 13 74
platform caam_sm: [0024] 10 c1 5d 7b 00 1c 93 c3
platform caam_sm: restored 256-bit black key:
platform caam_sm: [0000] de 2c 22 c7 e9 7a c2 9a
platform caam_sm: [0008] c0 4c 48 14 2d eb 7a f7
platform caam_sm: [0016] e2 d4 4e c4 85 9d 71 3a
platform caam_sm: [0024] 6b 9a 0e 43 e1 74 16 b1
snvs-secvio 30370000.caam-snvs: can't get snvs clock
snvs-secvio 30370000.caam-snvs: violation handlers armed - non-secure state
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
imx7d-pinctrl 30330000.iomuxc: pin MX7D_PAD_UART3_CTS_B already requested by 30330000.iomuxc; cannot claim for 308c0000.sai
imx7d-pinctrl 30330000.iomuxc: pin-81 (308c0000.sai) status -22
imx7d-pinctrl 30330000.iomuxc: could not request pin 81 (MX7D_PAD_UART3_CTS_B) from group sai3grp on device 30330000.iomuxc
fsl-sai 308c0000.sai: Error applying setting, reverse things back
imx-wm8960 sound: wm8960-hifi <-> 308a0000.sai mapping ok
imx-sii902x sound-hdmi: failed to find sii902x i2c client
NET: Registered protocol family 26
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
imx_epdc_v2_fb 306f0000.epdc: Direct firmware load for imx/epdc/epdc_ED060XH2C1.fw failed with error -2
imx_epdc_v2_fb 306f0000.epdc: Falling back to user helper
Console: switching to colour frame buffer device 128x47
30730000.lcdif supply lcd not found, using dummy regulator
mxsfb 30730000.lcdif: failed to find mxc display driver
mxsfb 30730000.lcdif: initialized
imx-sii902x sound-hdmi: failed to find sii902x i2c client
dhd_module_init in
Power-up adapter 'DHD generic adapter'
wifi_platform_bus_enumerate device present 1
mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
mmc1: queuing unknown CIS tuple 0x80 (6 bytes)
mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
mmc1: new ultra high speed SDR104 SDIO card at address 0001
imx-sii902x sound-hdmi: failed to find sii902x i2c client
imx-sii902x sound-hdmi: failed to find sii902x i2c client
F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x0
imx-sii902x sound-hdmi: failed to find sii902x i2c client
DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
wifi_platform_get_mac_addr
CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211)
wl_create_event_handler(): thread:wl_event_handler:96 started
CFG80211-ERROR) wl_event_handler :
dhd_attach(): thread:dhd_watchdog_thread:97 started
tsk Enter, tsk = 0xa880143c
dhd_attach(): thread:dhd_dpc:98 started
dhd_deferred_work_init: work queue initialized
Dongle Host Driver, version 1.141.92 (r)
Compiled in drivers/net/wireless/bcmdhd
Register interface [wlan0] MAC: 00:90:4c:11:22:33

CFG80211-ERROR) wl_event_handler : was terminated
wl_destroy_event_handler(): thread:wl_event_handler:96 terminated OK
dhd_prot_ioctl : bus is down. we have nothing to do
imx-sii902x sound-hdmi: failed to find sii902x i2c client
snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 2016-09-16 22:53:17 UTC (1474066397)
imx-sii902x sound-hdmi: failed to find sii902x i2c client
VPOS: disabling
VNEG: disabling
HVINP: disabling
HVINN: disabling
GVEE: disabling
GVDD: disabling
wlreg_on: disabling
can2-3v3: disabling
usb_otg1_vbus: disabling
ALSA device list:
#0: wm8960-audio
EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 428K (80b17000 - 80b82000)
INIT: version 2.88 booting
Starting udev
udevd[185]: starting version 3.1.5
random: udevd urandom read with 26 bits of entropy available
imx-sii902x sound-hdmi: failed to find sii902x i2c client
ov5640_mipi 3-003c: no pin available
ov5640_mipi 3-003c: Failed to set power pin
ov5640_mipi 3-003c: retval=-16
ov5640_mipi: probe of 3-003c failed with error -16
mxc_mipi-csi 30750000.mipi-csi: mipi csi v4l2 device registered
CSI: Registered sensor subdevice: mxc_mipi-csi.0
mxc_mipi-csi 30750000.mipi-csi: lanes: 2, hs_settle: 13, clk_settle: 2, wclk: 1, freq: 240000000
imx-sii902x sound-hdmi: failed to find sii902x i2c client
EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
bootlogd: cannot allocate pseudo tty: No such file or directory
Populating dev cache
tar: dev/disk/by-label/Bootx20imx6ul: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
udev-cache: update failed!
ALSA: Restoring mixer settings...
INIT: Entering runlevel: 5
Configuring network interfaces... eth0: ERROR while getting interface flags: No such device
Starting Xserver
Starting system message bus: dbus.
Starting Connection Manager
Starting Dropbear SSH server: dropbear.
Starting rpcbind daemon...done.
starting statd: done
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting atd: OK
exportfs: can't open /etc/exports for reading
NFS daemon support not enabled in kernel
Starting system log daemon...0
Starting kernel log daemon...0
[ ok ]rting Avahi mDNS/DNS-SD Daemon: avahi-daemon
Starting Telephony daemon
Starting Linux NFC daemon
Starting crond: OK
Running local boot scripts (/etc/rc.local).

Freescale i.MX Release Distro 4.1.15-2.0.0 imx6ul7d /dev/ttymxc0

imx6ul7d login: root
root@imx6ul7d:~#
root@imx6ul7d:~# random: nonblocking pool is initialized

root@imx6ul7d:~# ls
root@imx6ul7d:~# dmesg | grep -i i2c
[ 0.230021] i2c i2c-0: IMX I2C adapter registered
[ 0.230037] i2c i2c-0: can't use DMA
[ 0.230896] i2c i2c-1: IMX I2C adapter registered
[ 0.230910] i2c i2c-1: can't use DMA
[ 0.233671] i2c i2c-2: IMX I2C adapter registered
[ 0.233684] i2c i2c-2: can't use DMA
[ 0.234362] i2c i2c-3: of_i2c: modalias failure on /soc/aips-bus@30800000/i2c@30a50000/ov5647_mipi@36
[ 0.234382] i2c i2c-3: IMX I2C adapter registered
[ 0.234394] i2c i2c-3: can't use DMA
[ 0.952246] input: fxos8700 as /devices/platform/soc/30800000.aips-bus/30a30000.i2c/i2c-1/1-001e/input/input0
[ 0.967678] input: fxas2100x as /devices/platform/soc/30800000.aips-bus/30a30000.i2c/i2c-1/1-0020/input/input1
[ 1.267785] i2c /dev entries driver
[ 2.899944] imx-sii902x sound-hdmi: failed to find sii902x i2c client
[ 3.130234] imx-sii902x sound-hdmi: failed to find sii902x i2c client
[ 3.339903] imx-sii902x sound-hdmi: failed to find sii902x i2c client
[ 3.345795] imx-sii902x sound-hdmi: failed to find sii902x i2c client
[ 3.377630] imx-sii902x sound-hdmi: failed to find sii902x i2c client
[ 3.448814] imx-sii902x sound-hdmi: failed to find sii902x i2c client
[ 3.463454] imx-sii902x sound-hdmi: failed to find sii902x i2c client
[ 4.825275] imx-sii902x sound-hdmi: failed to find sii902x i2c client
[ 4.889053] imx-sii902x sound-hdmi: failed to find sii902x i2c client
root@imx6ul7d:~#
root@imx6ul7d:~# dmesg | grep -i elan
[ 1.237217] elan-touch 2-0010: elan - Read Hello Packet Failed
[ 1.241880] elan-touch: probe of 2-0010 failed with error -5
root@imx6ul7d:~#
root@imx6ul7d:~# zcat /proc/config.gz | grep -i ELAN_TS
CONFIG_TOUCHSCREEN_ELAN_TS=y
root@imx6ul7d:~# uname -a
Linux imx6ul7d 4.1.15-2.0.0+gb63f3f5 #1 SMP PREEMPT Fri Sep 16 17:45:01 CDT 2016 armv7l armv7l armv7l GNU/Linux
root@imx6ul7d:~#
root@imx6ul7d:~# dmesg | grep -i elan
[ 1.237217] elan-touch 2-0010: elan - Read Hello Packet Failed
[ 1.241880] elan-touch: probe of 2-0010 failed with error -5
root@imx6ul7d:~#
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0

--------------------------------------------

NOTE: When I flashed the image to SD card, I found there was no bootloader installed on sdcard by default, hence I installed the u-boot manually to the sd-card:

--------------------------------------------

Downloads/L4.1.15_2.0.0-ga_images_MX7DSABRESD$ sudo dd if=u-boot-imx7dsabresd_sd.imx of=/dev/sdc bs=512 seek=2; sync
[sudo] password for srikanth:
862+0 records in
862+0 records out
441344 bytes (441 kB, 431 KiB) copied, 0.117888 s, 3.7 MB/s

--------------------------------------------

Does this ELAN_TS need special operation before initialization ? Start from kernel config and DTB node, I see no fault in the driver or setup. Is this the right u-boot (u-boot-imx7dsabresd_sd.imx)  for testing EPDC (E-INK) panel with touch support ? The EPDC u-boot provides splash support, If I am not mistaken. Correct me If I am wrong.

I can do further debugging, if you have other pointers!

Thanks a lot!

-Srikant

0 Kudos
157 Views
skrishnakar
Contributor III

Hi igorpadykov‌,

Are we missing something similar to this uboot-imx.git - Freescale i.MX u-boot Tree  for i.MX7D boards ? The patch description is quite interesting and mentions how the EPDC touch slave operates!

Regards,

Srikant

0 Kudos
158 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Srikant

please try board rev.C or later, as on rev.A board connector J13 there are no touch signals TOUCH_GPIO,TOUCH_CE,
they were added on later board revisions. One can check J36-39 on i.MX7D SDB rec.C board.

Best regards
igor

View solution in original post

0 Kudos
157 Views
skrishnakar
Contributor III

Hello igorpadykov‌,

I now have this i.MX7D board that has J36, J38 and J39 pins on them, but the result is still unchanged. Please see the image attached. 

IMX7D-RevD.PNG

Should we test with jumpers (J36, J38, J39)  in-place or remove them for touch functionality ?

Thanks,

Srikant

0 Kudos
157 Views
skrishnakar
Contributor III

Hi igorpadykov‌,

Thanks for the response! In this case I am assuming imx7d-sdb-reva-epdc.dtb  does not serve any purpose w.r.t touch support on imx7d-sdb rev.A board.  

Technically i.MX7D Sabre SDB Rev. A board does not support touch support on E-INK (IMXEBOOKDC4) panel due to hardware limitation. If this is true, then I am resolving this discussion. 

Thank you so much for followup and responses. 

Best Regards,

Srikanth

0 Kudos
157 Views
skrishnakar
Contributor III

Hi igorpadykov‌,

Sure, I will try the image "fsl-image-validation-imx-x11-imx7d.sdcard" from the file L4.1.15_2.0.0-ga_images_MX7DSABRESD as per your suggestion and let you know the result.

Thanks!

0 Kudos