Rcar Salvator-x build, #automotive #help
Jouni Ukkonen
Hi
I build agl-demo-platform for salvator-x m3 board. System boots up but after splashsreen the homescreen does not show up. dmesg and weston.log txt files are attached. Any idea what goes wrong? still some issues with permissions? Thanks, -- Jouni |
|
Jose Bollo
On Tue, 28 Jan 2020 05:52:08 -0800
"Jouni Ukkonen" <jouni.ukkonen@...> wrote: HiHi Jouni, It can not be said from the logs if it is linked to permissions. The raised signal is 6 = SIGABRT. More verbose messages can be seen in the output of the command 'journalctl'. Probably the abort emitted some data... Best regards. José Bollo Thanks, |
|
Harunobu Kurokawa
Hi Jouni
Could you please attach weston.ini file from /etc/xdg/weston ?
I think VGA-A display is available from your weston.log. So, AGL homescreen set on VGA-1. If you want to show Homescreen HDMI, you should disable VGA-1 using weston.log
Best regards, Kurokawa.
From: agl-dev-community@... <agl-dev-community@...>
On Behalf Of Jouni Ukkonen via Lists.Automotivelinux.Org
Sent: Tuesday, January 28, 2020 10:52 PM To: agl-dev-community@... Subject: [agl-dev-community] Rcar Salvator-x build, #automotive #help
Hi |
|
Jouni Ukkonen
Hi Kurokava
Here is my Weston.ini
[core] shell=ivi-shell.so backend=drm-backend.so require-input=false modules=systemd-notify.so,ivi-controller.so repaint-window=34
# A display is connected to HDMI-A-1 and needs to be rotated 270 degrees # to have a proper orientation of the homescreen. For example the various sizes # of the GeChic display or the Dell display. [output] name=HDMI-A-1 transform=270
[desktop-app-default] default-surface-id=2000000 default-surface-id-max=2001000
[ivi-shell] ivi-input-module=ivi-input-controller.so ivi-id-agent-module=ivi-id-agent.so transition-duration=300 cursor-theme=default
[output] name=HDMI-A-2 mode=off
[output] name=LVDS-1 mode=off
[shell] locking=true panel-position=none
Thanks, -- Jouni
This e-mail may contain confidential or privileged information. If you are not the intended recipient or have received this e-mail in error please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From: agl-dev-community@... [mailto:agl-dev-community@...]
On Behalf Of kurokawa
Sent: tiistai 28. tammikuuta 2020 16.10 To: agl-dev-community@... Subject: Re: [agl-dev-community] Rcar Salvator-x build, #automotive #help
Hi Jouni
Could you please attach weston.ini file from /etc/xdg/weston ?
I think VGA-A display is available from your weston.log. So, AGL homescreen set on VGA-1. If you want to show Homescreen HDMI, you should disable VGA-1 using weston.log
Best regards, Kurokawa.
From:
agl-dev-community@... <agl-dev-community@...>
On Behalf Of Jouni Ukkonen via Lists.Automotivelinux.Org
Hi |
|
Jouni Ukkonen
Here is strace from starting weston:
execve("/usr/bin/weston", ["/usr/bin/weston", "--idle-time=0", "--current-mode", "--tty=1", "--log=/run/platform/display/west"...], 0xffffcbc51410 /* 9 vars */) = 0 brk(NULL) = 0xaaaaec4cd000 faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=46983, ...}) = 0 mmap(NULL, 46983, PROT_READ, MAP_PRIVATE, 3, 0) = 0xffff8f092000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/libweston-6.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\260\355\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=256784, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffff8f090000 mmap(NULL, 320472, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffff8f022000 mprotect(0xffff8f05d000, 61440, PROT_NONE) = 0 mmap(0xffff8f06c000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3a000) = 0xffff8f06c000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/libwayland-server.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\220i\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=80488, ...}) = 0 mmap(NULL, 144336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffff8effe000 mprotect(0xffff8f010000, 61440, PROT_NONE) = 0 mmap(0xffff8f01f000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0xffff8f01f000 close(3) = 0 openat(AT_FDCWD, "/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\240\16\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=14520, ...}) = 0 mmap(NULL, 78072, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffff8efea000 mprotect(0xffff8efed000, 61440, PROT_NONE) = 0 mmap(0xffff8effc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0xffff8effc000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/libinput.so.10", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0@\214\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=236608, ...}) = 0 mmap(NULL, 300216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffff8efa0000 mprotect(0xffff8efd9000, 61440, PROT_NONE) = 0 mmap(0xffff8efe8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x38000) = 0xffff8efe8000 close(3) = 0 openat(AT_FDCWD, "/usr/lib/libevdev.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\240\247\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=108472, ...}) = 0 mmap(NULL, 172080, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffff8ef75000 mprotect(0xffff8ef8a000, 61440, PROT_NONE) = 0 mmap(0xffff8ef99000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0xffff8ef99000 close(3) = 0 openat(AT_FDCWD, "/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0\267\0\1\0\0\0\220c\0\0\0\0\0\0"..., 832) = 832 and "journalctl" Jan 27 06:18:03 salvator-x kernel: Booting Linux on physical CPU 0x0 Jan 27 06:18:03 salvator-x kernel: Linux version 4.14.75-ltsi-yocto-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Mon Jan 27 06:55:50 UTC 2020 Jan 27 06:18:03 salvator-x kernel: Boot CPU: AArch64 Processor [411fd073] Jan 27 06:18:03 salvator-x kernel: Machine model: Renesas Salvator-X 2nd version board based on r8a7796 ES3.0+ with 8GiB (2 x 4 GiB) Jan 27 06:18:03 salvator-x kernel: debug: ignoring loglevel setting. Jan 27 06:18:03 salvator-x kernel: efi: Getting EFI parameters from FDT: Jan 27 06:18:03 salvator-x kernel: efi: UEFI not found. Jan 27 06:18:03 salvator-x kernel: Reserved memory: created CMA memory pool at 0x0000000057000000, size 16 MiB Jan 27 06:18:03 salvator-x kernel: OF: reserved mem: initialized node linux,adsp@57000000, compatible id shared-dma-pool Jan 27 06:18:03 salvator-x kernel: Reserved memory: created CMA memory pool at 0x0000000058000000, size 384 MiB Jan 27 06:18:03 salvator-x kernel: OF: reserved mem: initialized node linux,cma@58000000, compatible id shared-dma-pool Jan 27 06:18:03 salvator-x kernel: Reserved memory: created CMA memory pool at 0x0000000070000000, size 256 MiB Jan 27 06:18:03 salvator-x kernel: OF: reserved mem: initialized node linux,multimedia@70000000, compatible id shared-dma-pool Jan 27 06:18:03 salvator-x kernel: NUMA: No NUMA configuration found Jan 27 06:18:03 salvator-x kernel: NUMA: Faking a node at [mem 0x0000000000000000-0x00000006ffffffff] Jan 27 06:18:03 salvator-x kernel: NUMA: NODE_DATA [mem 0x6fff8ac80-0x6fff8c77f] Jan 27 06:18:03 salvator-x kernel: Zone ranges: Jan 27 06:18:03 salvator-x kernel: DMA [mem 0x0000000048000000-0x00000000ffffffff] Jan 27 06:18:03 salvator-x kernel: Normal [mem 0x0000000100000000-0x00000006ffffffff] Jan 27 06:18:03 salvator-x kernel: Movable zone start for each node Jan 27 06:18:03 salvator-x kernel: Early memory node ranges Jan 27 06:18:03 salvator-x kernel: node 0: [mem 0x0000000048000000-0x0000000053ffffff] Jan 27 06:18:03 salvator-x kernel: node 0: [mem 0x0000000057000000-0x00000000bfffffff] Jan 27 06:18:03 salvator-x kernel: node 0: [mem 0x0000000480000000-0x00000004ffffffff] Jan 27 06:18:03 salvator-x kernel: node 0: [mem 0x0000000600000000-0x00000006ffffffff] Jan 27 06:18:03 salvator-x kernel: Initmem setup node 0 [mem 0x0000000048000000-0x00000006ffffffff] Jan 27 06:18:03 salvator-x kernel: On node 0 totalpages: 2052096 Jan 27 06:18:03 salvator-x kernel: DMA zone: 7488 pages used for memmap Jan 27 06:18:03 salvator-x kernel: DMA zone: 0 pages reserved Jan 27 06:18:03 salvator-x kernel: DMA zone: 479232 pages, LIFO batch:31 Jan 27 06:18:03 salvator-x kernel: Normal zone: 24576 pages used for memmap Jan 27 06:18:03 salvator-x kernel: Normal zone: 1572864 pages, LIFO batch:31 Jan 27 06:18:03 salvator-x kernel: psci: probing for conduit method from DT. Jan 27 06:18:03 salvator-x kernel: psci: PSCIv1.1 detected in firmware. Jan 27 06:18:03 salvator-x kernel: psci: Using standard PSCI v0.2 function IDs Jan 27 06:18:03 salvator-x kernel: psci: Trusted OS resident on physical CPU 0x0 Jan 27 06:18:03 salvator-x kernel: psci: SMC Calling Convention v1.1 Jan 27 06:18:03 salvator-x kernel: percpu: Embedded 24 pages/cpu @ffff8006bfef5000 s57624 r8192 d32488 u98304 Jan 27 06:18:03 salvator-x kernel: pcpu-alloc: s57624 r8192 d32488 u98304 alloc=24*4096 Jan 27 06:18:03 salvator-x kernel: pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 Jan 27 06:18:03 salvator-x kernel: Detected PIPT I-cache on CPU0 Jan 27 06:18:03 salvator-x kernel: Speculative Store Bypass Disable mitigation not required Jan 27 06:18:03 salvator-x kernel: Built 1 zonelists, mobility grouping on. Total pages: 2020032 Jan 27 06:18:03 salvator-x kernel: Policy zone: Normal |
|
Jouni Ukkonen
On Wed, Jan 29, 2020 at 12:56 AM, Jouni Ukkonen wrote:
"/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) .. I did "touch /etc/ld.so.preload", it seems that weston launch progressed much further. New strace log attached. |
|
Harunobu Kurokawa
Hi Jouni
Please add the followings in your weston.ini file.
[output] name=VGA-1 mode=off
Best regards, Kurokawa. From: agl-dev-community@... <agl-dev-community@...>
On Behalf Of Jouni Ukkonen via Lists.Automotivelinux.Org
Sent: Wednesday, January 29, 2020 3:25 PM To: agl-dev-community@... Subject: Re: [agl-dev-community] Rcar Salvator-x build, #automotive #help
Hi Kurokava
Here is my Weston.ini
[core] shell=ivi-shell.so backend=drm-backend.so require-input=false modules=systemd-notify.so,ivi-controller.so repaint-window=34
# A display is connected to HDMI-A-1 and needs to be rotated 270 degrees # to have a proper orientation of the homescreen. For example the various sizes # of the GeChic display or the Dell display. [output] name=HDMI-A-1 transform=270
[desktop-app-default] default-surface-id=2000000 default-surface-id-max=2001000
[ivi-shell] ivi-input-module=ivi-input-controller.so ivi-id-agent-module=ivi-id-agent.so transition-duration=300 cursor-theme=default
[output] name=HDMI-A-2 mode=off
[output] name=LVDS-1 mode=off
[shell] locking=true panel-position=none
Thanks, -- Jouni
This e-mail may contain confidential or privileged information. If you are not the intended recipient or have received this e-mail in error please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From:
agl-dev-community@... [mailto:agl-dev-community@...]
On Behalf Of kurokawa
Hi Jouni
Could you please attach weston.ini file from /etc/xdg/weston ?
I think VGA-A display is available from your weston.log. So, AGL homescreen set on VGA-1. If you want to show Homescreen HDMI, you should disable VGA-1 using weston.log
Best regards, Kurokawa.
From:
agl-dev-community@... <agl-dev-community@...>
On Behalf Of Jouni Ukkonen via Lists.Automotivelinux.Org
Hi |
|
Jouni Ukkonen
Hi
Finally UI is up and running I need to build m3ulcb target and take devicetree from salvator-x build. Salvator-x rootfs image does not contain all kernel modules that are needed. Other changes: Changes to weston.ini: [output] name=VGA-1 mode=off and for /lib/systemd/system/weston.service.d/weston-init.conf: ExecStartPre=+/bin/chmod 700 -R /run/platform/display/ I just do not get it why salvator-x rootfs image does not contain all kernel modules, even they are compiled, but not populated to actual image. |
|