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

Add support for power mode & fan profile boot configs #1792

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

cywang117
Copy link
Contributor

@cywang117 cywang117 commented Oct 16, 2024

The boot configs will apply to devices with Jetpack 6 OS's initially, and require Supervisor v16.10.0 or newer. This may change in the future if we add support for older Jetpack versions.

See: balena-os/balena-supervisor#2379
See: balena-os/balena-jetson-orin#513

Change-type: minor

@cywang117 cywang117 force-pushed the add-power-fan-boot-configs branch from 203a4ff to 2e3f638 Compare October 21, 2024 09:40
description:
'Define the device power mode. Supported by OS with Jetpack 6 or higher.',
examples: ['low', 'mid', 'high'],
will_reboot: true,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, it's surprising to me that changing the power mode requires a reboot...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for reviewing @thgreasi :)

@acostach acostach force-pushed the add-power-fan-boot-configs branch from 2e3f638 to 0cc1b66 Compare October 24, 2024 09:43
cywang117 added a commit to balena-os/balena-supervisor that referenced this pull request Nov 4, 2024
Add `os-power-mode.service` and `os-fan-profile.service` which report status
from applying power mode and fan profile configs as read from config.json.
The Supervisor sets these configs in config.json for these host services
to pick up and apply.

Relates-to: #2379
See: balena-io/open-balena-api#1792
See: balena-os/balena-jetson-orin#513
Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
cywang117 added a commit to balena-os/balena-supervisor that referenced this pull request Nov 6, 2024
Add `os-power-mode.service` and `os-fan-profile.service` which report status
from applying power mode and fan profile configs as read from config.json.
The Supervisor sets these configs in config.json for these host services
to pick up and apply.

Relates-to: #2379
See: balena-io/open-balena-api#1792
See: balena-os/balena-jetson-orin#513
Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
cywang117 added a commit to balena-os/balena-supervisor that referenced this pull request Nov 7, 2024
Add `os-power-mode.service` and `os-fan-profile.service` which report status
from applying power mode and fan profile configs as read from config.json.
The Supervisor sets these configs in config.json for these host services
to pick up and apply.

Relates-to: #2379
See: balena-io/open-balena-api#1792
See: balena-os/balena-jetson-orin#513
Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
cywang117 added a commit to balena-os/balena-supervisor that referenced this pull request Nov 8, 2024
Add `os-power-mode.service` and `os-fan-profile.service` which report status
from applying power mode and fan profile configs as read from config.json.
The Supervisor sets these configs in config.json for these host services
to pick up and apply.

Relates-to: #2379
See: balena-io/open-balena-api#1792
See: balena-os/balena-jetson-orin#513
Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
cywang117 added a commit to balena-os/balena-supervisor that referenced this pull request Nov 11, 2024
Add `os-power-mode.service`, `nvpmodel.service`, and `os-fan-profile.service`
which report status from applying power mode and fan profile configs as read
from config.json. The Supervisor sets these configs in config.json for these
host services to pick up and apply.

Relates-to: #2379
See: balena-io/open-balena-api#1792
See: balena-os/balena-jetson-orin#513
Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
cywang117 added a commit to balena-os/balena-supervisor that referenced this pull request Nov 18, 2024
Add `os-power-mode.service`, `nvpmodel.service`, and `os-fan-profile.service`
which report status from applying power mode and fan profile configs as read
from config.json. The Supervisor sets these configs in config.json for these
host services to pick up and apply.

Relates-to: #2379
See: balena-io/open-balena-api#1792
See: balena-os/balena-jetson-orin#513
Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
cywang117 added a commit to balena-os/balena-supervisor that referenced this pull request Nov 18, 2024
Add `os-power-mode.service`, `nvpmodel.service`, and `os-fan-profile.service`
which report status from applying power mode and fan profile configs as read
from config.json. The Supervisor sets these configs in config.json for these
host services to pick up and apply.

Also add host log streaming from `jetson-qspi-manager.service` as it
will very soon be needed for Jetson Orins.

Relates-to: #2379
See: balena-io/open-balena-api#1792
See: balena-os/balena-jetson-orin#513
Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
cywang117 added a commit to balena-os/balena-supervisor that referenced this pull request Nov 21, 2024
Add `os-power-mode.service`, `nvpmodel.service`, and `os-fan-profile.service`
which report status from applying power mode and fan profile configs as read
from config.json. The Supervisor sets these configs in config.json for these
host services to pick up and apply.

Also add host log streaming from `jetson-qspi-manager.service` as it
will very soon be needed for Jetson Orins.

Relates-to: #2379
See: balena-io/open-balena-api#1792
See: balena-os/balena-jetson-orin#513
Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
cywang117 added a commit to balena-os/balena-supervisor that referenced this pull request Nov 29, 2024
Add `os-power-mode.service`, `nvpmodel.service`, and `os-fan-profile.service`
which report status from applying power mode and fan profile configs as read
from config.json. The Supervisor sets these configs in config.json for these
host services to pick up and apply.

Also add host log streaming from `jetson-qspi-manager.service` as it
will very soon be needed for Jetson Orins.

Relates-to: #2379
See: balena-io/open-balena-api#1792
See: balena-os/balena-jetson-orin#513
Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
cywang117 added a commit to balena-os/balena-supervisor that referenced this pull request Dec 3, 2024
Add `os-power-mode.service`, `nvpmodel.service`, and `os-fan-profile.service`
which report status from applying power mode and fan profile configs as read
from config.json. The Supervisor sets these configs in config.json for these
host services to pick up and apply.

Also add host log streaming from `jetson-qspi-manager.service` as it
will very soon be needed for Jetson Orins.

Relates-to: #2379
See: balena-io/open-balena-api#1792
See: balena-os/balena-jetson-orin#513
Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
cywang117 added a commit to balena-os/balena-supervisor that referenced this pull request Dec 6, 2024
Add `os-power-mode.service`, `nvpmodel.service`, and `os-fan-profile.service`
which report status from applying power mode and fan profile configs as read
from config.json. The Supervisor sets these configs in config.json for these
host services to pick up and apply.

Also add host log streaming from `jetson-qspi-manager.service` as it
will very soon be needed for Jetson Orins.

Relates-to: #2379
See: balena-io/open-balena-api#1792
See: balena-os/balena-jetson-orin#513
Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
The boot configs will apply to devices with Jetpack 6 OS's initially,
and require Supervisor v16.8.0 or newer. This may change in the future
if we add support for older Jetpack versions.

Change-type: minor
Signed-off-by: Christina Ying Wang <christina@balena.io>
@cywang117 cywang117 force-pushed the add-power-fan-boot-configs branch from 0cc1b66 to 4969049 Compare December 11, 2024 00:09
@cywang117 cywang117 marked this pull request as ready for review December 11, 2024 00:09
@flowzone-app flowzone-app bot merged commit e2e5c18 into master Dec 11, 2024
54 checks passed
@flowzone-app flowzone-app bot deleted the add-power-fan-boot-configs branch December 11, 2024 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants