# theja0473/meta-tegra architecture

> Architecture diagram of the GitHub repository theja0473/meta-tegra, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/theja0473/meta-tegra
- Repository: https://github.com/theja0473/meta-tegra

## Overview

meta-tegra is an OpenEmbedded/Yocto BSP layer for NVIDIA Jetson boards. The principal workflow is selecting a supported board and using the layer’s BSP recipes to build its software image; the tree shows machine configurations, kernel and bootloader recipes, and image support. The README also documents CUDA and other NVIDIA packages, with Devnet downloads supplied through a configured local mirror. No source excerpts were provided, so links between recipe subsystems are omitted unless the README explicitly establishes them.

Main entry points: [`README`](https://github.com/theja0473/meta-tegra/blob/master/README) (Tegra BSP layer), [`conf/machine`](https://github.com/theja0473/meta-tegra/tree/master/conf/machine) (Jetson machines), [`recipes-devtools/cuda`](https://github.com/theja0473/meta-tegra/tree/master/recipes-devtools/cuda) (CUDA toolkit), [`recipes-devtools/cudnn/cudnn_7.3.1.28-1.bb`](https://github.com/theja0473/meta-tegra/blob/master/recipes-devtools/cudnn/cudnn_7.3.1.28-1.bb) (cuDNN)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_board["Board support"]
  node_machines["Jetson machines"]
  node_soc["SoC configuration"]
end

subgraph group_boot["Boot and kernel"]
  node_bootloader["Cboot and U-Boot"]
  node_linux["Tegra Linux"]
  node_initramfs["Minimal initramfs"]
  node_init_scripts["Early boot scripts"]
end

subgraph group_vendor["NVIDIA packages"]
  node_binaries["Tegra binaries"]
  node_cuda["CUDA toolkit"]
  node_cudnn["cuDNN"]
  node_tensorrt["TensorRT"]
end

subgraph group_media["Media and graphics"]
  node_multimedia["Multimedia stack"]
  node_graphics["Graphics stack"]
end

subgraph group_image["Image configuration"]
  node_image_types["Tegra image types"]
  node_sd_layout["SD card layout"]
end

node_developer(("Yocto user"))
node_layer["Tegra BSP layer"]
node_devnet(("NVIDIA Devnet"))
node_mirror[("Configured package mirror")]

node_developer -->|"selects BSP"| node_layer
node_layer -->|"supports boards"| node_machines
node_layer -->|"provides CUDA"| node_cuda
node_layer -->|"provides cuDNN"| node_cudnn
node_developer -->|"downloads packages"| node_devnet
node_devnet -->|"supplies downloads"| node_mirror
node_mirror -->|"configures downloads"| node_layer

click node_layer "https://github.com/theja0473/meta-tegra/blob/master/README"
click node_machines "https://github.com/theja0473/meta-tegra/tree/master/conf/machine"
click node_soc "https://github.com/theja0473/meta-tegra/tree/master/conf/machine/include"
click node_bootloader "https://github.com/theja0473/meta-tegra/tree/master/recipes-bsp/cboot"
click node_linux "https://github.com/theja0473/meta-tegra/tree/master/recipes-kernel/linux"
click node_initramfs "https://github.com/theja0473/meta-tegra/blob/master/recipes-core/images/tegra-minimal-initramfs.bb"
click node_init_scripts "https://github.com/theja0473/meta-tegra/tree/master/recipes-core/initrdscripts/tegra-minimal-init"
click node_binaries "https://github.com/theja0473/meta-tegra/tree/master/recipes-bsp/tegra-binaries"
click node_cuda "https://github.com/theja0473/meta-tegra/tree/master/recipes-devtools/cuda"
click node_cudnn "https://github.com/theja0473/meta-tegra/blob/master/recipes-devtools/cudnn/cudnn_7.3.1.28-1.bb"
click node_tensorrt "https://github.com/theja0473/meta-tegra/blob/master/recipes-devtools/gie/tensorrt_5.0.6-1.bb"
click node_multimedia "https://github.com/theja0473/meta-tegra/tree/master/recipes-multimedia"
click node_graphics "https://github.com/theja0473/meta-tegra/tree/master/recipes-graphics"
click node_image_types "https://github.com/theja0473/meta-tegra/blob/master/classes/image_types_tegra.bbclass"
click node_sd_layout "https://github.com/theja0473/meta-tegra/blob/master/recipes-bsp/sdcard-layout/sdcard-layout_1.0.bb"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_machines,node_soc,node_developer toneBlue
class node_bootloader,node_linux,node_initramfs,node_init_scripts,node_mirror toneAmber
class node_binaries,node_cuda,node_cudnn,node_tensorrt toneMint
class node_multimedia,node_graphics toneRose
class node_image_types,node_sd_layout,node_devnet toneIndigo
class node_layer toneTeal
```

## Components

### Board support

- [Jetson machines](https://github.com/theja0473/meta-tegra/tree/master/conf/machine): `conf/machine`
- [SoC configuration](https://github.com/theja0473/meta-tegra/tree/master/conf/machine/include): `conf/machine/include`

### Boot and kernel

- [Cboot and U-Boot](https://github.com/theja0473/meta-tegra/tree/master/recipes-bsp/cboot): `recipes-bsp/cboot`
- [Tegra Linux](https://github.com/theja0473/meta-tegra/tree/master/recipes-kernel/linux): `recipes-kernel/linux`
- [Minimal initramfs](https://github.com/theja0473/meta-tegra/blob/master/recipes-core/images/tegra-minimal-initramfs.bb): `recipes-core/images/tegra-minimal-initramfs.bb`
- [Early boot scripts](https://github.com/theja0473/meta-tegra/tree/master/recipes-core/initrdscripts/tegra-minimal-init): `recipes-core/initrdscripts/tegra-minimal-init`

### NVIDIA packages

- [Tegra binaries](https://github.com/theja0473/meta-tegra/tree/master/recipes-bsp/tegra-binaries): `recipes-bsp/tegra-binaries`
- [CUDA toolkit](https://github.com/theja0473/meta-tegra/tree/master/recipes-devtools/cuda): `recipes-devtools/cuda`
- [cuDNN](https://github.com/theja0473/meta-tegra/blob/master/recipes-devtools/cudnn/cudnn_7.3.1.28-1.bb): `recipes-devtools/cudnn/cudnn_7.3.1.28-1.bb`
- [TensorRT](https://github.com/theja0473/meta-tegra/blob/master/recipes-devtools/gie/tensorrt_5.0.6-1.bb): `recipes-devtools/gie/tensorrt_5.0.6-1.bb`

### Media and graphics

- [Multimedia stack](https://github.com/theja0473/meta-tegra/tree/master/recipes-multimedia): `recipes-multimedia`
- [Graphics stack](https://github.com/theja0473/meta-tegra/tree/master/recipes-graphics): `recipes-graphics`

### Image configuration

- [Tegra image types](https://github.com/theja0473/meta-tegra/blob/master/classes/image_types_tegra.bbclass): `classes/image_types_tegra.bbclass`
- [SD card layout](https://github.com/theja0473/meta-tegra/blob/master/recipes-bsp/sdcard-layout/sdcard-layout_1.0.bb): `recipes-bsp/sdcard-layout/sdcard-layout_1.0.bb`

### Other components

- **Yocto user**
- [Tegra BSP layer](https://github.com/theja0473/meta-tegra/blob/master/README): `README`
- **NVIDIA Devnet**
- **Configured package mirror**

## Connections

- Yocto user → Tegra BSP layer: selects BSP (evidence: `README`)
- Tegra BSP layer → Jetson machines: supports boards (evidence: `README`)
- Tegra BSP layer → CUDA toolkit: provides CUDA (evidence: `README`)
- Tegra BSP layer → cuDNN: provides cuDNN (evidence: `README`)
- Yocto user → NVIDIA Devnet: downloads packages (evidence: `README`)
- NVIDIA Devnet → Configured package mirror: supplies downloads (evidence: `README`)
- Configured package mirror → Tegra BSP layer: configures downloads (evidence: `README`)
