-
Notifications
You must be signed in to change notification settings - Fork 6
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
Open
acostach
wants to merge
24
commits into
master
Choose a base branch
from
run_flasher_w_default_jp6_efifw
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…oot partition The UEFI firmware which comes in Jetpack 6 is at a newer revision and has symlinks support to load the kernel and dtb from the non-flasher rootfs. Thus, with an updated bootloader which looks for the flasher flag in the boot partition, we can provision the internal medium using the existing firmware in the QSPI. Signed-off-by: Alexandru Costache <[email protected]>
Signed-off-by: Alexandru Costache <[email protected]>
In order to run the migrate script succesfully, the tools used by resin-init-flasher script need to exist in the initramfs. Signed-off-by: Alexandru Costache <[email protected]>
…available If the QSPI is not available, like in the case where the standard uefi firmware is running and the board has not been started in rcm-boot mode, don't attempt to write the qspi. Also cleanup unused variable. Signed-off-by: Alexandru Costache <[email protected]>
We now check for the flasher flag in the boot partition and boot the device with the flasher root partition set, without relying on the rcm-boot script to set the kernel command line. Signed-off-by: Alexandru Costache <[email protected]>
Signed-off-by: Alexandru Costache <[email protected]>
…ges for QSPI updating Signed-off-by: Alexandru Costache <[email protected]>
This package provides the means for triggering UEFI updates if the QSPI is not accessible - that is when a board has been previously flashed with the reference OS. This simplifies the use of flasher images because the board no longer needs to be put in recovery mode to be provisioned. Signed-off-by: Alexandru Costache <[email protected]>
…f QSPI is inaccessible This allows for flasher images to be booted even if the device isn't in recovery mode, as long as the vanilla firmware in the QSPI is in sync with the hostOS L4T version. Signed-off-by: Alexandru Costache <[email protected]>
…capsule updates This package consists of a systemd service and helper scripts which prepare an UEFI capsule update, when the QSPI is not already flashed with the UEFI firmware patched in balenaOS. Signed-off-by: Alexandru Costache <[email protected]>
… can settle Signed-off-by: Alexandru Costache <[email protected]>
acostach
force-pushed
the
run_flasher_w_default_jp6_efifw
branch
from
November 28, 2024 17:13
2ad2bb5
to
430fa84
Compare
…rin Flash scripts So that provisioning doesn't take longer than needed neither trough USB key, nor during migration in the initramfs. We also drop clearing of the eMMC when the NVME is flashed, and leave the initramfs scripts relocate the end GPT, since this no longer appears to be needed during provisioning. Signed-off-by: Alexandru Costache <[email protected]>
... and determine the internal device during HUP, as this would allow to boot the flasher Orins from multiple targets, depending on the flasher config.json settings. Signed-off-by: Alexandru Costache <[email protected]>
…s on accessible QSPIs ... so that the provisioning time is decreased even when balenaOS was already running on the device. Signed-off-by: Alexandru Costache <[email protected]>
…ing artifacts ... and also drop the NVME wait script, as increasing the roottimeout from the kernel cmdline should allow more time for it to settle. Signed-off-by: Alexandru Costache <[email protected]>
acostach
force-pushed
the
run_flasher_w_default_jp6_efifw
branch
from
December 2, 2024 12:11
430fa84
to
3e70261
Compare
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 12:11
— with
GitHub Actions
Error
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 12:11
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 12:11
— with
GitHub Actions
Error
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 12:11
— with
GitHub Actions
Error
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 12:11
— with
GitHub Actions
Error
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 12:11
— with
GitHub Actions
Error
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 12:18
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 12:19
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 12:19
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 12:19
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 12:19
— with
GitHub Actions
Failure
acostach
temporarily deployed
to
balena-cloud.com
December 2, 2024 13:19
— with
GitHub Actions
Inactive
acostach
temporarily deployed
to
balena-cloud.com
December 2, 2024 13:19
— with
GitHub Actions
Inactive
acostach
temporarily deployed
to
balena-cloud.com
December 2, 2024 13:19
— with
GitHub Actions
Inactive
acostach
had a problem deploying
to
bm.balena-dev.com
December 2, 2024 13:38
— with
GitHub Actions
Failure
acostach
temporarily deployed
to
bm.balena-dev.com
December 2, 2024 13:38
— with
GitHub Actions
Inactive
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:40
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:40
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:40
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:40
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:40
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:40
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:41
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:41
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:41
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:41
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:41
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:41
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:45
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:45
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 13:45
— with
GitHub Actions
Failure
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 15:38
— with
GitHub Actions
Error
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 15:38
— with
GitHub Actions
Error
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 15:38
— with
GitHub Actions
Error
acostach
temporarily deployed
to
balena-cloud.com
December 2, 2024 15:39
— with
GitHub Actions
Inactive
acostach
temporarily deployed
to
balena-cloud.com
December 2, 2024 15:39
— with
GitHub Actions
Inactive
acostach
had a problem deploying
to
balena-cloud.com
December 2, 2024 16:29
— with
GitHub Actions
Failure
acostach
temporarily deployed
to
balena-cloud.com
December 2, 2024 16:44
— with
GitHub Actions
Inactive
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR still needs an updated capsule for the AGX 64GB