<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Gulim;
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:"Malgun Gothic";
        panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
        {font-family:GulimChe;
        panose-1:2 11 6 9 0 1 1 1 1 1;}
@font-face
        {font-family:"Malgun Gothic";}
@font-face
        {font-family:Gulim;
        panose-1:2 11 6 0 0 1 1 1 1 1;}
@font-face
        {font-family:GulimChe;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-autospace:none;
        word-break:break-hangul;
        font-size:10.0pt;
        font-family:"맑은 고딕",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"\BBF8\B9AC \C11C\C2DD\C774 \C9C0\C815\B41C HTML Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:GulimChe;
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:40.0pt;
        margin-bottom:.0001pt;
        mso-para-margin-top:0cm;
        mso-para-margin-right:0cm;
        mso-para-margin-bottom:0cm;
        mso-para-margin-left:4.0gd;
        mso-para-margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        text-autospace:none;
        word-break:break-hangul;
        font-size:10.0pt;
        font-family:"맑은 고딕",sans-serif;}
span.HTMLChar
        {mso-style-name:"\BBF8\B9AC \C11C\C2DD\C774 \C9C0\C815\B41C HTML Char";
        mso-style-priority:99;
        mso-style-link:"\BBF8\B9AC \C11C\C2DD\C774 \C9C0\C815\B41C HTML";
        font-family:GulimChe;
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:3.0cm 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:13574830;
        mso-list-type:hybrid;
        mso-list-template-ids:1253475176 -1 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:38.0pt;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-upper;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:60.0pt;
        text-indent:-20.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:80.0pt;
        text-indent:-20.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:100.0pt;
        text-indent:-20.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-upper;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:120.0pt;
        text-indent:-20.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:140.0pt;
        text-indent:-20.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:160.0pt;
        text-indent:-20.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-upper;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:180.0pt;
        text-indent:-20.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        margin-left:200.0pt;
        text-indent:-20.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style>
</head>
<body lang="KO" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi all.</span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you for your advices.</span></p>
<p class="MsoNormal"><span lang="EN-US">I checked what many people said to me in previous mails and (as you may expected) there were some strange things in my boot logs.</span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<ol style="margin-top:0cm" start="1" type="1">
<li class="MsoListParagraph" style="margin-left:2.0pt;mso-para-margin-left:0gd;mso-list:l0 level1 lfo1">
<span lang="EN-US">There was no ENABLE_PP configuration in my Linux kernel configuration. I am currently using 4.4 mainline. What is the purpose of this option?</span></li><li class="MsoListParagraph" style="margin-left:2.0pt;mso-para-margin-left:0gd;mso-list:l0 level1 lfo1">
<span lang="EN-US">When I tested dlogutil ‘TBM’ and ‘TDM’, the both commands print the same error messages:</span></li></ol>
<p class="MsoListParagraph" style="margin-left:38.0pt;mso-para-margin-left:0gd"><span lang="EN-US"><br>
root@localhost:~# dlogutil TDM<br>
Error: Could not connect to socket /run/dlog/main.ctl!<br>
Error: Could not connect to socket /run/dlog/system.ctl!<br>
Error: Could not connect to socket /run/dlog/apps.ctl!</span></p>
<p class="MsoListParagraph" style="margin-left:38.0pt;mso-para-margin-left:0gd"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoListParagraph" style="margin-left:38.0pt;mso-para-margin-left:0gd"><span lang="EN-US"><o:p> </o:p></span></p>
<ol style="margin-top:0cm" start="3" type="1">
<li class="MsoListParagraph" style="margin-left:2.0pt;mso-para-margin-left:0gd;mso-list:l0 level1 lfo1">
<span lang="EN-US">As shown in attacted boot log, there are a lot of ‘SMACK-related error messages’. In fact, I think it is actually the first challenge I should address:<br>
</span></li></ol>
<table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border:none">
<tbody>
<tr>
<td width="954" valign="top" style="width:715.45pt;border:solid windowtext 1.0pt;padding:0cm 5.4pt 0cm 5.4pt">
<p class="MsoListParagraph" style="margin-left:0cm;mso-para-margin-left:0gd"><span lang="EN-US">[  605.475902] audit: type=1300 audit(946685404.800:282): arch=40000028 syscall=5 per=800000 success=no exit=-13 a0=beb44430 a1=a0000 a2=1b6 a3=1b6 items=0 ppid=2
 pid=1110 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="systemd-cgroups" exe="/usr/lib/systemd/systemd-cgroups-agent" subj=_ key=(null)</span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I am very sorry bothering all you with asking basic and tedious qustions.
</span></p>
<p class="MsoNormal"><span lang="EN-US">I really appreciate of your help.</span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards.</span></p>
<p class="MsoNormal"><span lang="EN-US">Heecheol Yang.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"굴림",sans-serif"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="border:none;padding:0cm"><b>보낸 사람<span lang="EN-US">:
</span></b><span lang="EN-US"><a href="mailto:boram1288.park@samsung.com">Boram Park</a><br>
</span><b>보낸 날짜<span lang="EN-US">: </span></b><span lang="EN-US">2017</span>년<span lang="EN-US"> 12</span>월<span lang="EN-US"> 18</span>일 월요일 오후<span lang="EN-US"> 4:08<br>
</span><b>받는 사람<span lang="EN-US">: </span></b><span lang="EN-US"><a href="mailto:dev@lists.tizen.org">dev@lists.tizen.org</a><br>
</span><b>제목<span lang="EN-US">: </span></b><span lang="EN-US">Re: [Dev] References images that contains libtbm-dumb and libtdm-drm</span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"굴림",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal" align="left" style="margin-bottom:12.0pt;text-align:left;text-autospace:ideograph-numeric ideograph-other;word-break:keep-all">
<span lang="EN-US">It seems libtbm-dumb and libtdm-drm should work fine as you said.<br>
But, sometimes we face the unexpected problem when testing new target device.<br>
Could you check if any TBM or TDM error logs are in your board? you can check them with "dlogutil TBM" and "dlogutil TDM".</span><span lang="EN-US"><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">On 2017</span>년<span lang="EN-US"> 12</span>월<span lang="EN-US"> 18</span>일<span lang="EN-US"> 13:06, Hee-cheol Yang wrote:<o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Hello, thank you very much for your mail.</span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">I am using beaglebone black singleboard computer, which is based on TI's AM335x SOC. </span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">This board supports Linux mainline kernel wirh board-specific patches and my kernel version is mainline 4.4</span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">When I read your wiki section, I thought that I don't need to port the backends because the libtbm-dumb and libtdm-drm are for the modules to support the platforms which provieds standard drm interfaces like my board.</span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Anyway, thanks a lot your help and I will check whether ENABLE_PP is set or not in my kernel.</span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Best regards.</span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Heecheol Yang</span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div id="x_composer_signature">
<div>
<p class="MsoNormal"><span style="color:#575757">삼성 갤럭시 스마트폰에서 보냈습니다<span lang="EN-US">.<o:p></o:p></span></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">-------- </span>원본 이메일<span lang="EN-US"> --------</span></p>
</div>
<div>
<p class="MsoNormal">보낸 사람<span lang="EN-US">: Inki Dae <a href="mailto:inki.dae@samsung.com">
<inki.dae@samsung.com></a> </span></p>
</div>
<div>
<p class="MsoNormal">날짜<span lang="EN-US">: 17/12/18 </span>오전<span lang="EN-US"> 10:08 (GMT+09:00)
</span></p>
</div>
<div>
<p class="MsoNormal">받은 사람<span lang="EN-US">: <a href="mailto:myungjoo.ham@samsung.com">
myungjoo.ham@samsung.com</a>, Hee-cheol Yang <a href="mailto:heecheol.yang@outlook.com">
<heecheol.yang@outlook.com></a>, <a href="mailto:dev@lists.tizen.org">dev@lists.tizen.org</a>
</span></p>
</div>
<div>
<p class="MsoNormal">제목<span lang="EN-US">: Re: [Dev]  References images that contains libtbm-dumb and libtdm-drm
</span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Hi Hee-cheol,<br>
<br>
2017</span><span style="font-size:11.0pt">년<span lang="EN-US"> 12</span>월<span lang="EN-US"> 18</span>일<span lang="EN-US"> 09:35</span>에<span lang="EN-US"> MyungJoo Ham
</span>이<span lang="EN-US">(</span>가<span lang="EN-US">) </span>쓴 글<span lang="EN-US">:<br>
>> Hello,first of all, thank you for all your kind advices. <br>
>><br>
>> I disabled suspend feature first, and my board doesn't get freeze. I will find what make it get freeze later.<br>
>><br>
>> Anyway, now I am struggling to enable the Tizen UI on my HDMI Monitor. It seems that I need to port libtbm and libtdm backends because my reference image is built  with exynos backends.
<br>
>><br>
>> As my CPU supports DRM, I am trying to replace them with libtbm-dumb and libtdm-drm. But it is hard to find reference images because most images in download.tizen.org uses its own backends  for the SOC that they are running upon.<br>
>><br>
>> So could you tell me if is there any reference board or sample image that runs upon drm?<br>
<br>
TBM and TDM backend are Tizen HAL modules dependent on Hardware and its kernel. So you would need to implement these HALs - TBM and TDM backends. You can refer to below porting guide.<br>
<a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.tizen.org%2FTizen_3.0_Porting_Guide&data=02%7C01%7C%7Ce93a83180cee4b804b2208d545b3dc0c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636491561144249374&sdata=Qms2ux91lq%2FbIs4YYQ3Pev4F%2FIyN5%2BY4yaEYmypSh4A%3D&reserved=0">https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.tizen.org%2FTizen_3.0_Porting_Guide&data=02%7C01%7C%7Ce93a83180cee4b804b2208d545b3dc0c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636491561144249374&sdata=Qms2ux91lq%2FbIs4YYQ3Pev4F%2FIyN5%2BY4yaEYmypSh4A%3D&reserved=0</a><br>
<br>
If your board uses mainline kernel which never include in-house code then you could use libtbm-dump and even libtdm-drm(by disabling ENABLE_PP config) packages below by installing them on your target.<br>
<a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdownload.tizen.org%2Freleases%2Fmilestone%2Ftizen%2F4.0.m1%2Ftizen-unified_20170529.1%2Frepos%2Fstandard%2Fpackages%2Farmv7l%2F&data=02%7C01%7C%7Ce93a83180cee4b804b2208d545b3dc0c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636491561144249374&sdata=P%2F5eu6jc5SdyiuFRKp9YwD0Fui4DV4s%2FsT3hTDWE6TQ%3D&reserved=0">https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdownload.tizen.org%2Freleases%2Fmilestone%2Ftizen%2F4.0.m1%2Ftizen-unified_20170529.1%2Frepos%2Fstandard%2Fpackages%2Farmv7l%2F&data=02%7C01%7C%7Ce93a83180cee4b804b2208d545b3dc0c%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636491561144249374&sdata=P%2F5eu6jc5SdyiuFRKp9YwD0Fui4DV4s%2FsT3hTDWE6TQ%3D&reserved=0</a><br>
<br>
What hardware and Linux kernels are you using? If you give me more details about your env. then I may give you more advices.<br>
<br>
Thanks,<br>
Inki Dae<br>
<br>
>><br>
>> Best regards <br>
>> Heecheol Yang<br>
> <br>
> I guess that any Exynos-based and x86/x64-based references would be using DRM. There would be Non-Exynos ARM boards that use DRM as well, but I cannot be sure which supports DRM.<br>
> <br>
> CC: Inki Dae: could you please give him some hints on this matter? I'm not that well-aware of display-related technologies or recent Tizen changes.<br>
> <br>
> <br>
> Cheers,<br>
> MyungJoo<br>
> <br>
> <o:p></o:p></span></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><br>
<br>
<br>
</span><span lang="EN-US" style="font-size:12.0pt"><o:p></o:p></span></p>
<pre><span lang="EN-US">_______________________________________________</span></pre>
<pre><span lang="EN-US">Dev mailing list</span></pre>
<pre><span lang="EN-US"><a href="mailto:Dev@lists.tizen.org">Dev@lists.tizen.org</a></span></pre>
<pre><span lang="EN-US"><a href="https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.tizen.org%2Flistinfo%2Fdev&data=02%7C01%7C%7C42e22816d07940a69fea08d545e631d3%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636491777333982715&sdata=sHbT3HULyGAC7%2BTJ8bbeUEIg0Mt%2BTKHowUtsjQLFEzM%3D&reserved=0">https://lists.tizen.org/listinfo/dev</a></span></pre>
</blockquote>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:12.0pt;font-family:"굴림",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
</body>
</html>