eclipse-leda / meta-leda

Yocto / OpenEmbedded Meta-Layers for Eclipse SDV components
https://eclipse-leda.github.io/leda/
Apache License 2.0
8 stars 9 forks source link

Setup poky core-image-minimal + sdv-core image kas config #123

Closed vasilvas99 closed 1 year ago

vasilvas99 commented 1 year ago

Kas-config

  1. Directly include .config-components as a base (this would lead to all package groups being built, but only core is included in the image, e.g. no kantui)
  2. IMAGE_INSTALL packagegroup-sdv-core
  3. Set distro as poky and target as core-image minimal
  4. Use qemux86-64 as initial target machine

Results:

Leda utils output

root@qemux86-64:/opt/containerd/bin# sdv-motd
 _          _       
| | ___  __| | __ _ 
| |/ _ \/ _` |/ _` |
| |  __/ (_| | (_| |
|_|\___|\__,_|\__,_|
Poky (Yocto Project Reference Distro) 4.0.7 \n \l (GNU/Linux 5.15.87-yocto-standard x86_64)
ip: can't find device 'eth0 '

 Hostname......: qemux86-64
 Uptime........: 0 days, 0:3 hours
 Ø System load.: 0.08 (1min)    | 0.07 (5min)   | 0.02 (15min)
 Disk Space....: Root: 304.9M   | Used: 251.8M  | Free: 32.3M
                 Data:          | Used:         | Free: 
 RAM ..........: Total: 223.9M  | Used: 81.0M   | Free: 16.3M
 Network.......: Interface : eth0 
                 IP Address: 
 Containers....: 0 running      | 0 stopped     | 0 exited

To check SDV services health, run $ sdv-health
Use $ sdv-device-info to display device configuration
Use $ sdv-provision to generate self-signed device certificates

/usr/bin/sdv-motd: line 99: systemctl: not found
Warning:  Container Management is not yet up and running.
root@qemux86-64:~# sdv-health
[SDV Info]
  * OS Release:             : 
  * Image Version:          : Poky (Yocto Project Reference Distro) 4.0.7 \n \l
  * Build Time:             : 20180309123456
-----------------------------------------------------------
[CAN Status]
  * can0                    : FAILED!    (can0 not found)
-----------------------------------------------------------
[SDV Ports]
  * OpenSSH                 : FAILED!    Port 22 not open!
  * Kanto CM                : FAILED!    Socket /run/container-management/container-management.sock not open!
  * Mosquitto Server        : FAILED!    Port 1883 not open!
-----------------------------------------------------------
[SDV Services]
  * containerd              : FAILED!    (/usr/bin/sdv-health: line 97: systemctl: not found)
  * rauc                    : FAILED!    (/usr/bin/sdv-health: line 97: systemctl: not found)
  * container-management    : FAILED!    (/usr/bin/sdv-health: line 97: systemctl: not found)
[SDV Optional Services]
  * sshd.socket             : N/A        (/usr/bin/sdv-health: line 97: systemctl: not found)
  * systemd-networkd        : N/A        (/usr/bin/sdv-health: line 97: systemctl: not found)
  * systemd-timesyncd       : N/A        (/usr/bin/sdv-health: line 97: systemctl: not found)
/usr/bin/sdv-health: line 428: systemctl: not found
-----------------------------------------------------------
[Kanto CM Containers]
  * Kanto Container Management               : FAILED! (Unavailable)
-----------------------------------------------------------
[Kanto CM Containers (OPTIONAL)]
  * Kanto Container Management               : FAILED! (Unavailable)
-----------------------------------------------------------
[SDV Connectivity]
  * Ping [Internet]         : FAILED!    (error: 1)      (ping 1.1.1.1)
/usr/bin/sdv-health: line 446: resolvectl: not found
  * DNS Lookup [Internet]   : OK         ()
/usr/bin/sdv-health: line 203: mosquitto_sub: not found
  * Cloud Connector         : FAILED!
/usr/bin/sdv-health: line 227: mosquitto_rr: not found
  * Device ID:              : FAILED!    (127)
-----------------------------------------------------------