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

Switch to direct booting of flasher images #522

Merged
merged 24 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
bf699ac
images/balena-image-flasher: Install UEFI bootloader in the flasher b…
acostach Sep 30, 2024
dd18657
recipes-bsp/uefi: Exist build script on failure
acostach Sep 30, 2024
5073c2c
images/balena-image-initramfs: Install migrate dependencies in initramfs
acostach Sep 30, 2024
7430d88
resin-init/resin-init-flasher-board: flash boot blob only if QSPI is …
acostach Sep 30, 2024
c90a872
recipes-bsp/uefi: Add flasher image check in bootloader
acostach Sep 30, 2024
77611c6
recipes-bsp/uefi: Minor cleanup in patches
acostach Oct 6, 2024
cd2aa3f
images/balena-image-initramfs: Increase ROOTFS_MAXSIZE, install packa…
acostach Oct 14, 2024
59e6847
recipes-core/balena-image: Install jetson-qspi-manager
acostach Nov 21, 2024
7a814f4
resin-init/resin-init-flasher-board: Trigger an UEFI capsule update i…
acostach Nov 21, 2024
5ad71fe
recipes-support/jetson-qspi-manager: Add package for triggering UEFI …
acostach Nov 21, 2024
11a4165
linux-jammy-nvidia-tegra: Increase timeout so that the flasher rootfs…
acostach Nov 22, 2024
4290aa3
resin-init-flasher-board: Write QSPI directly only when booted with O…
acostach Nov 22, 2024
5230b92
hostapp-update-hooks: Remove hardcoded internal devices
acostach Nov 26, 2024
11bfbd8
recipes-support/jetson-qspi-manager: Allow applying of capsule update…
acostach Nov 26, 2024
55c7c37
recipes-core/initrdscripts: Patch migrate module to copy Jetson flash…
acostach Nov 26, 2024
d1d2f79
recipes-bsp/uefi: Force use NewDeviceHierarchy
acostach Nov 28, 2024
b56267c
jetson-qspi-helpers: Use device-specific name when setting efivars
acostach Nov 28, 2024
30dc28e
layers/meta-balena: Update to v6.1.16
acostach Nov 28, 2024
968cbf5
recipes-bsp/tegra-binaries: Update AGX 64 boot blob and UEFI capsule
acostach Dec 2, 2024
3da7cbf
balena-yocto-scripts: update to v1.27.16
acostach Dec 2, 2024
939cf02
contracts: update to v2.0.117
acostach Dec 2, 2024
0ad481d
nvidia-kernel-oot: Enable CONFIG_80211D for rtl8822ce
acostach Dec 2, 2024
6d76693
github/workflows: Update workflows for all device-types
acostach Dec 2, 2024
631e1e9
balena-image-initramfs: Drop installing unused package
acostach Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/jetson-agx-orin-devkit-64gb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
- master
# ESR branches glob pattern
#- 20[0-9][0-9].[0-1]?[1470].x
# pull_request_target:
# branches:
# - main
# - master
pull_request_target:
branches:
- main
- master
push:
tags:
# Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH)
Expand All @@ -31,11 +31,17 @@ on:
type: string
default: balena-staging.com

permissions:
id-token: write # This is required for requesting the JWT #https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#requesting-the-access-token
actions: read # We are fetching workflow run results of a merge commit when workflow is triggered by new tag, to see if tests pass
pull-requests: write # Read is required to fetch the PR that merged, in order to get the test results. Write is required to create PR comments for workflow approvals.
packages: read
contents: read

jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@ded533f1b8c8ff983dbcff2d219851130f8bfc4d # v1.27.2
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master
# Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events.
# Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork.
# This condition will prevent the workflow from running twice for the same pull request while
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/jetson-agx-orin-devkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
- master
# ESR branches glob pattern
#- 20[0-9][0-9].[0-1]?[1470].x
# pull_request_target:
# branches:
# - main
# - master
pull_request_target:
branches:
- main
- master
push:
tags:
# Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH)
Expand All @@ -31,11 +31,17 @@ on:
type: string
default: balena-staging.com

