Skip to content

Leda hackathon User Interface (TUI and auto-login on Terminal 1)Β #81

@mikehaller

Description

@mikehaller

During hackathons, it would be convenient to have auto-login on terminal 1 and start an SDV-specific user interface.

As we want to minimize the overhead, a full-blown GUI is not necessary, but maybe a small TUI. It should allow you to exit to a shell though. A TUI also has the advantage of no need for mouse.

The use cases for the TUI are:

  • Health: run and display sdv-health infos
  • Network: Scan and connect to wifi, WPA credentials, Set static IP addresses, Enabling or disabling network interfaces, Setting up CAN bus settings, Network and Online tests, Reset CAN-Bus
  • Hardware configuration: Modify config.txt and add/change/remove dtoverlay settings, Changing the CAN-hat configuration
  • Device Provisioning: import certificates from external storage (USB media), Network configuration files, Additional custom user files (eg for hackathon preparations)
  • Containers: Import airgap containers, Import container descriptors, Resetting/pruning containers and redeploy, Clearing container logs > check possible overlaps with kantui
  • Applications: Install pre-defined applications/usecases > See Eclipse SDV Reference Distribution Use Cases for examples.
  • Self Updates: Trigger update from local RAUC bundles or from remote locations
  • System maintenance: fsck (reset RO flag), reboot, shutdown, shell

Additional Notes

  • A functionality to "Reset to factory defaults and reboot" would be great. Unfortunately, we only have the sdv-image-minimal available as a "source" for the reset. So the "reset to factory defaults" would require to download and install the rauc update bundle for sdv-image-full and then perform the reboot into the second partition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions