Part Number: DRA72XEVM
Hello.
I wrote boot image to micro sd, and DRA7xx EVM had booted. On screen display shows ti Matrix Launcher v2 p1, but touchscreen doesn't work.
Could anyone help me this problem?
I successfully built ti-processor-sdk-linux-automotive-dra7xx-evm-03.02.00.03. (./build-core-sdk.sh dra7xx-evm)
First, I set dip switches according to the DRA7xx_EVM_Quick_Start_Guide.pdf.
Next, I made micro sd according to below steps.
1) $ sudo ${INSTALL_DIR}/bin/mksdboot.sh --device /dev/sdY --sdk ${INSTALL_DIR}
2) extract "tisdk-rootfs-image-dra7xx-evm-20170321004205.rootfs.tar.xz" to /rootfs, copy "zImage-dra7xx-evm.bin" to /rootfs/boot/zImage, "zImage-dra7-evm-lcd-osd.dtb" to /boot/dra7-evm.dtb, and "u-boot-dra7xx-evm.img" to /boot/u-boot.img,
3) attached lcd serial starts with "OSD_", so I set device tree as "dra7-evm-lcd-osd.dtb" by adding fdtfile=dra7-evm-lcd-osd.dtb to second line of /boot/uenv.txt
Below is what I tested. After loading weston and starting weston-terminal, I cannot move weston-terminal with touchscreen.
- target # weston --tty=1 --backend=drm-backend.so&
- target # weston-terminal
console says 'failed to find a view!' or 'touch event received with 2 points downbut no surface focused' whether there is weston-terminal or not where I touched.
root@dra7xx-evm:~# weston --tty=1 --backend=drm-backend.so
Date: 2017-03-20 UTC
[12:41:13.022] weston 1.9.0
http://wayland.freedesktop.org
Bug reports to: bugs.freedesktop.org/enter_bug.cgi
Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
[12:41:13.022] OS: Linux, 4.4.23-g91222fb42d, #1 SMP PREEMPT Mon Mar 20 23:46:40 KST 2017, armv7l
[12:41:13.022] Using config file '/etc//weston.ini'
[12:41:13.022] Loading module '/usr/lib/weston/drm-backend.so'
[12:41:13.026] Output repaint window is 7 ms maximum.
[12:41:13.026] initializing drm backend
[12:41:13.113] using /dev/dri/card0
[12:41:13.113] Loading module '/usr/lib/weston/gl-renderer.so'
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[12:41:13.120] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[12:41:13.129] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[12:41:13.129] Retrieving EGL client extension string failed.
[12:41:13.134] input device 'EP05120M09', /dev/input/event0 is tagged by udev as: Touchscreen
[12:41:13.134] input device 'EP05120M09', /dev/input/event0 is a touch device
[12:41:13.135] input device 'gpio_keys', /dev/input/event1 not tagged as input device
[12:41:13.187] failed to create input device '/dev/input/event1'.
[12:41:13.234] EGL version: 1.4 build 1.14@3699939 (MAIN)
[12:41:13.234] EGL vendor: Imagination Technologies
[12:41:13.234] EGL client APIs: OpenGL_ES
[12:41:13.234] EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image
EGL_KHR_image_base EGL_KHR_gl_texture_2D_image
EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync
EGL_IMG_context_priority EGL_IMG_hibernate_process
EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context
EGL_KHR_wait_sync EGL_KHR_create_context
EGL_WL_bind_wayland_display
[12:41:13.234] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
[12:41:13.234] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
[12:41:13.234] GL vendor: Imagination Technologies
[12:41:13.234] GL renderer: PowerVR SGX 544MP
[12:41:13.234] GL extensions: GL_OES_rgb8_rgba8 GL_OES_depth24
GL_OES_vertex_half_float GL_OES_texture_float
GL_OES_texture_half_float GL_OES_element_index_uint
GL_OES_mapbuffer GL_OES_fragment_precision_high
GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_required_internalformat
GL_OES_depth_texture GL_OES_get_program_binary
GL_OES_packed_depth_stencil GL_OES_standard_derivatives
GL_OES_vertex_array_object GL_OES_egl_sync GL_OES_texture_npot
GL_OES_surfaceless_context GL_EXT_discard_framebuffer
GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
GL_EXT_multisampled_render_to_texture GL_EXT_shader_texture_lod
GL_EXT_texture_format_BGRA8888 GL_EXT_occlusion_query_boolean
GL_EXT_texture_rg GL_EXT_draw_buffers
GL_EXT_shader_framebuffer_fetch GL_IMG_shader_binary
GL_IMG_texture_compression_pvrtc
GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_npot
GL_IMG_texture_format_BGRA8888 GL_IMG_read_format
GL_IMG_program_binary GL_IMG_uniform_buffer_object
GL_IMG_multisampled_render_to_texture GL_KHR_debug
[12:41:13.235] GL ES 2 renderer features:
read-back format: RGBA
wl_shm sub-image to texture: no
EGL Wayland extension: yes
[12:41:13.235] Chosen EGL config details:
RGBA bits: 8 8 8 8
swap interval range: 1 - 1
[12:41:13.235] cursor buffers unavailable, using gl cursors
[12:41:13.235] Failed to initialize backlight
[12:41:13.236] Applying calibration: 39.926609 73.981659 -94217.398438 8.623853 7.155964 -14756.145508 (normalized -49.071560 -12.296788)
[12:41:13.236] Output Unknown-1, (connector 32, crtc 34)
mode 1920x1200@60.0, preferred, current
mode 1920x1200@60.0, preferred
[12:41:13.236] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
[12:41:13.236] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-0.lock, maybe another compositor is running
[12:41:13.236] Loading module '/usr/lib/weston/desktop-shell.so'
[12:41:13.237] launching '/usr/libexec/weston-keyboard'
[12:41:13.238] launching '/usr/libexec/weston-desktop-shell'
-------- I started to touch the screen -------
[12:41:31.939] notify_touch: weston_compositor_pick_view(20146, -5732) failed to find a view!
[12:41:32.423] notify_touch: weston_compositor_pick_view(35706, -3702) failed to find a view!
[12:41:32.477] touch event received with 2 points downbut no surface focused
[12:41:33.040] notify_touch: weston_compositor_pick_view(5541, -6900) failed to find a view!
[12:41:33.201] notify_touch: weston_compositor_pick_view(39169, -3049) failed to find a view!
[12:41:33.739] notify_touch: weston_compositor_pick_view(34573, -3449) failed to find a view!
[12:41:33.793] touch event received with 2 points downbut no surface focused
[12:41:34.289] notify_touch: weston_compositor_pick_view(3010, -6342) failed to find a view!
[12:41:34.356] touch event received with 2 points downbut no surface focused