permissions:
id-token: write # This is required for requesting the JWT #https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#requesting-the-access-token
actions: read # We are fetching workflow run results of a merge commit when workflow is triggered by new tag, to see if tests pass
pull-requests: write # Read is required to fetch the PR that merged, in order to get the test results. Write is required to create PR comments for workflow approvals.
packages: read
contents: read

jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@ded533f1b8c8ff983dbcff2d219851130f8bfc4d # v1.27.2
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master
# Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events.
# Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork.
# This condition will prevent the workflow from running twice for the same pull request while
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/jetson-orin-nano-devkit-nvme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
- master
# ESR branches glob pattern
#- 20[0-9][0-9].[0-1]?[1470].x
# pull_request_target:
# branches:
# - main
# - master
pull_request_target:
branches:
- main
- master
push:
tags:
# Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH)
Expand All @@ -31,11 +31,17 @@ on:
type: string
default: balena-staging.com

permissions:
id-token: write # This is required for requesting the JWT #https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#requesting-the-access-token
actions: read # We are fetching workflow run results of a merge commit when workflow is triggered by new tag, to see if tests pass
pull-requests: write # Read is required to fetch the PR that merged, in order to get the test results. Write is required to create PR comments for workflow approvals.
packages: read
contents: read

jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@ded533f1b8c8ff983dbcff2d219851130f8bfc4d # v1.27.2
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master
# Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events.
# Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork.
# This condition will prevent the workflow from running twice for the same pull request while
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/jetson-orin-nano-seeed-j3010.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
- master
# ESR branches glob pattern
#- 20[0-9][0-9].[0-1]?[1470].x
# pull_request_target:
# branches:
# - main
# - master
pull_request_target:
branches:
- main
- master
push:
tags:
# Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH)
Expand All @@ -31,11 +31,17 @@ on:
type: string
default: balena-staging.com

permissions:
id-token: write # This is required for requesting the JWT #https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#requesting-the-access-token
actions: read # We are fetching workflow run results of a merge commit when workflow is triggered by new tag, to see if tests pass
pull-requests: write # Read is required to fetch the PR that merged, in order to get the test results. Write is required to create PR comments for workflow approvals.
packages: read
contents: read

jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@ded533f1b8c8ff983dbcff2d219851130f8bfc4d # v1.27.2
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master
# Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events.
# Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork.
# This condition will prevent the workflow from running twice for the same pull request while
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/jetson-orin-nx-seeed-j4012.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
- master
# ESR branches glob pattern
#- 20[0-9][0-9].[0-1]?[1470].x
# pull_request_target:
# branches:
# - main
# - master
pull_request_target:
branches:
- main
- master
push:
tags:
# Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH)
Expand All @@ -31,11 +31,17 @@ on:
type: string
default: balena-staging.com

permissions:
id-token: write # This is required for requesting the JWT #https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#requesting-the-access-token
actions: read # We are fetching workflow run results of a merge commit when workflow is triggered by new tag, to see if tests pass
pull-requests: write # Read is required to fetch the PR that merged, in order to get the test results. Write is required to create PR comments for workflow approvals.
packages: read
contents: read

jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@ded533f1b8c8ff983dbcff2d219851130f8bfc4d # v1.27.2
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master
# Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events.
# Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork.
# This condition will prevent the workflow from running twice for the same pull request while
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/jetson-orin-nx-xavier-nx-devkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
- master
# ESR branches glob pattern
#- 20[0-9][0-9].[0-1]?[1470].x
# pull_request_target:
# branches:
# - main
# - master
pull_request_target:
branches:
- main
- master
push:
tags:
# Semver tags glob pattern (includes ESR in format v20YY.MM.PATCH)
Expand All @@ -31,11 +31,17 @@ on:
type: string
default: balena-staging.com

permissions:
id-token: write # This is required for requesting the JWT #https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services#requesting-the-access-token
actions: read # We are fetching workflow run results of a merge commit when workflow is triggered by new tag, to see if tests pass
pull-requests: write # Read is required to fetch the PR that merged, in order to get the test results. Write is required to create PR comments for workflow approvals.
packages: read
contents: read

jobs:
yocto:
name: Yocto
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@ded533f1b8c8ff983dbcff2d219851130f8bfc4d # v1.27.2
uses: balena-os/balena-yocto-scripts/.github/workflows/yocto-build-deploy.yml@master
# Prevent duplicate workflow executions for pull_request (PR) and pull_request_target (PRT) events.
# Both PR and PRT will be triggered for the same pull request, whether it is internal or from a fork.
# This condition will prevent the workflow from running twice for the same pull request while
Expand Down
2 changes: 1 addition & 1 deletion contracts
Submodule contracts updated 35 files
+132 −17 .versionbot/CHANGELOG.yml
+46 −0 CHANGELOG.md
+2 −2 contracts/hw.device-type/beagleplay/contract.json
+38 −0 contracts/hw.device-type/iotdin-imx8p-d1d8/contract.json
+54 −0 contracts/hw.device-type/iotdin-imx8p-d1d8/iotdin-imx8p.svg
+38 −0 contracts/hw.device-type/iotdin-imx8p/contract.json
+54 −0 contracts/hw.device-type/iotdin-imx8p/iotdin-imx8p.svg
+3 −4 contracts/hw.device-type/jetson-agx-orin-devkit-64gb/contract.json
+1 −1 contracts/hw.device-type/jetson-orin-nano-seeed-j3010/contract.json
+1 −1 contracts/hw.device-type/jetson-orin-nx-seeed-j4012/contract.json
+2 −2 contracts/sw.os+hw.device-type/debian+jetson-agx-orin-devkit/distro-config.tpl
+2 −2 contracts/sw.os+hw.device-type/debian+jetson-orin-nano-devkit-nvme/distro-config.tpl
+2 −2 contracts/sw.os+hw.device-type/debian+jetson-orin-nano-seeed-j3010/distro-config.tpl
+2 −2 contracts/sw.os+hw.device-type/debian+jetson-orin-nx-seeed-j4012/distro-config.tpl
+2 −2 contracts/sw.os+hw.device-type/debian+jetson-orin-nx-xavier-nx-devkit/distro-config.tpl
+2 −2 contracts/sw.os+hw.device-type/ubuntu+jetson-agx-orin-devkit/distro-config.tpl
+2 −2 contracts/sw.os+hw.device-type/ubuntu+jetson-orin-nano-devkit-nvme/distro-config.tpl
+2 −2 contracts/sw.os+hw.device-type/ubuntu+jetson-orin-nano-seeed-j3010/distro-config.tpl
+2 −2 contracts/sw.os+hw.device-type/ubuntu+jetson-orin-nx-seeed-j4012/distro-config.tpl
+2 −2 contracts/sw.os+hw.device-type/ubuntu+jetson-orin-nx-xavier-nx-devkit/distro-config.tpl
+10 −0 contracts/sw.os+hw.device-type/ubuntu@noble+coral-dev/dependencies.tpl
+11 −0 contracts/sw.os+hw.device-type/ubuntu@noble+raspberry-pi2/dependencies.tpl
+11 −0 contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi0-2w-64/dependencies.tpl
+11 −0 contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi3-64/dependencies.tpl
+11 −0 contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi3/dependencies.tpl
+11 −0 contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi4-64/dependencies.tpl
+11 −0 contracts/sw.os+hw.device-type/ubuntu@noble+raspberrypi400-64/dependencies.tpl
+11 −0 contracts/sw.os+hw.device-type/ubuntu@noble+revpi-core-3/dependencies.tpl
+6 −2 contracts/sw.os/alpine/contract.json
+4 −2 contracts/sw.os/ubuntu/contract.json
+24 −6 contracts/sw.stack/dotnet/contract.json
+3 −1 contracts/sw.stack/golang/contract.json
+1 −0 contracts/sw.stack/openjdk/contract.json
+85 −30 contracts/sw.stack/python/contract.json
+2 −2 package.json
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ SRC_URI = " \
file://0001-AGX-Orin-64GB-Integrate-with-balenaOS-on-L4T-36.3_patch.txt \
file://0001-edk2-nvidia-Remove-pva-fw-from-required-list_patch.txt \
file://0001-StandaloneMmOptee-Don-t-assert-if-var-store-integrit_patch.txt \
file://0001-TegraPlatformBootManager-TegraPlatformBootManagerDxe_patch.txt \
"

inherit deploy
Expand Down
Loading
Loading