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

WIP dunfell tegra l4t multiversion #15

Merged
merged 20 commits into from
Dec 12, 2021

Conversation

dwalkes
Copy link
Member

@dwalkes dwalkes commented Dec 11, 2021

Per discussion in slack thread at https://oe4t.slack.com/archives/C01BTRXHGQ5/p1638459163130000 on OE4T slack and pull request in mendersoftware#247

  • Modify the "dunfell" branch to support multiple L4T versions, r32.4.3, r32.5.2, and r32.6.1
  • Move content out of dynamic layers in meta-tegra-community and keep all mender related content in one branch and one repo, suitable for upstreaming.

to enable us to support multiple versions of the L4T BSP
in the branch.

Signed-off-by: Matt Madison <matt@madison.systems>
to provide support for handling U-Boot environment location
changes during an upgrade.

Signed-off-by: Matt Madison <matt@madison.systems>
Import a modified change from meta-tegra-community to allow
the fw_printenv script to support either the NVIDIA bootloader
tools or tegra-boot-tools from OE4T.

Signed-off-by: Matt Madison <matt@madison.systems>
imported from meta-tegra-community.

Signed-off-by: Matt Madison <matt@madison.systems>
imported from meta-tegra-community

Signed-off-by: Matt Madison <matt@madison.systems>
…nity

That enables boot count checks on cboot platforms using
tegra-boot-tools.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Matt Madison <matt@madison.systems>
with additions from meta-tegra-community

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Matt Madison <matt@madison.systems>
* Switch to OE4T tegra-boot-tools for bootloader updates
* Bootloader update support T210 platforms (TX1, Nano)

Also includes an improved commit check script for t186 platforms using
u-boot that eliminates the need for the previously supplied rollback script.
However, u-boot is not recommended for t186 platforms to avoid synchronization
issues in the slot selection between the bootloader and Mender.

Signed-off-by: Matt Madison <matt@madison.systems>
The BUP payload addition is handled elsewhere, and wouldn't apply
on the t194 platforms anyway, since they don't use u-boot.

Signed-off-by: Matt Madison <matt@madison.systems>
to include a BUP payload and any necessary tools depending
on the tegra platform.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Matt Madison <matt@madison.systems>
for cboot platforms. Additions are made in mender-setup-image.inc that
don't apply for tegra platforms with the cboot bootloader.

Imported from tegra-demo-distro.

Signed-off-by: Matt Madison <matt@madison.systems>
…2.6.x

from meta-tegra-community. The updated layouts are placed under
directories named with the L4T version, FILESEXTRAPATHS is prepended
to so those layouts override the ones that come from R32.4.3.

Signed-off-by: Matt Madison <matt@madison.systems>
imported from meta-tegra-community.

Signed-off-by: Matt Madison <matt@madison.systems>
- Nano machine name changes
- SDcard Nano partition number changes
- Added Nano-2GB

Signed-off-by: Matt Madison <matt@madison.systems>
The U-Boot environment location changed for T210 eMMC platforms in
L4T R32.5.x, so adjust the Mender settings accordingly.

Signed-off-by: Matt Madison <matt@madison.systems>
The patches are the same as for R32.5.x, so just create a symlink
to use them, and adjust the bbappend to exclude the additions for
L4T R32.4.3, rather than repeating the addition for R32.6.1.

Signed-off-by: Matt Madison <matt@madison.systems>
to allow for upgrades over the machine name changes
that happened in L4T R32.5.0.

Note that the SDcard-based Nano (jetson-nano-qspi-sd)
is *not* included here, due to the flash layout change
that was made in R32.5.0 for that platform.

Signed-off-by: Matt Madison <matt@madison.systems>
dwalkes added a commit to sighthoundinc/meta-tegra-community that referenced this pull request Dec 12, 2021
Move content out of dynamic layers and into one unifed branch of
meta-mender-community.  See [1].

1: OE4T/meta-mender-community#15
Signed-off-by: Dan Walkes <dwalkes@sighthound.com>
dwalkes added a commit to sighthoundinc/meta-tegra-community that referenced this pull request Dec 12, 2021
Move content out of dynamic layers and into one unifed branch of
meta-mender-community.  See [1].

1: OE4T/meta-mender-community#15
dwalkes added a commit to sighthoundinc/meta-tegra-community that referenced this pull request Dec 12, 2021
Move content out of dynamic layers and into one unifed branch of
meta-mender-community.  See [1].

1: OE4T/meta-mender-community#15
@dwalkes
Copy link
Member Author

dwalkes commented Dec 12, 2021

Thanks for all the work on this one @madisongh, this will greatly simplify things. I've tested each of the combinations on TX2 today and upgrades from r32.4 before this change, r32.4 after this change, to r32.5, to r32.6. I'll create an upstream PR from the dunfell+to-be-upstreamed branch, then we can resolve the PRS on meta-tegra-community and I will add PRs for tegra-demo-distro.

@dwalkes dwalkes merged commit 88828dc into dunfell+to-be-upstreamed Dec 12, 2021
dwalkes added a commit to sighthoundinc/meta-tegra-community that referenced this pull request Dec 14, 2021
Move content out of dynamic layers and into one unifed branch of
meta-mender-community.  See [1].

1: OE4T/meta-mender-community#15
Signed-off-by: Dan Walkes <dwalkes@sighthound.com>
dwalkes added a commit to sighthoundinc/meta-tegra-community that referenced this pull request Dec 14, 2021
Move content out of dynamic layers and into one unifed branch of
meta-mender-community.  See [1].

1: OE4T/meta-mender-community#15
dwalkes added a commit to sighthoundinc/meta-tegra-community that referenced this pull request Dec 14, 2021
Move content out of dynamic layers and into one unifed branch of
meta-mender-community.  See [1].

1: OE4T/meta-mender-community#15
Signed-off-by: Dan Walkes <dwalkes@sighthound.com>
dwalkes added a commit to sighthoundinc/meta-tegra-community that referenced this pull request Dec 14, 2021
Move content out of dynamic layers and into one unifed branch of
meta-mender-community.  See [1].

1: OE4T/meta-mender-community#15
Signed-off-by: Dan Walkes <dwalkes@sighthound.com>
dwalkes added a commit to sighthoundinc/meta-tegra-community that referenced this pull request Dec 14, 2021
Move content out of dynamic layers and into one unifed branch of
meta-mender-community.  See [1].

1: OE4T/meta-mender-community#15
Signed-off-by: Dan Walkes <dwalkes@sighthound.com>
madisongh pushed a commit to OE4T/meta-tegra-community that referenced this pull request Dec 14, 2021
Move content out of dynamic layers and into one unifed branch of
meta-mender-community.  See [1].

1: OE4T/meta-mender-community#15
Signed-off-by: Dan Walkes <dwalkes@sighthound.com>
madisongh pushed a commit to OE4T/meta-tegra-community that referenced this pull request Dec 14, 2021
Move content out of dynamic layers and into one unifed branch of
meta-mender-community.  See [1].

1: OE4T/meta-mender-community#15
Signed-off-by: Dan Walkes <dwalkes@sighthound.com>
madisongh pushed a commit to OE4T/meta-tegra-community that referenced this pull request Dec 14, 2021
Move content out of dynamic layers and into one unifed branch of
meta-mender-community.  See [1].

1: OE4T/meta-mender-community#15
Signed-off-by: Dan Walkes <dwalkes@sighthound.com>
@dwalkes dwalkes deleted the wip-dunfell-tegra-l4t-multiversion branch July 7, 2023 20:30
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