Skip to content

Commit

Permalink
fix: add documentation and fix kas config for orin nx
Browse files Browse the repository at this point in the history
  • Loading branch information
Austriker committed Jan 25, 2025
1 parent fe77519 commit d4d9f9e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
4 changes: 1 addition & 3 deletions kas/jetson-orin-16gb-nx-p3786.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ machine: p3768-0000-p3767-0000

local_conf_header:
AB-upgrades: |
UBOOT_EXTLINUX = "1"
USE_REDUNDANT_FLASH_LAYOUT_DEFAULT = "1"
eMMC: |
# equivalent: EMMC_SIZE = "32 * 1024 * 1024 * 1024"
EMMC_SIZE = "34359738368"
# Not needed with the custom partition layout
MENDER_FEATURES_DISABLE:append = " mender-growfs-data"
# id defined in custom partition layout
MENDER_DATA_PART_NUMBER = "17"
MENDER_STORAGE_DEVICE = "/dev/nvme0n1"
16 changes: 10 additions & 6 deletions meta-mender-tegra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The supported and tested boards are:
- AGX Orin
- AGX Xavier
- Orin Nano
- Orin NX


## Dependencies
Expand All @@ -27,19 +28,22 @@ branch: scarthgap
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)
- [jetson-orin-16gb-nx-p3786.yml](../kas/jetson-orin-16gb-nx-p3786.yml)

### Jetson Orin NX

Mender leverages the UDA partition to store the persistent data between updates. But with the
Orin NX which uses an NVMe the current process doesn't work. Based on nvidia feedback [UDA is
reserved](https://forums.developer.nvidia.com/t/jetson-orin-nx-custom-partition-layout-fails-with-uda-at-the-end/316401/6) by nvidia.

To solve this issue we create a new [custom partition layout](recipes-bsp/tegra-binaries/tegra-storage-layout/flash_l4t_t234_nvme_rootfs_ab.xml) with a dedicated partition `id=17` for persistent data.

## Acknowlegements

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI:append = " \
SRC_URI:append:p3768-0000-p3767-0000 = " \
file://flash_l4t_t234_nvme_rootfs_ab.xml \
"

PARTITION_FILE_EXTERNAL = "${WORKDIR}/flash_l4t_t234_nvme_rootfs_ab.xml"
PARTITION_FILE_EXTERNAL:p3768-0000-p3767-0000 = "${WORKDIR}/flash_l4t_t234_nvme_rootfs_ab.xml"

0 comments on commit d4d9f9e

Please sign in to comment.