Re: Cannot start afm-user-daemon.service

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Jan-Simon, Jose, Phong,

Thanks very much for your suggestions, it really helps.
I have tried to use meta-96boards and its patch to setup the AGL, it tooks some time to fix weston build errors and some DRM issues.

Now, the weston can be started manually and displayed with following command
- mkdir -p /tmp/wayland && chmod 0700 /tmp/wayland
- XDG_RUNTIME_DIR=/tmp/wayland LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/0/yocto_mali_libs/server:/usr/lib:/usr/local/lib" weston --tty=1 --backend=drm-backend.so --idle-time=0

*afm-util list* can show a lot of runnable widgets now, attached the list.

I can start the widgets manually using following command:
- systemctl restart  run-agl-postinsts.service
- afm-util start homescreen@0.1
- afm-util run launcher@0.1

*afm-util ps* shows nothing, but this command also shows nothing on *qemux86-64* which display the the AGL homescreen correctly.
*ps -ef* shows afbd-homescreen-service, afbd-launcher and some other afbd services have started, attached the log of *ps -ef", but the widgets are not displayed on the screen, the journalctl log attached.

Is there something wrong with my steps? Really appreciate your suggestions.

Thanks & Brs,
Clive

-----Original Message-----
From: automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx [mailto:automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jan-Simon Moeller
Sent: 2018年12月18日 2:40
To: José Bollo <jose.bollo@xxxxxxx>
Cc: AGL ml <automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [agl-discussions] Cannot start afm-user-daemon.service

Hi Clive!

You might want to look at the dragoboard 410/820 support that is in the tree and do likewise.
Best,
Jan-Simon

On Mon, Dec 17, 2018 at 1:11 PM José Bollo <jose.bollo@xxxxxxx> wrote:
>
> Hi Clive,
>
> In the journal I can read:
>
>   [   0.038955] Security Framework initialized
>   [   0.043134] SELinux:  Initializing.
>   [   0.046731] SELinux:  Starting in permissive mode
>
> AGL runs Smack LSM, not SELinux.
>
> Could you check how other BSP are made [1]?
>
> AGL use a setup script [2]. It allows to tune features.
>
> There is also a troubleshooting section there [3]
>
> Best regrds
> José Bollo
>
>
> [1]
> https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl.git;a=
> tree;f=meta-agl-bsp;h=a4948f62d2d65ed9e228bd5a2050cf71980c5136;hb=refs
> /heads/master
>
> [2]
> https://docs.automotivelinux.org/docs/getting_started/en/dev/reference
> /source-code.html#set-up-build-environment-info
>
> [3]
> https://docs.automotivelinux.org/docs/getting_started/en/dev/reference
> /troubleshooting.html _______________________________________________
> automotive-discussions mailing list
> automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
> https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussi
> ons
_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Attachment: journalctl.log
Description: journalctl.log

[
  {
    "description":"This is a demo dashboard application",
    "name":"Dashboard",
    "shortname":"",
    "id":"dashboard@0.1",
    "version":"0.1",
    "author":"Qt",
    "author-email":"",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/dashboard\/0.1\/icon.svg",
    "http-port":31056
  },
  {
    "description":"POI App",
    "name":"POI",
    "shortname":"",
    "id":"poi@0.1",
    "version":"0.1",
    "author":"AISIN AW",
    "author-email":"",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/poi\/0.1\/icon.png",
    "http-port":31065
  },
  {
    "description":"NAVIGATION App",
    "name":"Navigation",
    "shortname":"",
    "id":"navigation@0.1",
    "version":"0.1",
    "author":"AISIN AW",
    "author-email":"",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/navigation\/0.1\/navigation.png",
    "http-port":31063
  },
  {
    "description":"AGL Default Mixer",
    "name":"mixer",
    "shortname":"",
    "id":"mixer@5.99",
    "version":"5.99.4-04990a8",
    "author":"\n \tLoïc Collignon <loic.collignon@xxxxxxx>\n \tMatt Porter <mporter@xxxxxxxxxxxx>\n   ",
    "author-email":"info@xxxxxxxxxxxxxxxxxxx",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/mixer\/5.99\/icon.svg",
    "http-port":31000
  },
  {
    "description":"Phone Dialer Application",
    "name":"Phone",
    "shortname":"",
    "id":"phone@0.1",
    "version":"0.1",
    "author":"Qt",
    "author-email":"",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/phone\/0.1\/icon.svg",
    "http-port":31064
  },
  {
    "description":"This is a demo application for homescreen",
    "name":"homescreen",
    "shortname":"",
    "id":"homescreen@0.1",
    "version":"0.1",
    "author":"TOYOTA",
    "author-email":"",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/homescreen\/0.1\/icon.svg",
    "http-port":31058
  },
  {
    "description":"This is the settings application for date & time, wifi and bluetooth",
    "name":"Settings",
    "shortname":"",
    "id":"settings@0.1",
    "version":"0.1",
    "author":"Tasuku Suzuki <tasuku.suzuki@xxxxx>",
    "author-email":"",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/settings\/0.1\/icon.svg",
    "http-port":31067
  },
  {
    "description":"This is a demo application for multimedia",
    "name":"MediaPlayer",
    "shortname":"",
    "id":"mediaplayer@0.1",
    "version":"0.1",
    "author":"Tasuku Suzuki <tasuku.suzuki@xxxxx>",
    "author-email":"",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/mediaplayer\/0.1\/icon.svg",
    "http-port":31062
  },
  {
    "description":"This is a demo Radio application",
    "name":"Radio",
    "shortname":"",
    "id":"radio@0.1",
    "version":"0.1",
    "author":"Qt",
    "author-email":"",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/radio\/0.1\/icon.svg",
    "http-port":31066
  },
  {
    "description":"This is a demo application used to control and dialog with HVAC system",
    "name":"HVAC",
    "shortname":"",
    "id":"hvac@0.1",
    "version":"0.1",
    "author":"Romain Forlot <romain.forlot@xxxxxxx>",
    "author-email":"",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/hvac\/0.1\/icon.svg",
    "http-port":31059
  },
  {
    "description":"A binding meant to provide system, platform, build information for others bindings and apps",
    "name":"agl-service-platform-info",
    "shortname":"",
    "id":"agl-service-platform-info@6.90-8cf9125",
    "version":"6.90-8cf9125",
    "author":"Forlot, Romain <romain.forlot@xxxxxxx>",
    "author-email":"",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/agl-service-platform-info\/6.90-8cf9125\/icon.png",
    "http-port":31019
  },
  {
    "description":"This is a demo application for launcher",
    "name":"launcher",
    "shortname":"",
    "id":"launcher@0.1",
    "version":"0.1",
    "author":"TOYOTA",
    "author-email":"",
    "width":"",
    "height":"",
    "icon":"\/var\/local\/lib\/afm\/applications\/launcher\/0.1\/icon.svg",
    "http-port":31060
  }
]

Attachment: ps.log
Description: ps.log

_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux