-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jetson-dtbs: Update default device-tree names in Jetpack 6, drop AGX …
…Orin SPI dtb The SPI device-tree is deleted for now because it cannot be used for booting Jetpack 6, since Jetpack 5 device-trees are incompatible with this new release. Thus, the dtb will need to be re-created and added back for the new L4T 36.3. Changelog-entry: jetson-dtbs: Update default device-tree names in Jetpack 6, drop AGX Orin SPI dtb Signed-off-by: Alexandru Costache <alexandru@balena.io>
- Loading branch information
Showing
2 changed files
with
10 additions
and
28 deletions.
There are no files selected for viewing
38 changes: 10 additions & 28 deletions
38
layers/meta-balena-jetson/recipes-kernel/linux/jetson-dtbs.bb
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 |
---|---|---|
@@ -1,50 +1,32 @@ | ||
FILESEXTRAPATHS:append := ":${THISDIR}/linux-tegra" | ||
FILESEXTRAPATHS:append := ":${THISDIR}/linux-jammy-nvidia-tegra" | ||
|
||
DESCRIPTION = "Package for deploying custom dtbs to the L4T 35.2.1 rootfs" | ||
DESCRIPTION = "Package for deploying default and custom dtbs to the L4T 36.3 rootfs" | ||
LICENSE = "MIT" | ||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
|
||
do_install[depends] += " linux-tegra:do_deploy " | ||
# In Jetpack 6 the nvidia-kernel-oot provides all device-trees | ||
do_install[depends] += " nvidia-kernel-oot:do_deploy " | ||
|
||
S = "${WORKDIR}" | ||
DTBNAME = "${@os.path.basename(d.getVar('KERNEL_DEVICETREE', True).split()[0])}" | ||
|
||
SRC_URI:append:jetson-agx-orin-devkit = " file://tegra234-p3701-0000-p3737-0000-spi.dtb " | ||
|
||
do_install:jetson-agx-orin-devkit() { | ||
do_install() { | ||
install -d ${D}/boot/ | ||
install -m 0644 "${DEPLOY_DIR_IMAGE}/${DTBNAME}" "${D}/boot/${DTBNAME}" | ||
install -m 0644 "${WORKDIR}/tegra234-p3701-0000-p3737-0000-spi.dtb" "${D}/boot/tegra234-p3701-0000-p3737-0000-spi.dtb" | ||
install -m 0644 "${DEPLOY_DIR_IMAGE}/devicetree/${DTBNAME}" "${D}/boot/${DTBNAME}" | ||
} | ||
|
||
FILES:${PN}:jetson-agx-orin-devkit += " \ | ||
/boot/tegra234-p3701-0000-p3737-0000.dtb \ | ||
/boot/tegra234-p3701-0004-p3737-0000.dtb \ | ||
/boot/tegra234-p3701-0000-p3737-0000-spi.dtb \ | ||
/boot/tegra234-p3737-0000+p3701-0000-nv.dtb \ | ||
" | ||
|
||
do_install:jetson-orin-nx-xavier-nx-devkit() { | ||
install -d ${D}/boot/ | ||
install -m 0644 "${DEPLOY_DIR_IMAGE}/${DTBNAME}" "${D}/boot/${DTBNAME}" | ||
} | ||
|
||
FILES:${PN}:jetson-orin-nx-xavier-nx-devkit += " \ | ||
/boot/tegra234-p3767-0000-p3509-a02.dtb \ | ||
/boot/tegra234-p3768-0000+p3767-0000-nv.dtb \ | ||
" | ||
|
||
do_install:jetson-orin-nano-devkit-nvme() { | ||
install -d ${D}/boot/ | ||
install -m 0644 "${DEPLOY_DIR_IMAGE}/${DTBNAME}" "${D}/boot/${DTBNAME}" | ||
} | ||
|
||
do_install:jetson-orin-nano-4g-devkit() { | ||
install -d ${D}/boot/ | ||
install -m 0644 "${DEPLOY_DIR_IMAGE}/${DTBNAME}" "${D}/boot/${DTBNAME}" | ||
} | ||
|
||
FILES:${PN}:jetson-orin-nano-devkit-nvme += " \ | ||
/boot/tegra234-p3767-0003-p3768-0000-a0.dtb \ | ||
/boot/tegra234-p3768-0000+p3767-0005-nv.dtb \ | ||
" | ||
|
||
FILES:${PN}:jetson-orin-nano-4g-devkit += " \ | ||
/boot/tegra234-p3767-0004-p3768-0000-a0.dtb \ | ||
" |
Binary file removed
BIN
-412 KB
...eta-balena-jetson/recipes-kernel/linux/linux-tegra/tegra234-p3701-0000-p3737-0000-spi.dtb
Binary file not shown.