Re: Flounder demo

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

 




Weston log shows 

[21:15:27.164] Loading module '/usr/lib/weston/systemd-notify.so'
[21:15:27.372] set mode failed: Invalid argument


From: automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx <automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx> on behalf of Marc Murphy <marc.murphy@xxxxxxxxxxxxxx>
Sent: 10 October 2018 14:50:26
To: José Bollo
Cc: automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Flounder demo
 


Looks like weston is started:


[[0;1;32m●[[0m weston.service - Weston Wayland Compositor
   Loaded: loaded (/lib/systemd/system/weston.service; enabled; vendor preset: enabled)
   Active: [[0;1;32mactive (running)[[0m since Mon 2018-10-08 21:15:27 UTC; 37s ago
 Main PID: 309 (weston)
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/weston.service
           ├─309 /usr/bin/weston --idle-time=0 --tty=1 --log=/run/platform/display/weston.log
           └─353 /usr/libexec/weston-keyboard

Oct 08 21:15:25 beaglebone systemd[1]: Starting Weston Wayland Compositor...
Oct 08 21:15:27 beaglebone systemd[1]: Started Weston Wayland Compositor.



From: José Bollo <jose.bollo@xxxxxxx>
Sent: 10 October 2018 14:34:49
To: Marc Murphy
Cc: automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Flounder demo
 
On Wed, 10 Oct 2018 12:10:16 +0000
Marc Murphy <marc.murphy@xxxxxxxxxxxxxx> wrote:

> Hi Jose,
>
>
> Thanks for the systemctl output very helpful.  I get no output from
> the status query.
>
>
> I thought I should get the UI on the HDMI output or is it listening
> for a remote connection ?

Yes you should get a UI on HDMI. Why it doesn't work for you I don't
know. Look at weston status. Tune if needed the files in /etc/xdg/weston
But I'm not expert neither of UI part nor of Beagle Bone, so I can not
help much.

try
 $ systemctl status *weston*


Best regards
José
 
> If there is no network adaptor active will it still come up.
>
>
> I had to disable the MOST service as I have no MOST onboard.
>
>
> Kind Regards
>
> Marc
>
>
>
>
> ________________________________
> From: automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx
> <automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx> on behalf
> of José Bollo <jose.bollo@xxxxxxx> Sent: 10 October 2018 12:41:45 To:
> automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx Subject: Re:
> Flounder demo
>
> On Tue, 9 Oct 2018 21:33:53 +0000
> Marc Murphy <marc.murphy@xxxxxxxxxxxxxx> wrote:
>
> > Ok now I have the system booting to a login prompt.
> >
> > The mmcblkp1 issue was a dodgy line in fstab... currently commented
> > out as not needed.
> >
> > Now the question is how to get the app up and running? 
>
> Hi Marc,
>
> The log is correct. The audit message are reminder to "work in
> progress" issues. So you should see on the screen what is called the
> "homescreen". It is what is used to start applications.
>
> If you don't see the homescreen you have to check what's wrong. You
> should start by issuing the following command and check for reported
> errors.
>
>  $ systemctl status *homescreen* *window*
>
> I attached the output for my running system.
>
> Best regards
> José Bollo
>
>
> > Bootlog now looks like;
> > [   18.322913] Bluetooth: SCO socket layer initialized
> > [   18.376561] usbcore: registered new interface driver btusb
> > [   18.384646] Bluetooth: hci0: rtl: examining hci_ver=06
> > hci_rev=000b lmp_ver=06 lmp_subver=8723 [   18.393506] Bluetooth:
> > hci0: rtl: loading rtl_bt/rtl8723b_config.bin [   18.400053]
> > bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin
> > failed with error -2 [   18.411864] Bluetooth: hci0: Failed to load
> > rtl_bt/rtl8723b_config.bin [   18.419071] Bluetooth: hci0: rtl:
> > loading rtl_bt/rtl8723b_fw.bin [   18.425239] bluetooth hci0: Direct
> > firmware load for rtl_bt/rtl8723b_fw.bin failed with error -2
> > [   18.434097] Bluetooth: hci0: Failed to load
> > rtl_bt/rtl8723b_fw.bin [  OK  ] Listening on Load/Save RF Kill
> > Switch Status /dev/rfkill Watch. [  OK  ] Reached target Sockets.
> > [  OK  ] Reached target Basic System. Starting neard service...
> > Starting Save/Restore Sound Card State... Starting Modem Manager...
> >          Starting Telephony service...
> > [  OK  ] Started D-Bus System Message Bus.
> > [   20.410229] nfc: nfc_init: NFC Core ver 0.1
> > [   20.431933] NET: Registered protocol family 39
> > [  OK  ] Started neard service.
> > [  OK  ] Started Telephony service.
> >          Starting Connection service...
> > [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
> > [   20.620554] random: crng init done
> >          Starting Start the security manager...
> >          Starting Driver configuration for Unicens2...
> >          Starting Initiate afm-system-setup...
> > [  OK  ] Started System Logging Service.
> >          Starting Login Service...
> >          Starting Terminate Psplash Boot Screen...
> > [  OK  ] Started Kernel Logging Service.
> >          Starting Bluetooth service...
> > [  OK  ] Reached target Containers.
> >          Starting Disk Manager (legacy version)...
> >          Starting Avahi mDNS/DNS-SD Stack...
> > [  OK  ] Reached target cynara sockets.
> >          Starting Cynara service...
> > [  OK  ] Started Network Service.
> > [  OK  ] Started Start the security manager.
> > [  OK  ] Started Save/Restore Sound Card State.
> > [FAILED] Failed to start Driver configuration for Unicens2.
> > See 'systemctl status unicens-config.service' for details.
> > [  OK  ] Started Terminate Psplash Boot Screen.
> > [   21.627164] net eth0: initializing cpsw version 1.12 (0)
> > [   21.695256] cpsw 4a100000.ethernet: initialized cpsw ale version
> > 1.4 [   21.701658] cpsw 4a100000.ethernet: ALE Table size 1024
> > [   21.714221] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
> > [   21.714227] Bluetooth: BNEP filters: protocol multicast
> > [   21.714249] Bluetooth: BNEP socket layer initialized
> > [  OK  ] Started Connection service.
> > [  OK  ] Started Cynara service.
> > [   21.963003] Atheros 8035 ethernet 4a101000.mdio:00: attached PHY
> > driver [Atheros 8035 ethernet] (mii_bus:phy_addr=4a101000.mdio:00,
> > irq=-1) [   21.995379] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not
> > ready [  OK  ] Started Bluetooth service. [  OK  ] Started Avahi
> > mDNS/DNS-SD Stack. [  OK  ] Started Disk Manager (legacy version).
> > [  OK  ] Started Login Service.
> > [  OK  ] Started Automount Disk Manager.
> > [  OK  ] Reached target Bluetooth.
> > [  OK  ] Started Bluetooth Audio ALSA Backend.
> >          Starting Hostname Service...
> >          Starting WPA supplicant...
> >          Starting Authorization Manager...
> >          Starting Load/Save RF Kill Switch Status...
> > [  OK  ] Reached target Sound Card.
> > [  OK  ] Started Initiate afm-system-setup.
> >          Starting Weston Wayland Compositor...
> > [  OK  ] Started Application Framework Master, system side.
> > [  OK  ] Started Load/Save RF Kill Switch Status.
> > [  OK  ] Started WPA supplicant.
> > [  OK  ] Reached target Network.
> >          Starting Permit User Sessions...
> >          Starting Berkeley Internet Name Domain (DNS)...
> > [  OK  ] Started Hostname Service.
> > [  OK  ] Started Permit User Sessions.
> > [  OK  ] Started Serial Getty on ttyS0.
> > [  OK  ] Reached target Login Prompts.
> > [  OK  ] Started Initiate afm-user-session 0.
> > [   23.816423] audit: type=1006 audit(1539033327.180:2): pid=434
> > uid=0 subj=System old-auid=4294967295 auid=0 tty=(none)
> > old-ses=4294967295 ses=1 res=1 [  OK  ] Started Authorization
> > Manager. [  OK  ] Created slice User Slice of root. Starting User
> > Manager for UID 0... [  OK  ] Started Session 1 of user root.
> > [   24.722806] audit: type=1006 audit(1539033328.090:3): pid=445
> > uid=0 subj=System old-auid=4294967295 auid=0 tty=(none)
> > old-ses=4294967295 ses=2 res=1 [   24.849378] audit: type=1400
> > audit(1539033328.210:4): lsm=SMACK fn=smack_key_permission
> > action="" subject="System" object="_" requested=w pid=445
> > comm="(systemd)" key_serial=450447809
> > key_desc="_uid.0" [   24.920244] audit: type=1400
> > audit(1539033328.280:5): lsm=SMACK fn=smack_inode_permission
> > action="" subject="System" object="_" requested=w pid=437
> > comm="named" name="bind" dev="mmcblk0p2" ino=27178 [   24.920326]
> > audit: type=1300 audit(1539033328.280:5): arch=40000028 syscall=33
> > per=800000 success=no exit=-13 a0=48dfdc a1=2 a2=558f2b00
> > a3=558f2b00 items=0 ppid=432 pid=437 auid=4294967295 uid=987
> > gid=987 euid=987 suid=987 fsuid=987 egid=987 sgid=987 fsgid=987
> > tty=(none) ses=4294967295 comm="named" exe="/usr/sbin/named"
> > subj=System key=(null) [   24.920384] audit: type=1327
> > audit(1539033328.280:5):
> > proctitle=2F7573722F7362696E2F6E616D6564002D750062696E64 [  OK  ]
> > Started Modem Manager. [   25.477327] audit: type=1300
> > audit(1539033328.210:4): arch=40000028 syscall=311 per=800000
> > success=no exit=-13 a0=8 a1=fffffffc a2=fffffffd a3=0 items=0
> > ppid=1 pid=445 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0
> > sgid=0 fsgid=0 tty=(none) ses=2 comm="(systemd)"
> > exe="/lib/systemd/systemd" subj=System key=(null) [  OK  ] Started
> > Weston Wayland Compositor. [   25.698196] audit: type=1327
> > audit(1539033328.210:4): proctitle="(systemd)" [  OK  ] Started
> > Berkeley Internet Name Domain (DNS). [  OK  ] Reached target Host
> > and Network Name Lookups. [  OK  ] Reached target Multi-User
> > System. Starting Update UTMP about System Runlevel Changes...
> > [   26.163550] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full
> > - flow control rx/tx [   26.171500] IPv6: ADDRCONF(NETDEV_CHANGE):
> > eth0: link becomes ready [  OK  ] Started Update UTMP about System
> > Runlevel Changes. [   26.353379] 8021q: 802.1Q VLAN Support v1.8
> > [   26.380143] 8021q: adding VLAN 0 to HW filter on device eth0
> >
> > Automotive Grade Linux 6.0.0 beaglebone ttyS0
> >
> >
> > Thanks
> > Marc
> >
> >
> > From: automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx
> > [mailto:automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx] On
> > Behalf Of Marc Murphy Sent: 09 October 2018 10:40 To:
> > automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx Subject:
> > Flounder demo
> >
> > Hello All
> > I have managed to get a build of Flounder booting on our BBE board
> > (based on a beaglebone black) and would like to know if there are
> > any setup requirements to get the demo application to launch.
> >
> > On boot most services seem to start, we get the psplash screen and
> > some messages scrolling on the progress bar.  Watson application
> > doesn't seem to be started.  Is there a filesystem or hardware
> > requirement for it to start?
> >
> > Last part of the boot log causes the system to go into recovery
> > mode;
> >
> > [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill
> > Watch. Starting Load/Save RF Kill Switch Status...
> > [  OK  ] Started Load/Save RF Kill Switch Status.
> > [***   ] A start job is running for dev-mmcblkp1.device (33s / 1min
> > 30s)[   37.322585] random: crng init done [ TIME ] Timed out waiting
> > for device dev-mmcblkp1.device. [DEPEND] Dependency failed
> > for /boot. [DEPEND] Dependency failed for Local File Systems.
> > [  OK  ] Closed Syslog Socket.
> > [  OK  ] Reached target Login Prompts.
> >          Starting Network Service...
> > [  OK  ] Reached target Host and Network Name Lookups.
> > [  OK  ] Reached target Bluetooth.
> > [  OK  ] Reached target Sound Card.
> > [  OK  ] Reached target cynara sockets.
> > [  OK  ] Reached target Sockets.
> >          Starting Rebuild Journal Catalog...
> >          Starting Rebuild Dynamic Linker Cache...
> > [  OK  ] Started Emergency Shell.
> >          Starting Create Volatile Files and Directories...
> > [  OK  ] Reached target Emergency Mode.
> > [  OK  ] Reached target Timers.
> > [  OK  ] Started Network Service.
> > [  OK  ] Started Rebuild Journal Catalog.
> > [  OK  ] Reached target Network.
> > [  OK  ] Started Create Volatile Files and Directories.
> >          Starting Update UTMP about System Boot/Shutdown...
> > [  OK  ] Started Rebuild Dynamic Linker Cache.
> > [  OK  ] Started Update UTMP about System Boot/Shutdown.
> >          Starting Update UTMP about System Runlevel Changes...
> >          Starting Update is Completed...
> > [  OK  ] Started Update is Completed.
> > [  OK  ] Started Update UTMP about System Runlevel Changes.
> > You are in emergency mode. After logging in, type "journalctl -xb"
> > to view system logs, "systemctl reboot" to reboot, "systemctl
> > default" or ^D to boot into default mode.
> > Press Enter for maintenance
> > (or press Control-D to continue):
> >
> >
> > Wondering why it would be waiting for dev-mmcblkp1.device. and what
> > is supposed to be on it ?
> >
> > Kind Regards
> > Marc 
>

beaglebone:~# cat /run/platform/display/weston.log
Date: 2018-10-08 UTC
[21:15:25.669] weston 2.0.0
               http://wayland.freedesktop.org
               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0
               Build: 1.99.94-2-g4c4f13d configure.ac: bump to version 2.0.0 for the official release (2017-02-24 16:19:03 -0800)
[21:15:25.670] Command line: /usr/bin/weston --idle-time=0 --tty=1 --log=/run/platform/display/weston.log
[21:15:25.684] OS: Linux, 4.9.69-g89d085d1a4, #1 PREEMPT Mon Oct 8 22:29:46 UTC 2018, armv7l
[21:15:25.684] warning: XDG_RUNTIME_DIR "/run/platform/display" is not configured
correctly.  Unix access mode must be 0700 (current mode is 770),
and must be owned by the user (current owner is UID 200).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[21:15:25.696] Using config file '/etc/xdg/weston/weston.ini'
[21:15:25.718] Output repaint window is 7 ms maximum.
[21:15:25.731] Loading module '/usr/lib/libweston-2/drm-backend.so'
[21:15:25.745] initializing drm backend
[21:15:25.824] logind: not running in a systemd session
[21:15:25.824] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[21:15:25.858] using /dev/dri/card0
[21:15:25.884] Loading module '/usr/lib/libweston-2/gl-renderer.so'
[21:15:26.068] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[21:15:26.229] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[21:15:26.230] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected.
[21:15:26.230] Retrieving EGL client extension string failed.
[21:15:26.230] EGL_KHR_surfaceless_context available
[21:15:26.323] EGL version: 1.4 build 1.14@3699939 (MAIN)
[21:15:26.323] EGL vendor: Imagination Technologies
[21:15:26.323] EGL client APIs: OpenGL_ES
[21:15:26.323] EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image
               EGL_KHR_image_base EGL_KHR_gl_texture_2D_image
               EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
               EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync
               EGL_IMG_context_priority EGL_IMG_hibernate_process
               EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context
               EGL_KHR_wait_sync EGL_KHR_create_context
               EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
[21:15:26.323] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
[21:15:26.323] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
[21:15:26.323] GL vendor: Imagination Technologies
[21:15:26.324] GL renderer: PowerVR SGX 530
[21:15:26.324] GL extensions: GL_OES_rgb8_rgba8 GL_OES_depth24
               GL_OES_vertex_half_float GL_OES_texture_float
               GL_OES_texture_half_float GL_OES_element_index_uint
               GL_OES_mapbuffer GL_OES_fragment_precision_high
               GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image
               GL_OES_EGL_image_external GL_OES_required_internalformat
               GL_OES_depth_texture GL_OES_get_program_binary
               GL_OES_packed_depth_stencil GL_OES_standard_derivatives
               GL_OES_vertex_array_object GL_OES_egl_sync
               GL_OES_surfaceless_context GL_EXT_discard_framebuffer
               GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
               GL_EXT_multisampled_render_to_texture GL_EXT_shader_texture_lod
               GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg
               GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc
               GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888
               GL_IMG_read_format GL_IMG_program_binary
               GL_IMG_uniform_buffer_object
               GL_IMG_multisampled_render_to_texture GL_KHR_debug
[21:15:26.324] GL ES 2 renderer features:
               read-back format: RGBA
               wl_shm sub-image to texture: no
               EGL Wayland extension: yes
[21:15:26.364] warning: no input devices found, but none required as per configuration.
[21:15:26.460] Registered plugin API 'weston_drm_output_api_v1' of size 12
[21:15:26.731] Chosen EGL config details:
               RGBA bits: 8 8 8 8
               swap interval range: 1 - 1
[21:15:26.924] cursor buffers unavailable, using gl cursors
[21:15:26.924] Failed to initialize backlight
[21:15:26.925] EDID data 'DEL', 'DELL P2217H', '0G2TG7AH0F8B'
[21:15:26.925] Output HDMI-A-1, (connector 26, crtc 24)
               mode 1280x1024@60.0, current
               mode 1152x864@75.0
               mode 1280x720@60.0
               mode 1280x720@59.9
               mode 1280x720@50.0
               mode 1024x768@75.0
               mode 1024x768@60.0
               mode 800x600@75.0
               mode 800x600@60.3
               mode 720x576@50.0
               mode 720x576@50.0
               mode 720x480@60.0
               mode 720x480@59.9
               mode 720x480@60.0
               mode 720x480@59.9
               mode 640x480@75.0
               mode 640x480@60.0
               mode 640x480@59.9
               mode 720x400@70.1
[21:15:27.015] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               presentation clock: CLOCK_MONOTONIC, id 1
               presentation clock resolution: 0.000000001 s
[21:15:27.037] Loading module '/usr/lib/weston/ivi-shell.so'
[21:15:27.062] launching '/usr/libexec/weston-keyboard'
[21:15:27.100] Loading module '/usr/lib/weston/ivi-controller.so'
[21:15:27.126] Loading module '/usr/lib/weston/ivi-input-controller.so'
[21:15:27.137] ivi-input-controller module loaded successfully!
[21:15:27.158] Loading module '/usr/lib/weston/simple-id-agent.so'
[21:15:27.159] id_agent_module_init: success
[21:15:27.164] Loading module '/usr/lib/weston/systemd-notify.so'
[21:15:27.372] set mode failed: Invalid argument
_______________________________________________
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