Skip to content

Commit

Permalink
grub: Add device tree loading for Jetson Orin Nano
Browse files Browse the repository at this point in the history
If the Jetson Orin Nano Developer kit is detected, load the
corresponding device tree.

Signed-off-by: Renê de Souza Pinto <[email protected]>
  • Loading branch information
rene committed Aug 27, 2024
1 parent 7c4d480 commit bdc925e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/grub/rootfs.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,12 @@ function set_arm64_baremetal {
set_global dom0_console "console=tty0 earlycon=tty0"
set_global dom0_platform_tweaks "fbcon=map:0 eve_nuke_disks=mmcblk0 eve_install_disk=nvme0n1 video=efifb:off"
fi
# Jetson Orin NX Developer kit
if [ "$smb_product" = "NVIDIA Orin Nano Developer Kit" ]; then
set_to_existing_file devicetree /boot/dtb/nvidia/tegra234-p3767-0003-p3768-0000-a0.dtb
set_global dom0_console "console=ttyAMA0,115200 console=tty0 console=ttyTCU0,115200 earlycon=ttyTCU0,115200"
set_global dom0_platform_tweaks "fbcon=map:0 video=efifb:off nospectre_bhb"
fi
}

function set_arm64_qemu {
Expand Down

0 comments on commit bdc925e

Please sign in to comment.