No idea, hopefully someone from Toradex could help us. I haven’t worked with this problem because there is many other on my desk, and I’m hoping to see solution for this. In my case update of edt driver was not solution therefore I assume this patching work is just wasting of time.
Meanwhile, while waiting Toradex support, you should clarify why all those ‘err -22’ are there after patching. Maybe you can first try to compile with simple patch file which actually does nothing but add some debug message into edt driver.
@veskola Can you please tell me if I understood you correctly? I have made a simple patch by adding a printk instruction in the function edt_ft5x06_ts_identify. I have attached the patch file.
I’m not from Toradex, probably better to ask question related to zImage update problem in separate thread.
~1y ago I tried to follow Toradex instructions how to update iMX8MM but not succeeded, since that day I have update kernel and u-boot with Yocto build.
I have assumed with iMX6 it should be doable task.
@veskola I managed to apply the patch. It was a problem with the Yocto build (you can see this post).
@smagrian I applied the patch (created using the entire file), but the result is the same. The only difference is that when waking up from sleep I get 3 error messages (Unable to fetch data, error: -13) instead of 5 (as shown in my first post).