Re: Cannot start afm-user-daemon.service

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

 



On Tue, 25 Dec 2018 05:21:58 +0000
"Clive Xu (Arm Technology China)" <Clive.Xu@xxxxxxx> wrote:

> 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

Hi Clive

It may be related to the setting of XDG_RUNTIME_DIR. Have you
tried /run/platform/display ?

Best regards
José Bollo

> - 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:
>  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.

_______________________________________________
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