Skip to content

Newbie guide to A/B kernel/dtb updating and fallback #292

Answered by kekiefer
arrow53 asked this question in Q&A
Discussion options

You must be logged in to vote

The modern approach to bootloader updates is the capsule update. You deploy a special payload into to the esp partition, tell uefi about it, and it handles the rest.

Basically:

  • build tegra-uefi-capsules
  • install the tegra-bl.cap to /opt/nvidia/esp/EFI/UpdateCapsule/TEGRA_BL.Cap, creating the destination directory if needed
  • execute /usr/bin/oe4t-set-uefi-OSIndications to tell uefi there's an update available
  • reboot

If you use swupdate (or even if you don't), here is a good example that shows where the capsule package goes, and how to flag down UEFI: https://github.com/Trellis-Logic/meta-swupdate-boards/pull/1/files

Replies: 2 comments 11 replies

Comment options

You must be logged in to vote
5 replies
@arrow53
Comment options

@arrow53
Comment options

@kekiefer
Comment options

@arrow53
Comment options

@arrow53
Comment options

Answer selected by arrow53
Comment options

You must be logged in to vote
6 replies
@arrow53
Comment options

@arrow53
Comment options

@kekiefer
Comment options

@arrow53
Comment options

@madisongh
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants