GDP with Linux kernel 4.4 on Raspberry Pi 2

Changhyeok Bae changhyeok.bae at gmail.com
Sun May 15 13:06:38 EDT 2016


I created jira issue to support 7 inch touch screen in
https://at.projects.genivi.org/jira/browse/GDP-206.

2016-05-16 1:41 GMT+09:00 Changhyeok Bae <changhyeok.bae at gmail.com>:

> Hi Leon, Ivan
>
> I also tested with ft5406 device tree but I got the same problem.
> I saw below message in dmesg.
>
> [   11.327835] [drm] Cannot find any crtc or sizes - going 1024x768
>
> Thanks
> Changhyeok
>
> 2016-05-15 2:10 GMT+09:00 Leon Anavi <leon.anavi at konsulko.com>:
>
>> Hi Changhyeok,
>>
>> I did several tests today. I added rpi-ft5406-overlay.dtb through recipe
>> linux-raspberrypi_4.4.bbappend and append it to config.txt through
>> rpi-config_git.bbappend. In the kernel defconfig I have:
>> CONFIG_INPUT_TOUCHSCREEN=y
>> CONFIG_TOUCHSCREEN_RPI_FT5406=m
>>
>> Despite this Weston still fails to launch on rpi2 with the official 7"
>> touch screen display. Here is my work in progress so far (a patch and a
>> log):
>> https://gist.github.com/leon-anavi/b539e3d0cc5fcc40b89495150474c892
>>
>> Best regards, Leon
>>
>>
>> On 13.05.2016 19:37, Changhyeok Bae wrote:
>>
>> Ivan
>>
>> Thanks for your testing and report. I'll investigate more.
>>
>> Thanks
>> Changhyeok
>>
>> 2016-05-13 21:32 GMT+09:00 Ivan Sobol <isobol at ics.com>:
>>
>>> I used 4.1.10 and 4.1.18 kernels with the same result. Here is output
>>> with 4.1.10
>>> drm-backend:
>>>
>>> root at raspberrypi2:~# weston --backend=drm-backend.so --tty=3
>>> Date: 2016-05-13 UTC
>>> [12:29:36.529] weston 1.9.0
>>>                http://wayland.freedesktop.org
>>>                Bug reports to:
>>> <https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0>
>>> https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
>>>                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:29:36.529] OS: Linux, 4.1.10, #1 SMP PREEMPT Thu May 12 22:29:48 MSK
>>> 2016, armv7l
>>> [12:29:36.530] Using config file '/etc/xdg/weston/weston.ini'
>>> [12:29:36.532] Loading module '/usr/lib/weston/drm-backend.so'
>>> [12:29:36.595] Output repaint window is 7 ms maximum.
>>> [12:29:36.595] initializing drm backend
>>> [12:29:36.597] logind: failed to get session seat
>>> [12:29:36.597] logind: cannot setup systemd-logind helper (-2), using
>>> legacy fallback
>>> [12:29:36.605] no drm device found
>>> [12:29:36.605] fatal: failed to create compositor backend
>>>
>>> fbdev-backend:
>>>
>>> root at raspberrypi2:/# weston --backend=fbdev-backend.so --tty=3
>>> Date: 2016-05-13 UTC
>>> [12:19:40.327] weston 1.9.0
>>>                http://wayland.freedesktop.org
>>>                Bug reports to:
>>> <https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0>
>>> https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
>>>                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:19:40.328] OS: Linux, 4.1.10, #1 SMP PREEMPT Thu May 12 22:29:48 MSK
>>> 2016, armv7l
>>> [12:19:40.329] Using config file '/etc/xdg/weston/weston.ini'
>>> [12:19:40.330] Loading module '/usr/lib/weston/fbdev-backend.so'
>>> [12:19:40.340] Output repaint window is 7 ms maximum.
>>> [12:19:40.340] initializing fbdev backend
>>> [12:19:40.341] logind: failed to get session seat
>>> [12:19:40.341] logind: cannot setup systemd-logind helper (-2), using
>>> legacy fallback
>>> [12:19:40.342] Creating fbdev output.
>>> [12:19:40.342] Opening fbdev frame buffer.
>>> [12:19:40.342] Calculating pixman format from:
>>>                 - type: 0 (aux: 0)
>>>                 - visual: 2
>>>                 - bpp: 16 (grayscale: 0)
>>>                 - red: offset: 11, length: 5, MSB: 0
>>>                 - green: offset: 5, length: 6, MSB: 0
>>>                 - blue: offset: 0, length: 5, MSB: 0
>>>                 - transp: offset: 16, length: 0, MSB: 0
>>> [12:19:40.342] Mapping fbdev frame buffer.
>>> [12:19:40.343] fbdev output 800×480 px
>>>                guessing 60 Hz and 96 dpi
>>> [12:19:40.347] input device 'USB USB Keyboard', /dev/input/event0 is
>>> tagged by udev as: Keyboard
>>> [12:19:40.347] input device 'USB USB Keyboard', /dev/input/event0 is a
>>> keyboard
>>> [12:19:40.349] input device 'USB USB Keyboard', /dev/input/event1 is
>>> tagged by udev as: Keyboard
>>> [12:19:40.350] input device 'USB USB Keyboard', /dev/input/event1 is a
>>> keyboard
>>> [12:19:40.458] Compositor capabilities:
>>>                arbitrary surface rotation: yes
>>>                screen capture uses y-flip: yes
>>>                presentation clock: CLOCK_MONOTONIC_RAW, id 4
>>> [12:19:40.460] Loading module '/usr/lib/weston/ivi-shell.so'
>>> [12:19:40.464] launching '/usr/lib/weston/weston-keyboard'
>>> [12:19:40.470] Loading module '/usr/lib/weston/ivi-controller.so'
>>> [12:19:40.475] Loading module '/usr/lib/weston/ivi-input-controller.so'
>>> [12:19:40.476] ivi-input-controller module loaded successfully!
>>> [12:19:44.206] ivi-shell: source rectangle is not yet set by
>>> ivi_layout_surface_set_source_rectangle
>>> [12:19:45.206] ivi-shell: source rectangle is not yet set by
>>> ivi_layout_surface_set_source_rectangle
>>> [12:19:45.716] ivi-shell: source rectangle is not yet set by
>>> ivi_layout_surface_set_source_rectangle
>>>
>>> 2016-05-13 14:58 GMT+03:00 Leon Anavi < <leon.anavi at konsulko.com>
>>> leon.anavi at konsulko.com>:
>>>
>>>> Hi Ivan,
>>>>
>>>> On 13.05.2016 14:50, Ivan Sobol wrote:
>>>>
>>>>> Leon, Changhyeok
>>>>> Hello!
>>>>> I've been looking at problem of official 7" RPi touchsreen and here is
>>>>> what i've found so far.
>>>>>
>>>>> It looks like the problem is not only in kernel. There is issue with
>>>>> loading rpi-ft5406 module in kernel version 4.1.0, but even though, with
>>>>> pure Yocto OE layer touchscreen can work without touch input (just a
>>>>> screen). I tried different builds outside of GDP with 4.1.10 and 4.1.18
>>>>> kernels and had Weston running with fbdev-backend and touchscreen worked
>>>>> perfectly.
>>>>>
>>>>
>>>> Yes, several weeks ago I also got the touchscreen working with Poky and
>>>> meta-erborpi following this tutorial: http://blog.unixshell.se/?p=27
>>>>
>>>> But under GDP i have only black screen. Something inside of
>>>>> meta-genivi-demo layer breaks touchscreen.
>>>>>
>>>>> Not much of information, but still might be useful at some point.
>>>>>
>>>>
>>>> Which Linux kernel version did you use with GDP in this particular
>>>> case? Can you please share Weston logs?
>>>>
>>>> Thanks, Leon
>>>>
>>>>
>>>>> --
>>>>> Ivan Sobol
>>>>>
>>>>
>>>> --
>>>> Leon Anavi
>>>> Software Engineer
>>>> konsulko.com
>>>>
>>>>
>>>
>>>
>>> --
>>> Ivan Sobol
>>>
>>
>>
>> --
>> Leon Anavi
>> Software Engineerkonsulko.com
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-projects_lists.genivi.org/attachments/20160516/1fc53b62/attachment.html>


More information about the genivi-projects mailing list