Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nvpower and nvpmodel startup fixes #1294

Merged
merged 2 commits into from
Jul 15, 2023
Merged

Commits on Jul 15, 2023

  1. tegra-nvpower: fix nvpower.service to run only once during boot

    The service unit file was not setting RemainAfterExit, leading
    to multiple executions of the setup script during boot, with
    subsequent executions generating errors.
    
    Signed-off-by: Matt Madison <matt@madison.systems>
    madisongh committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    47e89fe View commit details
    Browse the repository at this point in the history
  2. tegra-nvpmodel: update nvpmodel.service unit file

    * Fix the service type to be oneshot, with RemainAfterExit
      set to true.  Trying to execute nvpmodel multiple times
      leads to spurious failures.
    
    * Add a dependency on nvpower.service, following how Jetson
      Linux does. Evidently the nvpower script now performs some
      setup the nvpmodel needs, which wasn't true in older L4T
      versions.
    
    Signed-off-by: Matt Madison <matt@madison.systems>
    madisongh committed Jul 15, 2023
    Configuration menu
    Copy the full SHA
    c2845de View commit details
    Browse the repository at this point in the history