forked from mendersoftware/meta-mender-community
-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix: Tegra, Jetpack 5: add Jetson as working target #19
Closed
Closed
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
4a9d3dd
feat: Tegra: refactor into subdirectory
TheYoctoJester 37942c2
feat: tegra: refactor and first Jetpack 5 PoC
TheYoctoJester b2bd2d6
feat: Tegra: update Jetpack 5 Readme
TheYoctoJester 9f3ce91
fix: Tegra, Jetpack 5: remove deprecated test scripts
TheYoctoJester 46285b7
fix: Tegra, Jetpack 5: remove u-boot
TheYoctoJester f7c3f5c
fix: Tegra, Jetpack 5: remove init scripts
TheYoctoJester 9fd4476
fix: Tegra, Jetpack5: remove outdated state scripts
TheYoctoJester 41c9613
fix: Tegra, Jetpack5: remove cboot appends
TheYoctoJester 22f8768
fix: Tegra, Jetpack 5: remove deprecated flash layouts
TheYoctoJester 25f4642
fix: Tegra, Jetpack 5: add Jetson as working target
marius-westgaard 936482a
fix: Tegra, Jetpack5: delete duplicated files for Xavier and Orin
0e3899b
fix: Tegra, Jetpack 5: remove non working capsule update code
bbac82b
Replace custom mender layout by nVidia redundant layout and ensure UD…
306237c
Rewrite switch-rootfs using capsule
ba80236
Add back custom flash cml for xavier
953415c
Update data partition for tegra234
dd36d12
Revert to enable reseting unbootable status flag again
ac4a4fb
Add rollback support
cakre d262790
Don't install capsule after rollback
cakre 104a9be
Add kas files for orin nano
297ac29
Add kas for agx xavier and agx orin
56199ea
Rewrite switch rootfs for simplicity
itdevops-halodi 60cd8d3
Add back the rootfs patch
itdevops-halodi 6894aca
Update edk2-firmware-tegra_%.bbappend to only append rootfs patch whe…
itdevops-halodi b5de2d2
Use default redundant layout for AGX Xavier
irodriguez-veridas c1644f3
Remove unneeded mender custom layout
irodriguez-veridas 2e3827a
Extend reserved space required for other nVidia partitions for AGX Xa…
irodriguez-veridas 6ce5a4f
fix(tegra): remove invalid partitions offsets
maxekman e9da91a
Fix incorrect data partition number for xavier-nx
cakre 40d143a
Install nv_update_verifier regardless of tegra
cakre 28fe6ed
Do not set different reserved space for jetson-agx-xavier-devkit
ca61941
Remove 0008-enable-rootfs-redundancy.patch
8756a1b
Remove files that are no longer needed due upstream fixes
itdevops-halodi 1e73876
Add support for mender 4
cakre 7447ef8
Merge pull request #10 from cakre/mender4-support
mwest90 4d49299
Add back edk2-firmware-tegra to ensure signle retry
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
header: | ||
version: 11 | ||
|
||
repos: | ||
meta-tegra: | ||
url: https://github.com/OE4T/meta-tegra.git | ||
meta-tegra-community: | ||
url: https://github.com/OE4T/meta-tegra-community.git | ||
meta-tegrademo: | ||
url: https://github.com/OE4T/tegra-demo-distro.git | ||
layers: | ||
layers/meta-tegra-support: | ||
layers/meta-demo-ci: | ||
layers/meta-tegrademo: | ||
|
||
meta-openembedded: | ||
layers: | ||
meta-filesystems: | ||
meta-networking: | ||
meta-python: | ||
|
||
meta-virtualization: | ||
url: https://git.yoctoproject.org/meta-virtualization.git | ||
|
||
distro: tegrademo | ||
|
||
local_conf_header: | ||
tegra: | | ||
# these two classes only work as intended when being inherited in the | ||
# OE4t setup-env.sh style environment, as they modify bblayers.conf | ||
# and expect additional information on the host. | ||
INHERIT:remove = "tegra-support-sanity distro_layer_buildinfo" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
header: | ||
version: 11 | ||
includes: | ||
- kas/include/tegra-base.yml | ||
|
||
repos: | ||
meta-tegra: | ||
refspec: kirkstone-l4t-r32.7.x | ||
layers: | ||
.: | ||
contrib: | ||
meta-tegra-community: | ||
refspec: kirkstone-l4t-r32.7.x | ||
meta-tegrademo: | ||
refspec: kirkstone-l4t-r32.7.x | ||
meta-virtualization: | ||
refspec: kirkstone | ||
|
||
meta-mender-community: | ||
layers: | ||
meta-mender-tegra/meta-mender-tegra-jetpack4: | ||
|
||
distro: tegrademo-mender | ||
|
||
#local_conf_header: | ||
# tegra-jetpack4: | | ||
# INHERIT:remove = "tegra-support-sanity distro_layer_buildinfo" | ||
# MENDER_FEATURES_ENABLE:append = " mender-growfs-data" | ||
# MENDER_FEATURES_DISABLE:append = " mender-uboot" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
header: | ||
version: 11 | ||
includes: | ||
- kas/include/tegra-base.yml | ||
|
||
repos: | ||
meta-tegra: | ||
refspec: 2a808b6afb221974196d2eeab3537140ebb63cc7 | ||
meta-tegra-community: | ||
refspec: f5a9cf859a1414bc7654fc57c09fb7ee1b116194 | ||
meta-tegrademo: | ||
refspec: kirkstone | ||
|
||
meta-virtualization: | ||
refspec: b3b3dbc67504e8cd498d6db202ddcf5a9dd26a9d | ||
|
||
meta-mender-community: | ||
layers: | ||
meta-mender-tegra/meta-mender-tegra-jetpack5: | ||
|
||
local_conf_header: | ||
tegra-jetpack5: | | ||
INHERIT += "tegra-mender-setup" | ||
MENDER_FEATURES_ENABLE:append = " mender-growfs-data" | ||
MENDER_FEATURES_DISABLE:append = " mender-uboot" | ||
IMAGE_FSTYPES:tegra = "tegraflash mender dataimg" | ||
IMAGE_FSTYPES:pn-tegra-minimal-initramfs:tegra = "${INITRAMFS_FSTYPES}" | ||
IMAGE_FSTYPES:pn-tegra-initrd-flash-initramfs:tegra = "${TEGRA_INITRD_FLASH_INITRAMFS_FSTYPES}" |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
header: | ||
version: 11 | ||
includes: | ||
- kas/include/mender-full.yml | ||
- kas/include/tegra-jetpack5.yml | ||
|
||
machine: jetson-agx-orin-devkit | ||
|
||
repos: | ||
meta-tegra: | ||
refspec: eb2bcfbfca44d100205c2d865a1ab5add1c4f264 | ||
|
||
local_conf_header: | ||
AB-upgrades: | | ||
USE_REDUNDANT_FLASH_LAYOUT_DEFAULT = "1" |
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
header: | ||
version: 11 | ||
includes: | ||
- kas/include/mender-full.yml | ||
- kas/include/tegra-jetpack5.yml | ||
|
||
machine: jetson-orin-nano-devkit | ||
repos: | ||
meta-tegra: | ||
refspec: b7a0792b996b47305c7ec1713621b0e07d314700 | ||
|
||
local_conf_header: | ||
AB-upgrades: | | ||
UBOOT_EXTLINUX = "1" | ||
USE_REDUNDANT_FLASH_LAYOUT_DEFAULT = "1" |
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
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
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
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
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
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
This file was deleted.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
meta-mender-tegra/meta-mender-tegra-jetpack4/conf/layer.conf
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# We have a conf and classes directory, add to BBPATH | ||
BBPATH .= ":${LAYERDIR}" | ||
# We have recipes-* directories, add to BBFILES | ||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
${LAYERDIR}/recipes-*/*/*.bbappend" | ||
|
||
BBFILE_COLLECTIONS += "meta-mender-tegra-jetpack4" | ||
BBFILE_PATTERN_meta-mender-tegra-jetpack4 = "^${LAYERDIR}/" | ||
BBFILE_PRIORITY_meta-mender-tegra-jetpack4 = "10" | ||
LAYERVERSION_meta-mender-tegra = "1" | ||
LAYERSERIES_COMPAT_meta-mender-tegra-jetpack4 = "kirkstone" | ||
LAYERDEPENDS_meta-mender-tegra-jetpack4 = "tegra" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# meta-mender-tegra | ||
|
||
Mender integration layer for NVIDIA Tegra hardware. | ||
|
||
The supported and tested boards are: | ||
|
||
- AGX Orin | ||
- AGX Xavier | ||
- Orin Nano | ||
|
||
Visit the individual board links above for more information on status of the | ||
integration and more detailed instructions on how to build and use images | ||
together with Mender for the mentioned boards. | ||
|
||
|
||
## Dependencies | ||
|
||
This layer depends on: | ||
|
||
``` | ||
URI: https://github.com/madisongh/meta-tegra.git | ||
layers: meta-tegra | ||
branch: kirkstone-l4t-r32.7.x | ||
revision: HEAD | ||
``` | ||
|
||
``` | ||
URI: https://github.com/mendersoftware/meta-mender.git | ||
layers: meta-mender-core | ||
branch: kirkstone | ||
revision: HEAD | ||
``` | ||
|
||
## Quick start | ||
|
||
See the mender hub pages and the documentation for the `tegrademo-mender` | ||
distro on the [tegra-demo-distro](https://github.com/OE4T/tegra-demo-distro) repository | ||
for the most up to date instructions on starting out with mender and tegra. | ||
|
||
## [`kas`](https://github.com/siemens/kas) configurations | ||
|
||
The following configuration files for building using the `kas` tool are provided: | ||
|
||
- [jetson-agx-orin-devkit.yml](../../kas/jetson-agx-orin-devkit.yml) | ||
- [jetson-agx-xavier-devkit.yml](../../kas/jetson-agx-xavier-devkit.yml) | ||
- [jetson-orin-nano-devkit.yml](../../kas/jetson-orin-nano-devkit.yml) | ||
|
||
## Acknowlegements | ||
|
||
Special thanks to [Matt Madison](https://github.com/madisongh) for his contributions to | ||
support zeus and later branches and his work on meta-tegra which makes this mender | ||
integration possible. | ||
|
||
Thanks also to [Kurt Keifer](https://github.com/kekiefer/) for his contributions and | ||
cleanup to support additional platforms and the tegra-demo-distro on the dunfell release. |
4 changes: 4 additions & 0 deletions
4
meta-mender-tegra/meta-mender-tegra-jetpack5/classes/image_types_mender_tegra.bbclass
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
inherit image_types_tegra | ||
|
||
DATAFILE ?= "${IMAGE_BASENAME}-${MACHINE}.dataimg" | ||
IMAGE_TEGRAFLASH_DATA ?= "${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.dataimg" |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Contrary to the readme for jetpack 4, this readme does not add links for the boards. So it's probably best to remove this sentence to not cause confusion.