Hello

 

To port tizen on new device, the backend of libtdm and libtbm should be prepared. Usually, if kernel supports DRM interface, libtdm-drm and libtbm-dumb wouldn't have any problem.

So, you'd better check the kernel DRM module first with "modetest" tool.
To use it, you need to download and install libdrm-tools and libkms rpm pkgs from http://download.tizen.org/snapshots/tizen/3.0-common/latest/repos/arm-wayland/packages/armv7l/


Belows are simple example how to use it.

 

root@localhost:~# modetest
...
trying to open device 'exynos'...success.
....
CRTCs:
id      fb      pos     size
20      34      (0,0)   (1920x1080)
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 flags: phsync, pvsync; type: preferred, driver
  props:
.....
root@localhost:~# modetest -P 20:1920x1080@AR24           <== 20(crtc id). The image which contains many red, yellow, green lines should be displayed on screen.

 

If "modetest -P 20:1920x1080@AR24" works fine, need to tdm and tbm operation with "dlogutil TDM TBM" command.

 

Regards
Boram


On 05/12/2017 12:40 AM, Hee-cheol Yang wrote:
>
> Hello,
>
> First of all, I am very sorry for my sound-stupid question.
>
> This quest may be out out the scope of this mailing list.
>
> If so, please ignore this mail.
>

>

>
> I am trying to port tizen 3.0-common on Beaglebone Black board, which is based on TI’s AM335x SoC.
>
> And currently, I booted the latest Tizen3.0-common rootfs(http://download.tizen.org/snapshots/tizen/3.0-common/latest/images/arm-wayland/common-wayland-3parts-armv7l-artik/) on the modified Beaglebone’s Linux kernel, which is configured to support SMACK. As you may expected, it is not working correctly, so I am trying to solve the problems step by step.
>

>
> My first goal is to display something in the Monitor via HDMI interfance (Beaglebone black board’s default display is the HDMI monitor). And it seems that the HDMI itself seems to working because:
>
>     /dev/fb0 is exposed.
>     Something is displayed when I run “dd if=/dev/urandom of=/dev/fb0”
>

>
> However, even the /dev/fb0 seems to be working, Any Tizen-relased graphics are not displayed the monitor, and after spending several days of searching, I found that TDM and TBM are need to be ported for the SOC. In this case, AM335x SOC.
>

>
> But As I understand, using libtdm-drm and libdbm-dummy is sufficient to show basic display components without porting any device-specific interfaces for libtdx’s interface between front and backends. Also, when I used libtdm-drm and libdbm-dummy, it seems that something recognizable graphics are suddenly displayed in the HDMi monitor.
>

>
> So I wonder that is is not sufficient to use these two components. If not, am I doing correctly to display somrting in the monitor? I mean, is is true that when I correctly port the libtbm and libtbm for AM335x like exynos, the Tizen’s graphic stack is sufficiently ported?
>

>
> I would be very appreciate if something give me any recommendations.
>

>
> Best regards.
>

>
> Heecheol, Yang.
>

> _______________________________________________
> Dev mailing list
> Dev@lists.tizen.org
> https://lists.tizen.org/listinfo/dev 

 

 

_______________________________________________
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev

Reply via email to